|
Don't you have to say PU049B.pcml in the new ProgramCallDocument constructor ?
Pillai Ashish Kulkarni wrote:
Hi The PCML file in MY IDE where under WEB-INF/classes/ folder here the structure of how it looks in tomcat C:\Tomcat5.0.28\webapps\approvals630001\WEB-INF\classes\PU049B.PCML and 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 PCML located within 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 PCML file to /<tomcatroot>/common/classes/ folder, is there a way to access PCML files from WEB-INF/classes folder in tomcat instead. Ashish ____________________________________________________ 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. -- 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.____________________________________________________Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
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.