ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jinhang Liu <liujinhang_2...@yahoo.com.cn>
Subject Re: [Fwd: Re: problem of running ode in jboss]
Date Mon, 11 Jun 2007 01:18:56 GMT
Hi,

You do not need to set the system property to hibernate,derectly copy the ode.war to the directory
\deploy and it will run well,since the jboss server which is under version 4.0.4 does not
support the persistence feature using hibernate.


----- Original Message ----
From: Frank Zartmann <ma23il@frank-zartmann.de>
To: ode-user@incubator.apache.org
Sent: Saturday, June 9, 2007 1:41:24 AM
Subject: [Fwd: Re: problem of running ode in jboss]


Hi,

I use JBoss-4.2.0.GA  and I've set the ode.persistence system property
to hibernate.
Nevertheless I get exceptions. Can anybody help?

Thanks in adavance,

Frank

=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/frank/tmp/jboss-4.2.0.GA

  JAVA: /opt/jdk1.5.0_10/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -Dode.persistence=hibernate -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /home/frank/tmp/jboss-4.2.0.GA/bin/run.jar:/opt/jdk1.5.0_10/lib/tools.jar

=========================================================================

07:35:45,592 INFO  [Server] Starting JBoss (MX MicroKernel)...
07:35:45,596 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA
date=200705111440)
07:35:45,597 INFO  [Server] Home Dir: /home/frank/tmp/jboss-4.2.0.GA
07:35:45,597 INFO  [Server] Home URL: file:/home/frank/tmp/jboss-4.2.0.GA/
07:35:45,598 INFO  [Server] Patch URL: null
07:35:45,599 INFO  [Server] Server Name: default
07:35:45,599 INFO  [Server] Server Home Dir: /home/frank/tmp/jboss-4.2.0.GA/server/default
07:35:45,599 INFO  [Server] Server Home URL: file:/home/frank/tmp/jboss-4.2.0.GA/server/default/
07:35:45,600 INFO  [Server] Server Log Dir: /home/frank/tmp/jboss-4.2.0.GA/server/default/log
07:35:45,600 INFO  [Server] Server Temp Dir: /home/frank/tmp/jboss-4.2.0.GA/server/default/tmp
07:35:45,600 INFO  [Server] Root Deployment Filename: jboss-service.xml
07:35:46,201 INFO  [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
07:35:46,201 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems
Inc.
07:35:46,201 INFO  [ServerInfo] OS-System: Linux 2.6.18.2-34-default,i386
07:35:47,586 INFO  [Server] Core system initialized
07:35:54,309 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
07:35:54,312 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
07:35:55,948 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) -
JBoss Inc.
07:35:55,948 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
07:35:56,409 INFO  [TransactionManagerService] Starting recovery manager
07:35:57,389 INFO  [TransactionManagerService] Recovery manager started
07:35:57,389 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
07:36:09,144 INFO  [EJB3Deployer] Starting java:comp multiplexer
07:36:13,694 INFO  [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
07:36:18,012 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path: /opt/jdk1.5.0_10/jre/lib/i386/server:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386
07:36:18,355 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
07:36:18,357 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
07:36:18,357 INFO  [Catalina] Initialization processed in 596 ms
07:36:18,358 INFO  [StandardService] Starting service jboss.web
07:36:18,959 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
07:36:19,753 INFO  [Catalina] Server startup in 1395 ms
07:36:20,032 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
07:36:22,563 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
07:36:24,509 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp34237jbossws-context-exp.war/
07:36:24,873 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
07:36:28,112 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
07:36:29,235 INFO  [MailService] Mail Service bound to java:/Mail
07:36:29,531 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
07:36:29,599 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
07:36:29,684 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
07:36:29,783 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
07:36:30,099 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
07:36:30,133 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
07:36:30,146 INFO  [QuartzResourceAdapter] start quartz!!!
07:36:30,238 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread:
main
07:36:30,276 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
07:36:30,281 INFO  [RAMJobStore] RAMJobStore initialized.
07:36:30,282 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized
from default resource file in Quartz package: 'quartz.properties'
07:36:30,282 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
07:36:30,283 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
07:36:31,296 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS'
to JNDI name 'java:DefaultDS'
07:36:32,686 INFO  [A] Bound to JNDI name: queue/A
07:36:32,688 INFO  [B] Bound to JNDI name: queue/B
07:36:32,691 INFO  [C] Bound to JNDI name: queue/C
07:36:32,693 INFO  [D] Bound to JNDI name: queue/D
07:36:32,696 INFO  [ex] Bound to JNDI name: queue/ex
07:36:32,731 INFO  [testTopic] Bound to JNDI name: topic/testTopic
07:36:32,734 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
07:36:32,737 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
07:36:32,742 INFO  [testQueue] Bound to JNDI name: queue/testQueue
07:36:32,809 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
07:36:32,896 INFO  [DLQ] Bound to JNDI name: queue/DLQ
07:36:33,304 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA'
to JNDI name 'java:JmsXA'
07:36:33,440 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
07:36:33,924 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
07:36:33,960 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
07:36:33,984 INFO  [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA
date=200705111440)] Started in 48s:381ms
07:36:55,831 INFO  [TomcatDeployer] deploy, ctxPath=/ode, warUrl=.../tmp/deploy/tmp34266ode-exp.war/
07:36:59,542 INFO  [STDOUT] DEBUG - GeronimoLog.debug(66) | Loading properties
07:36:59,546 INFO  [STDOUT] WARN - GeronimoLog.warn(92) | Config file /home/frank/tmp/jboss-4.2.0.GA/server/default/./tmp/deploy/tmp34266ode-exp.war/WEB-INF/conf/ode-axis2.properties
not found, default values will be used.
07:36:59,549 INFO  [STDOUT] DEBUG - GeronimoLog.debug(66) | Initializing transaction manager
07:36:59,551 INFO  [STDOUT] DEBUG - GeronimoLog.debug(66) | Initializing transaction manager
using org.apache.ode.il.EmbeddedGeronimoFactory
07:36:59,635 INFO  [STDOUT] DEBUG - GeronimoLog.debug(66) | Creating data source.
07:37:03,248 INFO  [STDOUT] DEBUG - GeronimoLog.debug(66) | Starting DAO.
07:37:03,250 INFO  [STDOUT] INFO - GeronimoLog.info(79) | Using DAO Connection Factory class
org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl.
07:37:10,124 INFO  [STDOUT] ERROR - ApplicationContext.log(660) | StandardWrapper.Throwable
java.lang.LinkageError: loader constraints violated when linking javax/transaction/TransactionManager
class
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:41)
        at org.hibernate.cfg.SettingsFactory.createTransactionManagerLookup(SettingsFactory.java:418)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:140)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
        at org.apache.ode.daohib.SessionManager.<init>(SessionManager.java:64)
        at org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl.init(BpelDAOConnectionFactoryImpl.java:120)
        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:981)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4373)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
        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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
        at org.jboss.web.WebModule.startModule(WebModule.java:83)
        at org.jboss.web.WebModule.startService(WebModule.java:61)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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:466)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
        at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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(URLDeploymentScanner.java:421)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
        at org.jboss.deployment.scanne
07:37:10,136 INFO  [STDOUT] r.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
07:37:10,146 INFO  [STDOUT] ERROR - StandardContext.loadOnStartup(4071) | Servlet /ode threw
load() exception
java.lang.LinkageError: loader constraints violated when linking javax/transaction/TransactionManager
class
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:41)
        at org.hibernate.cfg.SettingsFactory.createTransactionManagerLookup(SettingsFactory.java:418)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:140)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
        at org.apache.ode.daohib.SessionManager.<init>(SessionManager.java:64)
        at org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl.init(BpelDAOConnectionFactoryImpl.java:120)
        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:981)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4373)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
        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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
        at org.jboss.web.WebModule.startModule(WebModule.java:83)
        at org.jboss.web.WebModule.startService(WebModule.java:61)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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(ServiceController.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.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:466)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
        at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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(URLDeploymentScanner.java:421)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
        at org.jboss
07:37:10,157 INFO  [STDOUT] .deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
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, 金行 刘 <liujinhang_2005@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 <matthieu.riou@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, 金行 刘 <liujinhang_2005@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
>

Send instant messages to your online friends http://uk.messenger.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message