The message below would seem to point to a classpath error but I am at
a loss to find it. I followed the directions from here
(http://www.ignite400.com/html/News/pdf/news2002030304.pdf) in order
to arrive at this point.
The joblog has only one relevant message:
JVAB559 Escape 40 10/07/02 15:58:20
QJVAUTLJVM QSYS *STMT QJVAQSHCMD QJAVA *STMT
From module . . . . . . . . : QJVAUTLJVM
From procedure . . . . . . : JvaSendMsg
Statement . . . . . . . . . : 959
To module . . . . . . . . . : QJVAQSHCMD
To procedure . . . . . . . : QjvaQshCmd
Statement . . . . . . . . . : 1149
Message . . . . : Unable to complete Java program.
Cause . . . . . : Unable to complete Java program because of reason
3. The
reason codes are defined as follows: 01 - Class name is not
provided. 02 -
Unable to create a Java Virtual Machine. 03 - Unable to find valid
classes
required to run Java program. 04 - Unable to find method ID required
to run
Java program. 05 - A native method has detached from the Java
Virtual
My environment looks like this:
OS/400 V4R5, Cum Tape C01296, Java Group PTF SF99068-12 V4R5M0
09/18/02,
Tomcat 4.0.5
Tomcat reports these setting on startup:
CLASSPATH: /jakarta-tomcat-4.0.5/bin/bootstrap.jar:
/QIBM/ProdData/Java400/jdk12/lib/tools.jar
CATALINA_BASE: /jakarta-tomcat-4.0.5
CATALINA_HOME: /jakarta-tomcat-4.0.5
JAVA_HOME: /QIBM/ProdData/Java400/jdk12
Any help would be appreciated.
Finally, there's a possibility that you are using a version of
the class file that's too new for the JVM you're using. Class
version numbers were incremented for 1.2 and 1.4 (IIRC) and if
you have a late-model class on an early JVM you'll get this message.
--
Dan Hicks
If a vegetarian eats vegetables, what does a barbarian eat?
Just for grins I downloaded an archive of 4.0.2 and tried it since
that is the version used by the doc I am following. This produces a
different error with nothing in the joblog:
Attaching Java program to /jakarta-tomcat-4.0.5/bin/bootstrap.jar.
Bootstrap: Class loader creation threw exception
java.lang.NoClassDefFoundError: java/util/ArrayList
java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:81)
org/apache/catalina/startup/ClassLoaderFactory.createClassLoader([Ljava/io/File;[Ljava/io/File;Ljava/lang/ClassLoader;)Ljava
org/apache/catalina/startup/Bootstrap.main([Ljava/lang/String;)V+0
(Bootstrap.java:114)
I still think I have a classpath problem. I have ordered the latest
cum tape too but that will be a few days. Any other ideas while I'm
waiting on PTFs?
Dan Hicks <danh...@ieee.org> wrote in message news:<3DA2253C...@ieee.org>...
--
Dan Hicks
All are lunatics, but he who can analyze his delusion is called a
philosopher. --Ambrose Bierce
Thanks again.
Dan Hicks <danh...@ieee.org> wrote in message news:<3DA375F3...@ieee.org>...
And of course you can always specify the version on the command
line as well.
--
Dan Hicks
We can do no great things, only small things with great love.
--Mother
Teresa