我在Mac 10.9.5上使用JBoss 7.1.3。 JAVA_HOME设置为
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
然而,当我启动JBoss时,它永远不会超过“开始”。以下是日志。我很高兴升级JBoss,如果需要的话,我在他们的下载网站上看不到任何更新的版本 - http://jbossas.jboss.org/downloads/。
无论如何,下面是日志:
JAVA_OPTS set to -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:SoftRefLRUPolicyMSPerMB=1 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -Djboss.server.default.config=standalone.xml -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=86400 -Djavax.net.debug=true -Dorg.jboss.as.logging.per-deployment=false
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss-as-7.1.3.Final
JAVA: java
JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:SoftRefLRUPolicyMSPerMB=1 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -Djboss.server.default.config=standalone.xml -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.IterableTimedVFSCache -Djboss.vfs.cache.TimedPolicyCaching.lifetime=86400 -Djavax.net.debug=true -Dorg.jboss.as.logging.per-deployment=false -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
=========================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
Listening for transport dt_socket at address: 8787
10:49:36,554 INFO [org.jboss.modules] JBoss Modules version 1.1.3.GA
10:49:39,511 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:49:39,816 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.3.Final "Arges" starting