Skip to main content

Error Deploying Glassfish Domain to setup CONNECT

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
johnsonmktg
Offline
Joined: 2013-11-11

I'm trying to deploy glassfish domain, in order to deploy and create a CONNECT for Health Information Network.... installing/deploying through command as follows and get the resulting error... please help!

ant -Dglassfish.home=%AS_HOME% -f deploy.xml recreate.glassfish.domain

Here's the resulting error:

Could not load definitions from resource com/sun/tools/appserver/ant lib.xml. It could not be found.

recreate.glassfish.domain:

-backup.glassfish.domain.configuration:

-backup.glassfish.domain.certificates:

-deploy.create.glassfish.password.file: [echo] deploy.glassfish.password.file.path: C:\Users\PROGRA~1\AppData\Local \Temp\2\glassfish43310913

-deploy.glassfish.asadmin:

-delete.glassfish.domain:

-deploy.setup.init:

-deploy.set.env:

-deploy.create.glassfish.password.file:

-deploy.glassfish.asadmin:

-create.glassfish.domain:

BUILD FAILED C:\NHINC\deploy.xml:399: Execute failed: java.io.IOException: Cannot run program "%AS_HOME%\bin\asadmin.bat": CreateProcess error=2, The system cannot find the file specified

Total time: 0 seconds C:\NHINC>