• Subject: ToolBox classes not found when calling RPG program from servlet,
  • From: "Bruce Jin" <brucej@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 10 Jan 2001 12:03:45 -0600

 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.loadNonSystemClass(Ljava/lang
/String;)Ljava/lang/Class;+134 (DynamicClassLoader.java:92)
com/ibm/servlet/classloader/ClassLoaderTemplate.loadClass(Ljava/lang/String;
Z)Ljava/lang/Class;+14 (ClassLoaderTemplate.java:51)
java/lang/ClassLoader.loadClassInternal(Ljava/lang/String;Z)Ljava/lang/Class
;+30 (ClassLoader.java:308)
jdbc2.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpS
ervletResponse;)V+1 (jdbc2.java:18)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletReques
t;Ljavax/servlet/http/HttpServletResponse;)V+58 (HttpServlet.java:499)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:588)
com/sun/server/ServletState.callService(Ljavax/servlet/ServletRequest;Ljavax
/servlet/ServletResponse;)V+50 (ServletState.java:316)
com/sun/server/ServletManager.callServletService(Ljava/lang/String;Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81
(ServletManager.java:1324)
com/ibm/servlet/engine/SEServletManager.callServletService(Ljava/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/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:588)
com/sun/server/ServletState.callService(Ljavax/servlet/ServletRequest;Ljavax
/servlet/ServletResponse;)V+50 (ServletState.java:316)
com/sun/server/ServletManager.callServletService(Ljava/lang/String;Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81
(ServletManager.java:1324)
com/ibm/servlet/engine/SEServletManager.callServletService(Ljava/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/server/ProcessingSt
age;)V+29 (HttpProcessingState.java:93)
com/sun/server/ProcessingSupport.process(Lcom/sun/server/ProcessingState;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/ibm/servlet/engi
ne/SEService;Lcom/ibm/servlet/engine/SEConnectionHandler;)Z+13
(SEEngine.java:599)
com/ibm/servlet/engine/SEEngine.service(Lcom/ibm/servlet/engine/api/IAppServ
erConnection;)V+117 (SEEngine.java:319)
com/ibm/servlet/engine/api/ServerEntry.service(Lcom/ibm/servlet/engine/api/I
ServerRequestConnection;)I+89 (ServerEntry.java:201)
com/ibm/servlet/engine/nativeEntry/NativeServerEntry.service(JJILjava/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
+---

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-2022 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.