Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat on FreeBSD hides command line?



Hello Peter,

Thursday, July 8, 2004, 10:38:18 PM, you wrote:

> Hello,

> for some reason Tomcat instances on FreeBSD 5.2.1 only show up as '(java)' in
> top/ps (causing problems with scripting). I have not been able to reproduce
> this behavior with anything else other than Tomcat, even if invoked in the
> same context as catalina/tomcat.

> Does anyone know how/why this is done, and is there a way to prevent it? I.e.,
> I want the full /path/to/java arg arg arg to be preserved.

That's weird... In my case, I see the full path. However, I think
tomcat generated a PID file somewhere so you wouldn't need to parse ps
output.

Also, I've found that tomcatXXctl where XX is the version of
tomcat) works well for start/stop/restart of tomcat.




Best regards,
 Gabriel