× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It looks like it can't find Tomcat. Are you setting up the class-path?
--
James R. Perkins


On Mon, Jan 23, 2012 at 09:45, James Lampert <jamesl@xxxxxxxxxxxxxxxxx>wrote:

We're now trying to bring up Tomcat 7 on a V5R4 box. They have Java 6
installed, and I'm told that they installed some PTFs over the weekend,
but it's still crashing on takeoff.

In catalina.sh, we have:
# Java 6 settings if needed
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
export -s CATALINA_HOME=/wintouch/tomcat
export -s JAVA_OPTS="-Dos400.awt.native=true -Djava.awt.headless=true
-Djava.version=1.6 -Xms256m -Xmx512m"

# OS specific support. $var _must_ be set to either true or false.
cygwin=false
darwin=false
os400=true
case "`uname`" in
CYGWIN*) cygwin=true;;
Darwin*) darwin=true;;
OS400*) os400=true;;
esac

and there is definitely a "java" in the
/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/bin directory, and so far
as I'm aware, all the JARs are present in the right subdirectories of
/wintouch/tomcat, but in catalina.out, I get:
Attaching Java program to /QIBM/ProdData/Java400/jdk6/lib/charsets.jar.
Attaching Java program to /QIBM/ProdData/Java400/jdk6/lib/resources.jar.
Attaching Java program to /QIBM/ProdData/Java400/jdk6/lib/rt.jar.
eval: 001-0014 Command
/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/bin/java not found.
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:432)
at java.lang.ClassLoader.loadClass(ClassLoader.java:642)
at java.lang.ClassLoader.loadClass(ClassLoader.java:608)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:236)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

When I delete catalina.out and try again, I get the same, only starting
from the ClassNotFoundException.

--
JHHL
--
This is the Java Programming on and around the IBM i (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-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.