0 Replies Latest reply on Apr 14, 2008 3:16 AM by cheng rain

    embedded-jboss-beta3 do not work with apache-tomcat-5.5.25

    cheng rain Newbie

      I want use the embedded-jboss-beta3 with apache-tomcat-5.5.25,
      i follow the suggestion in the wiki: http://wiki.jboss.org/wiki/EmbeddedAndTomcat

      but when i start the tomcat i got Exception,

      INFO [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native l
      ibrary which allows optimal performance in production environments was not found
       on the java.library.path: D:\Program Files\Java\jdk1.6.0_05\bin;.;C:\WINDOWS\Su
      n\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
      OWS\System32\Wbem;D:\jruby-1.1\bin;E:\apache-ant-1.7.0\bin;
      INFO [org.apache.coyote.http11.Http11BaseProtocol] Initializing Coyote HTTP/1.1
       on http-8080
      INFO [org.apache.catalina.startup.Catalina] Initialization processed in 656 ms
      WARN [org.jboss.mx.loading.UnifiedLoaderRepository3] Tried to add non-URLClassL
      oader. Ignored
      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error insta
      lling to Described: name=BeanDeployer state=PreInstall
      java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.aop.util.ClassInfoMethodHashing.methodHash(ClassInfoMethodH
      ashing.java:70)
       at org.jboss.aop.util.ClassInfoMethodHashing.addDeclaredMethods(ClassInf
      oMethodHashing.java:169)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:182)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:181)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:181)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:181)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:181)
       at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassI
      nfoMethodHashing.java:181)
       at org.jboss.aop.util.ClassInfoMethodHashing.getMethodMap(ClassInfoMetho
      dHashing.java:188)
       at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getMeth
      odAnnotationDependencies(AOPDependencyBuilder.java:197)
       at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getAnno
      tationDependencies(AOPDependencyBuilder.java:152)
       at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDepe
      ndencies(AOPDependencyBuilder.java:130)
       at org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(Basi
      cClassAdapter.java:80)
       at org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(Abstrac
      tBeanInfo.java:211)
       at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInter
      nal(DescribeAction.java:53)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
      tallAction(KernelControllerContextAction.java:135)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
      tallAction(KernelControllerContextAction.java:46)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
      pleInstallAction(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
      tall(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install
      (AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:327)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:784)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:574)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:398)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
      (AbstractKernelDeployer.java:309)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
      s(AbstractKernelDeployer.java:279)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(Abs
      tractKernelDeployer.java:130)
       at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXM
      LDeployer.java:96)
       at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:13
      0)
       at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:142)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183)
       at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(E
      mbeddedJBossBootstrapListener.java:74)
       at org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEve
      nt(EmbeddedJBossBootstrapListener.java:54)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:120)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:693
      )
       at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.reflect.plugins.ArrayInfoImpl.getType(ArrayInfoImpl.java:10
      3)
       at org.jboss.reflect.plugins.ClassInfoImpl.isArray(ClassInfoImpl.java:49
      5)
       at org.jboss.aop.util.ClassInfoMethodHashing.getTypeString(ClassInfoMeth
      odHashing.java:149)
       at org.jboss.aop.util.ClassInfoMethodHashing.methodHash(ClassInfoMethodH
      ashing.java:53)
       ... 45 more
      Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Class;
       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:307)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
       at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryI
      mpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:367)
       at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryI
      mpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:344)
       at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.
      getTypeInfo(IntrospectionTypeInfoFactory.java:54)
       at org.jboss.reflect.plugins.ArrayInfoImpl.getType(ArrayInfoImpl.java:99
      )
       ... 48 more
      


      please help me, thanks!