I saw in the ode-jbi.properties file the default configuration values. The
"ode-jbi.db.mode=EMBEDDED" its to use internal Derby database but in the the
next values of 
"#ode-jbi.db.emb.name=hibdb"
"#ode-jbi.db.emb.name=jpadb"
They are commnets, the properties are needed to mode embebded ?


Alex Boisvert wrote:
> 
> Hi,
> 
> This looks like a configuration issue related to your DataSource.   Are
> you
> configuring your datasource in ServiceMix and doing a JNDI lookup to get
> it?
> 
> alex
> 
> 
> On 11/26/07, imorales <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all. I´m using Servicemix 3.1.2 and ode-jbi 1.1. I have a bpel process
>> that invokes a web service, the bpel process is listenin in a
>> http:endpoint
>> and when I try to call this endpoint I get next error:
>>
>> ERROR - OdeService                     - Could not find a mapper for
>> request
>> message for JBI MEX ID:192.168.1.142-1167bc06ebd-3:0; ODE MEX
>> hqejbhcnphr2s0ankoof5v is failed.
>> WARN  - Transaction                    - Unexpected exception from
>> beforeCompletion; transaction will roll back
>> <0.9.7-incubating nonfatal general error>
>> org.apache.openjpa.persistence.PersistenceException:
>> java.sql.SQLException
>>         at
>> org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
>> DBDictionary.java:3784)
>>         at
>> org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:97)
>>         at
>> org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:83)
>>         at
>> org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:59)
>>         at
>> org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(
>> JDBCStoreManager.java:727)
>>         at
>> org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(
>> JDBCStoreManager.java:197)
>>         at
>> org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(
>> DelegatingStoreManager.java:163)
>>         at
>> org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java
>> :3662)
>>         at
>> org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(
>> BrokerImpl.java:1244)
>>         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java
>> :1923)
>>         at
>> org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1863)
>>         at
>> org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java
>> :1781)
>>         at
>> org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(
>> TransactionImpl.java:515)
>>         at
>> org.apache.geronimo.transaction.manager.TransactionImpl.rollback(
>> TransactionImpl.java:471)
>>         at
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(
>> TransactionManagerImpl.java:276)
>>         at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:274)
>>         at
>> org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:148)
>>         at
>> org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(
>> JbiMessageExchangeEventRouter.java:47)
>>         at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
>>         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)
>> Caused by: java.sql.SQLException
>>         at
>> org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61)
>>         at
>> org.apache.ode.utils.LoggingDataSourceWrapper.getConnection(
>> LoggingDataSourceWrapper.java:42)
>>         at
>> org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(
>> DelegatingDataSource.java:106)
>>         at
>> org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(
>> DecoratingDataSource.java:87)
>>         at
>> org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(
>> JDBCStoreManager.java:738)
>>         at
>> org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(
>> JDBCStoreManager.java:723)
>>         ... 20 more
>> Caused by: javax.resource.ResourceException: Could not enlist resource in
>> rolled back transaction
>>         at
>>
>> org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection
>> (TransactionEnlistingInterceptor.java:62)
>>         at
>>
>> org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection
>> (TransactionCachingInterceptor.java:87)
>>         at
>>
>> org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection
>> (ConnectionHandleInterceptor.java:43)
>>         at
>> org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(
>> TCCLInterceptor.java:39)
>>         at
>>
>> org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection
>> (AbstractConnectionManager.java:61)
>>         at
>> org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
>>         ... 25 more
>> Caused by: javax.transaction.RollbackException: Transaction is marked for
>> rollback
>>         at
>> org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(
>> TransactionImpl.java:167)
>>         at
>>
>> org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection
>> (TransactionEnlistingInterceptor.java:54)
>>         ... 30 more
>>
>>
>> The BPEL code is:
>> .
>> ..
>> ...
>>
>> <bpws:sequence name="Main">
>>
>>     <bpws:receive name="diaHabilReceive"
>>         createInstance="yes"
>>         operation="esDiaHabilAhoraBPEL"
>>         partnerLink="DiasHabilesPartnerLink"
>>         portType="da:DiasHabilesService"
>>         variable="esDiaHabilAhoraRequest"/>
>>
>>     <bpws:assign>
>>       <bpws:copy>
>>         <bpws:from>$esDiaHabilAhoraRequest.parameters</bpws:from>
>>         <bpws:to>$esDiaHabilAhoraWsRequest.parameters</bpws:to>
>>       </bpws:copy>
>>     </bpws:assign>
>>
>>
>>     <bpws:invoke
>>         partnerLink="DiasHabilesWsPartnerLink"
>>         portType="daws:DiasHabilesService"
>>         operation="esDiaHabilAhora"
>>         inputVariable="esDiaHabilAhoraWsRequest"
>>         outputVariable="esDiaHabilAhoraWsResponse"
>>         />
>>
>> ...
>> ..
>> .
>>
>> Any ideas ? thanks in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/Servicemix-Error-invoking-ODE-tf4874789s12049.html#a13948468
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Servicemix-Error-invoking-ODE-tf4874789s12049.html#a13951884
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to