Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems running Tomcat 4.0 on Solaris 2.8

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hi !

Seems like Tomcat and I won't ever be friends...
I'm trying to run Tomcat on a Unix server Solarix 2.8.
I have set JAVA_HOME, CATALINA_HOME and PATH.
When I call ./startup.sh from a shell window, it prints :
Using CATALINA_BASE : /tomcat/jakarta-tomcat_tomcat4.0
Using CATALINA_HOME : /tomcat/jakarta-tomcat_tomcat4.0
Using CATALINA_TMPDIR: /tomcat/jakarta-tomcat_tomcat4.0/temp
Using JAVA_HOME : /usr/java1.2
$
But if I try to grep catalina.sh, I don't find it.
And in a browser, localhost:8080 isn't found.
When I try to stop Tomcat with shutdown.sh, it writes again these 4 Using... lines and a big list of errors, beginning with :
java.lang.NoClassDefFoundError : javax/naming/NamingException
at org.apache.catalina.core.StandardServer <init> (Unknown Source)

I don't know why Tomcat won't work, since I had (more or less) no problem when installing it on Windows.

Thanks for tips !
Gaelle.

 
I have managed to answer my last question addind jdni.jar to my JDK 1.2.2, but now I have this exception when trying to start Tomcat :

Starting service Tomcat-Standalone
Apache Tomcat/4.1-dev
Starting service Tomcat-Apache
Apache Tomcat/4.1-dev
Exception during startup processing
java.lang.reflect.InvocationTargetException:java.lang.NoSuchError:java.lang.Runtime: method addShutdownHook(java/lang/Thread;) V not found
at org.apache.catalina.startup.Catalina.start (Unknown source)
at org.apache.catalina.startup.Catalina.execute(Unknown source)
at org.apache.catalina.startup.Catalina.process(Unknown source)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Compiled Code)
at org.apache.catalina.startup.Bootstrap.main (Compiled Code)

I have imported the jdni.jar in my jdk 1.2.2, and set variables (PATH, JAVA_HOME, CATALINA_HOME, CLASSPATH), and I don't have Apache.

Please, help me if you have any idea !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top