[webbeans-issues] [JBoss JIRA] Updated: (WBRI-286) ClassNotFoundException during WebBeansBootstrap.boot()

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jul 7 14:42:51 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBRI-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WBRI-286:
---------------------------

    Component/s: Glassfish integration


> ClassNotFoundException during WebBeansBootstrap.boot()
> ------------------------------------------------------
>
>                 Key: WBRI-286
>                 URL: https://jira.jboss.org/jira/browse/WBRI-286
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Bootstrap, Glassfish integration
>    Affects Versions: 1.0.0.PREVIEW1
>         Environment: Integration into GlassFish v3
>            Reporter: Kenneth Saks
>            Priority: Blocker
>
> I'm seeing the following stack trace during WebBeansBootstrap.boot() when an EjbServices instance is registered.   Some helper code within the webbeans impl is trying to load a web beans impl class using the application class loader and not finding it.    
> SEVERE: Exception while invoking class org.glassfish.webbeans.WebBeansApplicationContainer start method
> java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
> 	at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
> 	at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
> 	at org.jboss.webbeans.bean.EnterpriseBean.initProxyClass(EnterpriseBean.java:152)
> 	at org.jboss.webbeans.bean.EnterpriseBean.initialize(EnterpriseBean.java:124)
> 	at org.jboss.webbeans.bootstrap.BeanDeployer.deploy(BeanDeployer.java:123)
> 	at org.jboss.webbeans.bootstrap.WebBeansBootstrap.registerBeans(WebBeansBootstrap.java:167)
> 	at org.jboss.webbeans.bootstrap.WebBeansBootstrap.boot(WebBeansBootstrap.java:203)
> 	at org.glassfish.webbeans.WebBeansApplicationContainer.start(WebBeansApplicationContainer.java:64)
> 	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> 	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
> 	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:193)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:304)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174)
> 	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:255)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:422)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:437)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:524)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:140)
> 	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
> 	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
> 	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
> 	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> 	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
> 	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
> 	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
> 	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
> 	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
> 	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> 	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> 	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> 	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> 	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:637)
> Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:169)
> 	at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339)
> 	... 37 more
> Caused by: java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at java.lang.ClassLoader.defineClass1(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
> 	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 javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:181)
> 	at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:163)
> 	... 38 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.webbeans.bean.proxy.EnterpriseBeanInstance
> 	at org.glassfish.web.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2014)
> 	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:935)
> 	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1464)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
> 	... 46 more
> Jul 2, 2009 1:21:42 PM org.glassfish.api.ActionReport failure
> SEVERE: Exception while loading the app
> java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344)
> 	at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314)
> 	at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273)
> 	at org.jboss.webbeans.bean.EnterpriseBean.initProxyClass(EnterpriseBean.java:152)
> 	at org.jboss.webbeans.bean.EnterpriseBean.initialize(EnterpriseBean.java:124)
> 	at org.jboss.webbeans.bootstrap.BeanDeployer.deploy(BeanDeployer.java:123)
> 	at org.jboss.webbeans.bootstrap.WebBeansBootstrap.registerBeans(WebBeansBootstrap.java:167)
> 	at org.jboss.webbeans.bootstrap.WebBeansBootstrap.boot(WebBeansBootstrap.java:203)
> 	at org.glassfish.webbeans.WebBeansApplicationContainer.start(WebBeansApplicationContainer.java:64)
> 	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
> 	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
> 	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:193)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:304)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174)
> 	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:255)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:422)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:437)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:524)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:140)
> 	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
> 	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
> 	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
> 	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> 	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
> 	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
> 	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
> 	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
> 	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
> 	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> 	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> 	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> 	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> 	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> 	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:637)
> Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:169)
> 	at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339)
> 	... 37 more
> Caused by: java.lang.NoClassDefFoundError: org/jboss/webbeans/bean/proxy/EnterpriseBeanInstance
> 	at java.lang.ClassLoader.defineClass1(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
> 	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 javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:181)
> 	at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:163)
> 	... 38 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.webbeans.bean.proxy.EnterpriseBeanInstance
> 	at org.glassfish.web.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2014)
> 	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:935)
> 	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1464)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
> 	... 46 more
> Jul 2, 2009 1:21:42 PM
> INFO: In SimpleSingleton:destroy()
> Jul 2, 2009 1:21:42 PM
> INFO: In SimpleStateless:destroy()
> Jul 2, 2009 1:21:42 PM
> INFO: In ContextListener::contextDestroyed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list