• 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

Configure Tomcat's JVM to pickup JASS config file issue

 
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(Background: I have an example to run and learn from.)

1. Open a new Dos window and type startup
\apache-tomcat-5.5.33\bin>startup
Another new dos window poped up showing Tomcat is up

Issue
2. A new Dos window and set JAVA_OPTS

\apache-tomcat-5.5.33\bin>set JAVA_OPTS=%JAVA_OPTS% -Djava.security.auth.login.config=C:/example3-jaas.conf

\apache-tomcat-5.5.33\bin>startup

Nothing happened (No new dos window poped up and Tomcat is not up)

1M Thanks.
 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. I just used: set JAVA_OPTS= -Djava.security.auth.login.config=C:/example3-jaas.conf
And a new second window poped up and Tomcat is up.

2. Why with set JAVA_OPTS=%JAVA_OPTS% -Djava.security.auth.login.config=C:/example3-jaas.conf
And a new second window IS NOT poped up and Tomcat is IS NOT up.
Syntax-wise, what is wrong?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic