|
Probably a classpath problem. Classpath in Websphere isn't set correctly. Brad > -----Original Message----- > From: Bruce Jin [mailto:brucej@MRC-PRODUCTIVITY.COM] > Sent: Wednesday, January 10, 2001 12:04 PM > To: JAVA400-L@midrange.com > Subject: ToolBox classes not found when calling RPG program from > servlet, > > > I try to call an RPG program from a servlet and I get class > not found error > (com.ibm.as400.access.AS400). > I then copied jt400.zip to /qibm/proddata/ibmwebas/lib > directory and get the > same error. > > (BTW, the calling RPG part works OK when I run a Java program > from my PC) > > Any ideas? > > TIA. Bruce > > > > 500 Internal Server Error > The servlet named invoker at the requested URL > > http://192.168.0.112:8001/servlet/jdbc2 > reported this exception jdbc2: com.ibm.as400.access.AS400. > Please report > this to the administrator of the web server. > > jdbc2: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400 > java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:81) > com/ibm/servlet/classloader/DynamicClassLoader.loadNonSystemCl > ass(Ljava/lang > /String;)Ljava/lang/Class;+134 (DynamicClassLoader.java:92) > com/ibm/servlet/classloader/ClassLoaderTemplate.loadClass(Ljav > a/lang/String; > Z)Ljava/lang/Class;+14 (ClassLoaderTemplate.java:51) > java/lang/ClassLoader.loadClassInternal(Ljava/lang/String;Z)Lj > ava/lang/Class > ;+30 (ClassLoader.java:308) > jdbc2.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/serv > let/http/HttpS > ervletResponse;)V+1 (jdbc2.java:18) > javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/Htt > pServletReques > t;Ljavax/servlet/http/HttpServletResponse;)V+58 (HttpServlet.java:499) > javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletR > equest;Ljavax/ > servlet/ServletResponse;)V+25 (HttpServlet.java:588) > com/sun/server/ServletState.callService(Ljavax/servlet/Servlet > Request;Ljavax > /servlet/ServletResponse;)V+50 (ServletState.java:316) > com/sun/server/ServletManager.callServletService(Ljava/lang/St > ring;Ljavax/se > rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81 > (ServletManager.java:1324) > com/ibm/servlet/engine/SEServletManager.callServletService(Lja > va/lang/String > ;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+12 > (SEServletManager.java:133) > com/sun/server/http/InvokerServlet.service(Ljavax/servlet/http > /HttpServletRe > quest;Ljavax/servlet/http/HttpServletResponse;)V+131 > (InvokerServlet.java:104) > javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletR > equest;Ljavax/ > servlet/ServletResponse;)V+25 (HttpServlet.java:588) > com/sun/server/ServletState.callService(Ljavax/servlet/Servlet > Request;Ljavax > /servlet/ServletResponse;)V+50 (ServletState.java:316) > com/sun/server/ServletManager.callServletService(Ljava/lang/St > ring;Ljavax/se > rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81 > (ServletManager.java:1324) > com/ibm/servlet/engine/SEServletManager.callServletService(Lja > va/lang/String > ;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+12 > (SEServletManager.java:133) > com/sun/server/ProcessingState.invokeTargetServlet()V+106 > (ProcessingState.java:434) > com/sun/server/http/HttpProcessingState.execute(Lcom/sun/serve > r/ProcessingSt > age;)V+29 (HttpProcessingState.java:93) > com/sun/server/ProcessingSupport.process(Lcom/sun/server/Proce > ssingState;Lja > vax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)Z+73 > (ProcessingSupport.java:260) > com/sun/server/Service.process(Lcom/sun/server/ProcessingState > ;Ljavax/servle > t/ServletRequest;Ljavax/servlet/ServletResponse;)Z+11 > (Service.java:231) > com/ibm/servlet/engine/SELauncher.processMultiThreaded(Lcom/ib > m/servlet/engi > ne/SEService;Lcom/ibm/servlet/engine/SEConnectionHandler;)Z+13 > (SEEngine.java:599) > com/ibm/servlet/engine/SEEngine.service(Lcom/ibm/servlet/engin > e/api/IAppServ > erConnection;)V+117 (SEEngine.java:319) > com/ibm/servlet/engine/api/ServerEntry.service(Lcom/ibm/servle > t/engine/api/I > ServerRequestConnection;)I+89 (ServerEntry.java:201) > com/ibm/servlet/engine/nativeEntry/NativeServerEntry.service(J > JILjava/lang/S > tring;Ljava/lang/String;)I+48 (NativeServerEntry.java:144) > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to JAVA400-L@midrange.com. > | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: joe@zappie.net > +--- > +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.