ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aries Fajar Dwiputera" <aries.dwiput...@gmail.com>
Subject No Persistence provider for EntityManager named ode-dao
Date Fri, 25 Jul 2008 17:38:30 GMT
Hi,

Could you help me with this error?
I don't get it. I do have the persistence.xml file inside the jar file. But,
it keeps giving me this error.
I believe there must be some setting which i missed, because the apache war
distribution even doesn't have any persistence.xml (it is also inside the
jar file)....and it runs smoothly.

Thanks,
Aries

01:26:42,593 ERROR [RbODEEngine] Error while configuring ODE persistence.
javax.persistence.PersistenceException: No Persistence provider for
EntityManage
r named ode-dao
        at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.
java:89)
        at
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
ctionFactoryImpl.java:108)
        at org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:274)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.RbODEEngine.init
Persistence(RbODEEngine.java:84)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.RbODEEngine.init
(RbODEEngine.java:51)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.ODEBpelLego.afte
rPropertiesSet(ODEBpelLego.java:46)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:396)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:233)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:145)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:283)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:313)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:100)
        at
com.bosch.eai.lego.LegoRegistry.registerLegos(LegoRegistry.java:174)
        at rblego.registerLegos(rblego.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322)
        at
com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java
:612)
        at
com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsPr
ocessor.java:44)
        at
com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCom
pletionImpl.java:226)
        at
com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProces
sor.java:49)
        at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198)
        at
com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProces
sor.java:39)
        at
com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:41
1)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
521)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
369)
        at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)
        at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:168)
        at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
        at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
        at com.wm.lang.flow.FlowState.step(FlowState.java:438)
        at com.wm.lang.flow.FlowState.invoke(FlowState.java:403)
        at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:982)
        at
com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java
:612)
        at
com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsPr
ocessor.java:44)
        at
com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCom
pletionImpl.java:226)
        at
com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProces
sor.java:49)
        at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198)
        at
com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProces
sor.java:39)
        at
com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:41
1)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
521)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
369)
        at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)
        at
com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(
DefaultServerRequestHandler.java:129)
        at
com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.j
ava:168)
        at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:312)
        at com.wm.util.pool.PooledThread.run(PooledThread.java:105)
        at java.lang.Thread.run(Thread.java:595)
a
java.lang.NullPointerException: sscf is null!
        at
org.apache.ode.bpel.engine.BpelDatabase.<init>(BpelDatabase.java:43)
        at
org.apache.ode.bpel.engine.BpelServerImpl.init(BpelServerImpl.java:21
1)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.RbODEEngine.init
BpelServer(RbODEEngine.java:115)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.RbODEEngine.init
(RbODEEngine.java:52)
        at
com.bosch.eai.lego.connectors.ws.workflow.activebpel.ODEBpelLego.afte
rPropertiesSet(ODEBpelLego.java:46)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:396)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:233)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:145)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:283)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:313)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:100)
        at
com.bosch.eai.lego.LegoRegistry.registerLegos(LegoRegistry.java:174)
        at rblego.registerLegos(rblego.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322)
        at
com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java
:612)
        at
com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsPr
ocessor.java:44)
        at
com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCom
pletionImpl.java:226)
        at
com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProces
sor.java:49)
        at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198)
        at
com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProces
sor.java:39)
        at
com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:41
1)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
521)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
369)
        at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)
        at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:168)
        at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
        at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
        at com.wm.lang.flow.FlowState.step(FlowState.java:438)
        at com.wm.lang.flow.FlowState.invoke(FlowState.java:403)
        at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:982)
        at
com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java
:612)
        at
com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsPr
ocessor.java:44)
        at
com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCom
pletionImpl.java:226)
        at
com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProces
sor.java:49)
        at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198)
        at
com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProces
sor.java:39)
        at
com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:41
1)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
521)
        at
com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:
369)
        at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)
        at
com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(
DefaultServerRequestHandler.java:129)
        at
com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.j
ava:168)
        at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:312)
        at com.wm.util.pool.PooledThread.run(PooledThread.java:105)
        at java.lang.Thread.run(Thread.java:595)
<?xml version="1.0" encoding="UTF-8"?>
<process location="packages/TestAries/pub/bpel/simpleProcess.bpel"
name="SampleS
ervice">
    <partnerLinks>
        <partnerLink name="SampleLink">
            <myRole allowedRoles="" binding="MSG" service="SampleService"/>
        </partnerLink>
    </partnerLinks>
    <references>
        <wsdl

location="file:/C:/webMethods6/IntegrationServer/packages/TestAries/
pub/bpel/sample.wsdl" namespace="
http://bosch.com/eai/bpel/services/SampleServic
e"/>
    </references>
</process>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message