• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The file specified ( ) could not be found.

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 28271
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic