RE: How to start Tomcat using differnt JRE
Add this to the beginning of your catalina.sh script in /bin directory of Tomcat. export JAVA_HOME=/path/to/jdk1.5 That way it will start with the JDK of your choice. Regards, Kerem -Original Message- From: lanna august [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 8:16 AM To: tomcat-user@jakarta.apache.org Subject: How to start Tomcat using differnt JRE Hi sorry for sending this twice, but I am using new email program and it kinda flipped out when I first sent it, was not sure it went through the first time. Hello I have searched far and wide but no luck so thought i try here. I have a Red Hat ES V4 Linux Server that has 3 different versions of JDK and JRE on it. They each are being used for different projects. One of the versions is 1.5 JDK and JRE. I need to install now Tomcat 5.5.9 on the server and I must have it use the 1.5 JRE when it starts up. Unfortunatly the systems global JDK and JRE are set to the 1.3 Version of Java and this I cannot change it must remain. I thought awhile ago I came across mention of how to start up the Tomcat server and tell it what JRE to be using. But I don't remember exactly. Can anyone help? I tried making a Tomcat user and placing the Tomcat server in this Tomcat users directory. Then setting the JAVA_HOME in this Tomcat users .bash_profile to point to the 1.5 directory. I then log into the Tomcat user and run the command java -version. I get back 1.3. I thought there was a place in one of the config files to point it at what the JAVA_HOME or JRE_HOME was? or some kind of command I type at startup on the linux box? any help much appreciated. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?
Come on guys, don't tell me no one had to solve this yet. Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5. 0?
You could try what you suggested before and send your comments about it to us ;-) Or you could do this: Write a shell script that changes the names of compatibility jars to something with an extension different from *.jar Then you could start Tomcat from the same script and rename the jar files back to their original names. That will absolutely work :-) Cheers, Kerem -Original Message- From: Stagger Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:28 PM To: Tomcat Users List Subject: Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0? Come on guys, don't tell me no one had to solve this yet. Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
How to start Tomcat using differnt JRE
Hi sorry for sending this twice, but I am using new email program and it kinda flipped out when I first sent it, was not sure it went through the first time. Hello I have searched far and wide but no luck so thought i try here. I have a Red Hat ES V4 Linux Server that has 3 different versions of JDK and JRE on it. They each are being used for different projects. One of the versions is 1.5 JDK and JRE. I need to install now Tomcat 5.5.9 on the server and I must have it use the 1.5 JRE when it starts up. Unfortunatly the systems global JDK and JRE are set to the 1.3 Version of Java and this I cannot change it must remain. I thought awhile ago I came across mention of how to start up the Tomcat server and tell it what JRE to be using. But I don't remember exactly. Can anyone help? I tried making a Tomcat user and placing the Tomcat server in this Tomcat users directory. Then setting the JAVA_HOME in this Tomcat users .bash_profile to point to the 1.5 directory. I then log into the Tomcat user and run the command java -version. I get back 1.3. I thought there was a place in one of the config files to point it at what the JAVA_HOME or JRE_HOME was? or some kind of command I type at startup on the linux box? any help much appreciated. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to start Tomcat using differnt JRE
You must change the JAVA_HOME in system variables -Original Message- From: lanna august [mailto:[EMAIL PROTECTED] Sent: 23. september 2005 07:16 To: tomcat-user@jakarta.apache.org Subject: How to start Tomcat using differnt JRE Hi sorry for sending this twice, but I am using new email program and it kinda flipped out when I first sent it, was not sure it went through the first time. Hello I have searched far and wide but no luck so thought i try here. I have a Red Hat ES V4 Linux Server that has 3 different versions of JDK and JRE on it. They each are being used for different projects. One of the versions is 1.5 JDK and JRE. I need to install now Tomcat 5.5.9 on the server and I must have it use the 1.5 JRE when it starts up. Unfortunatly the systems global JDK and JRE are set to the 1.3 Version of Java and this I cannot change it must remain. I thought awhile ago I came across mention of how to start up the Tomcat server and tell it what JRE to be using. But I don't remember exactly. Can anyone help? I tried making a Tomcat user and placing the Tomcat server in this Tomcat users directory. Then setting the JAVA_HOME in this Tomcat users .bash_profile to point to the 1.5 directory. I then log into the Tomcat user and run the command java -version. I get back 1.3. I thought there was a place in one of the config files to point it at what the JAVA_HOME or JRE_HOME was? or some kind of command I type at startup on the linux box? any help much appreciated. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - 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]
How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?
Hello everyone, We have a shared installation of Tomcat, r/o catalina home dir + each user has its own catalina base dir. Tomcat was installed with the JDK 1.4 compatibility pack, so that it can run on JDK 1.4. The compatibility pack, however, causes problems when running on JDK 5.0 and using XML APIs. Is there a way how to start Tomcat correctly on JDK 5.0 w/o removing the compatibility jars? (i.e. the same catalina home dir can be used for running Tomcat on both JDK 1.4 and 5.0 at the same time) Would the following work-around work? 1. remove ${catalina.home}/common/endorsed/*.jar from the common classloader from the catalina.properties 2. tweak the setclasspath.sh script, so that JAVA_ENDORSED_DIRS=$BASEDIR/common/endorsed is set only when running on JDK 1.4 Thanks, Stag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how 2 start tomcat from ms-dos command prompt without creating a new window ?
i have an question about how to start the tomcat servlet container as an windows-process from the ms-dos command prompt without getting a new cmd-window. Its that when i start my java server with STARTUP it makes a new command window and starts the new process in this new window. i know what in unix one can write nohup before calling the startscript too not to kill the process if u close ur telnet window, there has to be a way 2 do this, i hope u understand my question, thanx _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how 2 start tomcat from ms-dos command prompt without creatinga new window ?
Install Tomcat as a service. John Me myself wrote: i have an question about how to start the tomcat servlet container as an windows-process from the ms-dos command prompt without getting a new cmd-window. Its that when i start my java server with STARTUP it makes a new command window and starts the new process in this new window. i know what in unix one can write nohup before calling the startscript too not to kill the process if u close ur telnet window, there has to be a way 2 do this, i hope u understand my question, thanx _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner - 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: how 2 start tomcat from ms-dos command prompt without creating a new window?
Yes, but, would tomcat then start with the windows startup ? and every time i take down the server for a new deployment, would i then need to restart windows all over again for tomcat to start ? That ain't a very good solution, is there not any other way i can do this ? Thanx for ur response. From: John Turner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: how 2 start tomcat from ms-dos command prompt without creating a new window ? Date: Thu, 24 Jul 2003 15:26:42 -0400 Install Tomcat as a service. John Me myself wrote: i have an question about how to start the tomcat servlet container as an windows-process from the ms-dos command prompt without getting a new cmd-window. Its that when i start my java server with STARTUP it makes a new command window and starts the new process in this new window. i know what in unix one can write nohup before calling the startscript too not to kill the process if u close ur telnet window, there has to be a way 2 do this, i hope u understand my question, thanx _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner - 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] _ Hotmail snakker ditt språk! http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på norsk i dag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how 2 start tomcat from ms-dos command prompt without creating a new window ?
-Original Message- From: Me myself [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 2:32 PM To: [EMAIL PROTECTED] Subject: Re: how 2 start tomcat from ms-dos command prompt without creating a new window ? Yes, but, would tomcat then start with the windows startup ? Yes, that's the whole point of a Windows Service. You can also set it to start Manually. and every time i take down the server for a new deployment, would i then need to restart windows all over again for tomcat to start ? No, you just restart the service. This is all in the Services control panel app. That ain't a very good solution, is there not any other way i can do this ? You could also just open a command window (or write a batch script) that says catalina.bat run Thanx for ur response. From: John Turner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: how 2 start tomcat from ms-dos command prompt without creating a new window ? Date: Thu, 24 Jul 2003 15:26:42 -0400 Install Tomcat as a service. John Me myself wrote: i have an question about how to start the tomcat servlet container as an windows-process from the ms-dos command prompt without getting a new cmd-window. Its that when i start my java server with STARTUP it makes a new command window and starts the new process in this new window. i know what in unix one can write nohup before calling the startscript too not to kill the process if u close ur telnet window, there has to be a way 2 do this, i hope u understand my question, thanx _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner - 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] _ Hotmail snakker ditt språk! http://www.hotmail.msn.com/cgi-bin/sbox?rru=dasp/lang.asp - Få Hotmail på norsk i dag - 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: how 2 start tomcat from ms-dos command prompt without creatinga new window ?
Services are very good solutions, that's why they are there. You use the services control panel applet to manage services, there is no need to reboot the machine to stop and start them. John Me myself wrote: Yes, but, would tomcat then start with the windows startup ? and every time i take down the server for a new deployment, would i then need to restart windows all over again for tomcat to start ? That ain't a very good solution, is there not any other way i can do this ? Thanx for ur response. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how 2 start tomcat from ms-dos command prompt without creating a new window ?
There is another solution that I use: in my startup.bat i have a line like this: call %EXECUTABLE% start %CMD_LINE_ARGS% and I changed it in: call %EXECUTABLE% run %CMD_LINE_ARGS% and now it doesn't make another window, it remains in the one that starts the process. I hope it helps. Gabi P.S. this tip is in catalina.sh - try to read its command arguments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how 2 start tomcat from ms-dos command prompt without creating a new window ?
try the dos start command: start tomcat\bin\startup.bat (start /? for help) At 19:17 24.07.2003 +, you wrote: i have an question about how to start the tomcat servlet container as an windows-process from the ms-dos command prompt without getting a new cmd-window. Its that when i start my java server with STARTUP it makes a new command window and starts the new process in this new window. i know what in unix one can write nohup before calling the startscript too not to kill the process if u close ur telnet window, there has to be a way 2 do this, i hope u understand my question, thanx _ MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og dine venner - 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: HOW TO start tomcat on linux boot
Slackware Linux 8.0 thanks At 19:51 06/03/2002 -0500, you wrote: What distro of Linux are you using? Mike -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 5:57 PM To: 'Tomcat Users List' Subject: RE: HOW TO start tomcat on linux boot Is CATALINA_HOME set? IS JAVA_HOME set? what about CATALINA_BASE? Also, I don't personally like running things as root - you might want to install your webapps as another user (I just called it appuser), and su to that before executing tomcat. - Brett -Original Message- From: Gustavo Souza [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 March 2002 9:52 AM To: Tomcat Users List Subject: HOW TO start tomcat on linux boot hello, im trying to start tomcat on linux boot... but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local it only works when I type it on prompt.. anyone can help ? thanks -- 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] Gustavo Souza [EMAIL PROTECTED] TudoWEB Networks 2002
HOW TO start tomcat on linux boot
hello, im trying to start tomcat on linux boot... but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local it only works when I type it on prompt.. anyone can help ? thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: HOW TO start tomcat on linux boot
Is CATALINA_HOME set? IS JAVA_HOME set? what about CATALINA_BASE? Also, I don't personally like running things as root - you might want to install your webapps as another user (I just called it appuser), and su to that before executing tomcat. - Brett -Original Message- From: Gustavo Souza [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 March 2002 9:52 AM To: Tomcat Users List Subject: HOW TO start tomcat on linux boot hello, im trying to start tomcat on linux boot... but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local it only works when I type it on prompt.. anyone can help ? thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: HOW TO start tomcat on linux boot
What distro of Linux are you using? Mike -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 5:57 PM To: 'Tomcat Users List' Subject: RE: HOW TO start tomcat on linux boot Is CATALINA_HOME set? IS JAVA_HOME set? what about CATALINA_BASE? Also, I don't personally like running things as root - you might want to install your webapps as another user (I just called it appuser), and su to that before executing tomcat. - Brett -Original Message- From: Gustavo Souza [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 March 2002 9:52 AM To: Tomcat Users List Subject: HOW TO start tomcat on linux boot hello, im trying to start tomcat on linux boot... but $CATALINA_HOME/bin/startup.sh didnt work on the rc.local it only works when I type it on prompt.. anyone can help ? thanks -- 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: How to start Tomcat 4.0 in debug mode
In your catalina.bat/catalina.sh file. Locate the doStart label, then insert your line after the %_STARTJAVA% word. Ilya -Original Message- From: Nagender Taalla [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 6. Februar 2002 23:10 To: Tomcat Users List Subject: How to start Tomcat 4.0 in debug mode Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 -- 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: How to start Tomcat 4.0 in debug mode
Hi, Thanks for replying Dave, but I have seen the startup.bat file and it seems to be calling catalina.bat, so I modified the CATALINA_OPTS in catalina.bat to be set to -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server =y,suspend=n,address=5000 rem - Set Up The Runtime Classpath if not %CATALINA_OPTS% == goto cool set CATALINA_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server =y,suspend=n,address=5000 :cool set CP=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar if %JSSE_HOME% == goto noJsse set CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\j sse.jar :noJsse set CLASSPATH=%CP% echo Using CATALINA_BASE: %CATALINA_BASE% echo Using CATALINA_HOME: %CATALINA_HOME% echo Using CLASSPATH: %CLASSPATH% echo Using JAVA_HOME: %JAVA_HOME% But there is no difference, Tomcat starts as usual and I am not able to use the remote debugger at port 5000. When I try to connect to it from the IDE it says connection refused. I would greatly appreciate any help. Regards Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 - Original Message - From: Dave Whitla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 6:04 PM Subject: Re: How to start Tomcat 4.0 in debug mode The start script in the bin directory of the binary distribution. - Original Message - From: Nagender Taalla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 8:09 AM Subject: How to start Tomcat 4.0 in debug mode Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serve r= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 -- 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] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Connected : How to start Tomcat 4.0 in debug mode
Hi Dave, I have used an alternate CATALINA_OPTS -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socke t,server=y,suspend=n,address= and it works ... Thanks anyways Regards, Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 - Original Message - From: Nagender Taalla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 9:55 AM Subject: Re: How to start Tomcat 4.0 in debug mode Hi, Thanks for replying Dave, but I have seen the startup.bat file and it seems to be calling catalina.bat, so I modified the CATALINA_OPTS in catalina.bat to be set to -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server =y,suspend=n,address=5000 rem - Set Up The Runtime Classpath if not %CATALINA_OPTS% == goto cool set CATALINA_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server =y,suspend=n,address=5000 :cool set CP=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar if %JSSE_HOME% == goto noJsse set CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\j sse.jar :noJsse set CLASSPATH=%CP% echo Using CATALINA_BASE: %CATALINA_BASE% echo Using CATALINA_HOME: %CATALINA_HOME% echo Using CLASSPATH: %CLASSPATH% echo Using JAVA_HOME: %JAVA_HOME% But there is no difference, Tomcat starts as usual and I am not able to use the remote debugger at port 5000. When I try to connect to it from the IDE it says connection refused. I would greatly appreciate any help. Regards Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 - Original Message - From: Dave Whitla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 6:04 PM Subject: Re: How to start Tomcat 4.0 in debug mode The start script in the bin directory of the binary distribution. - Original Message - From: Nagender Taalla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 8:09 AM Subject: How to start Tomcat 4.0 in debug mode Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serve r= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 -- 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] -- 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]
How to start Tomcat 4.0 in debug mode
Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: How to start Tomcat 4.0 in debug mode
The start script in the bin directory of the binary distribution. - Original Message - From: Nagender Taalla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 8:09 AM Subject: How to start Tomcat 4.0 in debug mode Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serve r= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla 1bigthink 7361 Calhoun Place Suite 302 Rockville, Maryland 20855 Phone 301.251.8570 (x) 211 Fax 301.251.8573 -- 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]
In linux, how to start tomcat where user is not root?
Dear all, When I use a user other than root to login linux, and start tomcat: /usr/jakarta-tomcat-3.2.1/bin/./tomcat.sh start it shows many messages, and tomcat cannot properly started ( some JSP example programs also cannot be run) how can I start tomcat but not using root to login? Thanks and regards Sunny Yeung 15-Aug-01
RE: In linux, how to start tomcat where user is not root?
make sure you have sufficient rights... (what that should be is for you to figure out..) Running fine here with about 20 users, all under a non root account.. Mvgr, Martin -Original Message- From: sunbel [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 12:23 PM To: [EMAIL PROTECTED] Subject: In linux, how to start tomcat where user is not root? Dear all, When I use a user other than root to login linux, and start tomcat: /usr/jakarta-tomcat-3.2.1/bin/./tomcat.sh start it shows many messages, and tomcat cannot properly started ( some JSP example programs also cannot be run) how can I start tomcat but not using root to login? Thanks and regards Sunny Yeung 15-Aug-01
RE: In linux, how to start tomcat where user is not root?
The answer is quite simple (but not the one you want probably). If it is gonna be a server on the internet : get a unix admin course, so you can actually set up a good environment or ask someone who knows unix to help you.. (sitting at your machine or having access to your machine). If I have to cover all possibilities of setting up a machine safe for the internet, it will take me a while.. (there are a lot of faq's on the linux documentation project which can give you a head start on this). If it is for development : just run as root.. We do that even on all production servers (accept the development server, where everybody has is own environment). If you don't have access as root to the machine : let your admin help you out to get things up and running.. Administration is not an easy job, you have to gather a lot of knowledge and you can get that mostly by playing around and reading (the last is not my way, unless I really don't have a clue). So take it easy at first and if you get comfortable with unix, change it the way you really want.. Hope the answer helps you anyway.. Mvgr, Martin -Original Message- From: sunbel [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 12:41 PM To: [EMAIL PROTECTED] Subject: Re: In linux, how to start tomcat where user is not root? Dear Martin, Thanks very much for your reply, But... In linux field, I am just a kid, could you please describe in more detail how to assign right for other user to start tomcat? Your kindly reply will be very appreciated. Thanks thanks thanks Sunny 16-Aug-01 - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 6:13 PM Subject: RE: In linux, how to start tomcat where user is not root? make sure you have sufficient rights... (what that should be is for you to figure out..) Running fine here with about 20 users, all under a non root account.. Mvgr, Martin -Original Message- From: sunbel [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 12:23 PM To: [EMAIL PROTECTED] Subject: In linux, how to start tomcat where user is not root? Dear all, When I use a user other than root to login linux, and start tomcat: /usr/jakarta-tomcat-3.2.1/bin/./tomcat.sh start it shows many messages, and tomcat cannot properly started ( some JSP example programs also cannot be run) how can I start tomcat but not using root to login? Thanks and regards Sunny Yeung 15-Aug-01
How to start tomcat
I have just downlad tomcat.zip and unzip it. After I typed startup on DOS prompter I got the messagesaid You must set JAVA_HOME to point at your Java Development Kit installation Does anybody know whatthe message means? I work on NT4.0
RE: How to start tomcat
Go to ControlPanel-system-environment and set the environment variable JAVA_HOME to the location of your JDK installation. All this is explained in the tomcat documentation. Environment variables are variables that get passed to programs you run so that they can adjust their behaviour to your machine's configuration. Some environment variables are defined by the operating system, some by applications, others by human users. On Win platform users usually don't have to deal with environment variables unless they work with cross-platform programs. thx Alex -Original Message-From: Daniel Liu [mailto:[EMAIL PROTECTED]]Sent: Friday, February 16, 2001 6:20 PMTo: [EMAIL PROTECTED]Subject: How to start tomcat I have just downlad tomcat.zip and unzip it. After I typed startup on DOS prompter I got the messagesaid You must set JAVA_HOME to point at your Java Development Kit installation Does anybody know whatthe message means? I work on NT4.0
How to start Tomcat on NT?
I installed Tomcat 3.2.1 as per the instructions, and the IIS isapi_redirector as well. When I run the startup batch file, I immediately get seven lines of output in the new DOS window. The last line is: PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 Then it just stops. Is there supposed to be more, or is that it? I suspect it should do more than that, because I cannot view the example pages through localhost. Chris Perkins - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How to start Tomcat on NT?
Depending upon your logging level, that's probably it. To check if Tomcat is running go to http://localhost:8007. Note: This is where your System.out and System.err will show up. Randy -Original Message- From: Chris Perkins [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:06 PM To: '[EMAIL PROTECTED]' Subject: How to start Tomcat on NT? I installed Tomcat 3.2.1 as per the instructions, and the IIS isapi_redirector as well. When I run the startup batch file, I immediately get seven lines of output in the new DOS window. The last line is: PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 Then it just stops. Is there supposed to be more, or is that it? I suspect it should do more than that, because I cannot view the example pages through localhost. Chris Perkins - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
how to start tomcat on port 80 w/o being root?
I want to create a tomcat user and start tomcat on port 80 under linux. I know only root can use ports below 1024. However, apache can run as someone other than root and still use port 80. I want to do something similar. I know to change the ports settings on server.xml. Thanks
RE: how to start tomcat on port 80 w/o being root?
I have used a program called sudo which accesses root permission to startup such services Dan -Original Message- From: tlittle [mailto:tlittle]On Behalf Of Trevor Little Sent: Wednesday, October 25, 2000 5:43 PM To: [EMAIL PROTECTED] Subject: how to start tomcat on port 80 w/o being root? I want to create a tomcat user and start tomcat on port 80 under linux. I know only root can use ports below 1024. However, apache can run as someone other than root and still use port 80. I want to do something similar. I know to change the ports settings on server.xml. Thanks
Re: how to start tomcat on port 80 w/o being root?
I am afraid, you are out of luck... But I hope someone will say I am wrong... The apache has a "parent" process which runs as root, and spawns children processes as "nobodies" (or whatever). Tomcat is running a single process, does not spawn children, and from the beginning to the end is the same user (starts and dies the same user id). But of course, you can always start Apache as root to listen to port 80 and talk to tomcat, which does not have to run as root if its Connctor runs on a port 1024 (say 8007). On Wed, 25 Oct 2000, Trevor Little wrote: I want to create a tomcat user and start tomcat on port 80 under linux. I know only root can use ports below 1024. However, apache can run as someone other than root and still use port 80. I want to do something similar. I know to change the ports settings on server.xml. Thanks Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/