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

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

Post by Marc G. Fournie » Sun, 16 Feb 2003 03:49:24



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

 
 
 

1. jakarta-tomcat 4.1.18 and freebsd 5.0 problems

Hi,

I recently installed jakarta-tomcat-4.1.18.tar.gz from
/usr/ports/www/jakarta-tomcat-4.1.18. The install was fine.

I have set all my environmental variabels such as
CATALINA_HOME and JAVA_HOME (i have installed jdk1.1.3).
The problem is that everytime time i start the server with

bin/startup.sh, I notice the cpu and memory for the java
process start rising up and in about 2 minutes, the process
aborts adn i have a core file, java.core in my
$CATALINA_HOME/bin directory.

What am i doing wrong. I do not have another server running
on port 8080.

I am running freebsd 5.0. Any help will be appreciated.
Also could you cc me to this email address.

Thanks,
radhika

=====
It's all a matter of perspective. You can choose your view by choosing where to stand.
--Larry Wall

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


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

2. crc errors in tar files

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

4. AHA1542B will not recognize Viper Tape

5. mod_jk for tomcat 4.1.18 and Aix5.1

6. Virtual hosts on Apache 1.1.3

7. Specifying jdk for tomcat 4.1.18

8. problems with preparing harddisk for linux

9. [Fwd: Re: Tomcat 4.1.18, Apache 1.3.27 and jk?]

10. Tomcat 4.1.18, Apache 1.3.27 and jk?

11. Specifying jdk for tomcat 4.1.18

12. ANN: Jakarta Tomcat 4 now in www/jakarta-tomcat

13. Jakarta-Tomcat in FreeBSD 4.2