JBoss Community

Process Manager

reply from David Lloyd in JBoss AS7 Development - View the full discussion

Brian Stansberry wrote:

 

If we're going to open sockets, we need to make the binding configurable so admins can lock down what is used. 127.0.0.1:0 is fine as a default though.

 

Haha, I started off as opposed to using stdio, but now feel oddly supportive of it. Not sure why.

 

In any case, even if we use sockets for the inter-process messaging traffic, these thread dumps are going to go to the PM via stdout/ManagedProcess$OutputStreamHandler. So we need to decide what to do with them. Convert them to log messages in the PM log, a la the above? Dump the directly to PM's stdout? (I'm checking if that will actually just result in log messages in the PM log file.) Maintain a file per managed process?

 

I think just continuing with the idea of using a log category per server is fine.  Then the PM's logging.properties can configure it however the user wants.  I think people will be looking for this info on the console though.

 

Also, it's worth verifying that hitting ctrl-/ on the PM will or won't cascade to all child processes, causing a huge mass of thread dumps to occur.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community