• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to schedule tomcat at system startup windows

 
linuxarunj kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Install Tomcat as a Windows service.
 
linuxarunj kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!
Welcome to Javaranch ,

Please check your PMs
And this is more of a General Computing question, moving...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic