AnsweredAssumed Answered

Deployment of 3.4 in JBoss 5.1.0 GA Results in 100% CPU

Question asked by bentz666 on Apr 9, 2011
Latest reply on Apr 10, 2011 by mrogers
Hey folks,
I've tried following the instructions over at and did everything as instructed (minus the UTF-8 changes, which caused "org.xml.sax.SAXParseException: The reference to entity "characterEncoding" must end with the ';' delimiter." errors)

When I start JBoss, the JVM process goes to 100% CPU utilization, with no threading (one CPU at 100%, all others idle) and the last thing logged by JBoss is:

14:30:24,405 INFO  [TomcatDeployment] deploy, ctxPath=/alfresco

and then nothing. The JVM is totally frozen and no longer responds to inbound TCP connections for the other applications which successfully deployed and used to run (before Alfresco).

This is Red Hat Enterprise Linux 5.4 on an x86_64 in VMware ESX 4.0. 4 CPUs, 4GB of memory configured and java JDK 6 Update 19, 64-bit OS & 64-bit JVM.

$ java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)

Note this process has been 100% CPU-bound since the time JBoss was started.

$ ps -ef | grep [j]ava
jboss    16387 16359 99 14:27 ?        01:19:56 /usr/java/default/bin/java -server -Xss1024K -Xms1G -Xmx2G -XX:MaxPermSize=128M -XX:NewSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=80 -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/opt/jboss/default/lib/endorsed -classpath /opt/jboss/default/bin/run.jar:/usr/java/default/lib/tools.jar org.jboss.Main -b

$ tail -f /opt/jboss/default/server/default/log/server.log
2011-04-09 14:30:17,987 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
2011-04-09 14:30:17,989 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
2011-04-09 14:30:18,012 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

        SecureProfileService/remote - EJB3.x Default Remote Business Interface
        SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

2011-04-09 14:30:18,244 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/admin-console
2011-04-09 14:30:18,352 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
2011-04-09 14:30:24,405 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/alfresco

This is community edition.