This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes The file specified ( ) could not be found. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "The file specified ( ) could not be found." Watch "The file specified ( ) could not be found." New topic
Author

The file specified ( ) could not be found.

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 379
I am trying to deploy numerous ejbs.

I cannot get my script to run because of this:

BUILD FAILED
d:\NHINC\deploy.xml:55: The following error occurred while executing this line:
d:\NHINC\deploy.xml:137: The following error occurred while executing this line:

d:\NHINC\deploy.xml:220: The file specified (d:\NHINC\AdapterDocRetrieveProxyEJB
.jar;d:\NHINC\AggregatorEJB.jar;d:\NHINC\AggregatorEJB.jar;d:\NHINC\AuditReposit
oryEJB.jar;d:\NHINC\ConnectionManagerEJB.jar;d:\NHINC\DocumentTransformEJB.jar;d
:\NHINC\EntityAuditLogQueryEJB.jar;d:\NHINC\EntityDocQueryEJB.jar;d:\NHINC\Entit
yDocRetrieveEJB.jar;d:\NHINC\EntityHiemSubscriptionEJB.jar;d:\NHINC\NhincAuditQu
eryEJB.jar;d:\NHINC\NhincDocQueryEJB.jar;d:\NHINC\NhincDocRetrieveEJB.jar;d:\NHI
NC\NhincHiemSubscriptionEJB.jar;d:\NHINC\NhincInterfaceTestHelperEJB.jar;d:\NHIN
C\PropAssessorEJB.jar;) could not be found.


Can you tell me how I can list the files:

My XML says this:

<target name="deploy.war.to.glassfish" depends="deploy.create.glassfish.password.file">
<sun-appserv-deploy
user="${deployment.glassfish.server.username}"
passwordfile="${deploy.glassfish.password.file.path}"
host="${deployment.glassfish.server}"
port="${deployment.glassfish.admin.port}"
file="d:/NHINC/AdapterDocRetrieveProxyEJB.jar;d:/NHINC/AggregatorEJB.jar;d:/NHINC/AggregatorEJB.jar;d:/NHINC/AuditRepositoryEJB.jar;d:/NHINC/ConnectionManagerEJB.jar;d:/NHINC/DocumentTransformEJB.jar;d:/NHINC/EntityAuditLogQueryEJB.jar;d:/NHINC/EntityDocQueryEJB.jar;d:/NHINC/EntityDocRetrieveEJB.jar;d:/NHINC/EntityHiemSubscriptionEJB.jar;d:/NHINC/NhincAuditQueryEJB.jar;d:/NHINC/NhincDocQueryEJB.jar;d:/NHINC/NhincDocRetrieveEJB.jar;d:/NHINC/NhincHiemSubscriptionEJB.jar;d:/NHINC/NhincInterfaceTestHelperEJB.jar;d:/NHINC/PropAssessorEJB.jar;"
asinstalldir="${glassfish.home}"
/>
</target>

Thank you,
Michele
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18120
    
    8

Well, that probably isn't the way to specify... whatever it is you're trying to specify there. But just because the file you're working with happens to be an XML file, that doesn't mean that people who know a lot about XML files are going to know the first thing about Glassfish configuration. (Which is what your data looks like to me.)

So let's try to find a suitable forum for Glassfish configuration questions:
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Are you sure that passing a semi-colon delimited value to the "file" property is allowed by the sun-appserv-deploy target?


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Jaikiran Pai wrote:Are you sure that passing a semi-colon delimited value to the "file" property is allowed by the sun-appserv-deploy target?


Just checked their docs. You actually should be using "fileset" nested element to pass a set of files.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The file specified ( ) could not be found.
 
Similar Threads
getting errors while running duke's bank application
deploy problem when using Lomboz
Using Deploy.bat to create EJBs (.jar) files
Cannot Register EJBs on GlassFish Server 2.1.1
org.hibernate.MappingNotFoundException: resource: edu/hib/pojo/Employee.orm.xml not found