Thanks. I had this already.

-----------------------------------------

smuwa...@linux-simon:/usr/share/tomcat5.5/bin$ echo $JAVA_HOME
/home/smuwanga/software/applications/jdk1.6.0_18
smuwa...@linux-simon:/usr/share/tomcat5.5/bin$ echo $CATALINA_HOME
/usr/local/tomcat
smuwa...@linux-simon:/usr/share/tomcat5.5/bin$

---------------------------------------
The error still persists though.

Simon.

On Thu, Jan 14, 2010 at 10:47 AM, joseph mpora <[email protected]> wrote:

> with regards to the environment variables, confirm they are set by typing
>
> echo $JAVA_HOME and echo $CATALINA_HOME
>
> at the prompt
>
> Joseph
>
> On Thu, Jan 14, 2010 at 10:33 AM, Simon Peter Muwanga
> <[email protected]> wrote:
> > Morning,
> >
> > I have switched to ubuntu, from the renowned openSuse.
> >
> > Am having problems configuring tomcat5.5 on ubuntu, just the way it was
> with
> > Suse.
> >
> > Here is how I have gone so far;
> > -Downloaded apache tomcat .tar,
> > -Extracted it
> > -Copied the extracted folder-contents into /usr/local/tomcat
> > -Defined JAVA_HOME as /home/smuwanga/software/applications/jdk1.6.0_18
> > -Defined CATALINA_HOME as /usr/local/tomcat
> > -Run # sudo ./startup.sh
> >
> > However, an error like this is returned.
> >
> > Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
> > At least one of these environment variable is needed to run this program
> >
> > How am I meant to go over this?
> >
> > I have also visited
> > http://ubuntuforums.org/showthread.php?p=2611681#post2611681 , this way
> > tomcat installs, but after deploying a *.war file, the resource is not
> > available.
> >
> > BTW, am using ubuntu 9.0.4
> >
> > How can I go about this?
> >
> > Regards,
> > Simon.
> >
> > _______________________________________________
> > LUG mailing list
> > [email protected]
> > http://kym.net/mailman/listinfo/lug
> > %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
> >
> > The above comments and data are owned by whoever posted them (including
> > attachments if any). The List's Host is not responsible for them in any
> way.
> > ---------------------------------------
> >
> >
> >
> _______________________________________________
> LUG mailing list
> [email protected]
> http://kym.net/mailman/listinfo/lug
> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The List's Host is not responsible for them in any way.
> ---------------------------------------
>
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to