Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Quickly get Tomcat running with Apache on Solaris?

Jim Chase

2003-08-20

Replies:

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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.