6 Replies Latest reply on Oct 12, 2007 11:50 AM by rasisuku

    cant start jboss AS 5 clean from europa eclipse

    wiggy

      having a problem starting jboss AS 5 beta 2 from eclipse.

      i unpacked the eclipse build and tried to create new server config for version 5 and get the following when i run it

      did this by windoows/properties/server/installed server environements - then add new and select jboss v5 as the AS .

      this is the error log.

      22:58:40,933 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      22:58:40,953 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
      22:58:40,953 INFO [ServerImpl] Home Dir: E:\jboss\jboss-5.0.0.Beta2
      22:58:40,953 INFO [ServerImpl] Home URL: file:/E:/jboss/jboss-5.0.0.Beta2/
      22:58:40,953 INFO [ServerImpl] Library URL: file:/E:/jboss/jboss-5.0.0.Beta2/lib/
      22:58:40,963 INFO [ServerImpl] Patch URL: null
      22:58:40,963 INFO [ServerImpl] Server Name: default
      22:58:40,963 INFO [ServerImpl] Server Home Dir: E:\jboss\jboss-5.0.0.Beta2\server\default
      22:58:40,963 INFO [ServerImpl] Server Home URL: file:/E:/jboss/jboss-5.0.0.Beta2/server/default/
      22:58:40,993 INFO [ServerImpl] Server Data Dir: E:\jboss\jboss-5.0.0.Beta2\server\default\data
      22:58:40,993 INFO [ServerImpl] Server Temp Dir: E:\jboss\jboss-5.0.0.Beta2\server\default\tmp
      22:58:40,993 INFO [ServerImpl] Server Config URL: file:/E:/jboss/jboss-5.0.0.Beta2/server/default/conf/
      22:58:40,993 INFO [ServerImpl] Server Library URL: file:/E:/jboss/jboss-5.0.0.Beta2/server/default/lib/
      22:58:40,993 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      22:58:41,394 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
      22:58:45,820 INFO [ProfileImpl] Using profile root:E:\jboss\jboss-5.0.0.Beta2\server\default
      22:58:48,163 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)
       at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
       at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
       at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:64)
       at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:76)
       at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:146)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:522)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
       at java.net.URLClassLoader$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
       ... 35 more
      22:58:49,165 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
      22:58:49,165 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_02-b06,Sun Microsystems Inc.
      22:58:49,165 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      22:58:49,375 INFO [JMXKernel] Legacy JMX core initialized
      Failed to boot JBoss:
      java.lang.RuntimeException: Exception during Bootstrap
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:522)
       at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      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.checkIncomplete(ProfileServiceBootstrap.java:389)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       ... 5 more
      


      anyone else had any luck getting the europa build to start jboss 5.

      works fine with a server config for 4.2 though.

        • 1. Re: cant start jboss AS 5 clean from europa eclipse
          peterj

          This has nothing to do with Eclipse, rather the culprit is JDK 1.6. See http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6 and then go back to using JDK 1.5.

          • 2. Re: cant start jboss AS 5 clean from europa eclipse
            wiggy

            dam and blast

            very frustrating - bizarely running the eclipse 4.2 serverin eclipse and jdk6 works fine (so far at least)

            its only when i try jboss 5 under v6.

            does any one know what the dates for a beta3 are?

            meanwhile i'll try jdk 5 i guess

            Thanks

            • 3. Re: cant start jboss AS 5 clean from europa eclipse
              wiggy

              For those who may have similar problems with JBOSS AS5

              eventually got round to a bit of reconfig -

              yes if you role back to java 1.5 in eclipse the JBOSS as5 starts whereas it fails on 1.6.

              is something that the JBOSS AS team need to rebuild on and will be fixed in CR/beta3 or is java 1.6 not on the roadmap for as v5 ?

              when can we expect a AS v5 production ?

              • 4. Re: cant start jboss AS 5 clean from europa eclipse
                wiggy

                one last thing -

                when i look in the start log i get a warning on the jdbc

                23:46:11,419 WARN [JDBCPersistenceManager]
                
                JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
                 Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
                 Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
                
                23:46:11,619 INFO [ServerPeer] ServerPeer[0] creating server peer with ID 0
                


                not sure where the default config for the AS lives and how to set the config to fix - if any one can save hours and knows where to go that would be helpful.

                Lastly - given that 4.2.1 does run on java1.6 but v5beta2 does not -
                does this mean that v5 has gone into the back burner and a new brnch based on 4.2 will live on -

                or does v5 really become the 'first class' javaEE server from jboss.

                It kind of feels as though V5 seemes to have taken the back seat for a while - is that a fair asessment?



                • 5. Re: cant start jboss AS 5 clean from europa eclipse
                  weston.price

                  As referenced here:

                  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJDK6


                  Please note that JDK6 support is purely experimental in JBoss AS 4.2.x


                  As for JBoss5
                  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix

                  So, we do not officially support 1.6 for JBoss 4.2.x or for JBoss5.

                  As for the warning message, this is simply informing you that the isolation level for the JMS DB is low. Typically this is applicable when you are running with the default DB, Hypersonic which is not recommended for production deployments.




                  • 6. Re: cant start jboss AS 5 clean from europa eclipse
                    rasisuku

                    Hi,

                    I am getting the error as mentioned in
                    http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121113

                    can you please help?

                    not sure what dependency the error msg talks about ...

                    Thanks,
                    Sukumar