|
ie pcml = new ProgramCallDocument();pcml.setDocument( "com.example.document.DocumentName.pcml" );// place the pcml document in WEB-INF/classes/com/example/document/
in that fashion. And it seems to work. Pillai Ashish Kulkarni wrote:
Hi just PU049B works in websphere application server, but not in tomcat, i have never tried Pu049B.pcml in the constructor Ashish --- Narayanan R Pillai <strqst400@xxxxxxxxx> wrote:Don't you have to say PU049B.pcml in the newProgramCallDocument constructor ?Pillai Ashish Kulkarni wrote:Hi The PCML file in MY IDE where underWEB-INF/classes/folder here the structure of how it looks in tomcatC:\Tomcat5.0.28\webapps\approvals630001\WEB-INF\classes\PU049B.PCMLand the jar file is also under classes folder here is what i do in my code ProgramCallDocument pcml = new ProgramCallDocument(as400, "PU049B"); boolean b = pcml.callProgram("PU049B"); and here is what i defined in my PCML file <program name="PU049B" path="/QSYS.LIB/%LIBL%.lib/PU049B.PGM"> Regards Ashish --- albartell <albartell@xxxxxxxxx> wrote:Can you post some code? Where was the PCMLlocatedwithin your IDE before,in a package or the WebRoot folder?-----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ashish Kulkarni Sent: Thursday, August 18, 2005 7:58 AM To: java400-l@xxxxxxxxxxxx Subject: where do i keep PCML files in J2ee application running on tomcat Hi we have a web application where we call RPGLE programs from java using PCML. I have all the PCML files under WEB-INF\classes folder in my web application, IT works fine under websphere application server, but in tomcat i get PCML not found error, so i moved the PCMLfileto /<tomcatroot>/common/classes/ folder, is there awayto access PCML filesfrom WEB-INF/classes folder in tomcat instead.Ashish____________________________________________________Start your day with Yahoo! - make it your homepagehttp://www.yahoo.com/r/hs-- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit:http://lists.midrange.com/mailman/listinfo/java400-lor email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit:http://lists.midrange.com/mailman/listinfo/java400-lor email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.____________________________________________________Start your day with Yahoo! - make it your home pagehttp://www.yahoo.com/r/hs-- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.__________________________________________________ Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.