Results 1 to 2 of 2

Thread: Problems with pet clinic sample application

  1. #1
    Join Date
    Jan 2005
    Location
    Barcelona
    Posts
    5

    Default 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. #2
    Join Date
    Jan 2005
    Location
    Barcelona
    Posts
    5

    Default

    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.

Similar Threads

  1. Replies: 2
    Last Post: Oct 10th, 2005, 05:12 PM
  2. Replies: 7
    Last Post: Sep 20th, 2005, 05:47 PM
  3. Replies: 4
    Last Post: Mar 3rd, 2005, 11:15 PM
  4. Questioning the core component
    By Martin Kersten in forum Swing
    Replies: 6
    Last Post: Feb 21st, 2005, 03:45 AM
  5. Replies: 2
    Last Post: Jan 6th, 2005, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •