• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The file specified ( ) could not be found.

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that passing a semi-colon delimited value to the "file" property is allowed by the sun-appserv-deploy target?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic