You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Matthieu Riou <ma...@gmail.com> on 2007/05/08 15:41:59 UTC

Re: problem of running ode in jboss

Hi,

There seems to be a compatibility problem between OpenJPA and JBoss. I've
heard (from the OpenJPA mailing list) that JBoss would be using its own
javax.persistence library, which would be pretty bad.

Anyway until somebody has enough time to find a workaround, I'd recommend
using Hibernate when running on JBoss. Just set the ode.persistence system
property to hibernate (for example before starting JBoss run 'set
JAVA_OPTS="-Dode.persistence=hibernate").

Cheers,
Matthieu

On 5/7/07, ½ðÐÐ Áõ <li...@yahoo.com.cn> wrote:
>
> Hi all!
>
> I get some infomation about ode Runtime Environments
> and Requirements from the ode FAQ,And i found out that
> ODE can be deployed into most common application
> servers,so i tried to deploy ode in jboss(i'm sure
> that the ode which i built can work normally in
> tomcat),but there's been a problem durning the
> deployment,And i know someone has deployed ode
> successfully in jboss before,please let me know  which
> version of jboss can work well with ode(i tried in
> jboss_4.2.0.CR1)
>
> Here is the infomation about the problem on jboss
> console:
> 11:09:53,687 INFO  [STDOUT] INFO -
> GeronimoLog.info(79) | Using DAO Connection F
> actory class
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> 11:09:53,781 INFO  [STDOUT] ERROR -
> GeronimoLog.error(108) | Error instantiating
> DAO Connection Factory class
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImp
> l.
> java.lang.ClassCastException:
> org.hibernate.ejb.HibernatePersistence
>         at
> javax.persistence.Persistence.findAllProviders(Persistence.java:112)
>         at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> java:79)
>         at
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
> ctionFactoryImpl.java:108)
>         at
> org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:267)
>         at
> org.apache.ode.axis2.ODEServer.initDAO(ODEServer.java:410)
>         at
> org.apache.ode.axis2.ODEServer.init(ODEServer.java:144)
>         at
> org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:47
> )
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1161)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> 1)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:4071)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 375)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:761)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> 1)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
>
>         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
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:297)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> 12)
>         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
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:297)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
> catDeployer.java:300)
>         at
> org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
> yer.java:104)
>         at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
>
>         at
> org.jboss.web.WebModule.startModule(WebModule.java:83)
>         at
> org.jboss.web.WebModule.startService(WebModule.java:61)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:289)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:245)
>         at
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
> ler.java:978)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
>         at
> sun.reflect.GeneratedMethodAccessor9.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy45.start(Unknown Source)
>         at
> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46
> 6)
>         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
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
> .java:97)
>         at
> org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
> rServiceMBeanSupport.java:238)
>         at
> org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerIn
> terceptor.java:93)
>         at
> org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
> start(SubDeployerInterceptorSupport.java:188)
>         at
> org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
> ptor.java:95)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy46.start(Unknown Source)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>         at
> sun.reflect.GeneratedMethodAccessor18.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy9.deploy(Unknown Source)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
> tScanner.java:421)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
> canner.java:634)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> doScan(AbstractDeploymentScanner.java:263)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
> bstractDeploymentScanner.java:336)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:289)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:245)
>         at
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at org.jboss.mx.
> 11:09:55,046 INFO  [STDOUT]
> server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
> ler.java:978)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
>         at
> sun.reflect.GeneratedMethodAccessor9.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy4.start(Unknown Source)
>         at
> org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
>         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
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy5.deploy(Unknown Source)
>         at
> org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
>         at
> org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>         at org.jboss.Main.boot(Main.java:200)
>         at org.jboss.Main$1.run(Main.java:499)
>         at java.lang.Thread.run(Thread.java:595)
> 11:09:55,468 INFO  [STDOUT] ERROR -
> GeronimoLog.error(108) | Servlet /ode threw
> load() exception
> java.lang.ClassCastException:
> org.hibernate.ejb.HibernatePersistence
>         at
> javax.persistence.Persistence.findAllProviders(Persistence.java:112)
>         at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> java:79)
>         at
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
> ctionFactoryImpl.java:108)
>         at
> org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:267)
>         at
> org.apache.ode.axis2.ODEServer.initDAO(ODEServer.java:410)
>         at
> org.apache.ode.axis2.ODEServer.init(ODEServer.java:144)
>         at
> org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:47
> )
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> java:1161)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> 1)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> t.java:4071)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 375)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:761)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> 1)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
>
>         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
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:297)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> 12)
>         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
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> ava:297)
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> 64)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
> catDeployer.java:300)
>         at
> org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
> yer.java:104)
>         at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
>
>         at
> org.jboss.web.WebModule.startModule(WebModule.java:83)
>         at
> org.jboss.web.WebModule.startService(WebModule.java:61)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:289)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:245)
>         at
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
> ler.java:978)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
>         at
> sun.reflect.GeneratedMethodAccessor9.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy45.start(Unknown Source)
>         at
> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46
> 6)
>         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
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
> .java:97)
>         at
> org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
> rServiceMBeanSupport.java:238)
>         at
> org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerIn
> terceptor.java:93)
>         at
> org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
> start(SubDeployerInterceptorSupport.java:188)
>         at
> org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
> ptor.java:95)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy46.start(Unknown Source)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>         at
> sun.reflect.GeneratedMethodAccessor18.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy9.deploy(Unknown Source)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
> tScanner.java:421)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
> canner.java:634)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
> doScan(AbstractDeploymentScanner.java:263)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
> bstractDeploymentScanner.java:336)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> upport.java:289)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> eanSupport.java:245)
>         at
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at org.jboss.mx.ser
> 11:09:56,750 INFO  [STDOUT]
> ver.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
> .java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
> ler.java:978)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:417)
>         at
> sun.reflect.GeneratedMethodAccessor9.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy4.start(Unknown Source)
>         at
> org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
>         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
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> er.java:155)
>         at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
> or.java:133)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
> BeanOperationInterceptor.java:142)
>         at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
> java:264)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>         at $Proxy5.deploy(Unknown Source)
>         at
> org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
>         at
> org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>         at org.jboss.Main.boot(Main.java:200)
>         at org.jboss.Main$1.run(Main.java:499)
>         at java.lang.Thread.run(Thread.java:595)
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>

Re: problem of running ode in jboss

Posted by Matthieu Riou <ma...@gmail.com>.
Yeah, older versions of JBoss probably don't have this specific persistence
configuration. It's a bit annoying that they lock you in with Hibernate now
though.

Cheers,
Matthieu

On 5/8/07, ½ðÐÐ Áõ <li...@yahoo.com.cn> wrote:
>
> Hi
>
> I have tested in jboss_3.2.7,it runs well now.
> i think old jboss versions can run ode ok because of
> without persistence future,such as a web container,is
> it?
> --- Matthieu Riou <ma...@gmail.com> wrote:
>
> > Hi,
> >
> > There seems to be a compatibility problem between
> > OpenJPA and JBoss. I've
> > heard (from the OpenJPA mailing list) that JBoss
> > would be using its own
> > javax.persistence library, which would be pretty
> > bad.
> >
> > Anyway until somebody has enough time to find a
> > workaround, I'd recommend
> > using Hibernate when running on JBoss. Just set the
> > ode.persistence system
> > property to hibernate (for example before starting
> > JBoss run 'set
> > JAVA_OPTS="-Dode.persistence=hibernate").
> >
> > Cheers,
> > Matthieu
> >
> > On 5/7/07, ½ðÐÐ Áõ <li...@yahoo.com.cn>
> > wrote:
> > >
> > > Hi all!
> > >
> > > I get some infomation about ode Runtime
> > Environments
> > > and Requirements from the ode FAQ,And i found out
> > that
> > > ODE can be deployed into most common application
> > > servers,so i tried to deploy ode in jboss(i'm sure
> > > that the ode which i built can work normally in
> > > tomcat),but there's been a problem durning the
> > > deployment,And i know someone has deployed ode
> > > successfully in jboss before,please let me know
> > which
> > > version of jboss can work well with ode(i tried in
> > > jboss_4.2.0.CR1)
> > >
> > > Here is the infomation about the problem on jboss
> > > console:
> > > 11:09:53,687 INFO  [STDOUT] INFO -
> > > GeronimoLog.info(79) | Using DAO Connection F
> > > actory class
> > >
> > org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> > > 11:09:53,781 INFO  [STDOUT] ERROR -
> > > GeronimoLog.error(108) | Error instantiating
> > > DAO Connection Factory class
> > > org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImp
> > > l.
> > > java.lang.ClassCastException:
> > > org.hibernate.ejb.HibernatePersistence
> > >         at
> > >
> >
> javax.persistence.Persistence.findAllProviders(Persistence.java:112)
> > >         at
> > >
> >
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> > > java:79)
> > >         at
> > >
> >
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
> > > ctionFactoryImpl.java:108)
> > >         at
> > >
> >
> org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:267)
> > >         at
> > >
> >
> org.apache.ode.axis2.ODEServer.initDAO(ODEServer.java:410)
> > >         at
> > >
> >
> org.apache.ode.axis2.ODEServer.init(ODEServer.java:144)
> > >         at
> > >
> >
> org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:47
> > > )
> > >         at
> > >
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> > > java:1161)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> > > 1)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> > > t.java:4071)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> > > 375)
> > >         at
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> > > .java:761)
> > >         at
> > >
> >
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> > > 1)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> > >
> > >         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
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > > ava:297)
> > >         at
> > >
> >
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > > 64)
> > >         at
> > >
> >
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > >         at
> > >
> >
> org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> > > 12)
> > >         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
> > >
> >
> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > > ava:297)
> > >         at
> > >
> >
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > > 64)
> > >         at
> > >
> >
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> > >         at
> > >
> >
> org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
> > > catDeployer.java:300)
> > >         at
> > >
> >
> org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
> > > yer.java:104)
> > >         at
> > >
> >
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> > >
> > >         at
> > >
> >
> org.jboss.web.WebModule.startModule(WebModule.java:83)
> > >         at
> > >
> >
> org.jboss.web.WebModule.startService(WebModule.java:61)
> > >         at
> > >
> >
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> > > upport.java:289)
> > >         at
> > >
> >
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> > > eanSupport.java:245)
> > >         at
> > >
> > sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> > > Source)
> > >         at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at
> > > java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > >
> >
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> > > er.java:155)
> > >         at
> > >
> >
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> >
> === message truncated ===
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>

Re: problem of running ode in jboss

Posted by ½ðÐÐ Áõ <li...@yahoo.com.cn>.
Hi,

I have set the ode.persistence system property to
hibernate before i started jboss,but there's been
another problem accured,

11:22:27,415 INFO  [STDOUT] INFO -
ODEServer.initDAO(408) | Using DAO Connection
 Factory class
org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl.
11:22:27,540 INFO  [STDOUT] ERROR -
BpelDAOConnectionFactoryImpl.init(110) | Una
ble to detect Hibernate dialect!
11:22:30,321 INFO  [STDOUT] WARN -
SettingsFactory.buildSettings(103) | Could no
t obtain connection metadata
SQL Exception: Database
'F:\jboss-4.2.0.CR1\server\default\.\tmp\deploy\tmp14021
ode-exp.war\WEB-INF/hibdb' not found.

is it possible that i set the wrong property to
hibernate ?

i believe that ode will run okey in jboss or any other
app server in the future,but at present it can not,is
it ? 

--- Matthieu Riou <ma...@gmail.com> wrote:

> Hi,
> 
> There seems to be a compatibility problem between
> OpenJPA and JBoss. I've
> heard (from the OpenJPA mailing list) that JBoss
> would be using its own
> javax.persistence library, which would be pretty
> bad.
> 
> Anyway until somebody has enough time to find a
> workaround, I'd recommend
> using Hibernate when running on JBoss. Just set the
> ode.persistence system
> property to hibernate (for example before starting
> JBoss run 'set
> JAVA_OPTS="-Dode.persistence=hibernate").
> 
> Cheers,
> Matthieu
> 
> On 5/7/07, ½ðÐÐ Áõ <li...@yahoo.com.cn>
> wrote:
> >
> > Hi all!
> >
> > I get some infomation about ode Runtime
> Environments
> > and Requirements from the ode FAQ,And i found out
> that
> > ODE can be deployed into most common application
> > servers,so i tried to deploy ode in jboss(i'm sure
> > that the ode which i built can work normally in
> > tomcat),but there's been a problem durning the
> > deployment,And i know someone has deployed ode
> > successfully in jboss before,please let me know 
> which
> > version of jboss can work well with ode(i tried in
> > jboss_4.2.0.CR1)
> >
> > Here is the infomation about the problem on jboss
> > console:
> > 11:09:53,687 INFO  [STDOUT] INFO -
> > GeronimoLog.info(79) | Using DAO Connection F
> > actory class
> >
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> > 11:09:53,781 INFO  [STDOUT] ERROR -
> > GeronimoLog.error(108) | Error instantiating
> > DAO Connection Factory class
> > org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImp
> > l.
> > java.lang.ClassCastException:
> > org.hibernate.ejb.HibernatePersistence
> >         at
> >
>
javax.persistence.Persistence.findAllProviders(Persistence.java:112)
> >         at
> >
>
javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> > java:79)
> >         at
> >
>
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
> > ctionFactoryImpl.java:108)
> >         at
> >
>
org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:267)
> >         at
> >
>
org.apache.ode.axis2.ODEServer.initDAO(ODEServer.java:410)
> >         at
> >
>
org.apache.ode.axis2.ODEServer.init(ODEServer.java:144)
> >         at
> >
>
org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:47
> > )
> >         at
> >
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> > java:1161)
> >         at
> >
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> > 1)
> >         at
> >
>
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> > t.java:4071)
> >         at
> >
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> > 375)
> >         at
> >
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> > .java:761)
> >         at
> >
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> > 1)
> >         at
> >
>
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> >
> >         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
> >
>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > ava:297)
> >         at
> >
>
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > 64)
> >         at
> >
>
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> >         at
> >
>
org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> > 12)
> >         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
> >
>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > ava:297)
> >         at
> >
>
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > 64)
> >         at
> >
>
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> >         at
> >
>
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
> > catDeployer.java:300)
> >         at
> >
>
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
> > yer.java:104)
> >         at
> >
>
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> >
> >         at
> >
>
org.jboss.web.WebModule.startModule(WebModule.java:83)
> >         at
> >
>
org.jboss.web.WebModule.startService(WebModule.java:61)
> >         at
> >
>
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> > upport.java:289)
> >         at
> >
>
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> > eanSupport.java:245)
> >         at
> >
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> > Source)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at
> > java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> >
>
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> > er.java:155)
> >         at
> >
>
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 
=== message truncated ===


Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: problem of running ode in jboss

Posted by ½ðÐÐ Áõ <li...@yahoo.com.cn>.
Hi

I have tested in jboss_3.2.7,it runs well now.
i think old jboss versions can run ode ok because of
without persistence future,such as a web container,is
it?
--- Matthieu Riou <ma...@gmail.com> wrote:

> Hi,
> 
> There seems to be a compatibility problem between
> OpenJPA and JBoss. I've
> heard (from the OpenJPA mailing list) that JBoss
> would be using its own
> javax.persistence library, which would be pretty
> bad.
> 
> Anyway until somebody has enough time to find a
> workaround, I'd recommend
> using Hibernate when running on JBoss. Just set the
> ode.persistence system
> property to hibernate (for example before starting
> JBoss run 'set
> JAVA_OPTS="-Dode.persistence=hibernate").
> 
> Cheers,
> Matthieu
> 
> On 5/7/07, ½ðÐÐ Áõ <li...@yahoo.com.cn>
> wrote:
> >
> > Hi all!
> >
> > I get some infomation about ode Runtime
> Environments
> > and Requirements from the ode FAQ,And i found out
> that
> > ODE can be deployed into most common application
> > servers,so i tried to deploy ode in jboss(i'm sure
> > that the ode which i built can work normally in
> > tomcat),but there's been a problem durning the
> > deployment,And i know someone has deployed ode
> > successfully in jboss before,please let me know 
> which
> > version of jboss can work well with ode(i tried in
> > jboss_4.2.0.CR1)
> >
> > Here is the infomation about the problem on jboss
> > console:
> > 11:09:53,687 INFO  [STDOUT] INFO -
> > GeronimoLog.info(79) | Using DAO Connection F
> > actory class
> >
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> > 11:09:53,781 INFO  [STDOUT] ERROR -
> > GeronimoLog.error(108) | Error instantiating
> > DAO Connection Factory class
> > org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImp
> > l.
> > java.lang.ClassCastException:
> > org.hibernate.ejb.HibernatePersistence
> >         at
> >
>
javax.persistence.Persistence.findAllProviders(Persistence.java:112)
> >         at
> >
>
javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> > java:79)
> >         at
> >
>
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConne
> > ctionFactoryImpl.java:108)
> >         at
> >
>
org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:267)
> >         at
> >
>
org.apache.ode.axis2.ODEServer.initDAO(ODEServer.java:410)
> >         at
> >
>
org.apache.ode.axis2.ODEServer.init(ODEServer.java:144)
> >         at
> >
>
org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:47
> > )
> >         at
> >
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> > java:1161)
> >         at
> >
>
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
> > 1)
> >         at
> >
>
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> > t.java:4071)
> >         at
> >
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> > 375)
> >         at
> >
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> > .java:761)
> >         at
> >
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
> > 1)
> >         at
> >
>
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
> >
> >         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
> >
>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > ava:297)
> >         at
> >
>
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > 64)
> >         at
> >
>
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> >         at
> >
>
org.apache.catalina.core.StandardContext.init(StandardContext.java:53
> > 12)
> >         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
> >
>
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j
> > ava:297)
> >         at
> >
>
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
> > 64)
> >         at
> >
>
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> >         at
> >
>
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom
> > catDeployer.java:300)
> >         at
> >
>
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo
> > yer.java:104)
> >         at
> >
>
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:372)
> >
> >         at
> >
>
org.jboss.web.WebModule.startModule(WebModule.java:83)
> >         at
> >
>
org.jboss.web.WebModule.startService(WebModule.java:61)
> >         at
> >
>
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
> > upport.java:289)
> >         at
> >
>
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
> > eanSupport.java:245)
> >         at
> >
> sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> > Source)
> >         at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at
> > java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> >
>
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
> > er.java:155)
> >         at
> >
>
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 
=== message truncated ===


Send instant messages to your online friends http://uk.messenger.yahoo.com