This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 412
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: 18541
    
    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: 10067
    
163

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: 10067
    
163

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: The file specified ( ) could not be found.