× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I exported an application to an 'Application Client Jar File' using WDSCi
v5.1.2
A javaclass executes a command wich runs an iSeries application using 
PCML.
==>  pcml = new ProgramCallDocument(as400System, 
"resources/ARHOLMEC.pcml");

This application works fine when executed inside WDSCi.
For some reason the 'pcml' file is not found when application is executed
from command line:

D:\ClipperJavaApps>java -jar MyHolidays.jar
==> Retrieving Employee record.
==> Exception in thread "main" java.util.MissingResourceException: PCML
document sou
==> rce 'resources/ARHOLMEC.pcml' cannot be found.
==>         at
com.ibm.as400.data.SystemResourceFinder.getPCMLDocument(SystemResourc
==> eFinder.java:196)
==>         at
com.ibm.as400.data.PcmlSAXParser.<init>(PcmlSAXParser.java:98)
==>         at
com.ibm.as400.data.ProgramCallDocument.loadSourcePcmlDocument(Program
==> CallDocument.java:1076)
==>         at
com.ibm.as400.data.ProgramCallDocument.loadPcmlDocument(ProgramCallDo
==> cument.java:979)
==>         at
com.ibm.as400.data.ProgramCallDocument.<init>(ProgramCallDocument.jav
==> a:127)
==>         at myHolidays.HolidayMenu.createView(HolidayMenu.java:172)
==>         at myHolidays.HolidayMenu.<init>(HolidayMenu.java:108)
==>         at myHolidays.HolidayMenu.main(HolidayMenu.java:164)

The JAR-file contains this file in correct folder.


Patrick Goovaerts

IT/Clipper Support nv
Generaal Lemanstraat 82 - 92
B - 2600 Berchem (Antwerpen)
Tel: 32 (0)3 5453991
Email: p.goovaerts@xxxxxxxxxx 


You ship the world,
We deliver IT ...
Just one click @way


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.