Tomcat on FreeBSD hides command line?

Gabriel Ambuehl gabriel_ambuehl at
Thu Jul 8 14:13:41 PDT 2004

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

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

Best regards,

More information about the freebsd-java mailing list