Hi Brian,

>From what you say it appears that .pcml file is picked up from the class
path because bin dir is obviously on the class path.

If .pcml is being read by you ulc application, then it needs to be on the
class path of the servlet. For this you have to place it in
application-develop.jar which is part of the war file in WEB-INF

If it is being accessed from the client the it should be in the
client-extension.jar in the lib dir in the war file.

One more thing you can try is to remove it from bin dir and put it in the
resources dir. The build script puts it in the application-develop.jar

Modifying the build.xml as per your requirements is the right approach.

I hope this helps.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of McCarty, Brian
Sent: Tuesday, August 01, 2006 4:53 PM
To: [EMAIL PROTECTED] Com
Subject: [ULC-developer] Deployment problem


I have a simple application that accesses data on an IBM I-Series through an
RPG service program running on the I-Series.  The application uses the IBM
toolbox for Java which contains classes to access the I-Series.  The program
uses a .pcml file that resides in the \bin folder of the java project.  The
application works fine in the Eclipse IDE, but I am having deployment
problems.

I initiated the project with the "Eclipse IDE Integration" plug-in and
create the .war file using the ULC Servlet Export Wizard.     It appears
that the .pcml file in the bin folder does not end up in the .war file.  I
modified the build.xml file and ran an ant build.  This put the .pcml file
in the .war file.  After deploying to the server, the application still
could not find the .pcml file.

Any help would be appreciated.

Thanks,
Brian McCarty

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to