1 Reply Latest reply on Jul 5, 2007 9:25 AM by Wesley Hales

    Unable to use JBoss Embedded beta2 in tomcat 6.0.13

    Thai Dang Vu Apprentice

      Hi all,

      Could anybody help me here?

      I copied jboss embedded files to tomcat 6.0.13 (http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/configuration.html#config.install.embedded). When I started tomcat, I saw this errors:

      Using CATALINA_BASE: /home/ly/tomcat-6.0.13
      Using CATALINA_HOME: /home/ly/tomcat-6.0.13
      Using CATALINA_TMPDIR: /tmp
      Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.00
      Jul 4, 2007 8:03:36 AM org.apache.catalina.core.AprLifecycleListener init
      INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386:/home/ly/gwt-linux-1.4.10:/usr/lib:/usr/lib/firefox:/usr/java/packages/lib/i386:/lib:/usr/lib
      Jul 4, 2007 8:03:37 AM org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-9191
      Jul 4, 2007 8:03:37 AM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 1269 ms
      WARN 04-07 08:03:38,799 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored
      ERROR 04-07 08:03:39,169 (AbstractController.java:incrementState:456) -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.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
       at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
       at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      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)
       ... 40 more
      java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.RuntimeException: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      ResourcesToDeploy
       -> DeploymentFilter{Configured:**ERROR**}
       -> jboss.kernel:service=Kernel{Configured:**ERROR**}
      
      ResourcesToDeploy2
       -> jboss.kernel:service=Kernel{Configured:**ERROR**}
       -> DeploymentFilter{Configured:**ERROR**}
      
      ResourcesToDeploy3
       -> DeploymentFilter{Configured:**ERROR**}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
      
      jboss.kernel:service=Kernel -> **ERROR**
      
      
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:82)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
       ... 6 more
      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}
      
      ResourcesToDeploy
       -> DeploymentFilter{Configured:**ERROR**}
       -> jboss.kernel:service=Kernel{Configured:**ERROR**}
      
      ResourcesToDeploy2
       -> jboss.kernel:service=Kernel{Configured:**ERROR**}
       -> DeploymentFilter{Configured:**ERROR**}
      
      ResourcesToDeploy3
       -> DeploymentFilter{Configured:**ERROR**}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
      
      jboss.kernel:service=Kernel -> **ERROR**
      
      
       at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
       at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
       ... 10 more
      

      My environment: Ubuntu Feisty, Java 1.6

      Or if you have successfully used jboss embedded beta2 with tomcat 6.0, could you please zip your tomcat and send it to me at dxxvi@hatrang.net?

      Thanks.