> From: Christoph Kukulies [mailto:k...@kukulies.org]
> Subject: Re: log4j :ERROR LogMananger.repositorySelector was null
> likely dueto error
> 
> Is there a way to interrogate the running tomcat (catalina) process
> about it's set parameters?

1) Use JConsole (tricky with a service).

2) Install LambdaProbe and look at its System Information -> System Properties 
page.

3) Write a trivial servlet that includes the following code:

    Properties props = System.getProperties();
    Object[] keys = props.keySet().toArray();

    Arrays.sort(keys);

    for (int i = 0; i < keys.length; i++) {
      response.getWriter().println(keys[i] + "=" + 
props.getProperty((String)keys[i]));
    }

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to