Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 46831 invoked from network); 3 Apr 2009 18:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 18:52:57 -0000 Received: (qmail 85367 invoked by uid 500); 3 Apr 2009 18:43:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 85326 invoked by uid 500); 3 Apr 2009 18:43:34 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 85305 invoked by uid 99); 3 Apr 2009 18:43:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 18:43:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 18:43:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC05C234C003 for ; Fri, 3 Apr 2009 11:43:12 -0700 (PDT) Message-ID: <1157230145.1238784192951.JavaMail.jira@brutus> Date: Fri, 3 Apr 2009 11:43:12 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-2145) Proxy in JCA connector throws exception due to concurrency issues In-Reply-To: <2132452810.1238522690796.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp reassigned CXF-2145: -------------------------------- Assignee: Daniel Kulp > Proxy in JCA connector throws exception due to concurrency issues > ----------------------------------------------------------------- > > Key: CXF-2145 > URL: https://issues.apache.org/jira/browse/CXF-2145 > Project: CXF > Issue Type: Bug > Components: Integration > Affects Versions: 2.1, 2.0.6, 2.2 > Reporter: Seumas Soltysik > Assignee: Daniel Kulp > Attachments: patch.txt, patch2.txt, patch3.txt > > > A customer is having a problem with concurrent access to a JCA endpoint that is deployed in WebSphere. The stacktrace is below. > They are running a 2.0.x version of CXF with WebSphere 6.1.0.19, HP/UX version B.11.23, Java 1.5.0.13 . > The problem is that the JCA connector uses a single MDB/EJB proxy for all threads which is causing the exception to be thrown. The solution is to create a pool of proxies which can be accessed so that the proxy is used by no more than 1 thread at a time. > [3/10/09 15:55:19:685 EDT] 0000042f DispatchMDBIn E Failed to obtain service object java:comp/env/GreeterWithWsdlLocalHome > java.lang.IllegalStateException: Multiple threads can not use same MessageEndpoint proxy instance concurrently > at com.ibm.ejs.container.MessageEndpointHandler.throwIllegalStateException(MessageEndpointHandler.java:599) > at com.ibm.ejs.container.MessageEndpointHandler.checkState(MessageEndpointHandler.java:433) > at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:889) > at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:747) > at $Proxy50.lookupTargetObject(Unknown Source) > at org.apache.cxf.jca.inbound.DispatchMDBInvoker.getServiceObject(DispatchMDBInvoker.java:57) > at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:51) > 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:221) > at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77) > at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:280) > at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:254) > at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.