• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to schedule tomcat at system startup windows

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Install Tomcat as a Windows service.
 
linuxarunj kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!!
Welcome to Javaranch ,

Please check your PMs
And this is more of a General Computing question, moving...
 
If you're gonna buy things, buy this thing and I get a fat kickback:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic