Re: tomcat starting problem on win98
Iam running tomcat.bat and when i run it i get that error.let me ssee the jboss archivs and see if i can get any info.Also pass on any info,if any of u guys come across it. thanks Ram From: Dmitri Colebatch <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: tomcat starting problem on win98 Date: Sat, 21 Jul 2001 22:16:13 +1000 Have you followed the howto on the JBoss site? Where do you get that error? I'm assuming you're not running JspC from the command line yourself? you're running the jboss-tomcat dist right? Which script are you using to run it? From memory there's a run.sh and a run-tomcat.sh - make sure you use the tomcat one (o: cheers dim On Fri, 20 Jul 2001, Ramkumar Manoharan wrote: Hi, I have searched the archive but couldn't find a relevant posting(please let me know if there is any) i have jboss+tomcat3.2.2 and when i try to start tomcat i get the following message.This happens after loading classpath and all the required jar files. D:\jdk1.3.1\bin\java -Dtomcat.home="D:\JBoss-2.2.2_Tomcat-3.2.2\tomcat" org.apa che.jasper.JspC ^ Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jasper/Jsp C I don't know why this happens Thanks Ram ___ Get your FREE download of MSN Explorer at http://explorer.msn.com Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: Tomcat starting problem
The problem is that the JAVA_HOME environment variable is not set correctly - it has an equal sign in it (that's why its saying usr/java1.2=/bin/java: not found). It also looks like the classpath has the same issue. I would suggest looking though the environment variables and resetting them without the equals sign. If they aren't in the environment variables then look through the script, the shell might have a different syntax for the set command in use. Randy -Original Message- From: Luba Powell [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 16, 2001 10:46 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat starting problem Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/ ./tomcat.sh: usr/java1.2=/bin/java: not found This should be simple. Just go thru each directory in you classpath and make sure that those directories indeed exist as well as their content. Also make sure that your ENV variables are set correctly. Regards, L - Original Message - From: yilmaz To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 4:14 AM Subject: Re: Tomcat starting problem Hi Luba, dbs[160] startup.sh was not part of the error message it is the command i used to start the tomcat. the following Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/ ./tomcat.sh: usr/java1.2=/bin/java: not found is the error message. any help ? thanks - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 12:34 AM Subject: Re: Tomcat starting problem dbs[160] startup.sh This an OS error, not tomcat. Unix admin should be able to help you - Original Message - From: yilmaz To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 11:58 AM Subject: Tomcat starting problem hi everyone at first it looks as it is a very basic question though not so.. i have installed tomcat nearly one month ago, on unix OS everything went fine, it was working smoothly. however, today when i tried to access the files i put in hte webapps directory previously , i couldn't. the server dosen't work anymore. the reason is that when the http server of our campus restarted, all the environment variables set by users have been cancelled, so i tried to set again according to the instructions on hte tomcat docs as follows: setenv TOMCAT_HOME /user/staff/wapteam/tomcat setenv JAVA_HOME /usr/java1.2/ setenv CLASSPATH user/staff/wapteam/tomcat/bin where tomcat is the directory that tomcat files reside when i try to start the server by : 'startup.sh ' command it gives the following error: dbs[160] startup.sh Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/ ./tomcat.sh: usr/java1.2=/bin/java: not found what is wrong ? can someone help me , please? thanks in advance :) cheers
Re: Tomcat starting problem
Hi Luba, dbs[160] startup.sh was not part of the error message it is the command i used to start the tomcat. the following Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found is the error message. any help ? thanks - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 12:34 AM Subject: Re: Tomcat starting problem dbs[160] startup.sh This an OS error, not tomcat. Unix admin should be able to help you - Original Message - From: yilmaz To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 11:58 AM Subject: Tomcat starting problem hi everyone at first it looks as it is a very basic question though not so.. i have installed tomcat nearly one month ago, on unix OS everything went fine, it was working smoothly. however, today when i tried to access the files i put in hte webapps directory previously , i couldn't. the server dosen't work anymore. the reason is that when the http server of our campus restarted, all the environment variables set by users have been cancelled, so i tried to set again according to the instructions on hte tomcat docs as follows: setenv TOMCAT_HOME /user/staff/wapteam/tomcat setenv JAVA_HOME /usr/java1.2/ setenv CLASSPATH user/staff/wapteam/tomcat/bin where tomcat is the directory that tomcat files reside when i try to start the server by : 'startup.sh' command it gives the following error: dbs[160] startup.shUsing classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found what is wrong ? can someone help me , please? thanks in advance :) cheers
Re: Tomcat starting problem
Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found This should be simple. Just go thru each directory in you classpath and make sure that those directories indeed exist as well as their content. Also make sure that your ENV variables are set correctly. Regards, L - Original Message - From: yilmaz To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 4:14 AM Subject: Re: Tomcat starting problem Hi Luba, dbs[160] startup.sh was not part of the error message it is the command i used to start the tomcat. the following Using classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found is the error message. any help ? thanks - Original Message - From: Luba Powell To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 12:34 AM Subject: Re: Tomcat starting problem dbs[160] startup.sh This an OS error, not tomcat. Unix admin should be able to help you - Original Message - From: yilmaz To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 11:58 AM Subject: Tomcat starting problem hi everyone at first it looks as it is a very basic question though not so.. i have installed tomcat nearly one month ago, on unix OS everything went fine, it was working smoothly. however, today when i tried to access the files i put in hte webapps directory previously , i couldn't. the server dosen't work anymore. the reason is that when the http server of our campus restarted, all the environment variables set by users have been cancelled, so i tried to set again according to the instructions on hte tomcat docs as follows: setenv TOMCAT_HOME /user/staff/wapteam/tomcat setenv JAVA_HOME /usr/java1.2/ setenv CLASSPATH user/staff/wapteam/tomcat/bin where tomcat is the directory that tomcat files reside when i try to start the server by : 'startup.sh' command it gives the following error: dbs[160] startup.shUsing classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found what is wrong ? can someone help me , please? thanks in advance :) cheers
RE: Tomcat starting problem
somehow, your environment variables are getting screwed up, there is an "=" sign to much in there try to edit startup.sh directly or tomcat.sh and do the command inside the shell script export JAVA_HOME=/usr/java1.2; and that should do the trick. Filip ~Namaste - I bow to the divine in you~Filip HanikSoftware Architect[EMAIL PROTECTED]www.filip.net -Original Message-From: yilmaz [mailto:[EMAIL PROTECTED]]Sent: Friday, June 15, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: Tomcat starting problem hi everyone at first it looks as it is a very basic question though not so.. i have installed tomcat nearly one month ago, on unix OS everything went fine, it was working smoothly. however, today when i tried to access the files i put in hte webapps directory previously , i couldn't. the server dosen't work anymore. the reason is that when the http server of our campus restarted, all the environment variables set by users have been cancelled, so i tried to set again according to the instructions on hte tomcat docs as follows: setenv TOMCAT_HOME /user/staff/wapteam/tomcat setenv JAVA_HOME /usr/java1.2/ setenv CLASSPATH user/staff/wapteam/tomcat/bin where tomcat is the directory that tomcat files reside when i try to start the server by : 'startup.sh' command it gives the following error: dbs[160] startup.shUsing classpath: /user/staff/wapteam/tomcat=/lib/*:/user/staff/wapteam/tomcat/./tomcat.sh: usr/java1.2=/bin/java: not found what is wrong ? can someone help me , please? thanks in advance :) cheers