RE: Problem in starting tomcat
I'm not sure what caused that error. But if you are just starting to learn jsp, you don't really need apache configured or installed. And it will very well complicate configuration issues. I suggest you go with a clean installation of JDK first, and then install tomcat. I've never had problems starting up with this setup. Be sure to set the JAVA_HOME after installing the jdk and then set CATALINA_HOME environment variable after installing tomcat. Good luck Regards Abid -Original Message- From: Jenty C [mailto:[EMAIL PROTECTED] Sent: 2. juli 2003 07:28 To: [EMAIL PROTECTED] Subject: Problem in starting tomcat Hi, I just starting to learn JSP. I have installed the Apache 2.0, J2SDK1.4, and finally the TOMCAT4.1 The apache server is running, I have also set the environment variable and the path for JAVA_HOME and CATALINA_HOME, but when I tried to startup from DOS prompt, I got an error message, telling that: The JAVA_HOME environment variable is not define correctly The system cannot find the file -Djava.endorsed.dirs= I don't know whether the error came from java or tomcat, can you give me any solution for this problem. Looking forward to hear from you soon. Thanks Regards, Jenty _ Send a fun phone greeting to your friend! http://www.msn.com.sg/mobile/fungreetings/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem in starting tomcat
You need to set the JAVA_HOME to the directory where you installed the JDK. If you don't know how or where to find the environment variables, follow this guide : 1. Right click My Computer on your desktop 2. Select properties. 3. Go to the advanced Pane 4. Click on environment variables 5. Click new on the System Variables 6. Add a variable called JAVA_HOME to point to you JDK installation e.g C:\Jdk1.4.1\ Regards Abid -Original Message- From: Jenty C [mailto:[EMAIL PROTECTED] Sent: 2. juli 2003 07:28 To: [EMAIL PROTECTED] Subject: Problem in starting tomcat Hi, I just starting to learn JSP. I have installed the Apache 2.0, J2SDK1.4, and finally the TOMCAT4.1 The apache server is running, I have also set the environment variable and the path for JAVA_HOME and CATALINA_HOME, but when I tried to startup from DOS prompt, I got an error message, telling that: The JAVA_HOME environment variable is not define correctly The system cannot find the file -Djava.endorsed.dirs= I don't know whether the error came from java or tomcat, can you give me any solution for this problem. Looking forward to hear from you soon. Thanks Regards, Jenty _ Send a fun phone greeting to your friend! http://www.msn.com.sg/mobile/fungreetings/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem in starting tomcat apache webserver
Open up a command window, and start Tomcat manually with startup.bat. This will keep the window from closing and will show you any error messages that you might not see otherwise. Also, you can always check the log files for other information that might be helpful. John -Original Message- From: vaishali [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 5:58 AM To: [EMAIL PROTECTED] Subject: problem in starting tomcat apache webserver i have downloaded and configured apache jakarta tomacat 1.4 but it is not starting. while i click on startup it opens one window with start and as soon as other ms-dos opens it shows it is finished. means web server is not starting only. please give me proper guidence as soon as possible. thanking you] vaishali - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: problem in starting tomcat apache webserver
Given that small amount of information, i make the following assumptions: 1. You use Win9x/ME. (i guess from typical closing window effect you mentioned) 2. You didn't increase the space for environment variables in the properties of startup.bat/shutdown.bat as recommended in the readme file of Tomcat for Win9x systems. (btw readme files and docs are your friends, use them!) 3. Tomcat cannot create environment variables for JAVA_HOME etc. and fails to load If not, check the log files because you won't see the error messages otherwise on Win9x systems because of the closing window and provide more information. hope it helped to lead you on track again... Michael -Original Message- From: vaishali [mailto:[EMAIL PROTECTED]] Sent: Montag, 27. Januar 2003 11:58 To: [EMAIL PROTECTED] Subject: problem in starting tomcat apache webserver i have downloaded and configured apache jakarta tomacat 1.4 but it is not starting. while i click on startup it opens one window with start and as soon as other ms-dos opens it shows it is finished. means web server is not starting only. please give me proper guidence as soon as possible. thanking you] vaishali - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problem in starting tomcat
Thx Jake .. I upgraded to 1.4.0, i was able to setup Tomcat successfully .. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Friday, 5 April 2002 3:50 PM To: Tomcat Users List Subject: Re: Problem in starting tomcat Hmm.. my first thought is try upgrading the JDK and see if that fixes it. I don't know why it shouldn't work with 1.2.1, but, then again, that is seriously old. Try 1.3.1_02 or 1.4.0 (and put xerces-1.4.4.jar in jdkdir/jre/lib/endorsed directory). If this fixes, it, then you might want to report it as a bug that Tomcat4.xx is incompatible with JDK1.2.1. I doubt it will get much attention, though, because that jdk is so dated. Jake At 03:14 PM 4/5/2002 +1000, you wrote: I get the following error when i try to startup tomcat --- A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg i Starting service Tomcat-Standalone Apache Tomcat/4.0 A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg i --- Before showing this error, it displays: Using CATALINA_BASE: C:\jakarta-tomcat-4.0 Using CATALINA_HOME: C:\jakarta-tomcat-4.0 Using CLASSPATH: C:\jakarta-tomcat-4.0\bin\bootstrap.jar;C:\jdk1.2.1\lib\too ls.jar Using JAVA_HOME: C:\jdk1.2.1 I did everything as per the running.txt Please -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem in starting tomcat
Hmm.. my first thought is try upgrading the JDK and see if that fixes it. I don't know why it shouldn't work with 1.2.1, but, then again, that is seriously old. Try 1.3.1_02 or 1.4.0 (and put xerces-1.4.4.jar in jdkdir/jre/lib/endorsed directory). If this fixes, it, then you might want to report it as a bug that Tomcat4.xx is incompatible with JDK1.2.1. I doubt it will get much attention, though, because that jdk is so dated. Jake At 03:14 PM 4/5/2002 +1000, you wrote: I get the following error when i try to startup tomcat --- A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg i Starting service Tomcat-Standalone Apache Tomcat/4.0 A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation t arget' has occurred in : 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg i --- Before showing this error, it displays: Using CATALINA_BASE: C:\jakarta-tomcat-4.0 Using CATALINA_HOME: C:\jakarta-tomcat-4.0 Using CLASSPATH: C:\jakarta-tomcat-4.0\bin\bootstrap.jar;C:\jdk1.2.1\lib\too ls.jar Using JAVA_HOME: C:\jdk1.2.1 I did everything as per the running.txt Please
RE: Problem in starting Tomcat
All versions of Tomcat use more than just 8080. Search server.xml for port= to find the ports that could be used. Those not part of a commented-out entry will be used. Cheers, Larry -Original Message- From: rehan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 8:13 AM To: [EMAIL PROTECTED] Subject: Problem in starting Tomcat Hello Support, I am facing some problem in installing Tomcat in RHlinux 6.1, i am using Apache 1.3.9 and jdk 1.3.1 I installed apache with DSO support, i copied the source of Tomacat in /usr/local/. i had also declare the path for Tomcat and jdk1.3.1 But when i run startup.sh from Tomacat/bin. It gives me BindException error, port already in use. I am not getting this error, as my no application is using this port, i tried with port 2 also, then also it given me same error, i changed the port in tomcat.conf file. If u can send the installation steps, it will be great. Thanking u. Rehan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem in starting tomcat
Andrew Tan wrote: I installed tomcat on Windows98 When I double click on "startup.bat" it says opening in another window (the window comes on and then disappears). And it seems that tomcat has not started. Do you have similar experience? and is there a solution? Regards, Andrew Why don't you try to execute the batch file under a dos prompt so that you can find out what is causing this type of functionality? Hope that helps. Cheers, John Clark -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Application Development_) )_ (((\ \ /_Cable Modem Network Management System _\ / /))) ( \_/ / NEC Telecom Software Phils., Inc. \ \_/ ) \ / \ / \_/ phone: (+63 32) 233-9142 loc. 3112\_/ / / cellphone: (+63 919) 241-4612 \ \ / / email: [EMAIL PROTECTED]\ \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Problem in starting tomcat
Andrew Tan wrote: I installed tomcat on Windows98 When I double click on "startup.bat" it says opening in another window (the window comes on and then disappears). And it seems that tomcat has not started. Do you have similar experience? and is there a solution? Regards, Andrew 1) Open an MSDOS Prompt window 2) Right click the upper left corner - select properties 3) on the memory tab of the properties dialog, change the initial environment to 3072 or 4096. The reason being that startup.bat adds LOTS of strings to the environment, too much for the normal win98 setting. 4) change directory to tomcat\bin and execute startup.bat if it doesn't work, at least you will be able to see error msg. -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/javacert/ Author of Java Developer's Guide to Servlets and JSP ISBN 0-7821-2809-2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]