| 
 | 
I've been experimenting with servlets that access AS/400 information and
display it in my browser. Running the servlet under Tomcat on my PC works
fine.
In theory, I should be able to move the class files to the AS/400 and run
them under IBM's HTTP server. However, when I submit the form to run the
servlet, the browser just sits there waiting. Looking at the joblog for the
HTTP server instance shows the following message.
 Message ID . . . . . . :   CPDB520       Severity . . . . . . . :   40
 Message type . . . . . :   Diagnostic
 Message . . . . :   Error 5 detected on application programming interface.
 Cause . . . . . :   An error was found on the application programming
   interface (API) request.  The error code is 5.  The error codes are
defined
   as follows:
     03- An API parameter is not valid.
     04- The current thread is attached to another Java Virtual Machine.
     05- The Java Virtual Machine could not be found.  It was never created
or
   has been destroyed.
     06- Insufficient application storage exists to return the requested
data.
     07- A Java Virtual Machine cannot be created in a job that allows only
one
   thread to be started.
     08- The classpath is not valid.
Any ideas where my JVM went? Thanks in advance!
+---
| 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-2025 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.