0 Replies Latest reply: May 28, 2009 6:28 AM by 843833 RSS

    bpcatalog ant setup build failed

    843833
      Hi, I'm hitting a problem when I'm running ant setup where an attempt to run the asadmin command
      seems to fail due to having lost all the path separators ( "\" - I'm on Windows XP). I'm using Glassfish
      V21 as the app server. Can anyone assist? I've been trying to get this working for about 2 days now,
      furthermore it won't work in NetBeans due to the missing bp-ui-5.jar file problem, and the vague
      reference to a workaround for this problem has proven too cryptic for me to follow.

      Thanks for any help.

      (end of ant setup output:)

      Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1 (9.1.1) (build
      b60e-fcs)] with its configuration and logs at: [C:\Documents and Settings\brend
      an\My Documents\glassfish\domains].
      Admin Console is available at [http://localhost:4848].
      Use the same port [4848] for "asadmin" commands.
      User web applications are available at these URLs:
      [http://localhost:8080 https://localhost:8181 ].
      Following web-contexts are available:
      [web1  /__wstx-services ].
      Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
      [service:jmx:rmi:///jndi/rmi://LAPTOP:8686/jmxrmi] for domain management purpose
      s.
      Domain listens on at least following ports for connections:
      [8080 8181 4848 3700 3820 3920 8686 ].
      Domain supports application server clusters and other standalone instances.

      asadmin> exit

      C:\Documents and Settings\brendan\My Documents\glassfish>cd ..

      C:\Documents and Settings\brendan\My Documents>cd bp*

      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>dir
      Volume in drive C has no label.
      Volume Serial Number is 6B95-7191

      Directory of C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.
      8

      28/05/2009 11:03 <DIR> .
      28/05/2009 11:03 <DIR> ..
      28/05/2009 11:03 24,410 3RD-PARTY-LICENSE.txt
      28/05/2009 11:03 <DIR> apps
      28/05/2009 11:03 <DIR> bp-project
      28/05/2009 11:03 1,111 bp-project.xml
      28/05/2009 11:03 9,882 build.xml
      28/05/2009 11:03 <DIR> components
      28/05/2009 11:03 <DIR> docs
      28/05/2009 11:03 18,071 index.html
      28/05/2009 11:03 <DIR> lib
      28/05/2009 11:03 <DIR> tools
      4 File(s) 53,474 bytes
      8 Dir(s) 63,770,877,952 bytes free

      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>dir
      Volume in drive C has no label.
      Volume Serial Number is 6B95-7191

      Directory of C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.
      8

      28/05/2009 11:11 <DIR> .
      28/05/2009 11:11 <DIR> ..
      28/05/2009 11:03 24,410 3RD-PARTY-LICENSE.txt
      28/05/2009 11:03 <DIR> apps
      28/05/2009 11:03 <DIR> bp-project
      28/05/2009 11:03 1,111 bp-project.xml
      28/05/2009 11:03 9,882 build.xml
      28/05/2009 11:03 <DIR> components
      28/05/2009 11:03 <DIR> docs
      28/05/2009 11:03 18,071 index.html
      28/05/2009 11:03 <DIR> lib
      28/05/2009 11:16 28 passwordfile
      28/05/2009 11:03 <DIR> tools
      5 File(s) 53,502 bytes
      8 Dir(s) 63,770,877,952 bytes free

      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>ant setup
      Buildfile: build.xml

      setup:

      setup:

      setup:

      setup:

      setup:

      setup:

      setup:

      check:

      tools:

      create-pool-local:
      [echo] Registering jdbc-connection-pool CatalogPool.
      [echo] ds=org.apache.derby.jdbc.ClientDataSource

      check:

      tools:

      create-jdbc-connection-pool:

      BUILD FAILED
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8\build.xml:78
      : The following error occurred while executing this line:
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8\apps\persist
      ence\bp-persistence-webonly\setup\setup.xml:43: The following error occurred whi
      le executing this line:
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8\bp-project\a
      pp-server-ant.xml:163: Execute failed: java.io.IOException: Cannot run program "
      C:Documents and SettingsbrendanMy Documentsglassfish\bin\asadmin.bat" (in direct
      ory "C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8\apps\pe
      rsistence\bp-persistence-webonly"): CreateProcess error=3, The system cannot fin
      d the path specified

      Total time: 1 second
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>java -versio
      n
      java version "1.6.0_13"
      Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
      Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>ant help
      Buildfile: build.xml

      BUILD FAILED
      Target `help' does not exist in this project.

      Total time: 0 seconds
      C:\Documents and Settings\brendan\My Documents\bpcatalog-ee5-ea-0.8>^A^A