Forum tags


Top Posters

Last 30 days

  • ravinderjit.singh (29)
  • Antoine (26)
  • danielandross (17)
  • venkaiah.k (16)
  • shao (14)
  • sirswendu.ganapati (13)
  • eva.das (13)
  • metabyte (12)
  • milos.vacek (7)
  • cristiano.quintao (7)

All time

  • Antoine (1492)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (383)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Re:ContextException when deploying a bpms project? (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:ContextException when deploying a bpms project?
#15796
M.-Shah (User)
Expert Boarder
User Offline Click here to see the profile of this user
ContextException when deploying a bpms project? 4 Months, 2 Weeks ago Karma: 1  
I created a web service to insert a row in the database. I invoke the web service from a Java client and it works perfectly. However when I use PIPA to initiate the request and then invoke the web service to do a database insert the project fails to deploy and I get the following error on the intalio server (geronimo).

I am attaching my project in zipped format for your input. Your input in this regards will be greatly appreciated.

14:48:53,207 ERROR [NStateLatch] Latch error, was releasing for state 1 but actu
ally in -1
14:48:53,223 WARN [ProcessStoreImpl] Deployment failed within the engine, store
undeploying process.
14:48:53,301 WARN [DeploymentWebService] Invocation of operation deploy failed
org.apache.ode.bpel.iapi.ContextException: Cannot find definition for service {h
ttp://example.com/InsertIntoDB/Call_WS}Call_WsAndInsert_into_DBForWsInsertDBServ
icePortTypePlkService in the context of process {http://example.com/InsertIntoDB
/Insert_into_DB}Insert_into_DB-32
at org.apache.ode.axis2.BindingContextImpl.createPartnerRoleChannel(Bind
ingContextImpl.java:78)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelP
rocess.java:771)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(Bpel
Process.java:723)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProce
ss.java:733)
at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:602)
at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.jav
a:284)
at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:597)
at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:86)
at org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStor
eEvent(ODEServer.java:584)
at org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java
:494)
at org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImp
l.java:500)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:27
8)
at org.apache.ode.axis2.service.DeploymentWebService$DeploymentMessageRe
ceiver.invokeBusinessLogic(DeploymentWebService.java:144)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
20)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487
)
at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(Internal
JettyServletHolder.java:65)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
62)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(Th
readClassloaderHandler.java:46)
at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(Inst
anceContextHandler.java:58)
at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(User
TransactionHandler.java:48)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
12)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(Com
ponentContextHandler.java:47)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
6)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:726)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:396)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:331)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
14:48:54,238 ERROR [NStateLatch] Latch error, was releasing for state 1 but actu
ally in -1
14:48:54,238 WARN [ProcessStoreImpl] Deployment failed within the engine, store
undeploying process.
14:48:54,254 ERROR [DeploymentPoller] Deployment of InsertIntoDB-32 failed, abor
ting for now.
org.apache.ode.bpel.iapi.ContextException: Cannot find definition for service {h
ttp://example.com/InsertIntoDB/Call_WS}Call_WsAndInsert_into_DBForWsInsertDBServ
icePortTypePlkService in the context of process {http://example.com/InsertIntoDB
/Insert_into_DB}Insert_into_DB-33
at org.apache.ode.axis2.BindingContextImpl.createPartnerRoleChannel(Bind
ingContextImpl.java:78)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelP
rocess.java:771)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(Bpel
Process.java:723)
at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProce
ss.java:733)
at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:602)
at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.jav
a:284)
at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:597)
at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:86)
at org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStor
eEvent(ODEServer.java:584)
at org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java
:494)
at org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImp
l.java:500)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:27
8)
at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.j
ava:144)
at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPol
ler.java:55)
at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(Deploy
mentPoller.java:188)

Thanks,

Monisha
File Attachment:
File Name: InsertIntoDB.zip
File Size: 36301
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/27 02:02 By M.-Shah.
  The administrator has disabled public write access.
#15821
mabeena (User)
Expert Boarder
User Offline Click here to see the profile of this user
Re:ContextException when deploying a bpms project? 4 Months, 1 Week ago Karma: 6  
Hi,

You are facing this error because you've dnd insertDept operation available under wsInsertDBService.wsdl>wsInsertDBServiceHttpBinding onto the the CallWS pool an created mappings accordingly.
Inorder to get rid of this error make sure you dnd insertDept operation available under wsInsertDBService.wsdl>wsInsertDBServiceHttpPort.

For reference i've attached the process which is deploying fine without any errors

Thanks
Mabeena
File Attachment:
File Name: InsertIntoDBUpdated.zip
File Size: 23810
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop