Created attachment 505635 [details] server log Description of problem: I got error msg when I am trying to stop jbossas service Version-Release number of selected component (if applicable): jbossas-5.1.1-17.ep5.el6.noarch How reproducible: command line: /etc/init.d/jbossas stop Actual results: Timeout: Shutdown command was sent, but process is still running with PID 1656 [FAILED] Additional info: *This issue block our automation tests
It usually happens when restarting jbossas service while rhevm is busy, the problematic part is not that jbossas service is failed to stop but that successfully start another instance that running simultaneously. [root@omri-rhevm-17 /]# rpm -qa | grep jbossas jbossas-messaging-5.1.1-17.ep5.el6.noarch jbossas-client-5.1.1-17.ep5.el6.noarch jbossas-5.1.1-17.ep5.el6.noarch jbossas-ws-cxf-5.1.1-6.ep5.el6.noarch [root@omri-rhevm-17 /]# ps -ax | grep jbossas Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ 6752 ? Sl 4:47 /usr/lib/jvm/java/bin/java -Dprogram.name=run.sh -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.partition.udpGroup=228.1.2.3 -Djboss.webpartition.mcast_port=45577 -Djboss.hapartition.mcast_port=45566 -Djboss.ejb3entitypartition.mcast_port=43333 -Djboss.ejb3sfsbpartition.mcast_port=45551 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/var/lib/jbossas/lib/endorsed -classpath /var/lib/jbossas/bin/run.jar:/usr/lib/jvm/java/lib/tools.jar org.jboss.Main -c rhevm-slimmed -b 0.0.0.0 8200 ? S 0:00 /bin/sh /var/lib/jbossas/bin/run.sh -c rhevm-slimmed -b 0.0.0.0 8245 ? Sl 0:28 /usr/lib/jvm/java/bin/java -Dprogram.name=run.sh -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.partition.udpGroup=228.1.2.3 -Djboss.webpartition.mcast_port=45577 -Djboss.hapartition.mcast_port=45566 -Djboss.ejb3entitypartition.mcast_port=43333 -Djboss.ejb3sfsbpartition.mcast_port=45551 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/var/lib/jbossas/lib/endorsed -classpath /var/lib/jbossas/bin/run.jar:/usr/lib/jvm/java/lib/tools.jar org.jboss.Main -c rhevm-slimmed -b 0.0.0.0 8285 pts/1 S+ 0:00 grep jbossas