[jboss-user] [Installation, Configuration & Deployment] - Could not destroy component - NoClassDefFoundError: com/sun/

jcg3 do-not-reply at jboss.com
Tue Jun 26 10:53:34 EDT 2007


Hello everyone--

I have an odd exception being thrown in my application...  but first, here's what I'm running.

- JBoss 4.2.0.GA
- Seam 1.2.1.GA

I have followed the instructions to run Seam on JBoss 4.2 (changes to web.xml, application.xml), and everything works fine.  The usage of expression language works, and I'm not having any problems with my application's main functionality.

The exception (full stack trace below) occurs when my session beans expire and the server tries to run the destroy method...  I'm not clicking on any webpages to trigger this functionality, it just occurs when I leave my server running idle after running through some testing.

This doesn't seem to be caused by different timeouts between my HTTP Session and my EJBs, which is the only real reference to this type of error that I was able to find in existing docs/forums.  Also, I can post this to the Seam forum, but I am guessing this is a configuration issue.

I can certainly ignore the error messages as it doesn't impact any functionality, but I figured someone might be able to point me to a solution so I don't clutter up my log files.

Thanks in advance,
Jason


-- Stack Trace --

09:56:44,234 WARN  [Contexts] Could not destroy component: testComponent
javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
	at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:97)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
	at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
	at $Proxy242.destroy(Unknown Source)
	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:585)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
	at org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
	at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
	at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
	at org.javassist.tmp.java.lang.Object_$$_javassist_85.destroy(Object_$$_javassist_85.java)
	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:585)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
	at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
	at org.jboss.seam.Component.callDestroyMethod(Component.java:1765)
	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:231)
	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:297)
	at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45)
	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
	at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
	at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:682)
	at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:667)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1286)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1571)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1580)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1580)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1560)
	at java.lang.Thread.run(Thread.java:595)


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

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



More information about the jboss-user mailing list