We have been using Java 6 from May of 2007. Last week, I downloaded JBoss Beta 2 and it doesn't even want to start. Huh. I know it's still in Beta version.
Searched on Google and found the following entry in JBoss bug entry in their forums.
The solution they have is use JDK5. I can't switch back to JDK 5 wasting my 6 month effort working on Java 6. So switching back to Java 5 isn't my option.
Is JBoss going to fix this bug in their final release of JBoss 5? Any ideas?
Are you facing this problem? Did you find a workaround?
Here is the stack trace:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-5.0.0
JAVA: C:\Java\jdk1.6.0\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=2
56m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600
000
CLASSPATH: C:\Java\jdk1.6.0\lib\tools.jar;C:\jboss-5.0.0\bin\run.jar
===============================================================================
15:09:10,733 INFO [ServerImpl] Starting JBoss (Microcontainer)...
15:09:10,748 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build:
SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
15:09:10,748 INFO [ServerImpl] Home Dir: C:\jboss-5.0.0
15:09:10,748 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.0/
15:09:10,748 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.0/lib/
15:09:10,764 INFO [ServerImpl] Patch URL: null
15:09:10,779 INFO [ServerImpl] Server Name: default
15:09:10,779 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.0\server\default
15:09:10,779 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.0/server/def
ault/
15:09:10,779 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.0\server\default\d
ata
15:09:10,779 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.0\server\default\t
mp
15:09:10,779 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.0/server/d
efault/conf/
15:09:10,779 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.0/server/
default/lib/
15:09:10,779 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
15:09:11,029 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/j
boss-5.0.0/server/default/conf/bootstrap-beans.xml
15:09:16,623 INFO [ProfileImpl] Using profile root:C:\jboss-5.0.0\server\defaul
t
15:09:19,186 ERROR [AbstractKernelController] Error installing to Instantiated:
name=DeploymentFilter state=Described
java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
.java:174)
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
.java:125)
at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signatu
re.java:292)
at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaData
Loader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getCompone
ntMetaDataRetrieval(AbstractMetaDataContext.java:280)
at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.ge
tComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.meth
odHasAnnotations(AOPConstructorJoinpoint.java:202)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasM
ethodMetaData(AOPConstructorJoinpoint.java:172)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasI
nstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.disp
atch(AOPConstructorJoinpoint.java:99)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
patchJoinPoint(KernelControllerContextAction.java:103)
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionIn
ternal(InstantiateAction.java:52)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
tallAction(KernelControllerContextAction.java:197)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
tall(KernelControllerContextAction.java:136)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:233)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:724)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:445)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:555)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:489)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:289)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:192)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
(AbstractKernelDeployer.java:302)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
s(AbstractKernelDeployer.java:272)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(Abs
tractKernelDeployer.java:119)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicK
ernelDeployer.java:64)
at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
XMLDeployer.java:76)
at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
XMLDeployer.java:146)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy
(ProfileServiceBootstrap.java:295)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
rap(ProfileServiceBootstrap.java:222)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
strap.java:89)
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
java:403)
at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
va:342)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:522)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
.java:170)
... 35 more
15:09:20,420 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
15:09:20,420 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,S
un Microsystems Inc.
15:09:20,420 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:09:20,639 INFO [JMXKernel] Legacy JMX core initialized
Failed to boot JBoss:
java.lang.RuntimeException: Exception during Bootstrap
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
strap.java:99)
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
java:403)
at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
va:342)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:522)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of inc
omplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
e}
VFSBootstrapScanner
-> DeploymentFilter{Configured:**ERROR**}
VFSDeployerScanner
-> DeploymentFilter{Configured:**ERROR**}
VFSDeploymentScanner
-> DeploymentFilter{Configured:**ERROR**}
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkI
ncomplete(ProfileServiceBootstrap.java:389)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
rap(ProfileServiceBootstrap.java:236)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
strap.java:89)
... 5 more
Saturday, December 15, 2007
Subscribe to:
Post Comments (Atom)
Better workarounds:
ReplyDelete- http://lists.jboss.org/pipermail/jboss-development/2007-June/009714.html
- http://jira.jboss.com/jira/browse/JBAS-4491
- http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4109656#4109656
Didn't work for me though. I will have to try again.
ReplyDeleteYou can wait for beta3, which is (finally) coming out this week.
ReplyDeleteWe fixed the problems in the Signature class, to be better array aware: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121027
Thanks so much for the update. I will download as soon as it is available.
ReplyDeleteHi Meera,
ReplyDeleteWere you able to fix this issue with Beta 3? I seem to have similar problems with Beta 3. Is there any workaround?
Hi sbdurai,
ReplyDeleteI was able to get JBoss to start with Java 6, but had no success in getting web services to work.
I do not like the way Jboss 5 is turning out. On my machine, JBoss 5.0 beta 3 starts in around 3 minutes, while beta 2 starts in 1 minute and JBoss 4.2 starts in 20-30 seconds.Similary in memory management. It's a huge difference, is the final realease gonna be the same? Hope not...
ReplyDeletei m using jboss5.0.0 by executing run....there is no message.
ReplyDeleteCan u pls tell me the steps u followed.i have worked in jboss4..using jboss5 for the first time.