[jboss-user] Re: Stateless Session Bean - java.lang.reflect.UndeclaredThrowab

samk at twinix.com samk at twinix.com
Wed Jul 30 01:05:26 EDT 2008


See Thread at: http://www.techienuggets.com/Detail?tx=11297 Posted on behalf of a User

I am also experiencing this problem, using JBoss 4.2.0, Seam 2.0:

it happens intermittently while the application runs, and attempting the same action again always works...

Caused by: java.lang.InstantiationException: org.apache.log4j.Logger
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
	at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
	at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
	at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
	at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
	at java.io.ObjectInputStream.readObject(Unknown Source)
	at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
	at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:790)
	at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:778)
	at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
	at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143)
	at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:400)
	at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:385)
	at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:316)
	at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:387)
	at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
	at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
	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.dynamicInvoke(StatefulContainer.java:333)
	at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:81)
	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:139)
	at $Proxy118.getAccountDTO(Unknown Source)
	at au.com.demand.portal.flex.QuoteOrderDataProviderBean.findAggregationAddresses(QuoteOrderDataProviderBean.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
	at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at org.granite.tide.seam.TideInterceptor.aroundInvoke(TideInterceptor.java:140)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
	at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	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:94)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
	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.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
	at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
	at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
	at $Proxy330.findAggregationAddresses(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
	at org.javassist.tmp.java.lang.Object_$$_javassist_2.findAggregationAddresses(Object_$$_javassist_2.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.granite.messaging.service.ServiceInvocationContext.invoke(ServiceInvocationContext.java:70)
	at org.granite.messaging.service.security.AbstractSecurityService.endAuthorization(AbstractSecurityService.java:42)
	at org.granite.seam.security.SeamSecurityService.authorize(SeamSecurityService.java:88)
	at org.granite.messaging.service.ServiceInvoker.invoke(ServiceInvoker.java:132)
	... 46 more


In Response To: 

Hi ,
    When i am accessing a stateless session bean methods in a servlet 
i am able to access some methods without any problem. But some methods are throwing the following error. 
    I am not able to find oput why it is hapening with only some methods.


The error is as follows:


 java.lang.reflect.UndeclaredThrowableException
2007-08-28 16:21:31,765 ERROR STDERR  - 	at $Proxy458.getUserResource(Unknown Source)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at com.ecc.login.servlets.HomePage.login(HomePage.java:569)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at com.ecc.login.servlets.HomePage.doPost(HomePage.java:131)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.lang.Thread.run(Thread.java:595)
2007-08-28 16:21:31,765 ERROR STDERR  - Caused by: java.io.IOException
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:94)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:70)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
2007-08-28 16:21:31,765 ERROR STDERR  - 	... 23 more
2007-08-28 16:21:31,765 ERROR STDERR  - Caused by: java.lang.reflect.InvocationTargetException
2007-08-28 16:21:31,765 ERROR STDERR  - 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.lang.reflect.Method.invoke(Method.java:585)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103)
2007-08-28 16:21:31,765 ERROR STDERR  - 	... 33 more
2007-08-28 16:21:31,765 ERROR STDERR  - Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of org.apache.log4j.Logger - org.apache.log4j.Logger
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.util.Hashtable.readObject(Hashtable.java:848)
2007-08-28 16:21:31,765 ERROR STDERR  - 	... 38 more
2007-08-28 16:21:31,765 ERROR STDERR  - Caused by: java.lang.InstantiationException: org.apache.log4j.Logger
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.lang.Class.newInstance0(Class.java:335)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at java.lang.Class.newInstance(Class.java:303)
2007-08-28 16:21:31,765 ERROR STDERR  - 	at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
2007-08-28 16:21:31,765 ERROR STDERR  - 	... 68 more




can anybody suggests any solution.

I am using JBoss4.2.0 & JDK5.0.


Thanks in advance.






More information about the jboss-user mailing list