Thanks a bunch Apple!
My OS X Server installs have a catalina.jar file in the /Library/Java/Extensions directory. This dir is listed in the java.ext.dirs System property, so I presume it gets searched for jars during startup.
After I gzip'd the catalina.jar, my tomcat 4.1.12 install started up with no problems.
/Library/Java/Extensions/catalina.jar is not used by Apple's stock OS X Server Tomcat install (in /Library/Tomcat) ... that install starts and stops perfectly when the jar is gzip'd or otherwise disabled.
Maybe its used by WebObjects.
In any case, someone might want to add an appropriate note to the release notes, and let Apple know that they're breaking stuff. If anyone has a more graceful workaround, it would be good to know.
On Wednesday, November 13, 2002, at 09:45 AM, Martin Redington wrote:
I have three machines. A tibook with Mac OS X 10.2.1, and 2 xserves with Mac OS X Server 10.2.1
The actual OS version is 10.2.1, build 6D52 on both machines. All three machines have the stock OS X 1.3.1 JVM install.
I downloaded 4.1.12 (full) to all three machines, and unpacked it with gnutar.
JAVA_HOME is set to /Library/Java/Home and CATALINA_HOME is set to /usr/local/jakarta/jakarta-tomcat-4.1.12
On the tibook, tomcat starts up with no problem whatsoever.
On the Xserves, tomcat appears to start, but catalina.out reveals the following exception:
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
but, org.xml.sax.HandlerBase is clearly present in common/endorsed/xmlParserAPIs.jar
The only difference that I can see between the machines is that the xserves have WebObjects installed and running, and have a number of additional java framworks installed in /System/Library/Frameworks:
e.g.
drwxr-xr-x 4 root wheel 136 Dec 5 2001 /System/Library/Frameworks/JavaWOSMIL.framework
drwxr-xr-x 4 root wheel 136 Apr 15 2002 /System/Library/Frameworks/JavaWebObjects.framework
drwxr-xr-x 4 root wheel 136 Dec 5 2001 /System/Library/Frameworks/JavaXML.framework
Note that JavaXML.framework also contains the org.xml.sax.HandlerBase class.
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
