Subject: pkg/18252: jakarta-tomcat ClassNotFoundException(s) on startup.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@wasabisystems.com>
List: netbsd-bugs
Date: 09/10/2002 20:03:16
>Number:         18252
>Category:       pkg
>Synopsis:       jakarta-tomcat ClassNotFoundException(s) on startup.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 10 03:05:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     rtr@wasabisystems.com
>Release:        NetBSD 1.6E
>Organization:
	None
>Environment:
System: NetBSD elysium 1.6E NetBSD 1.6E (elysium) #0: Tue Aug 6 07:29:42 EST 2002 rtr@elysium:/wasabi/home/source/co/retry/src/sys/arch/i386/compile/elysium i386
Architecture: i386
Machine: i386
>Description:
	When starting jakarta-tomcat many ClassNotFoundExceptions are spit out
	though the server still seems to run correctly.  This is probably due
	to a classpath problem (CLASSPATH specified in tomcat's rc.d script).

	The classpath being constructed is:

	Using classpath: /usr/pkg/tomcat/lib/jasper.jar:/usr/pkg/tomcat/lib/test:/usr/pkg/tomcat/lib/webserver.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/java/lib/tools.jar:/usr/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/java/ant.jar:/usr/pkg/lib/java/servlet.jar:/usr/pkg/lib/java/jaxp.jar:/usr/pkg/lib/java/parser.jar:/usr/pkg/lib/java/crimson.jar:/usr/pkg/lib/java/ant.jar

	Of these .jar files parser.jar and jaxp.jar don't exist but I don't
	know for sure if they contain the classes that are missing.  I'm
	familiar with jaxp.jar and I'm certain it does not.

	java.lang.ClassNotFoundException: org.apache.tomcat.loader.AdaptiveClassLoader12
	java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
	java.lang.ClassNotFoundException: org.apache.tomcat.loader.AdaptiveClassLoader12
	java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
	java.lang.ClassNotFoundException: org.apache.tomcat.loader.AdaptiveClassLoader12
	java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12
	java.lang.ClassNotFoundException: org.apache.tomcat.loader.AdaptiveClassLoader12
	java.lang.ClassNotFoundException: org.apache.jasper.servlet.JasperLoader12

>How-To-Repeat:
	Install www/jakarta-tomcat
	/usr/pkg/etc/rc.d/tomcat start
	observe the error
>Fix:
	Classpaths have always irritated me.
>Release-Note:
>Audit-Trail:
>Unformatted: