From yhunt@example.com Sat Dec 01 01:10:54 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 42574 invoked from network); 1 Dec 2007 01:10:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2007 01:10:54 -0000 Received: (qmail 70640 invoked by uid 500); 1 Dec 2007 01:10:42 -0000 Delivered-To: yhunt@example.com Received: (qmail 70628 invoked by uid 500); 1 Dec 2007 01:10:42 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 70619 invoked by uid 99); 1 Dec 2007 01:10:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 17:10:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO newman.cs.indiana.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 01:10:19 +0000 Received: from school.cs.indiana.edu (school.cs.indiana.edu [83.161.120.155]) by newman.cs.indiana.edu (8.13.1/8.13.1/IUCS_2.80) with ESMTP id lB11ALgu020480 for <yhunt@example.com>; Fri, 30 Nov 2007 20:10:21 -0500 Date: Fri, 30 Nov 2007 20:10:21 -0500 (EST) From: Lavanya Ramakrishnan <yhunt@example.com> To: yhunt@example.com Subject: Re: Problem with multiple concurrent clients In-Reply-To: <yhunt@example.com> Message-ID: <yhunt@example.com> References: <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Thanks! This is looking really good now! When I have a large number of connections (>75) I am beginning to see some TimeoutExceptions from the reply response. Is there a parameter I can tweak for the timeout value? thanks again! Lavanya On Fri, 30 Nov 2007, Matthieu Riou wrote: > Hi, > > Sorry for taking so long but I've been side-tracked a couple of times and > this wasn't trivial to debug either. So I've found a couple of problems: > > 1. A potential deadlock (that was happening once in a while) in our JPA > Process DAO. Basically each new instance creation resulted in an update on > the very same process record to increase some counter, which was pretty bad. > > 2. A much more tricky bug with OpenJPA committing the transaction once in a > while without us asking for it. This appeared to be somewhat linked to the > Geronimo transaction manager as I've only seen that happening with it. So > once a while, when OpenJPA was getting a new set of sequence numbers to > assign to primary keys, it forced a commit in the middle of our transaction. > Hence errors about not having a transaction anymore afterward. I've upgraded > to OpenJPA 1.0.1 and it has been fixed, so it seems to work properly for me > know. > > I've done some tests on Tomcat/MySQL with 30 threads and it worked properly. > I think there's a lot we could do to improve performances by optimizing the > queries but I don't have much time for that right now. But at still it works > and it's not ridiculously slow with enough threads. So update your version > of the 1.1 branch and you should see an improvement. > > Cheers, > Matthieu > > On Nov 28, 2007 5:28 PM, Matthieu Riou <yhunt@example.com> wrote: > > > Okay I can reproduce the problem, it's on Derby but I think in that case > > it doesn't make much difference. Seems to be a big database deadlock... I'll > > keep you posted. > > > > Cheers, > > Matthieu > > > > > > On Nov 28, 2007 3:51 PM, Lavanya Ramakrishnan <yhunt@example.com> > > wrote: > > > > > Just to clarify, I am only trying to run 5 parallel clients but they do > > > make repeated helloWorld calls. > > > > > > I added these properties. But I am still getting the NPE. but in > > > addition I am seeing another exception which might be a clue? > > > > > > The entire log is at http://www.cs.indiana.edu/~laramakr/catalina.out.1<http://www.cs.indiana.edu/%7Elaramakr/catalina.out.1> > > > > > > > > > 15:37:13,297 DEBUG [ExecutionQueueImpl] >> dequeueReaction() > > > ERROR - GeronimoLog.error(108) | Method "run" in class > > > "org.apache.ode.bpel.runtime.REPLY" threw an unexpected exception. > > > org.apache.ode.bpel.iapi.ContextException: Unable to register > > > synchronizer. > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer( > > > SimpleScheduler.java:206) > > > at > > > org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.responseReceived( > > > MyRoleMessageExchangeImpl.java :215) > > > at > > > org.apache.ode.bpel.engine.MessageExchangeImpl.setResponse( > > > MessageExchangeImpl.java:173) > > > at > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.reply( > > > BpelRuntimeContextImpl.java:544) > > > at org.apache.ode.bpel.runtime.REPLY.run(REPLY.java:65) > > > at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > DelegatingMethodAccessorImpl.java :25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451) > > > at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java :139) > > > at > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute( > > > BpelRuntimeContextImpl.java:838) > > > at > > > org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance( > > > PartnerLinkMyRoleImpl.java :197) > > > at > > > org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java > > > :167) > > > at > > > org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java > > > :335) > > > at > > > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob ( > > > BpelEngineImpl.java:328) > > > at > > > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob( > > > BpelServerImpl.java:365) > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > SimpleScheduler.java:341) > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > SimpleScheduler.java:340) > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction( > > > SimpleScheduler.java:179) > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > SimpleScheduler.java:339) > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > SimpleScheduler.java:336) > > > at > > > java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:269) > > > at java.util.concurrent.FutureTask.run(FutureTask.java:123) > > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > > > ThreadPoolExecutor.java:650) > > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run ( > > > ThreadPoolExecutor.java:675) > > > at java.lang.Thread.run(Thread.java:595) > > > Caused by: java.lang.NullPointerException > > > at > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer ( > > > SimpleScheduler.java:194) > > > ... 25 more > > > > > > > > > > > > On Wed, 28 Nov 2007, Matthieu Riou wrote: > > > > > > > In internal mode you should adjust the pool size with something like: > > > > > > > > ode-axis2.db.pool.max=100 > > > > ode-axis2.db.pool.min=40 > > > > > > > > With 100 threads and the default pool size (10) you're *very* probably > > > > exhausting the number of connections. > > > > > > > > Cheers, > > > > Matthieu > > > > > > > > On Nov 28, 2007 12:04 PM, Lavanya Ramakrishnan < > > > yhunt@example.com> > > > > wrote: > > > > > > > > > > Lavanya, are you sure you configured a large enough connection > > > pool to > > > > > > handle all your requests? If you start a large number of parrallel > > > > > requests > > > > > > they'll all try to get a DB connection and if there's not enough > > > of them > > > > > > available, things run bad. Let me know. > > > > > > > > > > I also suspected a pool exhaustion. So based on earlier posts I am > > > using > > > > > db.mode to be INTERNAL. How do I increase the db connection pool in > > > this > > > > > mode? I looked in the FAQ etc but didn't find a mention. > > > > > > > > > > Here is what I have so far in my ode-axis2.properites. > > > > > > > > > > ode-axis2.db.mode=INTERNAL > > > > > ode-axis2.db.int.jdbcurl=*** > > > > > ode-axis2.db.int.driver=com.mysql.jdbc.Driver > > > > > ode-axis2.threads.pool.size=200 > > > > > > > > > > > > > > > > > > > > > > From yhunt@example.com Sat Dec 01 05:04:07 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 25298 invoked from network); 1 Dec 2007 05:04:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2007 05:04:07 -0000 Received: (qmail 65424 invoked by uid 500); 1 Dec 2007 05:03:55 -0000 Delivered-To: yhunt@example.com Received: (qmail 65410 invoked by uid 500); 1 Dec 2007 05:03:55 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 65401 invoked by uid 99); 1 Dec 2007 05:03:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 21:03:55 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhunt@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wa-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 05:03:33 +0000 Received: by wa-out-1112.google.com with SMTP id j4so3261077wah for <yhunt@example.com>; Fri, 30 Nov 2007 21:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=fuijGdm15prFKleqCj5BCE/xu5M5pC0jw+Q5e0lAAxo=; b=nBR/IzmCJYq2ZIyO/vly4gAzqaSLb7KOjta3jZhy2CcM4UUa6Fjaio7YYJK3LRTpNgcedw5liLp9AHZRLa+bvgubRu1fNlefLV6wIdcGD0ZOfuueXpX6Vle1EZr8PpK84jEfywdr0KysRwFcFb/Z/p56sM3s29JisrKa23T42O0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=LsiJc31wT2B8c+TDvlf9bbsQTvxA31Q53b147tkO4gvBRZBy7mQYXA0Pj6NIVQpBLuJ92KCUiYuakK8CMopy/wAmW6fXJz3z1jkg0KJMrh4B+YTuMsv0P+Gmf8Sc5FWYfr/rd31V+nTDsgWLuMZKJILeTKXv9kiwXsq1gfKWkw4= Received: by 83.161.120.155 with SMTP id w2mr1098580wad.1196485416042; Fri, 30 Nov 2007 21:03:36 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 30 Nov 2007 21:03:35 -0800 (PST) Message-ID: <yhunt@example.com> Date: Fri, 30 Nov 2007 21:03:35 -0800 From: "Matthieu Riou" <yhunt@example.com> Sender: yhunt@example.com To: yhunt@example.com Subject: Re: Problem with multiple concurrent clients In-Reply-To: <yhunt@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4361_21166627.1196485416033" References: <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> X-Google-Sender-Auth: b4036cedb5cd2ba7 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4361_21166627.1196485416033 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Nov 30, 2007 5:10 PM, Lavanya Ramakrishnan <yhunt@example.com> wrote: > Thanks! This is looking really good now! > > When I have a large number of connections (>75) I am beginning to see some > TimeoutExceptions from the reply response. Is there a parameter I can > tweak for the timeout value? > Do you know exactly what times out or have a stack trace? Could just be your client connection. Cheers, Matthieu > > thanks again! > Lavanya > > On Fri, 30 Nov 2007, Matthieu Riou wrote: > > > Hi, > > > > Sorry for taking so long but I've been side-tracked a couple of times > and > > this wasn't trivial to debug either. So I've found a couple of problems: > > > > 1. A potential deadlock (that was happening once in a while) in our JPA > > Process DAO. Basically each new instance creation resulted in an update > on > > the very same process record to increase some counter, which was pretty > bad. > > > > 2. A much more tricky bug with OpenJPA committing the transaction once > in a > > while without us asking for it. This appeared to be somewhat linked to > the > > Geronimo transaction manager as I've only seen that happening with it. > So > > once a while, when OpenJPA was getting a new set of sequence numbers to > > assign to primary keys, it forced a commit in the middle of our > transaction. > > Hence errors about not having a transaction anymore afterward. I've > upgraded > > to OpenJPA 1.0.1 and it has been fixed, so it seems to work properly for > me > > know. > > > > I've done some tests on Tomcat/MySQL with 30 threads and it worked > properly. > > I think there's a lot we could do to improve performances by optimizing > the > > queries but I don't have much time for that right now. But at still it > works > > and it's not ridiculously slow with enough threads. So update your > version > > of the 1.1 branch and you should see an improvement. > > > > Cheers, > > Matthieu > > > > On Nov 28, 2007 5:28 PM, Matthieu Riou <yhunt@example.com> wrote: > > > > > Okay I can reproduce the problem, it's on Derby but I think in that > case > > > it doesn't make much difference. Seems to be a big database > deadlock... I'll > > > keep you posted. > > > > > > Cheers, > > > Matthieu > > > > > > > > > On Nov 28, 2007 3:51 PM, Lavanya Ramakrishnan <yhunt@example.com > > > > > wrote: > > > > > > > Just to clarify, I am only trying to run 5 parallel clients but they > do > > > > make repeated helloWorld calls. > > > > > > > > I added these properties. But I am still getting the NPE. but in > > > > addition I am seeing another exception which might be a clue? > > > > > > > > The entire log is at > http://www.cs.indiana.edu/~laramakr/catalina.out.1<http://www.cs.indiana.edu/%7Elaramakr/catalina.out.1> > <http://www.cs.indiana.edu/%7Elaramakr/catalina.out.1> > > > > > > > > > > > > 15:37:13,297 DEBUG [ExecutionQueueImpl] >> dequeueReaction() > > > > ERROR - GeronimoLog.error(108) | Method "run" in class > > > > "org.apache.ode.bpel.runtime.REPLY" threw an unexpected exception. > > > > org.apache.ode.bpel.iapi.ContextException: Unable to register > > > > synchronizer. > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer > ( > > > > SimpleScheduler.java:206) > > > > at > > > > > org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.responseReceived( > > > > MyRoleMessageExchangeImpl.java :215) > > > > at > > > > org.apache.ode.bpel.engine.MessageExchangeImpl.setResponse( > > > > MessageExchangeImpl.java:173) > > > > at > > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.reply( > > > > BpelRuntimeContextImpl.java:544) > > > > at org.apache.ode.bpel.runtime.REPLY.run(REPLY.java:65) > > > > at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown > Source) > > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > > DelegatingMethodAccessorImpl.java :25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java > :451) > > > > at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139) > > > > at > > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute( > > > > BpelRuntimeContextImpl.java:838) > > > > at > > > > org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance( > > > > PartnerLinkMyRoleImpl.java :197) > > > > at > > > > org.apache.ode.bpel.engine.BpelProcess.invokeProcess( > BpelProcess.java > > > > :167) > > > > at > > > > org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent( > BpelProcess.java > > > > :335) > > > > at > > > > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob ( > > > > BpelEngineImpl.java:328) > > > > at > > > > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob( > > > > BpelServerImpl.java:365) > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > > SimpleScheduler.java:341) > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > > SimpleScheduler.java:340) > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction( > > > > SimpleScheduler.java:179) > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > > SimpleScheduler.java:339) > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > > SimpleScheduler.java:336) > > > > at > > > > java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:269) > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:123) > > > > at > > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > > > > ThreadPoolExecutor.java:650) > > > > at > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run ( > > > > ThreadPoolExecutor.java:675) > > > > at java.lang.Thread.run(Thread.java:595) > > > > Caused by: java.lang.NullPointerException > > > > at > > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer( > > > > SimpleScheduler.java:194) > > > > ... 25 more > > > > > > > > > > > > > > > > On Wed, 28 Nov 2007, Matthieu Riou wrote: > > > > > > > > > In internal mode you should adjust the pool size with something > like: > > > > > > > > > > ode-axis2.db.pool.max=100 > > > > > ode-axis2.db.pool.min=40 > > > > > > > > > > With 100 threads and the default pool size (10) you're *very* > probably > > > > > exhausting the number of connections. > > > > > > > > > > Cheers, > > > > > Matthieu > > > > > > > > > > On Nov 28, 2007 12:04 PM, Lavanya Ramakrishnan < > > > > yhunt@example.com> > > > > > wrote: > > > > > > > > > > > > Lavanya, are you sure you configured a large enough connection > > > > pool to > > > > > > > handle all your requests? If you start a large number of > parrallel > > > > > > requests > > > > > > > they'll all try to get a DB connection and if there's not > enough > > > > of them > > > > > > > available, things run bad. Let me know. > > > > > > > > > > > > I also suspected a pool exhaustion. So based on earlier posts I > am > > > > using > > > > > > db.mode to be INTERNAL. How do I increase the db connection pool > in > > > > this > > > > > > mode? I looked in the FAQ etc but didn't find a mention. > > > > > > > > > > > > Here is what I have so far in my ode-axis2.properites. > > > > > > > > > > > > ode-axis2.db.mode=INTERNAL > > > > > > ode-axis2.db.int.jdbcurl=*** > > > > > > ode-axis2.db.int.driver=com.mysql.jdbc.Driver > > > > > > ode-axis2.threads.pool.size=200 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_4361_21166627.1196485416033-- From yhunt@example.com Sat Dec 01 19:48:50 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 42058 invoked from network); 1 Dec 2007 19:48:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2007 19:48:50 -0000 Received: (qmail 85216 invoked by uid 500); 1 Dec 2007 19:48:38 -0000 Delivered-To: yhunt@example.com Received: (qmail 85106 invoked by uid 500); 1 Dec 2007 19:48:37 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 85097 invoked by uid 99); 1 Dec 2007 19:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 11:48:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO newman.cs.indiana.edu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Dec 2007 19:48:16 +0000 Received: from school.cs.indiana.edu (school.cs.indiana.edu [83.161.120.155]) by newman.cs.indiana.edu (8.13.1/8.13.1/IUCS_2.80) with ESMTP id lB1JmHxS013498 for <yhunt@example.com>; Sat, 1 Dec 2007 14:48:17 -0500 Date: Sat, 1 Dec 2007 14:48:17 -0500 (EST) From: Lavanya Ramakrishnan <yhunt@example.com> To: yhunt@example.com Subject: Re: Problem with multiple concurrent clients In-Reply-To: <yhunt@example.com> Message-ID: <yhunt@example.com> References: <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org This is the error I see in the logs: ERROR - GeronimoLog.error(104) | Timeout or execution error when waiting for response to MEX {MyRoleMex#hqejbhcnphr2sems2kt6p1 [Client hqejbhcnphr2sems2kt6p0] calling {http://ode/bpel/unit-test.w\ sdl}HelloService.hello(...)} java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@1ec697e timed out when waiting for a response! On Fri, 30 Nov 2007, Matthieu Riou wrote: > On Nov 30, 2007 5:10 PM, Lavanya Ramakrishnan <yhunt@example.com> > wrote: > > > Thanks! This is looking really good now! > > > > When I have a large number of connections (>75) I am beginning to see some > > TimeoutExceptions from the reply response. Is there a parameter I can > > tweak for the timeout value? > > > > Do you know exactly what times out or have a stack trace? Could just be your > client connection. > > Cheers, > Matthieu > > > > > > thanks again! > > Lavanya > > > > On Fri, 30 Nov 2007, Matthieu Riou wrote: > > > > > Hi, > > > > > > Sorry for taking so long but I've been side-tracked a couple of times > > and > > > this wasn't trivial to debug either. So I've found a couple of problems: > > > > > > 1. A potential deadlock (that was happening once in a while) in our JPA > > > Process DAO. Basically each new instance creation resulted in an update > > on > > > the very same process record to increase some counter, which was pretty > > bad. > > > > > > 2. A much more tricky bug with OpenJPA committing the transaction once > > in a > > > while without us asking for it. This appeared to be somewhat linked to > > the > > > Geronimo transaction manager as I've only seen that happening with it. > > So > > > once a while, when OpenJPA was getting a new set of sequence numbers to > > > assign to primary keys, it forced a commit in the middle of our > > transaction. > > > Hence errors about not having a transaction anymore afterward. I've > > upgraded > > > to OpenJPA 1.0.1 and it has been fixed, so it seems to work properly for > > me > > > know. > > > > > > I've done some tests on Tomcat/MySQL with 30 threads and it worked > > properly. > > > I think there's a lot we could do to improve performances by optimizing > > the > > > queries but I don't have much time for that right now. But at still it > > works > > > and it's not ridiculously slow with enough threads. So update your > > version > > > of the 1.1 branch and you should see an improvement. > > > > > > Cheers, > > > Matthieu > > > > > > On Nov 28, 2007 5:28 PM, Matthieu Riou <yhunt@example.com> wrote: > > > > > > > Okay I can reproduce the problem, it's on Derby but I think in that > > case > > > > it doesn't make much difference. Seems to be a big database > > deadlock... I'll > > > > keep you posted. > > > > > > > > Cheers, > > > > Matthieu > > > > > > > > > > > > On Nov 28, 2007 3:51 PM, Lavanya Ramakrishnan <yhunt@example.com > > > > > > > wrote: > > > > > > > > > Just to clarify, I am only trying to run 5 parallel clients but they > > do > > > > > make repeated helloWorld calls. > > > > > > > > > > I added these properties. But I am still getting the NPE. but in > > > > > addition I am seeing another exception which might be a clue? > > > > > > > > > > The entire log is at > > http://www.cs.indiana.edu/~laramakr/catalina.out.1<http://www.cs.indiana.edu/%7Elaramakr/catalina.out.1> > > <http://www.cs.indiana.edu/%7Elaramakr/catalina.out.1> > > > > > > > > > > > > > > > 15:37:13,297 DEBUG [ExecutionQueueImpl] >> dequeueReaction() > > > > > ERROR - GeronimoLog.error(108) | Method "run" in class > > > > > "org.apache.ode.bpel.runtime.REPLY" threw an unexpected exception. > > > > > org.apache.ode.bpel.iapi.ContextException: Unable to register > > > > > synchronizer. > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer > > ( > > > > > SimpleScheduler.java:206) > > > > > at > > > > > > > org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.responseReceived( > > > > > MyRoleMessageExchangeImpl.java :215) > > > > > at > > > > > org.apache.ode.bpel.engine.MessageExchangeImpl.setResponse( > > > > > MessageExchangeImpl.java:173) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.reply( > > > > > BpelRuntimeContextImpl.java:544) > > > > > at org.apache.ode.bpel.runtime.REPLY.run(REPLY.java:65) > > > > > at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown > > Source) > > > > > at > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > > > DelegatingMethodAccessorImpl.java :25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at > > > > > org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java > > :451) > > > > > at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute( > > > > > BpelRuntimeContextImpl.java:838) > > > > > at > > > > > org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance( > > > > > PartnerLinkMyRoleImpl.java :197) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelProcess.invokeProcess( > > BpelProcess.java > > > > > :167) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent( > > BpelProcess.java > > > > > :335) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob ( > > > > > BpelEngineImpl.java:328) > > > > > at > > > > > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob( > > > > > BpelServerImpl.java:365) > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > > > SimpleScheduler.java:341) > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call( > > > > > SimpleScheduler.java:340) > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction( > > > > > SimpleScheduler.java:179) > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > > > SimpleScheduler.java:339) > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler$4.call( > > > > > SimpleScheduler.java:336) > > > > > at > > > > > java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:269) > > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:123) > > > > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > > > > > ThreadPoolExecutor.java:650) > > > > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run ( > > > > > ThreadPoolExecutor.java:675) > > > > > at java.lang.Thread.run(Thread.java:595) > > > > > Caused by: java.lang.NullPointerException > > > > > at > > > > > org.apache.ode.scheduler.simple.SimpleScheduler.registerSynchronizer( > > > > > SimpleScheduler.java:194) > > > > > ... 25 more > > > > > > > > > > > > > > > > > > > > On Wed, 28 Nov 2007, Matthieu Riou wrote: > > > > > > > > > > > In internal mode you should adjust the pool size with something > > like: > > > > > > > > > > > > ode-axis2.db.pool.max=100 > > > > > > ode-axis2.db.pool.min=40 > > > > > > > > > > > > With 100 threads and the default pool size (10) you're *very* > > probably > > > > > > exhausting the number of connections. > > > > > > > > > > > > Cheers, > > > > > > Matthieu > > > > > > > > > > > > On Nov 28, 2007 12:04 PM, Lavanya Ramakrishnan < > > > > > yhunt@example.com> > > > > > > wrote: > > > > > > > > > > > > > > Lavanya, are you sure you configured a large enough connection > > > > > pool to > > > > > > > > handle all your requests? If you start a large number of > > parrallel > > > > > > > requests > > > > > > > > they'll all try to get a DB connection and if there's not > > enough > > > > > of them > > > > > > > > available, things run bad. Let me know. > > > > > > > > > > > > > > I also suspected a pool exhaustion. So based on earlier posts I > > am > > > > > using > > > > > > > db.mode to be INTERNAL. How do I increase the db connection pool > > in > > > > > this > > > > > > > mode? I looked in the FAQ etc but didn't find a mention. > > > > > > > > > > > > > > Here is what I have so far in my ode-axis2.properites. > > > > > > > > > > > > > > ode-axis2.db.mode=INTERNAL > > > > > > > ode-axis2.db.int.jdbcurl=*** > > > > > > > ode-axis2.db.int.driver=com.mysql.jdbc.Driver > > > > > > > ode-axis2.threads.pool.size=200 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From yhunt@example.com Mon Dec 03 14:05:30 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 35289 invoked from network); 3 Dec 2007 14:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 14:05:30 -0000 Received: (qmail 30305 invoked by uid 500); 3 Dec 2007 14:05:18 -0000 Delivered-To: yhunt@example.com Received: (qmail 30288 invoked by uid 500); 3 Dec 2007 14:05:17 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 30277 invoked by uid 99); 3 Dec 2007 14:05:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 06:05:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhunt@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO email.polytech.unice.fr) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 14:04:58 +0000 Received: from asmodeus.local (unknown [83.161.120.155]) by email.polytech.unice.fr (Postfix) with ESMTP id 7D4FF17B12; Mon, 3 Dec 2007 15:04:59 +0100 (CET) Message-ID: <yhunt@example.com> Date: Mon, 03 Dec 2007 15:05:00 +0100 From: =?windows-1252?Q?S=3Febastien_Mosser?= <yhunt@example.com> Organization: =?windows-1252?Q?Universit=E9_de_Nice_/_CNRS?= User-Agent: Thunderbird 83.161.120.155 (Macintosh/20071031) MIME-Version: 1.0 To: yhunt@example.com CC: Mireille Blay-Fornarino <yhunt@example.com>, Michel RIVEILL <yhunt@example.com> Subject: NullPointerException at process deployment Content-Type: multipart/mixed; boundary="------------020807070600090405000509" X-Virus-Checked: Checked by ClamAV on apache.org --------------020807070600090405000509 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Dear everybody. I'm a "newbe" in ODE World, but I've got a serious problem trying to deploy a BPEL process in ODE (typically a Null pointer exception !). I wrote a simple process using Eclipse BPEL Designer, providing one service and invoking two others. My process is described in BPEL in GetConvertedValue.bpel, and WSDL interface can be found in GetConvertedValue.wsdl. Eclipse generate a new WSDL file dealing with process artefacts, auto-generated. This process 'try' to invoke two partners : - Stock (StockService.wsdl) - Convert (ConvertService.wsdl) I know that I have to bind each partnerLink to endpoints in my deploy.xml descriptor. So, I wrote such binding in 'deploy.xml'. When I try to deploy the directory in my ODE installation (which is supposed to work using the 'counter' tutorial), basically copying my directory into '/opt/jetty-6.1.6/webapps/ode/WEB-INF/processes', I encounter the following error : > ERROR - GeronimoLog.error(108) | Deployment of GetConvertedStockValue failed, aborting for now. > org.apache.ode.bpel.iapi.ContextException: Deployment failed within the engine. > at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:291) > at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144) > at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55) > at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188) > Caused by: java.lang.NullPointerException > at org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisService.java:128) > at org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisService.java:60) > at org.apache.ode.axis2.ODEServer.createService(ODEServer.java:299) > at org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:59) > at org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:442) > at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:221) > at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:275) > at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:526) > at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:70) > at org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:512) > at org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:501) > at org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:507) > at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:284) > ... 3 more After a quick search inside this mailing list archive, It seems to be a deploy.xml trouble ... but I think I miss a point inside it ! Thanks by advance. -- Sebastien Mosser EPU Polytech'Nice - Sophia Antipolis, Bureau 314 CNRS / I3S / Rainbow - http://rainbow.i3s.unice.fr/~mosser --------------020807070600090405000509 Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0"; name="GetConvertedStockValue.bpel" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="GetConvertedStockValue.bpel" <?xml version="1.0" encoding="UTF-8"?> <bpws:process exitOnStandardFault="yes" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0" name="GetConvertedStockValue" suppressJoinFailure="yes" targetNamespace="http://rainbow.i3s.unice.fr/orchestrations.samples/" xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:ns="http://rainbow.i3s.unice.fr/orchestrations.samples/Artifacts" xmlns:ns0="http://implem.stock.services.rainbow.i3s.unice.fr" xmlns:ns1="http://implem.converter.services.rainbow.i3s.unice.fr" xmlns:tns="http://rainbow.i3s.unice.fr/orchestrations.samples/"> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="GetConvertedStockValue.wsdl" namespace="http://rainbow.i3s.unice.fr/orchestrations.samples/"/> <!-- <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://rainbow.i3s.unice.fr/orchestrations.samples/Artifacts"/> --> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="GetConvertedStockValueArtifacts.wsdl" namespace="http://rainbow.i3s.unice.fr/orchestrations.samples/Artifacts"/> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="StockService.wsdl" namespace="http://implem.stock.services.rainbow.i3s.unice.fr"/> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="ConverterService.wsdl" namespace="http://implem.converter.services.rainbow.i3s.unice.fr"/> <bpws:partnerLinks> <bpws:partnerLink myRole="GetConvertedStockValueProvider" name="client" partnerLinkType="tns:GetConvertedStockValue"/> <bpws:partnerLink myRole="StockProvider" name="Stock" partnerLinkType="ns:StockPartner" partnerRole="StockProvider"/> <bpws:partnerLink myRole="ConverterProvider" name="Convert" partnerLinkType="ns:ConverterPartner" partnerRole="ConverterProvider"/> </bpws:partnerLinks> <bpws:variables> <bpws:variable messageType="tns:GetConvertedStockValueRequestMessage" name="input"/> <bpws:variable messageType="tns:GetConvertedStockValueResponseMessage" name="output"/> <bpws:variable messageType="ns0:getValueInUSDollarResponse" name="StockResponse"/> <bpws:variable messageType="ns0:getValueInUSDollarRequest" name="StockRequest"/> <bpws:variable messageType="ns1:ConvertResponse" name="ConvertResponse"/> <bpws:variable messageType="ns1:ConvertRequest" name="ConvertRequest"/> </bpws:variables> <bpws:sequence name="main"> <bpws:receive createInstance="yes" name="receiveInput" operation="process" partnerLink="client" portType="tns:GetConvertedStockValue" variable="input"/> <bpws:assign name="BuildStockInvocationMessage" validate="no"> <bpws:copy> <bpws:from part="payload" variable="input"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:company]]></bpws:query> </bpws:from> <bpws:to part="parameters" variable="StockRequest"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns0:companyCode]]></bpws:query> </bpws:to> </bpws:copy> </bpws:assign> <bpws:invoke inputVariable="StockRequest" name="RetrieveStockValue" operation="getValueInUSDollar" outputVariable="StockResponse" partnerLink="Stock" portType="ns0:StockServicePortType"/> <bpws:if name="CheckStockAnswer"> <bpws:sequence name="ThenConvert"> <bpws:assign name="BuildConvertInvocationMessage" validate="no"> <bpws:copy> <bpws:from> <bpws:literal>USD</bpws:literal> </bpws:from> <bpws:to part="parameters" variable="ConvertRequest"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns1:from]]></bpws:query> </bpws:to> </bpws:copy> <bpws:copy> <bpws:from part="payload" variable="input"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:money]]></bpws:query> </bpws:from> <bpws:to part="parameters" variable="ConvertRequest"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns1:to]]></bpws:query> </bpws:to> </bpws:copy> <bpws:copy> <bpws:from part="parameters" variable="StockResponse"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns0:return]]></bpws:query> </bpws:from> <bpws:to part="parameters" variable="ConvertRequest"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns1:amount]]></bpws:query> </bpws:to> </bpws:copy> </bpws:assign> <bpws:invoke inputVariable="ConvertRequest" name="DoConversion" operation="Convert" outputVariable="ConvertResponse" partnerLink="Convert" portType="ns1:ConverterServicePortType"/> <bpws:if name="CheckConvertedValue"> <bpws:sequence name="ReturnComputedValue"> <bpws:assign name="BuildAnswerMessage" validate="no"> <bpws:copy> <bpws:from part="parameters" variable="StockResponse"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/ns0:return]]></bpws:query> </bpws:from> <bpws:to part="payload" variable="output"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:computedValue]]></bpws:query> </bpws:to> </bpws:copy> </bpws:assign> <bpws:reply name="replyOutput" operation="process" partnerLink="client" portType="tns:GetConvertedStockValue" variable="output"/> </bpws:sequence> <bpws:condition expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[$ConvertResponse.parameters/ns1:return != 0]]></bpws:condition> <bpws:else> <bpws:throw faultName="bpws:invalidVariables" faultVariable="input" name="UnknownMoney"/> </bpws:else> </bpws:if> </bpws:sequence> <bpws:condition expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[$StockResponse.parameters/ns0:return != 0]]></bpws:condition> <bpws:else> <bpws:throw faultName="bpws:invalidVariables" faultVariable="input" name="UnknownCompany"/> </bpws:else> </bpws:if> </bpws:sequence> </bpws:process> --------------020807070600090405000509 Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0"; name="GetConvertedStockValueArtifacts.wsdl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="GetConvertedStockValueArtifacts.wsdl" <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://rainbow.i3s.unice.fr/orchestrations.samples/Artifacts" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://implem.stock.services.rainbow.i3s.unice.fr" xmlns:wsdl1="http://implem.converter.services.rainbow.i3s.unice.fr" name="GetConvertedStockValueArtifacts" targetNamespace="http://rainbow.i3s.unice.fr/orchestrations.samples/Artifacts" xmlns="http://schemas.xmlsoap.org/wsdl/"> <plnk:partnerLinkType name="StockPartner"> <plnk:role name="StockProvider" portType="wsdl:StockServicePortType"/> </plnk:partnerLinkType> <plnk:partnerLinkType name="ConverterPartner"> <plnk:role name="ConverterProvider" portType="wsdl1:ConverterServicePortType"/> </plnk:partnerLinkType> <import location="StockService.wsdl" namespace="http://implem.stock.services.rainbow.i3s.unice.fr"/> <import location="ConverterService.wsdl" namespace="http://implem.converter.services.rainbow.i3s.unice.fr"/> </definitions> --------------020807070600090405000509 Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0"; name="GetConvertedStockValue.wsdl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="GetConvertedStockValue.wsdl" <?xml version="1.0"?> <definitions name="GetConvertedStockValue" targetNamespace="http://rainbow.i3s.unice.fr/orchestrations.samples/" xmlns:tns="http://rainbow.i3s.unice.fr/orchestrations.samples/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TYPE DEFINITION - List of types participating in this BPEL process The BPEL Designer will generate default request and response types but you can define or import any XML Schema type and use them as part of the message types. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <types> <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://rainbow.i3s.unice.fr/orchestrations.samples/" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="GetConvertedStockValueRequest"> <complexType> <sequence> <element name="company" type="string" /> <element name="money" type="string"></element> </sequence> </complexType> </element> <element name="GetConvertedStockValueResponse"> <complexType> <sequence> <element name="computedValue" type="double"/> </sequence> </complexType> </element> </schema> </types> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE TYPE DEFINITION - Definition of the message types used as part of the port type defintions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <message name="GetConvertedStockValueRequestMessage"> <part name="payload" element="tns:GetConvertedStockValueRequest"/> </message> <message name="GetConvertedStockValueResponseMessage"> <part name="payload" element="tns:GetConvertedStockValueResponse"/> </message> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PORT TYPE DEFINITION - A port type groups a set of operations into a logical service unit. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <!-- portType implemented by the GetConvertedStockValue BPEL process --> <portType name="GetConvertedStockValue"> <operation name="process"> <input message="tns:GetConvertedStockValueRequestMessage" /> <output message="tns:GetConvertedStockValueResponseMessage"/> </operation> </portType> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PARTNER LINK TYPE DEFINITION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <plnk:partnerLinkType name="GetConvertedStockValue"> <plnk:role name="GetConvertedStockValueProvider" portType="tns:GetConvertedStockValue"/> </plnk:partnerLinkType> <binding name="HTTP_Binding" type="tns:GetConvertedStockValue"> <http:binding verb="POST"></http:binding> <operation name="process"> <http:operation location="/process"></http:operation> <input> <mime:content type="application/x-www-form-urlencoded"> </mime:content> </input> <output> <mime:content type="text/xml"></mime:content> </output> </operation> </binding> <binding name="SOAP_Binding" type="tns:GetConvertedStockValue"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> <operation name="process"> <soap:operation soapAction="http://rainbow.i3s.unice.fr/orchestrations.samples/process" /> <input> <soap:body use="literal" /> </input> <output> <soap:body use="literal" /> </output> </operation> </binding> <service name="GetConvertedStockValueService"> <port name="ConvertedStock_HTTP" binding="tns:HTTP_Binding"> <http:address location="http://localhost:8080/ode/processes/GetConvertedStockValue/"/> </port> <port name="ConvertedStock_SOAP" binding="tns:SOAP_Binding"> <soap:address location="http://localhost:8080/ode/processes/GetConvertedStockValue/" /> </port> </service> </definitions> --------------020807070600090405000509 Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0"; name="ConverterService.wsdl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ConverterService.wsdl" <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://implem.converter.services.rainbow.i3s.unice.fr" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://implem.converter.services.rainbow.i3s.unice.fr"> <wsdl:documentation>ConverterService</wsdl:documentation> <wsdl:types> <xs:schema xmlns:ns="http://implem.converter.services.rainbow.i3s.unice.fr" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://implem.converter.services.rainbow.i3s.unice.fr"> <xs:element name="Convert"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="from" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="to" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="amount" type="xs:double"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ConvertResponse"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="return" type="xs:double"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="ConvertRequest"> <wsdl:part name="parameters" element="ns0:Convert"/> </wsdl:message> <wsdl:message name="ConvertResponse"> <wsdl:part name="parameters" element="ns0:ConvertResponse"/> </wsdl:message> <wsdl:portType name="ConverterServicePortType"> <wsdl:operation name="Convert"> <wsdl:input message="ns0:ConvertRequest" wsaw:Action="urn:Convert"/> <wsdl:output message="ns0:ConvertResponse" wsaw:Action="urn:ConvertResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ConverterServiceSOAP11Binding" type="ns0:ConverterServicePortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="Convert"> <soap:operation soapAction="urn:Convert" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="ConverterServiceSOAP12Binding" type="ns0:ConverterServicePortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="Convert"> <soap12:operation soapAction="urn:Convert" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> <wsdl:output> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="ConverterServiceHttpBinding" type="ns0:ConverterServicePortType"> <http:binding verb="POST"/> <wsdl:operation name="Convert"> <http:operation location="ConverterService/Convert"/> <wsdl:input> <mime:content type="text/xml" part="Convert"/> </wsdl:input> <wsdl:output> <mime:content type="text/xml" part="Convert"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="ConverterService"> <wsdl:port name="ConverterServiceSOAP11port_http" binding="ns0:ConverterServiceSOAP11Binding"> <soap:address location="http://localhost:8080/axis2/services/ConverterService"/> </wsdl:port> <wsdl:port name="ConverterServiceSOAP12port_http" binding="ns0:ConverterServiceSOAP12Binding"> <soap12:address location="http://localhost:8080/axis2/services/ConverterService"/> </wsdl:port> <wsdl:port name="ConverterServiceHttpport" binding="ns0:ConverterServiceHttpBinding"> <http:address location="http://localhost:8080/axis2/services/ConverterService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> --------------020807070600090405000509 Content-Type: text/xml; name="deploy.xml" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="deploy.xml" PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8ZGVwbG95IHhtbG5zPSJodHRwOi8vd3d3LmFwYWNo ZS5vcmcvb2RlL3NjaGVtYXMvZGQvMjAwNy8wMyIKICAgICAgICAgeG1sbnM6dG5zPSJodHRw Oi8vcmFpbmJvdy5pM3MudW5pY2UuZnIvb3JjaGVzdHJhdGlvbnMuc2FtcGxlcy8iCiAgICAg ICAgIHhtbG5zOnN0b2NrPSJodHRwOi8vaW1wbGVtLmNvbnZlcnRlci5zZXJ2aWNlcy5yYWlu Ym93Lmkzcy51bmljZS5mciIKICAgICAgICAgeG1sbnM6Y29udmVydD0iaHR0cDovL2ltcGxl bS5zdG9jay5zZXJ2aWNlcy5yYWluYm93Lmkzcy51bmljZS5mciIgPgogICAgICAgCiAgIDxw cm9jZXNzIG5hbWU9InRuczpHZXRDb252ZXJ0ZWRTdG9ja1ZhbHVlIj4KICAgICAKICAgICA8 YWN0aXZlPnRydWU8L2FjdGl2ZT4KICAgICAKICAgICA8cHJvdmlkZSBwYXJ0bmVyTGluaz0i dG5zOmNsaWVudCI+CiAgICAgICA8c2VydmljZSBuYW1lPSJ0bnM6R2V0Q29udmVydGVkU3Rv Y2tWYWx1ZVNlcnZpY2UiIHBvcnQ9IkdldENvbnZlcnRlZFN0b2NrVmFsdWUiLz4KICAgICA8 L3Byb3ZpZGU+CiAKICAgICA8aW52b2tlIHBhcnRuZXJMaW5rPSJ0bnM6U3RvY2siPgogICAg IAk8c2VydmljZSBuYW1lPSJzdG9jazpTdG9ja1NlcnZpY2UiIHBvcnQ9InN0b2NrOlN0b2Nr U2VydmljZVNPQVAxMXBvcnRfaHR0cCIgLz4gCiAgICAgPC9pbnZva2U+CiAgICAgCiAgICAg IDxpbnZva2UgcGFydG5lckxpbms9InRuczpDb252ZXJ0Ij4KICAgICAJPHNlcnZpY2UgbmFt ZT0iY29udmVydDpDb252ZXJ0ZXJTZXJ2aWNlIiBwb3J0PSJjb252ZXJ0OkNvbnZlcnRlclNl cnZpY2VTT0FQMTFwb3J0X2h0dHAiIC8+IAogICAgIDwvaW52b2tlPgogICA8L3Byb2Nlc3M+ CiA8L2RlcGxveT4= --------------020807070600090405000509 Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0"; name="StockService.wsdl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="StockService.wsdl" <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://implem.stock.services.rainbow.i3s.unice.fr" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://implem.stock.services.rainbow.i3s.unice.fr"> <wsdl:documentation>StockService</wsdl:documentation> <wsdl:types> <xs:schema xmlns:ns="http://implem.stock.services.rainbow.i3s.unice.fr" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://implem.stock.services.rainbow.i3s.unice.fr"> <xs:element name="getValueInUSDollar"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="companyCode" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getValueInUSDollarResponse"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="return" type="xs:double"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="getValueInUSDollarRequest"> <wsdl:part name="parameters" element="ns0:getValueInUSDollar"/> </wsdl:message> <wsdl:message name="getValueInUSDollarResponse"> <wsdl:part name="parameters" element="ns0:getValueInUSDollarResponse"/> </wsdl:message> <wsdl:portType name="StockServicePortType"> <wsdl:operation name="getValueInUSDollar"> <wsdl:input message="ns0:getValueInUSDollarRequest" wsaw:Action="urn:getValueInUSDollar"/> <wsdl:output message="ns0:getValueInUSDollarResponse" wsaw:Action="urn:getValueInUSDollarResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="StockServiceSOAP11Binding" type="ns0:StockServicePortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="getValueInUSDollar"> <soap:operation soapAction="urn:getValueInUSDollar" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="StockServiceSOAP12Binding" type="ns0:StockServicePortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="getValueInUSDollar"> <soap12:operation soapAction="urn:getValueInUSDollar" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> <wsdl:output> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="StockServiceHttpBinding" type="ns0:StockServicePortType"> <http:binding verb="POST"/> <wsdl:operation name="getValueInUSDollar"> <http:operation location="StockService/getValueInUSDollar"/> <wsdl:input> <mime:content type="text/xml" part="getValueInUSDollar"/> </wsdl:input> <wsdl:output> <mime:content type="text/xml" part="getValueInUSDollar"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="StockService"> <wsdl:port name="StockServiceSOAP11port_http" binding="ns0:StockServiceSOAP11Binding"> <soap:address location="http://localhost:8080/axis2/services/StockService"/> </wsdl:port> <wsdl:port name="StockServiceSOAP12port_http" binding="ns0:StockServiceSOAP12Binding"> <soap12:address location="http://localhost:8080/axis2/services/StockService"/> </wsdl:port> <wsdl:port name="StockServiceHttpport" binding="ns0:StockServiceHttpBinding"> <http:address location="http://localhost:8080/axis2/services/StockService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> --------------020807070600090405000509-- From yhunt@example.com Mon Dec 03 15:15:33 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 57444 invoked from network); 3 Dec 2007 15:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 15:15:33 -0000 Received: (qmail 17345 invoked by uid 500); 3 Dec 2007 15:15:21 -0000 Delivered-To: yhunt@example.com Received: (qmail 17333 invoked by uid 500); 3 Dec 2007 15:15:21 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 17324 invoked by uid 99); 3 Dec 2007 15:15:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 07:15:21 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhunt@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wa-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 15:14:59 +0000 Received: by wa-out-1112.google.com with SMTP id j4so5378583wah for <yhunt@example.com>; Mon, 03 Dec 2007 07:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=85TrNN+KKPnxzLFr3QT0ImhvIa9hKnTBBSbS+go+wNE=; b=eEe+C1PBLh9qLgD5a1lbrI3S3Q7YHacuAIUfgP5lwHegbsJSQUkyL98mr3jeiZ30lvkgn5roou4gjL52X/MIBUDmcRmfPbTKT63joxJld0FZo9NA5Do5On4PiDXoNaj3g2YzwKWRaBNLO9m2rfg9iWEFTauDlv4m4HYK9lUmxtA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=A0E/muc2ntTaSLGMovlG+LlG4gVYshsVgvm9l4OguP3fKBaQJE0qYpRolBMgouuRTsgdf7vaEhVAvDnHRk54pw7m3fiKGOL6poHi06XWF34LcK8n961NxVbX/a+3LHaMvZkPNHpO/QTX5FXXiKfPq9ju189ivo8YxAv2mEezq5U= Received: by 83.161.120.155 with SMTP id z1mr2391813wai.1196694901899; Mon, 03 Dec 2007 07:15:01 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 3 Dec 2007 07:15:01 -0800 (PST) Message-ID: <yhunt@example.com> Date: Mon, 3 Dec 2007 07:15:01 -0800 From: "Matthieu Riou" <yhunt@example.com> Sender: yhunt@example.com To: yhunt@example.com Subject: Re: NullPointerException at process deployment Cc: "Mireille Blay-Fornarino" <yhunt@example.com>, "Michel RIVEILL" <yhunt@example.com> In-Reply-To: <yhunt@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22547_21679050.1196694901840" References: <yhunt@example.com> X-Google-Sender-Auth: 00fe590669289c15 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_22547_21679050.1196694901840 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sebastien, Your problem is probably that ports aren't qualified names, just local names. In your deploy.xml you've set a namespace prefix for the two ports that get invoked. I'll had a little check so that next time, a more explicit exception gets thrown. Cheers, Matthieu On Dec 3, 2007 6:05 AM, S?ebastien Mosser <yhunt@example.com> wrote: > Dear everybody. > > I'm a "newbe" in ODE World, but I've got a serious problem trying to > deploy a BPEL process in ODE (typically a Null pointer exception !). > > > I wrote a simple process using Eclipse BPEL Designer, providing one > service and invoking two others. > > My process is described in BPEL in GetConvertedValue.bpel, and WSDL > interface can be found in GetConvertedValue.wsdl. Eclipse generate a new > WSDL file dealing with process artefacts, auto-generated. > > This process 'try' to invoke two partners : > - Stock (StockService.wsdl) > - Convert (ConvertService.wsdl) > > I know that I have to bind each partnerLink to endpoints in my > deploy.xml descriptor. So, I wrote such binding in 'deploy.xml'. > > When I try to deploy the directory in my ODE installation (which is > supposed to work using the 'counter' tutorial), basically copying my > directory into '/opt/jetty-6.1.6/webapps/ode/WEB-INF/processes', I > encounter the following error : > > > ERROR - GeronimoLog.error(108) | Deployment of GetConvertedStockValue > failed, aborting for now. > > org.apache.ode.bpel.iapi.ContextException: Deployment failed within the > engine. > > at org.apache.ode.store.ProcessStoreImpl.deploy( > ProcessStoreImpl.java:291) > > at org.apache.ode.axis2.deploy.DeploymentPoller.check( > DeploymentPoller.java:144) > > at org.apache.ode.axis2.deploy.DeploymentPoller.access$300( > DeploymentPoller.java:55) > > at > org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run( > DeploymentPoller.java:188) > > Caused by: java.lang.NullPointerException > > at org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName( > ODEAxisService.java:128) > > at org.apache.ode.axis2.hooks.ODEAxisService.createService( > ODEAxisService.java:60) > > at org.apache.ode.axis2.ODEServer.createService(ODEServer.java > :299) > > at > org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint( > BindingContextImpl.java:59) > > at org.apache.ode.bpel.engine.BpelProcess.activate( > BpelProcess.java:442) > > at org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess( > BpelEngineImpl.java:221) > > at org.apache.ode.bpel.engine.BpelServerImpl.register( > BpelServerImpl.java:275) > > at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java > :526) > > at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:70) > > at > org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent > (ODEServer.java:512) > > at org.apache.ode.store.ProcessStoreImpl.fireEvent( > ProcessStoreImpl.java:501) > > at org.apache.ode.store.ProcessStoreImpl.fireStateChange( > ProcessStoreImpl.java:507) > > at org.apache.ode.store.ProcessStoreImpl.deploy( > ProcessStoreImpl.java:284) > > ... 3 more > > After a quick search inside this mailing list archive, It seems to be a > deploy.xml trouble ... but I think I miss a point inside it ! > > Thanks by advance. > > -- > Sebastien Mosser > EPU Polytech'Nice - Sophia Antipolis, Bureau 314 > CNRS / I3S / Rainbow - http://rainbow.i3s.unice.fr/~mosser<http://rainbow.i3s.unice.fr/%7Emosser> > ------=_Part_22547_21679050.1196694901840-- From yhunt@example.com Mon Dec 03 15:24:52 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 59072 invoked from network); 3 Dec 2007 15:24:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 15:24:52 -0000 Received: (qmail 27756 invoked by uid 500); 3 Dec 2007 15:24:40 -0000 Delivered-To: yhunt@example.com Received: (qmail 27643 invoked by uid 500); 3 Dec 2007 15:24:40 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 27634 invoked by uid 99); 3 Dec 2007 15:24:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 07:24:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yhunt@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO email.polytech.unice.fr) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 15:24:42 +0000 Received: from asmodeus.local (unknown [83.161.120.155]) by email.polytech.unice.fr (Postfix) with ESMTP id 06B3AFCF9 for <yhunt@example.com>; Mon, 3 Dec 2007 16:24:22 +0100 (CET) Message-ID: <yhunt@example.com> Date: Mon, 03 Dec 2007 16:24:23 +0100 From: =?UTF-8?B?U8KOZWJhc3RpZW4gTW9zc2Vy?= <yhunt@example.com> Organization: =?UTF-8?B?VW5pdmVyc2l0w6kgZGUgTmljZSAvIENOUlM=?= User-Agent: Thunderbird 83.161.120.155 (Macintosh/20071031) MIME-Version: 1.0 To: yhunt@example.com Subject: Re: NullPointerException at process deployment References: <yhunt@example.com> <yhunt@example.com> In-Reply-To: <yhunt@example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi. > Your problem is probably that ports aren't qualified names, just local > names. In your deploy.xml you've set a namespace prefix for the two ports > that get invoked. I'll had a little check so that next time, a more explicit > exception gets thrown. Ok, so, following what you said, I'm now using the following description : > <process name="tns:GetConvertedStockValue"> > <active>true</active> > <provide partnerLink="tns:client"> > <service name="tns:GetConvertedStockValueService" port="GetConvertedStockValue"/> > </provide> > <invoke partnerLink="tns:Stock"> > <service name="stock:StockService" port="StockServiceSOAP11port_http" /> > </invoke> > <invoke partnerLink="tns:Convert"> > <service name="convert:ConverterService" port="ConverterServiceSOAP11port_http" /> > </invoke> > </process> > </deploy> The loader basically throw the same exception. I'm trying to create a lab session about WSOA using ODE in my engineering school, so it's a quite huge problem ... :'( -- Sebastian From yhunt@example.com Mon Dec 03 15:41:44 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 65314 invoked from network); 3 Dec 2007 15:41:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 15:41:44 -0000 Received: (qmail 59661 invoked by uid 500); 3 Dec 2007 15:41:32 -0000 Delivered-To: yhunt@example.com Received: (qmail 59648 invoked by uid 500); 3 Dec 2007 15:41:31 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 59639 invoked by uid 99); 3 Dec 2007 15:41:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 07:41:31 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of yhunt@example.com does not designate 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nz-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 15:41:12 +0000 Received: by nz-out-0506.google.com with SMTP id z3so1919720nzf for <yhunt@example.com>; Mon, 03 Dec 2007 07:41:13 -0800 (PST) Received: by 83.161.120.155 with SMTP id e18mr812653wfd.1196696472592; Mon, 03 Dec 2007 07:41:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 3 Dec 2007 07:41:11 -0800 (PST) Message-ID: <yhunt@example.com> Date: Mon, 3 Dec 2007 07:41:11 -0800 From: "Alex Boisvert" <yhunt@example.com> To: yhunt@example.com Subject: Re: NullPointerException at process deployment In-Reply-To: <yhunt@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11808_5397616.1196696472580" References: <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_11808_5397616.1196696472580 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/3/07, S=8Eebastien Mosser <yhunt@example.com> wrote: > > Ok, so, following what you said, I'm now using the following description = : > > > <process name=3D"tns:GetConvertedStockValue"> > > <active>true</active> > > <provide partnerLink=3D"tns:client"> > > <service name=3D"tns:GetConvertedStockValueService" > port=3D"GetConvertedStockValue"/> > > </provide> > > <invoke partnerLink=3D"tns:Stock"> > > <service name=3D"stock:StockService" > port=3D"StockServiceSOAP11port_http" /> > > </invoke> > > <invoke partnerLink=3D"tns:Convert"> > > <service name=3D"convert:ConverterService" > port=3D"ConverterServiceSOAP11port_http" /> > > </invoke> > > </process> > > </deploy> > > > The loader basically throw the same exception. I'm trying to create a > lab session about WSOA using ODE in my engineering school, so it's a > quite huge problem ... :'( The partnerLink attributes are not qualified names either. They are references to the partnerLink name that you have in your process. e.g. tns:Stock -> Stock, tns:Convert -> Convert alex ------=_Part_11808_5397616.1196696472580-- From yhunt@example.com Mon Dec 03 15:42:27 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 65533 invoked from network); 3 Dec 2007 15:42:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 15:42:26 -0000 Received: (qmail 60867 invoked by uid 500); 3 Dec 2007 15:42:14 -0000 Delivered-To: yhunt@example.com Received: (qmail 60850 invoked by uid 500); 3 Dec 2007 15:42:14 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 60841 invoked by uid 99); 3 Dec 2007 15:42:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 07:42:14 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhunt@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wa-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 15:41:55 +0000 Received: by wa-out-1112.google.com with SMTP id j4so5399155wah for <yhunt@example.com>; Mon, 03 Dec 2007 07:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=BQGu5xhAVF6r94YW7+RkObKXuNTst1PSgBxocSYr19Q=; b=Jo2lOJQC9GPtDbWhcToBfKCEH9nrl83oKpqOFHOpCGiITpuYNUIesJGtfo6itJr0k+x2AlPiqciIgMi67k0fyUUYao3LyFLx+Jk9uNhfFSusiGT8my7BG/REAb8xxjqdn/wepYS76yJ+8mw1MiD0NoQIXSEv3IW5Baa2EgScAok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=r79otFmWxdaxDOJNcxpUexjGGF2W+kUWRaQW6K/YlpgtNnVPfL+D0zYdiI2GIzQqtg5LLcdtl2IYpf+XJ0TAxGc+pG1huJwYcmM+VvRbwwzxcpUQWNBL3Mh0/zWb72rLdmj4jipVKzoeJWsAeenI2XI6/1jtL+VQ1U+wtJGlEXA= Received: by 83.161.120.155 with SMTP id b1mr930326wae.1196696518427; Mon, 03 Dec 2007 07:41:58 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 3 Dec 2007 07:41:53 -0800 (PST) Message-ID: <yhunt@example.com> Date: Mon, 3 Dec 2007 07:41:53 -0800 From: "Matthieu Riou" <yhunt@example.com> Sender: yhunt@example.com To: yhunt@example.com Subject: Re: NullPointerException at process deployment In-Reply-To: <yhunt@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22793_8772746.1196696513415" References: <yhunt@example.com> <yhunt@example.com> <yhunt@example.com> X-Google-Sender-Auth: 34aaddb7fcb67dc7 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_22793_8772746.1196696513415 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mmmh also your GetConvertedStockValueService doesn't appear to have a GetConvertedStockValue port. Seems to me that the port should be ConvertedStock_SOAP. Matthieu On Dec 3, 2007 7:24 AM, S=8Eebastien Mosser <yhunt@example.com> wrot= e: > Hi. > > > Your problem is probably that ports aren't qualified names, just local > > names. In your deploy.xml you've set a namespace prefix for the two > ports > > that get invoked. I'll had a little check so that next time, a more > explicit > > exception gets thrown. > > Ok, so, following what you said, I'm now using the following description = : > > > <process name=3D"tns:GetConvertedStockValue"> > > <active>true</active> > > <provide partnerLink=3D"tns:client"> > > <service name=3D"tns:GetConvertedStockValueService" > port=3D"GetConvertedStockValue"/> > > </provide> > > <invoke partnerLink=3D"tns:Stock"> > > <service name=3D"stock:StockService" > port=3D"StockServiceSOAP11port_http" /> > > </invoke> > > <invoke partnerLink=3D"tns:Convert"> > > <service name=3D"convert:ConverterService" > port=3D"ConverterServiceSOAP11port_http" /> > > </invoke> > > </process> > > </deploy> > > > The loader basically throw the same exception. I'm trying to create a > lab session about WSOA using ODE in my engineering school, so it's a > quite huge problem ... :'( > > -- > Sebastian > ------=_Part_22793_8772746.1196696513415-- From yhunt@example.com Mon Dec 03 15:51:25 2007 Return-Path: <yhunt@example.com> Delivered-To: yhunt@example.com Received: (qmail 68950 invoked from network); 3 Dec 2007 15:51:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2007 15:51:25 -0000 Received: (qmail 76660 invoked by uid 500); 3 Dec 2007 15:51:00 -0000 Delivered-To: yhunt@example.com Received: (qmail 76647 invoked by uid 500); 3 Dec 2007 15:51:00 -0000 Mailing-List: contact yhunt@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:yhunt@example.com> List-Unsubscribe: <mailto:yhunt@example.com> List-Post: <mailto:yhunt@example.com> List-Id: <user.ode.apache.org> Reply-To: yhunt@example.com Delivered-To: mailing list yhunt@example.com Received: (qmail 76634 invoked by uid 99); 3 Dec 2007 15:51:00 -0000 Received: from nike.apache.org
{'source': 'Apache Software Foundation Public Mail Archives'}