Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters" Watch "java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters" New topic
Author

java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters

Doan Long
Greenhorn

Joined: Jul 26, 2012
Posts: 20



run debug
return danhmucService.getAllOrDerBy(className, dbType); success
dmCongties = masterdata.getAllOrDerBy(DmCongty.class); erorr
ERROR

16:42:42,136 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters

16:42:42,137 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:229)

16:42:42,138 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:216)

16:42:42,139 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:188)

16:42:42,140 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:179)

16:42:42,141 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:43)

16:42:42,142 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

16:42:42,143 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)

16:42:42,144 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

16:42:42,145 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)

16:42:42,146 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)

16:42:42,147 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)

16:42:42,148 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at $Proxy126.getAllOrDerBy(Unknown Source)

16:42:42,148 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.evnit.fmis.managedbean.report.ReportViewBean.<init>(ReportViewBean.java:61)

16:42:42,149 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

16:42:42,150 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

16:42:42,151 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

16:42:42,152 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

16:42:42,153 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.Class.newInstance0(Class.java:355)

16:42:42,154 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.Class.newInstance(Class.java:308)

16:42:42,155 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:188)

16:42:42,155 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:102)

16:42:42,156 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:409)

16:42:42,157 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:269)

16:42:42,158 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:244)

16:42:42,159 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:116)

16:42:42,160 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

16:42:42,161 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

16:42:42,162 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72)

16:42:42,162 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.el.parser.AstValue.getValue(AstValue.java:147)

16:42:42,163 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)

16:42:42,164 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)

16:42:42,165 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)

16:42:42,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)

16:42:42,168 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.component.UITree.getValue(UITree.java:543)

16:42:42,169 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.component.AbstractTree.createExtendedDataModel(AbstractTree.java:453)

16:42:42,169 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:466)

16:42:42,170 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:279)

16:42:42,171 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.renderkit.TreeEncoderFull.encode(TreeEncoderFull.java:40)

16:42:42,172 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.renderkit.TreeRendererBase.encodeTree(TreeRendererBase.java:85)

16:42:42,173 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.richfaces.renderkit.html.TreeRenderer.encodeChildren(TreeRenderer.java:128)

16:42:42,174 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

16:42:42,175 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

16:42:42,176 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)

16:42:42,177 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)

16:42:42,177 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

16:42:42,178 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)

16:42:42,179 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)

16:42:42,180 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

16:42:42,181 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

16:42:42,182 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)

16:42:42,183 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

16:42:42,184 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

16:42:42,185 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

16:42:42,185 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

16:42:42,186 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

16:42:42,188 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

16:42:42,189 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

16:42:42,190 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

16:42:42,191 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

16:42:42,192 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

16:42:42,193 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

16:42:42,194 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

16:42:42,194 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

16:42:42,195 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

16:42:42,196 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

16:42:42,197 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.Thread.run(Thread.java:662)

16:42:42,198 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) Caused by: java.lang.ClassNotFoundException: com.evnit.fmis.entity.masterdata.DmNhomDanhmuc_$$_javassist_157 from [Module "deployment.erap.war:main" from Service Module Loader]

16:42:42,200 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

16:42:42,201 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

16:42:42,202 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

16:42:42,202 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

16:42:42,204 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

16:42:42,205 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

16:42:42,205 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.Class.forName0(Native Method)

16:42:42,206 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.Class.forName(Class.java:247)

16:42:42,207 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.ClassLoaderClassCloner.clone(ClassLoaderClassCloner.java:46)

16:42:42,208 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:158)

16:42:42,209 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

16:42:42,210 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:187)

16:42:42,210 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

16:42:42,211 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.cloneFields(SerializingCloner.java:348)

16:42:42,212 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:309)

16:42:42,213 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:254)

16:42:42,214 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

16:42:42,215 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.cloneFields(SerializingCloner.java:348)

16:42:42,216 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:309)

16:42:42,217 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:286)

16:42:42,218 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:254)

16:42:42,219 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

16:42:42,220 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner$StepObjectInput.doReadObject(SerializingCloner.java:738)

16:42:42,221 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)

16:42:42,222 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.MarshallerObjectInputStream.readObjectOverride(MarshallerObjectInputStream.java:57)

16:42:42,223 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344)

16:42:42,224 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.util.ArrayList.readObject(ArrayList.java:593)

16:42:42,224 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at sun.reflect.GeneratedMethodAccessor789.invoke(Unknown Source)

16:42:42,225 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

16:42:42,226 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at java.lang.reflect.Method.invoke(Method.java:597)

16:42:42,227 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:213)

16:42:42,228 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:302)

16:42:42,229 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:254)

16:42:42,230 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

16:42:42,231 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:225)

16:42:42,232 ERROR [stderr] (http-localhost-127.0.0.1-8080-3) ... 65 more
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.RuntimeException: ClassNotFoundException marshaling EJB parameters