You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Patrick Clark <pa...@srcp.com> on 2009/09/17 21:13:51 UTC
OpenEJB on Tomcat
Hi,
I am having a problem running the HelloEjbService example. I have
attached the error below. The other examples seem to work just fine,
including the HelloService. Can anyone pinpoint what I have done wrong?
Here is my environment:
- Tomcat 6.0.20
- Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM)
64-Bit Server VM (build 14.2-b01, mixed mode)
- Ubuntu 9.04 (64 bit)
- OpenEJB 3.1.1
Thanks,
Patrick Clark
patrickclark@srcp.com
Sep 17, 2009 12:45:39 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: java.rmi.RemoteException: The bean
encountered a non-application exception; nested exception is:
java.lang.RuntimeException: Failed to reserialize soap message: The
bean encountered a non-application exception; nested exception is:
java.lang.RuntimeException: Failed to reserialize soap message
at
org.apache.openejb.server.cxf.ejb.EjbMethodInvoker.preEjbInvoke(EjbMethodInvoker.java:97)
at
org.apache.openejb.server.cxf.ejb.EjbMethodInvoker.invoke(EjbMethodInvoker.java:61)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor
$1.run(ServiceInvokerInterceptor.java:56)
at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77)
at
org.apache.openejb.server.cxf.HttpDestination.invoke(HttpDestination.java:111)
at
org.apache.openejb.server.cxf.CxfWsContainer.processPOST(CxfWsContainer.java:121)
at
org.apache.openejb.server.cxf.CxfWsContainer.onMessage(CxfWsContainer.java:92)
at
org.apache.openejb.server.webservices.WsServlet.service(WsServlet.java:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.openejb.InvalidateReferenceException:
java.rmi.RemoteException: The bean encountered a non-application
exception; nested exception is:
java.lang.RuntimeException: Failed to reserialize soap message: The
bean encountered a non-application exception; nested exception is:
java.lang.RuntimeException: Failed to reserialize soap message
at
org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:148)
at
org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:233)
at
org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:174)
at
org.apache.openejb.server.cxf.ejb.EjbMethodInvoker.preEjbInvoke(EjbMethodInvoker.java:83)
... 23 more
Caused by: java.rmi.RemoteException: The bean encountered a
non-application exception; nested exception is:
java.lang.RuntimeException: Failed to reserialize soap message
at
org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException(EjbTransactionUtil.java:147)
... 26 more
Caused by: java.lang.RuntimeException: Failed to reserialize soap
message
at
org.apache.openejb.server.cxf.ejb.EjbInterceptor.intercept(EjbInterceptor.java:119)
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 org.apache.openejb.core.interceptor.ReflectionInvocationContext
$Invocation.invoke(ReflectionInvocationContext.java:158)
at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:128)
at
org.apache.openejb.core.stateless.StatelessContainer.invokeWebService(StatelessContainer.java:302)
at
org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:217)
... 25 more
Caused by: java.io.IOException: mark/reset not supported
at java.io.InputStream.reset(InputStream.java:334)
at
org.apache.openejb.server.cxf.ejb.EjbInterceptor.reserialize(EjbInterceptor.java:186)
at
org.apache.openejb.server.cxf.ejb.EjbInterceptor.intercept(EjbInterceptor.java:117)
... 34 more
This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
SOURCECORP, Incorporated
www.srcp.com
Re: OpenEJB on Tomcat
Posted by David Blevins <da...@visi.com>.
On Sep 17, 2009, at 12:13 PM, Patrick Clark wrote:
> Hi,
>
> I am having a problem running the HelloEjbService example. I have
> attached the error below. The other examples seem to work just fine,
> including the HelloService. Can anyone pinpoint what I have done
> wrong?
>
> Here is my environment:
> - Tomcat 6.0.20
> - Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java
> HotSpot(TM)
> 64-Bit Server VM (build 14.2-b01, mixed mode)
> - Ubuntu 9.04 (64 bit)
> - OpenEJB 3.1.1
> Sep 17, 2009 12:45:39 PM org.apache.cxf.phase.PhaseInterceptorChain
> doIntercept
[...]
> Caused by: java.io.IOException: mark/reset not supported
> at java.io.InputStream.reset(InputStream.java:334)
> at
> org
> .apache
> .openejb
> .server.cxf.ejb.EjbInterceptor.reserialize(EjbInterceptor.java:186)
> at
> org
> .apache
> .openejb.server.cxf.ejb.EjbInterceptor.intercept(EjbInterceptor.java:
> 117)
> ... 34 more
Seems like the code in question was part of this change:
https://issues.apache.org/jira/browse/OPENEJB-1001
Jean-Louis, do you have any idea what is going on with that chunk of
code?
-David