This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Pipeline as Code and have Mohamed Labouardy on-line!
See this thread for details.
Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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: 22118
114
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...
 
Do you want ants? Because that's how you get ants. And a tiny ads:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic