0 Replies Latest reply: Mar 23, 2009 11:37 AM by 843833 RSS

    PetStore 2.0 - "ant setup" fails

    843833
      Hi,

      i use linux and glassfish for working with the PetStore. After executing "ant setup" i get following
      Buildfile: build.xml                                        
      
      init:
      
      create-bp-ui-5-jar:
      
      setup:
      
      check:
      
      tools:
      
      create-pool-local:
           [echo] Registering jdbc-connection-pool PetstorePool.
           [echo] ds=org.apache.derby.jdbc.ClientDataSource     
      
      check:
      
      tools:
      
      create-jdbc-connection-pool:
           [exec] Command create-jdbc-connection-pool executed successfully.
      
      create-resource-local:
           [echo] Registering jdbc resource jdbc/PetstoreDB.
      
      check:
      
      tools:
      
      create-jdbc-resource:
           [exec] Command create-jdbc-resource executed successfully.
      
      delete-db:
           [echo] driver=org.apache.derby.jdbc.ClientDriver
           [echo] url=jdbc:derby://localhost:1527/petstore;create=true;
           [echo] user=APP
           [echo] password=APP
      
      BUILD FAILED
      /home/homebox/SDK/blueprints/petstore/build.xml:70: The following error occurred while executing this line:
      /home/homebox/SDK/blueprints/petstore/setup/setup.xml:58: java.sql.SQLTransientConnectionException: java.net.ConnectException: Fehler beim Herstellen der Verbindung zum Server (translation = Error while building up a connection) localhost am Port 1527. Nachricht (translation = Message): Connection refused.
      any idea?