×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Okay.  Can you please post the complete stack trace of the exception that
you are receiving?

Gary

> -----Original Message-----
> From: java400-l-bounces@xxxxxxxxxxxx 
> [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ashish Kulkarni
> Sent: Thursday, August 18, 2005 10:50 AM
> To: Java Programming on and around the iSeries / AS400
> Subject: RE: where do i keep PCML files in J2ee application 
> running on tomcat
> 
> Ohh
> sorry i mentioned in wrong in my email, my jar file is in lib 
> folder WEB-INF/lib
> 
> --- Gary L Peskin <garyp@xxxxxxxxxxxx> wrote:
> 
> > Try moving the .jar file into WEB-INF/lib instead of 
> WEB-INF/classes.  
> > This is where it really belongs.  WAS is lenient in this regard but 
> > the correct place is WEB-INF/lib.
> > 
> > HTH,
> > Gary
> > 
> > > -----Original Message-----
> > > From: java400-l-bounces@xxxxxxxxxxxx 
> > > [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf
> > Of Ashish Kulkarni
> > > Sent: Thursday, August 18, 2005 8:58 AM
> > > To: Java Programming on and around the iSeries /
> > AS400
> > > Subject: RE: where do i keep PCML files in J2ee
> > application
> > > running on tomcat
> > > 
> > > 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
> > page
> > > > http://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
> > >  
> > > --
> > > 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.
> > 
> > 
> 
> 
> A$HI$H
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.com
> --
> 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.
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.