tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted <r6squee...@gmail.com>
Subject tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems
Date Wed, 06 Mar 2013 01:15:23 GMT
Hi I'm running fedora 16, openjdk 1.7.0.9 and tomcat 7.0.37 (from a tar.gz).

I'm getting a juli FileHandler problem and the existing posts / google
search results do not appear to be the same as mine. I'm running
tomcat freshly un-tarred from the tar.gz with catalina.sh run (not my
webap or anything else, no changes to catalina.sh or
logging.properties or any of the tomcat contents), so the juli jar is
in bin and the -D logging option is what ever is in catalina.sh.

I'm getting the stack trace :

	[1027:/data/apps/apache-tomcat-7.0.37]catalina.sh run
	Using CATALINA_BASE:   /data/apps/apache-tomcat-7.0.37
	Using CATALINA_HOME:   /data/apps/apache-tomcat-7.0.37
	Using CATALINA_TMPDIR: /data/apps/apache-tomcat-7.0.37/temp
	Using JRE_HOME:        /data/apps/openjdk1.7.0.9
	Using CLASSPATH:
/data/apps/apache-tomcat-7.0.37/bin/bootstrap.jar:/data/apps/apache-tomcat-7.0.37/bin/tomcat-juli.jar
	Can't load log handler "1catalina.org.apache.juli.FileHandler"
	java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
	java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler
		at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
		at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
		at java.security.AccessController.doPrivileged(Native Method)
		at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
		at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

I should note that the above works when I use oracle-jdk1.7.0_17. I'm
suspecting this is a problem with openjdk but more like a "configure
openjdk to work with tomcat" issue.

Does anyone know what configuration changes need to be made to openjdk
to work with tomcat's juli logger?
-- 
Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message