[jboss-user] [JBoss jBPM] - Exception sending context initialized event to listener ins

ikkida do-not-reply at jboss.com
Mon Sep 4 09:20:49 EDT 2006


Getting the following exception when trying to add .jpdl.xml process defination file in the resources folder of the project, which is using JBoss seam and JBoss jbpm. I have all the required jar files like the jbpm-3.1.1.jar, jbpm-identity-3.1.2.jar, jboss-seam.jar and ehcache-1.1.jar in my ear file

17:49:18,310 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
  | 17:49:18,325 ERROR [STDERR] java.lang.reflect.InvocationTargetException
  | 17:49:18,325 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:49:18,325 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:49:18,325 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,325 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,325 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  | 17:49:18,325 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  | 17:49:18,325 ERROR [STDERR]     at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.Component.callCreateMethod(Component.java:1322)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:1312)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1263)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1253)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:125)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:104)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.init.Initialization.init(Initialization.java:196)
  | 17:49:18,341 ERROR [STDERR]     at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
  | 17:49:18,341 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
  | 17:49:18,341 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
  | 17:49:18,356 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | 17:49:18,356 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | 17:49:18,356 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 17:49:18,356 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:49:18,356 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:49:18,356 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,356 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,356 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 17:49:18,356 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 17:49:18,356 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,372 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
  | 17:49:18,372 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:49:18,372 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:49:18,372 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,372 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,372 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 17:49:18,372 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 17:49:18,372 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,372 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | 17:49:18,372 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.web.WebModule.startService(WebModule.java:61)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 17:49:18,388 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 17:49:18,388 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,388 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,388 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | 17:49:18,403 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
  | 17:49:18,403 ERROR [STDERR]     at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | 17:49:18,403 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | 17:49:18,403 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,403 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 17:49:18,419 ERROR [STDERR]     at $Proxy39.start(Unknown Source)
  | 17:49:18,419 ERROR [STDERR]     at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
  | 17:49:18,419 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 17:49:18,419 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 17:49:18,434 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,434 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationIntercep
  | tor.java:142)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | 17:49:18,434 ERROR [STDERR]     at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.
  | java:238)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInte
  | rceptorSupport.java:188)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,450 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 17:49:18,466 ERROR [STDERR]     at $Proxy40.start(Unknown Source)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | 17:49:18,466 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  | 17:49:18,466 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 17:49:18,466 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 17:49:18,466 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationIntercep
  | tor.java:142)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 17:49:18,481 ERROR [STDERR]     at $Proxy6.deploy(Unknown Source)
  | 17:49:18,481 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | 17:49:18,497 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  | 17:49:18,497 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploy
  | mentScanner.java:263)
  | 17:49:18,497 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeployme
  | ntScanner.java:274)
  | 17:49:18,497 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymen
  | tScanner.java:225)
  | 17:49:18,497 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
  | 17:49:18,497 ERROR [STDERR]     at java.lang.Class.getDeclaredConstructors0(Native Method)
  | 17:49:18,512 ERROR [STDERR]     at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
  | 17:49:18,512 ERROR [STDERR]     at java.lang.Class.getConstructor0(Class.java:2640)
  | 17:49:18,512 ERROR [STDERR]     at java.lang.Class.newInstance0(Class.java:321)
  | 17:49:18,512 ERROR [STDERR]     at java.lang.Class.newInstance(Class.java:303)
  | 17:49:18,512 ERROR [STDERR]     at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:346)
  | 17:49:18,512 ERROR [STDERR]     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:220)
  | 17:49:18,512 ERROR [STDERR]     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | 17:49:18,512 ERROR [STDERR]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | 17:49:18,512 ERROR [STDERR]     at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceService
  | Factory.java:90)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:7
  | 4)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216
  | )
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:434)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.graph.node.DbSubProcessResolver.findSubProcess(DbSubProcessResolver.java:43)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.graph.node.ProcessState.read(ProcessState.java:79)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.jpdl.xml.JpdlXmlReader.readNodes(JpdlXmlReader.java:242)
  | 17:49:18,528 ERROR [STDERR]     at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:147)
  | 17:49:18,544 ERROR [STDERR]     at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
  | 17:49:18,544 ERROR [STDERR]     at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
  | 17:49:18,544 ERROR [STDERR]     at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:160)
  | 17:49:18,544 ERROR [STDERR]     at org.jboss.seam.core.Jbpm.startup(Jbpm.java:58)
  | 17:49:18,544 ERROR [STDERR]     ... 105 more
  | 17:49:18,544 ERROR [[/rfHighland]] Exception sending context initialized event to listener instance of class org.jboss.seam.s
  | ervlet.SeamListener
  | java.lang.IllegalArgumentException: exception invoking: startup
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:43)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
  |         at org.jboss.seam.Component.callCreateMethod(Component.java:1322)
  |         at org.jboss.seam.Component.newInstance(Component.java:1312)
  |         at org.jboss.seam.Component.getInstance(Component.java:1263)
  |         at org.jboss.seam.Component.getInstance(Component.java:1253)
  |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:125)
  |         at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:104)
  |         at org.jboss.seam.init.Initialization.init(Initialization.java:196)
  |         at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  |         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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:5116)
  |         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         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.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  |         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  |         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.GeneratedMethodAccessor6.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 $Proxy39.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.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
  |         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 $Proxy40.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  |         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.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | Caused by: java.lang.reflect.InvocationTargetException
  |         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.seam.util.Reflections.invoke(Reflections.java:13)
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  |         ... 99 more
  | Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
  |         at java.lang.Class.getDeclaredConstructors0(Native Method)
  |         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
  |         at java.lang.Class.getConstructor0(Class.java:2640)
  |         at java.lang.Class.newInstance0(Class.java:321)
  |         at java.lang.Class.newInstance(Class.java:303)
  |         at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:346)
  |         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:220)
  |         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  |         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  |         at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
  |         at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
  |         at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
  |         at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216)
  |         at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:434)
  |         at org.jbpm.graph.node.DbSubProcessResolver.findSubProcess(DbSubProcessResolver.java:43)
  |         at org.jbpm.graph.node.ProcessState.read(ProcessState.java:79)
  |         at org.jbpm.jpdl.xml.JpdlXmlReader.readNodes(JpdlXmlReader.java:242)
  |         at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:147)
  |         at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
  |         at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
  |         at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:160)
  |         at org.jboss.seam.core.Jbpm.startup(Jbpm.java:58)
  |         ... 105 more
  | 17:49:18,747 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | 17:49:18,793 INFO  [FacesConfigurator] Reading config jar:file:/E:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp10718rfHighlan
  | d.ear-contents/rfHighland.ejb3-contents/jboss-seam.jar!/META-INF/faces-config.xml
  | 17:49:18,793 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
  | 17:49:18,825 ERROR [LocaleUtils] Locale name null or empty, ignoring
  | 17:49:18,903 INFO  [StartupServletContextListener] ServletContext 'E:\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp10718rfHi
  | ghland.ear-contents\rfHighland-exp.war\' initialized.
  | 17:49:18,903 ERROR [StandardContext] Error listenerStart
  | 17:49:18,903 ERROR [StandardContext] Context [/rfHighland] startup failed due to previous errors
  | 17:49:18,918 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=rfHighland.war,id=2014952775
  | org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp10718rfHighland.ear-conten
  | ts/rfHighland-exp.war/ deployment failed
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  |         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  |         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.GeneratedMethodAccessor6.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 $Proxy39.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.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
  |         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 $Proxy40.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  |         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.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | 17:49:19,028 ERROR [MainDeployer] Could not start deployment: file:/E:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp10718rfHig
  | hland.ear-contents/rfHighland.war
  | org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp10718rfHighland.ear-conten
  | ts/rfHighland-exp.war/ deployment failed
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
  |         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  |         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  |         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.GeneratedMethodAccessor6.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 $Proxy39.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.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
  |         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 $Proxy40.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  |         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.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | 17:49:59,144 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:mysql://localhost/reachforce

Below are the entries for the various files used in the project
components.xml

<?xml version="1.0" encoding="utf-8"?>
  | <components>
  |     <component name="org.jboss.seam.core.init">
  |         <property name="myFacesLifecycleBug">true</property>
  |         <property name="jndiPattern">rfHighland/#{ejbName}/local</property>
  |     </component>
  |     <component name="entityManager" class="org.jboss.seam.core.ManagedPersistenceContext">
  |         <property name="persistenceUnitJndiName">java:/seamappEntityManagerFactory</property>
  |     </component>
  |     <component class="org.jboss.seam.core.Jbpm">
  |         <property name="processDefinitions">assign.jpdl.xml</property>
  |     </component>
  | </components>

hibernate.cfg.xml

<?xml version="1.0" encoding="utf-8"?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  | "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  | "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  | <hibernate-configuration>
  |     <session-factory>
  |         <property name="hibernate.bytecode.use_reflection_optimizer">false</property>
  |         <property name="hibernate.connection.driver_class">org.gjt.mm.mysql.Driver</property>
  |         <property name="hibernate.connection.password">root</property>
  |         <property name="hibernate.connection.url">jdbc:mysql://localhost/reachforce</property>
  |         <property name="hibernate.connection.username">root</property>
  |         <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  |         <mapping resource="Rfproject.hbm.xml" />
  |         <mapping resource="Rfcompany.hbm.xml" />
  |         <mapping resource="Rfcontactphonenote.hbm.xml" />
  |         <mapping resource="Rfcompanycontact.hbm.xml" />
  |         <mapping resource="Rfcontactclientnote.hbm.xml" />
  | 	    <!-- ############################################ -->
  | 	    <!-- # mapping files with external dependencies # -->
  | 	    <!-- ############################################ -->
  | 	
  | 	    <!-- following mapping file has a dependendy on   -->
  | 	    <!-- 'bsh-{version}.jar'.                         -->
  | 	    <!-- uncomment this if you don't have bsh on your -->
  | 	    <!-- classpath.  you won't be able to use the     -->
  | 	    <!-- script element in process definition files   -->
  | 	    <!-- 
  | 	    <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
  | 	    -->
  | 	
  | 	    <!-- following mapping files have a dependendy on  -->
  | 	    <!-- 'jbpm-identity-{version}.jar', mapping files  -->
  | 	    <!-- of the pluggable jbpm identity component.     -->
  | 	    <!-- comment out the following 3 lines if you don't-->
  | 	    <!-- want to use the default jBPM identity mgmgt   -->
  | 	    <!-- component                                     -->
  | 	    
  | 	    <mapping resource="org/jbpm/identity/User.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
  | 	    
  | 	    <!-- ###################### -->
  | 	    <!-- # jbpm mapping files # -->
  | 	    <!-- ###################### -->
  | 	
  | 	    <!-- hql queries and type defs -->
  | 	    <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
  | 	    
  | 	    <!-- graph.def mapping files -->
  | 	    <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
  | 	
  | 	    <!-- graph.node mapping files -->
  | 	    <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
  | 	
  | 	    <!-- context.def mapping files -->
  | 	    <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
  | 	
  | 	    <!-- taskmgmt.def mapping files -->
  | 	    <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
  | 	
  | 	    <!-- module.def mapping files -->
  | 	    <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
  | 	
  | 	    <!-- bytes mapping files -->
  | 	    <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
  | 	
  | 	    <!-- file.def mapping files -->
  | 	    <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
  | 	
  | 	    <!-- scheduler.def mapping files -->
  | 	    <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
  | 	
  | 	    <!-- graph.exe mapping files -->
  | 	    <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
  | 	
  | 	    <!-- module.exe mapping files -->
  | 	    <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
  | 	        
  | 	    <!-- context.exe mapping files -->
  | 	    <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
  | 	
  | 	    <!-- msg.db mapping files -->
  | 	    <mapping resource="org/jbpm/msg/Message.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/msg/db/TextMessage.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/command/ExecuteActionCommand.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/command/ExecuteNodeCommand.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/command/SignalCommand.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/command/TaskInstanceEndCommand.hbm.xml"/>
  | 	
  | 	    <!-- taskmgmt.exe mapping files -->
  | 	    <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
  | 	
  | 	    <!-- scheduler.exe mapping files -->
  | 	    <mapping resource="org/jbpm/scheduler/exe/Timer.hbm.xml"/>
  | 	
  | 	    <!-- logging mapping files -->
  | 	    <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
  | 	    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>                
  |         
  |     </session-factory>
  | </hibernate-configuration>
jbpm.cfg.xml

<jbpm-configuration>
  | 
  |   <jbpm-context>
  |     <service name="persistence">
  |        <factory>
  |           <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
  |              <field name="isTransactionEnabled"><false/></field>
  |           </bean>
  |        </factory>
  |     </service>
  |     <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
  |     <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
  |     <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
  |     <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
  |   </jbpm-context>
  | 
  | </jbpm-configuration>
persistence.xml

<entity-manager>
  |     <persistence-unit name="reachforceDatabase">
  |         <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |         <jta-data-source>java:/reachforceDatasource</jta-data-source>
  |         <properties>
  |             <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
  |             <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />
  |             <property name="hibernate.transaction.flush_before_completion" value="true" />
  |             <property name="hibernate.hbm2ddl.auto" value="create" />
  |             <property name="hibernate.show_sql" value="true" />
  |             <property name="jboss.entity.manager.jndi.name" value="java:/reachforceDatabase"/>
  |             <property name="jboss.entity.manager.factory.jndi.name" value="java:/reachforceDatasourceFactory" />
  |         </properties>
  |     </persistence-unit>
  | </entity-manager>

approve.jpdl.xml

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   xmlns=""  name="Approve">
  |    <swimlane name="ResearcherSwimlane">
  |       <assignment expression="user(researcher)"></assignment>
  |    </swimlane>
  |    <start-state name="Approve">
  |       <task name="Get Company Name" swimlane="ResearcherSwimlane">
  |          <controller>
  |             <variable name="companyName" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="Select Company Name" to="Get Company Research Details"></transition>
  |    </start-state>
  |    <task-node name="Get Company Research Details">
  |       <task name="Approve Status" swimlane="ResearcherSwimlane">
  |          <controller>
  |             <variable name="approveStatus" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="Set Status" to="Save Status"></transition>
  |    </task-node>
  |    <task-node name="Save Status">
  |       <transition name="Save Details" to="End Approve">
  |            <action name="Save Action" class="com.rf.highland.ApproveAction"></action>
  |       </transition>
  |    </task-node>
  |    <end-state name="End Approve"></end-state>
  | </process-definition>


Please let me know what im missing here.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969226#3969226

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969226



More information about the jboss-user mailing list