0 Replies Latest reply on Dec 17, 2013 9:51 AM by gokulraj k

    java.lang.RuntimeException: IOException marshaling EJB parameters

    gokulraj k Newbie

      Hi All,

       

      I am migrating Jboss 4.2.2GA to Jboss 7.1.1 final. My technology was JSF1.2. While migrating the jboss we came across some issue but most of them are fixed except one. We are facing an exception as below:

       

      17:27:23,171 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) java.lang.RuntimeException: IOException marshaling EJB parameters

       

      17:27:23,172 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:227)

       

      17:27:23,172 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:216)

       

      17:27:23,173 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:133)

       

      17:27:23,173 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:179)

       

      17:27:23,174 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:43)

       

      17:27:23,174 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

       

      17:27:23,175 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)

       

      17:27:23,175 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

       

      17:27:23,176 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)

       

      17:27:23,176 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)

       

      17:27:23,177 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)

       

      17:27:23,177 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at $Proxy12.getUpdateAttachment(Unknown Source)

       

      17:27:23,178 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at com.asone.managedbeans.common.MbnAttachments.finish(MbnAttachments.java:517)

       

      17:27:23,178 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

      17:27:23,179 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

       

      17:27:23,179 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

       

      17:27:23,180 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at java.lang.reflect.Method.invoke(Unknown Source)

       

      17:27:23,181 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.el.parser.AstValue.invoke(AstValue.java:262)

       

      17:27:23,181 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)

       

      17:27:23,182 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)

       

      17:27:23,182 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)

       

      17:27:23,183 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

       

      17:27:23,184 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:774)

       

      17:27:23,184 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at javax.faces.component.UICommand.broadcast(UICommand.java:372)

       

      17:27:23,185 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)

       

      17:27:23,186 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)

       

      17:27:23,186 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)

       

      17:27:23,187 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)

       

      17:27:23,188 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

       

      17:27:23,188 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

       

      17:27:23,189 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

       

      17:27:23,190 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

       

      17:27:23,190 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

       

      17:27:23,191 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

      17:27:23,192 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)

       

      17:27:23,192 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

       

      17:27:23,193 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

      17:27:23,194 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

       

      17:27:23,195 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

       

      17:27:23,195 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

       

      17:27:23,196 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

       

      17:27:23,196 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

       

      17:27:23,197 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

      17:27:23,197 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)

       

      17:27:23,198 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

       

      17:27:23,199 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

      17:27:23,199 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at com.asone.webutil.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:94)

       

      17:27:23,200 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

       

      17:27:23,200 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

       

      17:27:23,201 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

       

      17:27:23,202 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

       

      17:27:23,202 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

       

      17:27:23,203 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

       

      17:27:23,204 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       

      17:27:23,204 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       

      17:27:23,204 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

       

      17:27:23,205 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

       

      17:27:23,205 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

       

      17:27:23,206 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

       

      17:27:23,206 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at java.lang.Thread.run(Unknown Source)

       

      17:27:23,207 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) Caused by: java.io.NotSerializableException: java.io.ByteArrayInputStream

       

      17:27:23,208 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:256)

       

      17:27:23,208 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

       

      17:27:23,209 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.cloneFields(SerializingCloner.java:348)

       

      17:27:23,210 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:309)

       

      17:27:23,210 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:254)

       

      17:27:23,211 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:135)

       

      17:27:23,211 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) at org.jboss.as.ejb3.remote.LocalEjbReceiver.clone(LocalEjbReceiver.java:225)

       

      17:27:23,212 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)        ... 59 more

       

       

      Please suggest for some ideas to overcome the above.