ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon" <mi...@intalio.com>
Subject Re: No Persistence provider for EntityManager named ode-dao
Date Sat, 26 Jul 2008 23:47:30 GMT
Hi Aries,

I double-checked the 'get started' ODE page, went through all steps with a
clean tomcat, I found no roadblockers. It's a turnkey distribution.
http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication

may be you want to give it another try.

Cheers,

Alexis


WARN - GeronimoLog.warn(92) | Config file
/home/alexis/dwd/apache-tomcat-5.5.26/webapps/ode/WEB-INF/conf/ode-axis2.properties
not found, default values will be used.
DEBUG - GeronimoLog.debug(66) | Initializing transaction manager
DEBUG - GeronimoLog.debug(66) | Initializing transaction manager using
org.apache.ode.il.EmbeddedGeronimoFactory
DEBUG - GeronimoLog.debug(66) | Creating data source.
DEBUG - GeronimoLog.debug(66) | Starting DAO.
INFO - GeronimoLog.info(79) | Using DAO Connection Factory class
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
DEBUG - GeronimoLog.debug(66) | Initializing BPEL process store.
DEBUG - GeronimoLog.debug(66) | Initializing BPEL server.
DEBUG - GeronimoLog.debug(66) | ODE initializing
DEBUG - GeronimoLog.debug(66) | BPEL SERVER initializing
DEBUG - GeronimoLog.debug(66) | BPEL SERVER starting.
INFO - GeronimoLog.info(79) | BPEL Server Started.
DEBUG - GeronimoLog.debug(66) | Initializing JCA adapter.
INFO - GeronimoLog.info(79) | Poller started.
INFO - GeronimoLog.info(79) | Process deployment polling started on path
/home/alexis/dwd/apache-tomcat-5.5.26/webapps/ode/WEB-INF/processes.
INFO - GeronimoLog.info(79) | ODE Service Engine has been started.
Jul 26, 2008 4:36:44 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 26, 2008 4:36:45 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 26, 2008 4:36:45 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/60  config=null
Jul 26, 2008 4:36:45 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 26, 2008 4:36:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 26814 ms

On Sat, Jul 26, 2008 at 5:02 AM, Aries Fajar Dwiputera <
aries.dwiputera@gmail.com> wrote:

> Hi Matthieu,
>
> I tried to dig into the persistence api, etc (and my platform seems to have
> a lot of different settings and environment compared to TOMCAT).
> And my real purpose is to learn ODE, not all these settings thing.
> Is it possible to start ODE without persistence, without database...i mean,
> very minimal.
>
> Thanks.
> Aries
>
>
> On Fri, Jul 25, 2008 at 3:23 PM, Matthieu Riou <matthieu@offthelip.org
> >wrote:
>
> > On Fri, Jul 25, 2008 at 10:38 AM, Aries Fajar Dwiputera <
> > aries.dwiputera@gmail.com> wrote:
> >
> > > 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.
> > >
> >
> > It's hard to tell, it must be something with your environment but a
> simple
> > stacktrace usually doesn't help much in those cases. I'd just make sure
> > that
> > the persistence.xml is at the proper location in your jar and that no
> other
> > persistence.xml can mask it.
> >
> > Cheers,
> > Matthieu
> >
> >
> > >
> > > 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