wood burning stoves 2.0*
The moose likes Tomcat and the fly likes -server option.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "-server option.." Watch "-server option.." New topic
Author

-server option..

Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Hello folks, I am using tomcat as a service and added the -server option to the registry. Is there a way to check if that has been taken in consideration, I can not really see changes right now, but was curious as how one could figure out if the JVM got it=
Thanks a lot.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
The java.lang.System class has the getProperties() method that returns a Properties object with lots of information on the current system. I think what you want is the "java.compiler" property, but you can look at all of the values with
System.getProperties().list( System.out );
(I think thats right)
Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Thanks for the reply William
I will try that!
 
 
subject: -server option..
 
Similar Threads
assigning a function's result to a form field
PetStore
use of option method ?
Do we have java hot spot 32 bit SERVER edition
Fetching values from database and populating it in drop down and text fields