linux-sun-jdk14 + jakarta-tomcat4.1 won't start ... ?

linux-sun-jdk14 + jakarta-tomcat4.1 won't start ... ?

Post by The Hermit Hack » Sat, 15 Feb 2003 12:26:26



I'm getting the following when trying to use jdk14, but if I use the
native jdk13, it starts fine ... unfortunately, I need 1.4 features ...
am I missing something in my class path?  I'm not finding anything useful
on google :(

Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
        at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
        at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy



with "unsubscribe freebsd-java" in the body of the message

 
 
 

linux-sun-jdk14 + jakarta-tomcat4.1 won't start ... ?

Post by Jan Gra » Sat, 15 Feb 2003 21:38:12



> I'm getting the following when trying to use jdk14, but if I use the
> native jdk13, it starts fine ... unfortunately, I need 1.4 features ...
> am I missing something in my class path?  I'm not finding anything useful
> on google :(

> Exception during startup processing
> java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
>         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
>         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)

Sorry if this is a teach-your-granny-to-suck-eggs question, but how are
you starting tomcat?

I've got it working quite happily with the native jdk14. I tend to call
the tomcat startup script from a small wrapper that sets CATALINA_BASE
and JAVA_HOME correctly.

--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
I'm the dandy information superhighwayman.


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. Jakarta-Tomcat 4.1.18 + FreeBSD + linux-sun-jdk14 won't start ...

When I try to start, using linux-sun-jdk14:

Using CATALINA_BASE:   /usr/local/jakarta-tomcat4.1
Using CATALINA_HOME:   /usr/local/jakarta-tomcat4.1
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat4.1/temp
Using JAVA_HOME:       /usr/local/linux-sun-jdk1.4.1
Using CLASSPATH:       /usr/local/linux-sun-jdk1.4.1/lib/tools.jar:/usr/local/jakarta-tomcat4.1/bin/bootstrap.jar

it fails, missing a Class:

Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
        at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
        at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)

If I switch to using the native JDK:

Using CATALINA_BASE:   /usr/local/jakarta-tomcat4.1
Using CATALINA_HOME:   /usr/local/jakarta-tomcat4.1
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat4.1/temp
Using JAVA_HOME:       /usr/local/jdk1.3.1
Using CLASSPATH:       /usr/local/jdk1.3.1/lib/tools.jar:/usr/local/jakarta-tomcat4.1/bin/bootstrap.jar

it all starts beautifully:

[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8042
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8042
[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8043
[INFO] JkMain - -Jk running ID=0 time=17/118  config=/usr/local/jakarta-tomcat4.1/conf/jk2.properties

I've tried using the linux-sun-jdk13, and get the same results as the
jdk14 one ... is there a something that I need to add to my CLASSPATH that
the linux version doesn't have?

Thanks ...


with "unsubscribe freebsd-java" in the body of the message

2. HELP! Kernel 0.99.10 still breaks tcsh! (3rd try...)

3. Repocopy request: www/jakarta-tomcat4 -> www/jakarta-tomcat4-devel

4. ftape-1.13b make error

5. Repocopy request: www/jakarta-tomcat4 -> www/jakarta-tomcat41

6. AFPS - huge memory hog!

7. Help with Cromemco C-300 S100 Unix machine

8. connector for jakarta-tomcat4

9. jakarta-tomcat4-devel

10. linux-sun-jdk14 build is interactive

11. linux-sun-jdk14 port