Don't use Solaris tar to unpack GNU software. GNU software requires GNU tar. GNU tar and Solaris tar are incompatible.


Tomcat is a Java application. A binary Java application is a binary for ALL operating systems, there are no distinctions.

Did you download and install the JDK?

The easiest way to get Tomcat running on Solaris is:

1. download and install the JDK
2. set JAVA_HOME to the location of the JDK from step #1
3. download the Tomcat binary
4. unpack it to /usr/local
5. set CATALINA_HOME to location of Tomcat (something like /usr/local/jakarta-tomcat-4.1.27 or /usr/local/tomcat if you're clever and used ln to link /usr/local/tomcat to /usr/local/jakarta-tomcat-4.1.27)
6. execute $CATALINA_HOME/bin/startup.sh
7. view http://localhost:8080


John

Jim Chase wrote:

Solaris 9 has Apache and Tomcat loaded by default. I
got Apache running but Tomcat needed more work. So I
tried to download it from Jakarta at:

http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/

I gunzipped it and un-tarred it. Then I did what it
said to do in the docs...

* Unpack the binary distribution into a convenient
location so that the
 distribution resides in its own directory
(conventionally named
 "jakarta-tomcat-4.0").  For the purposes of the
remainder of this document,
 the symbolic name "${catalina.home}" is used to refer
to the full
 pathname of the release directory.


(2) Start Up Tomcat 4.0


There are two techniques by which Tomcat 4.0 can be
started:

* Via an environment variable:
 - Set an environment variable CATALINA_HOME to the
path of the directory
   into which you have installed Tomcat 4.0.
 - Execute the shell command:

%CATALINA_HOME%\bin\startup (Windows)

$CATALINA_HOME/bin/startup.sh (Unix)

* By modifying your current working directory:
 - Execute the following shell commands:

     cd %CATALINA_HOME%\bin                  (Windows)
     startup                                 (Windows)

     cd $CATALINA_HOME/bin                   (Unix)
     ./startup.sh                            (Unix)


NOW - It won't run. I'm not even sure it was a Solaris Binary.

This is what I get in the catalina.out file:

$ cat catalina.out
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap

Whats the easiest way to get Tomcat running with
Apache on Solaris 9?


Thanks!

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to