Hello,
I want to use the ODE BPEL SE into Servicemix.
But the performance are very important in my project, so I want to use a
in-memory process instead of a persistent process.
My process works fine but when I put the <in-memory>true</in-memory> tag in
the deploy.xml file, I receive a NPE at runtime.
Here the full debug trace of my request :
DEBUG - jetty - REQUEST /services/sync/fase/ on
[EMAIL PROTECTED]
DEBUG - jetty - servlet=jbiServlet
DEBUG - jetty - chain=null
DEBUG - jetty - servelet holder=jbiServlet
DEBUG - ConsumerProcessor - Receiving HTTP request: POST
/services/sync/fase/ HTTP/1.1
Host: localhost:1983
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.9)
Gecko/20061206 Firefox/1.5.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=
0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Length: 715
Content-Type: application/xml
Pragma: no-cache
Cache-Control: no-cache
DEBUG - JAASAuthenticationService - Authenticating 'pocf' with 'fcop'
DEBUG - HttpComponent - Created correlation id:
ID:CONSUL01PC-1624-1171370237447-3:0
DEBUG - DeliveryChannelImpl - Send
ID:CONSUL01PC-1624-1171370237447-3:0 in DeliveryChannel{servicemix-http}
DEBUG - SedaFlow - Called Flow send
DEBUG - ConsumerProcessor - Suspending continuation for
exchange: ID:CONSUL01PC-1624-1171370237447-3:0
DEBUG - jetty - continuation
[EMAIL PROTECTED]
DEBUG - SedaQueue -
[EMAIL PROTECTED] dequeued
exchange: InOut[
id: ID:CONSUL01PC-1624-1171370237447-3:0
status: Active
role: provider
service: {http://etnic.bull.com}faseService
endpoint: fase
operation: {http://etnic.bull.com}infosFase
in: <?xml version="1.0" encoding="UTF-8"?><q0:faseRequete xmlns:q0="
http://etnic.bull.com">
<q0:poId>970</q0:poId>
<q0:etabId>2053</q0:etabId>
<q0:precision>3</q0:precision>
<q0:corrId>1</q0:corrId>
<q0:timestamp>1</q0:timestamp>
</q0:faseRequete>
]
DEBUG - DeliveryChannelImpl - Accepting
ID:CONSUL01PC-1624-1171370237447-3:0 in DeliveryChannel{OdeBpelEngine}
DEBUG - JDBCContext - successfully registered
Synchronization
DEBUG - SessionImpl - opened session at timestamp:
4797932650409984
DEBUG - AbstractBatcher - about to open PreparedStatement
(open PreparedStatements: 0, globally: 0)
DEBUG - ConnectionManager - opening JDBC connection
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [1/2/10]
ga
ve out pooled object:
[EMAIL PROTECTED]
DEBUG - SQL - select this_.ID as ID0_0_,
this_.PROCID as PROCID0_0_, this_.deployer as deployer0_0
_, this_.deploydate as deploydate0_0_, this_.type_name as type5_0_0_,
this_.type_ns as type6_0_0_, this_.version as version0_
0_, this_.ACTIVE_ as ACTIVE8_0_0_, this_.guid as guid0_0_, this_.INSERT_TIME
as INSERT10_0_0_, this_.MLOCK as MLOCK0_0_ from
BPEL_PROCESS this_ where this_.PROCID=?
DEBUG - AbstractBatcher - about to open ResultSet (open
ResultSets: 0, globally: 0)
DEBUG - AbstractBatcher - about to close ResultSet (open
ResultSets: 1, globally: 1)
DEBUG - AbstractBatcher - about to close PreparedStatement
(open PreparedStatements: 1, globally: 1)
DEBUG - ConnectionManager - aggressively releasing JDBC
connection
DEBUG - ConnectionManager - releasing JDBC connection [ (open
PreparedStatements: 0, globally: 0) (open ResultSe
ts: 0, globally: 0)]
DEBUG - StatefulPersistenceContext - initializing non-lazy collections
DEBUG - Isolater - surrounding JTA transaction
suspended [org.apache.geronimo.transaction.manager.Trans
[EMAIL PROTECTED] ]
DEBUG - AbstractBatcher - opening JDBC connection
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [2/2/10]
ga
ve out pooled object:
[EMAIL PROTECTED]
DEBUG - SQL - select next_hi from
hibernate_unique_key for read only with rs
DEBUG - SQL - update hibernate_unique_key set
next_hi = ? where next_hi = ?
DEBUG - AbstractBatcher - closing JDBC connection (open
PreparedStatements: 0, globally: 0) (open ResultSets:
0, globally: 0)
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [1/2/10]
re
turned object
[EMAIL PROTECTED] to the
pool.
DEBUG - Isolater - surrounding JTA transaction resumed
[org.apache.geronimo.transaction.manager.Transac
[EMAIL PROTECTED]
DEBUG - TableHiLoGenerator - new hi value: 0
DEBUG - AbstractSaveEventListener - generated identifier: 1, using
strategy: org.hibernate.id.TableHiLoGenerator
DEBUG - Isolater - surrounding JTA transaction
suspended [ org.apache.geronimo.transaction.manager.Trans
[EMAIL PROTECTED]
DEBUG - AbstractBatcher - opening JDBC connection
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [2/2/10]
ga
ve out pooled object:
[EMAIL PROTECTED]
DEBUG - SQL - select next_hi from
hibernate_unique_key for read only with rs
DEBUG - SQL - update hibernate_unique_key set
next_hi = ? where next_hi = ?
DEBUG - AbstractBatcher - closing JDBC connection (open
PreparedStatements: 0, globally: 0) (open ResultSets:
0, globally: 0)
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [1/2/10]
re
turned object
[EMAIL PROTECTED] to the
pool.
DEBUG - Isolater - surrounding JTA transaction resumed
[org.apache.geronimo.transaction.manager.Transac
[EMAIL PROTECTED]
DEBUG - TableHiLoGenerator - new hi value: 1
DEBUG - AbstractSaveEventListener - generated identifier: 32768, using
strategy: org.hibernate.id.TableHiLoGenerator
DEBUG - JDBCContext - no active transaction, could not
register Synchronization
DEBUG - JDBCContext - no active transaction, could not
register Synchronization
DEBUG - ObjectPool - Pool
org.opentools.minerva.connector.jdbc.JDBCManagedConnectionFactory-1 [0/2/10]
re
turned object
[EMAIL PROTECTED] to the
pool.
ERROR - OdeService - Error invoking ODE.
java.lang.NullPointerException
at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole
(PartnerLinkMyRoleImpl.java:97)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:139)
at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMessageExchangeImpl.java
:114)
at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:229)
at
org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:141)
at
org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange
(JbiMessageExchangeEventRouter.java:47)
at org.apache.ode.jbi.Receiver$1.run(Receiver.java:190)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
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)
Any idea ?
Thanks in advance,
Anne.
--
View this message in context:
http://www.nabble.com/JBI---In-memory-process-%3A-NPE-tf3220575.html#a8944196
Sent from the Apache Ode User mailing list archive at Nabble.com.