Announcement Announcement Module
Collapse
No announcement yet.
Problems with pet clinic sample application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with pet clinic sample application

    Hi there, anyone knows what's wrong with petclinic sample application in http://www.springframework.org/webap...petclinic.html
    When i try the link " check it out online" showed in the last line of the document, i obtain
    Data access failure: Could not create Hibernate transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection

    org.springframework.transaction.CannotCreateTransa ctionException: Could not create Hibernate transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection net.sf.hibernate.exception.GenericJDBCException: Cannot open connection at net.sf.hibernate.exception.ErrorCodeConverter.hand ledNonSpecificException(ErrorCodeConverter.java:90 ) at net.sf.hibernate.exception.ErrorCodeConverter.conv ert(ErrorCodeConverter.java:79) at net.sf.hibernate.exception.JDBCExceptionHelper.con vert(JDBCExceptionHelper.java:30) at net.sf.hibernate.impl.BatcherImpl.convert(BatcherI mpl.java:325) at net.sf.hibernate.impl.BatcherImpl.openConnection(B atcherImpl.java:292) at net.sf.hibernate.impl.SessionImpl.connect(SessionI mpl.java:3361) at net.sf.hibernate.impl.SessionImpl.connection(Sessi onImpl.java:3321) at org.springframework.orm.hibernate.HibernateTransac tionManager.doBegin(HibernateTransactionManager.ja va:380) at org.springframework.transaction.support.AbstractPl atformTransactionManager.getTransaction(AbstractPl atformTransactionManager.java:271) at org.springframework.transaction.interceptor.Transa ctionAspectSupport.createTransactionIfNecessary(Tr ansactionAspectSupport.java:201) at org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:49) at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :144) at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:174) at $Proxy0.getVets(Unknown Source) at
    .
    .
    Deploying petclinic.war with Tomcat in my machine, following the instructions, i obtain the same error.
    Two weeks ago both run ok
    Any suggestions?
    Thanks in advance

  • #2
    Terrible mistake :-) localy i forget start up the hsql server and remotely, i guess the server is down.
    When the server is up, the application runs ok.

    Comment

    Working...
    X