Message Boards Message Boards

0
|
4816 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Get tomcat servlet info in webMathematica?

Posted 8 years ago

Anyone know how to fetch the current webMathematica kernel ID number (e.g. {0,1,2,3...} as reported by Resources/Tools/KernelMonitor.jsp) from within my webMathematica code. I can use $ProcessID to get a UNIX PID, but I'd prefer to have the Kernel ID associated with that PID.

Also, I'd like to know how to fetch the current tomcat servlet ID from within webMathematica. Any idea how to do this? This is the value logged as '%t' in the log4j logging package used by tomcat (e.g. 'http-bio-8080-exec-4') when running webMathematica transactions.

Thanks!

POSTED BY: Jim Van Riper
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract