• 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

Problem with option separator in servcie.bat on Tomcat 6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am trying to enable monitoring on tomcat 6.0 I have multiple tomcat in the environment so I can’t use tomcat6w to change the option so I have been putting the changes into service.bat but one of the arguments is separated by ; ie -Xbootclasspath:C:\jarA.jar; C:\jarB.jar; C:\jarC.jar but when I run service.bat and check the registry to see what it did instead of
-Xbootclasspath:C:\jarA.jar; C:\jarB.jar; C:\jarC.jar
it becomes
-Xbootclasspath:C:\jarA.jar
C:\jarB.jar
C:\jarC.jar
Which make the options invalid and the service won’t start. Using # for option separator and using ; as above works in tomcat 5.5 but no in tomcat 6

Any Ideas?
 
I found some pretty shells, some sea glass and this lovely tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic