Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 14:48:12 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Tomcat Users List <tomcat-user@jakarta.apache.org>
Cc:        freebsd-java@freebsd.org
Subject:   Jakarta-Tomcat 4.1.18 + FreeBSD + linux-sun-jdk14 won't start ...
Message-ID:  <20030214142943.K18343@hub.org>

next in thread | raw e-mail | index | archive | help

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 ...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030214142943.K18343>