Tomcat would start

OOzy Pal oozypal at gmail.com
Mon Jul 17 19:22:44 UTC 2006


On 7/17/06, Haim Ashkenazi <haim at babysnakes.org> wrote:
> OOzy Pal wrote:
>
> > Hello
> >
> > $ sudo /usr/share/tomcat5/bin/startup.sh
> >
> > The JAVA_HOME environment variable is not defined correctly
> > This environment variable is needed to run this program
> > NB: JAVA_HOME should point to a JDK not a JRE
> >
> > JAVA_HOME=/usr/lib/jvm/java-gcj
> >
> > Can anyone help?
> Your JAVA_HOME doesn't point to a JDK. I'm not sure if java-gcj pass as a
> complete JDK. I would recommend to install sun's jdk (it's in multiverse)
> and edit the file /etc/default/tomcat5 to setup the JAVA_HOME variable.
>
> Bye
> --
> Haim
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Hi guys,

I fixed the problem and when I run the startup.sh script I get:

Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME:       /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/

I am guessing that the tomcat is working but where is it. I have the
css-validator in:
/var/lib/tomcat5/webapps/css-validator/

I also have apache running. What should I write in the Browser to
point to the css-validator.

-- 
OOzy
Kubuntu-Dapper




More information about the ubuntu-users mailing list