| Author |
How to schedule tomcat at system startup windows
|
linuxarunj kumar
Greenhorn
Joined: Feb 28, 2012
Posts: 2
|
|
HI All,
im very new to these forum ,and these is my first question here.im running out apache-tomcat-6.0.26 in windows .and im running the service manually .whenever the cmd prompt closes my service getting stopped automatilly,How can i make cmd prompt of running tomcat service to run on background.These is my service i uses off to start my service ..
java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="C:\opt\apps\tomcat\apache-tomcat-6.0.18\conf\logging.properties" -Djava.endorsed.dirs="C:\opt\apps\tomcat\apache-tomcat-6.0.18\endorsed" -classpath C:\PROGRA~1\Java\jdk1.6.0_25\lib\tools.jar;C:\opt\apps\tomcat\apache-tomcat-6.0.18\bin\bootstrap.jar;C:\opt\apps\deploy\static\conf\ -Dcatalina.base="C:\opt\apps\tomcat\apache-tomcat-6.0.18" -Dcatalina.home="C:\opt\apps\tomcat\apache-tomcat-6.0.18" -Djava.io.tmpdir="C:\opt\apps\tomcat\apache-tomcat-6.0.18\temp" -XX:MaxPermSize=256m -Xms256m -Xmx512m org.owapache.catalina.startup.Bootstrap start
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Install Tomcat as a Windows service.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
linuxarunj kumar
Greenhorn
Joined: Feb 28, 2012
Posts: 2
|
|
Hi,
i had use apache-tomcat-6.0.26-zip ,so that i had manually made the service to start the service ,I Had installed in user account in windows 2008 server whenever session get log off ,are administrator login the user acc getting shutdown and service running as bat file too getting shutdown .How can i make my service .bat file to run on background as service . im pure linux administrator i doesint have enough knowledge in configuration in windows can anyone help regarding how can i make service ,bat file as service .alreay i had placed the service.bat in startup file
|
 |
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2551
|
|
Hi!!
Welcome to Javaranch ,
Please check your PMs
And this is more of a General Computing question, moving...
|
SCJP, SCWCD.
|Asking Good Questions|
|
 |
 |
|
|
subject: How to schedule tomcat at system startup windows
|
|
|