• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Configure Tomcat's JVM to pickup JASS config file issue

 
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!