Just out of curiosity, did you change the JAVA_HOME variable in
catalina.sh? That's what I did, and it works perfectly.
Neomorph <neomorph@nospam.demon.co.uk> wrote in message news:<gidelvgbr3vonbct94apsdmt905hg8cc9r@4ax.com>. ..[color=blue]
> On Thu, 04 Sep 2003 10:49:07 +0200, Johan Louwers
> <suntacNOSPAMPLEASE@dds.nl> two-finger typed:
>[color=green]
> >Nope,
> >it is not working when I use
> >
> >set JAVA HOME="/usr/local/j2sdk1.4.1 05";
> >export JAVA HOME;
> >
> >When i like to start tomcat using ./startup.sh I get the error:
> >
> >The JAVA HOME enviroment variable is not definded this enviroment
> >variable is needed to run this program.
> >
> >I placed the following command in the startup.sh script
> >
> >JAVA HOME="/usr/local/j2sdk1.4.1 05";
> >export JAVA HOME;
> >
> >And tomcat is starting like this:
> >
> >#./startup.sh
> >Using CATALINA BASE: /usr/local/jakarta-tomcat-4.1.27
> >Using CATALINA HOME: /usr/local/jakarta-tomcat-4.1.27
> >Using CATALINA TMPDIR /usr/local/jakarta-tomcat-4.1.27
> >USING JAVA HOME /usr/local/j2sdk1.4.1 05
> >
> >When i like to check if the service is runnig by connecting to
> >
http://10.99.1.115:8080 and I do NOT get anything :-( yeah a error
> >page that the location can not be found.....
> >
> >So i do ./shutdown.sh and the following is reported:
> >
> >#./startup.sh
> >Using CATALINA BASE: /usr/local/jakarta-tomcat-4.1.27
> >Using CATALINA HOME: /usr/local/jakarta-tomcat-4.1.27
> >Using CATALINA TMPDIR /usr/local/jakarta-tomcat-4.1.27
> >USING JAVA HOME /usr/local/j2sdk1.4.1 05
> >Exception in thread "main" java.lang.NoClassDefFoundError:
> >org/apache/catalina/startup/Bootstrap
> >
> >
> >What is the problem? do you have any clue? Please help........[/color]
>
> That sounds like a typical java problem.
>
> Looks like the Tomcat classes (JAR files) need to be put into the
> CLASSPATH
> environment variable as well.
>
> Roady Green usually has a classpath explaining link in his repetoire, but
> basically, it works the same as the PATH, except you have to list the
> actual JAR files, not the directory they are in.
>
> Cheers.[/color]