Olá!!! Quando eu starto JBoss dá o seguinte log:
C:\Documents and Settings\pxerxenesky\Desktop\jboss-3.2.5\bin>set java_home=c:\j
2sdk1.4.2_05
C:\Documents and Settings\pxerxenesky\Desktop\jboss-3.2.5\bin>run
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Documents and Settings\pxerxenesky\Desktop\jboss-3.2.5\bin\…
.
JAVA: c:\j2sdk1.4.2_05\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: c:\j2sdk1.4.2_05\lib\tools.jar;C:\Documents and Settings\pxerxenesk
y\Desktop\jboss-3.2.5\bin\run.jar
.
.
09:42:48,343 INFO [Server] Starting JBoss (MX MicroKernel)…
09:42:48,343 INFO [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=
JBoss_3_2_5 date=200406251954)
09:42:48,343 INFO [Server] Home Dir: C:\j2sdk1.4.2_05\jre\lib
09:42:48,343 INFO [Server] Home URL: file:/C:/j2sdk1.4.2_05/jre/lib/
09:42:48,343 INFO [Server] Library URL: file:/C:/j2sdk1.4.2_05/jre/lib/lib/
09:42:48,343 INFO [Server] Patch URL: null
09:42:48,343 INFO [Server] Server Name: default
09:42:48,343 INFO [Server] Server Home Dir: C:\j2sdk1.4.2_05\jre\lib\server\def
ault
09:42:48,343 INFO [Server] Server Home URL: file:/C:/j2sdk1.4.2_05/jre/lib/serv
er/default/
09:42:48,343 INFO [Server] Server Data Dir: C:\j2sdk1.4.2_05\jre\lib\server\def
ault\data
09:42:48,343 INFO [Server] Server Temp Dir: C:\j2sdk1.4.2_05\jre\lib\server\def
ault\tmp
09:42:48,343 INFO [Server] Server Config URL: file:/C:/j2sdk1.4.2_05/jre/lib/se
rver/default/conf/
09:42:48,343 INFO [Server] Server Library URL: file:/C:/j2sdk1.4.2_05/jre/lib/s
erver/default/lib/
09:42:48,343 INFO [Server] Root Deployment Filename: jboss-service.xml
09:42:48,343 INFO [Server] Starting General Purpose Architecture (GPA)…
09:42:49,093 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
ion: preRegister() failed: [ObjectName=‘JMImplementation:type=MBeanServerDelegat
e’, Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDele
gate@1ce2dd4)]
javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName=‘
JMImplementation:type=MBeanServerDelegate’, Class=javax.management.MBeanServerDe
legate (javax.management.MBeanServerDelegate@1ce2dd4)]
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
icMBeanRegistry.java:655)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
eanRegistry.java:199)
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:192)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer
BuilderImpl.java:56)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory
.java:324)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact
ory.java:227)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:350)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.management.RuntimeOperationsException: Exception occured trying
find the descriptors of the MBean
at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(Mode
lMBeanInfoSupport.java:445)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanI
nvoker.java:376)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
nInvoker.java:355)
at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
oker.java:539)
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
icMBeanRegistry.java:644)
… 10 more
Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid
… 15 more
Failed to boot JBoss:
java.lang.RuntimeException: javax.management.InstanceNotFoundException: JMImplem
entation:type=MBeanRegistry is not registered.
at org.jboss.mx.server.MBeanServerImpl.handleInvocationException(MBeanSe
rverImpl.java:1079)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
a:1028)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
a:326)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:354)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
at org.jboss.Main.boot(Main.java:145)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Thread.java:534)
Press any key to continue . . .
O gozado é que quando eu retiro a variável de ambiente JAVA_HOME, ele funciona!!!
Só que o problema é que daí não se compila páginas JSP!!! Ninguém merece!!! Alguém pode me ajudar??? Obrigado!!