problem starting Tomcat web server in Ubuntu.

Hi every one,

I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as

'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'

I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.

I have set JAVA_HOME varible as

'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'

line 41 is '. setJava --devel Java2'

Could anyone help me to solve this issue?

And Thanks in advance

-Jegan

[613 byte] By [jagan18a] at [2007-9-24]
# 1
Your JAVA_HOME env. variable is incorrect.It should not include the "bin" directory.Use JAVA_HOME=/usr/lib/jvm/java-1.5.0-sunor whatever java versionb you are using/S
Sigmund_Lundgrena at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2

I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as

'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'

I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.

I have set JAVA_HOME varible as

'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'

line 41 is '. setJava --devel Java2'

Could anyone help me to solve this issue?

And Thanks in advance

suj_ta at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3

I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as

'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'

I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.

I have set JAVA_HOME varible as

'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'

line 41 is '. setJava --devel Java2'

Could anyone help me to solve this issue?

And Thanks in advance

suj_ta at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 4
For Tomcat questions I recommend http://tomcat.apache.org/lists.html - tomcat-users
appy77a at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...