Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2010 11:34:50 +0200
From:      Horst Leitenmueller <horst.leitenmueller@liwest.at>
To:        freebsd-java@FreeBSD.org
Subject:   Re: jboss5 start/stop not working SOLVED
Message-ID:  <1272792890.12585.15.camel@lap01>
In-Reply-To: <1272791293.12585.10.camel@lap01>
References:  <1272791293.12585.10.camel@lap01>

next in thread | previous in thread | raw e-mail | index | archive | help
solved my own problem,

if ps -faux is not showing org.jboss.Main (only [java])
its because of the 
kern.ps_arg_cache_limit: 256  which is to less if you have a lot of
vmwargs for the jboss/or java app

therefore set at least to 
sysctl kern.ps_arg_cache_limit=1024
kern.ps_arg_cache_limit: 256 -> 1024

in the base system of the freebsd / in the jail its also set (if you try
to set in the jail you get an Operation not permitted exception)

NOW the pgrep detects the org.jboss.Main and pid is correct written =>
start and stop is working...

thanx for help ;-)


horst


On Sun, 2010-05-02 at 11:08 +0200, Horst Leitenmueller wrote:
> hello,
> 
> i have a question on jboss5 port ver 5.1 the start/stop is not working,
> the pidfile is not written correct because the 
> pgrep -U www -f org.jboss.Main does not find anything...
> 
> my system freebsd 7.2 diablo jdk 1.6
> 
> with ps -faux i see
> :
> 11433  ??  IJ     2:44.49 [java]    // this is the jboss running
> 
> add info: all is running inside a jail!!
> 
> how could i fix / or could it be fixed?
> 
> thanx for answer
> br horst
> 
> 
> Same sent to freebsd forum, but no reply till
> now...http://forums.freebsd.org/showthread.php?t=11018&highlight=jboss5
> 
> 
> 
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1272792890.12585.15.camel>