[jboss-user] [Beginners Corner] - Jboss 5 Beta 2 won't even run with Java 5?

l33t_Phr3Ak do-not-reply at jboss.com
Mon Nov 5 07:30:41 EST 2007


Hey ho,

i hope somebody can help me out here:

The symptoms:

-> Jboss 5 Beta 1 runs with both Java 5 and Java 6.

-> Jboss 5 Beta 2 doesn't run with both Java 5 and Java 6?


Now i know that the Beta does NOT run with Java 6, but everything i read said it should run with Java 5?


According to this Jboss-Bug entry:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6


anonymous wrote : 
  | Problem:
  | 
  | You get the below exception when running JBoss with JDK 6:
  | 
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | 
  | 
  | 
  | Cause:
  | 
  | This exception is caused because of the improper use of classloaders in JBoss code. Look at this forum thread for more details.
  | 
  | Solution:
  | 
  | Use JDK5
  | 
  | 


Yeah exactly, use Java 5


But regardless of the java version i use (meaning 5 or 6), i always get the exact same error message:


	
  | 07:56:33,596 INFO  [ProfileImpl] Using profile root:/opt/jboss-5.0.0.Beta2/server/default
  | 07:56:34,763 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(Signature.java:292)
  |         at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  |         at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  |         at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  |         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  |         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  |         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | 

This is exactly the error message which is described in the bug report.

So in a nutshell:

Why won't Jboss 5 Beta 2 run with Java 5 although this is the "official" bug solution?

Can somebody confirm that?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101729#4101729

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101729



More information about the jboss-user mailing list