0 Replies Latest reply on Nov 6, 2009 12:06 PM by akthem mezzi

    JBPM under websphere 7

    akthem mezzi Newbie

      Hi,
      I'm having a seam application with JBPM . the JBPM part is running very well under jboos 5( JBPM creats its tables in the databse) , I configured the same app to run under websphere 7 , everything runs well except JBPM that fails on server startup , my hibernate.cfg ,my jbpm.cfg as well as jbpm-jbdl.jar and jbpm`s process definition file are all under the ear root , so when websphere starts , i get the follwing exceptions:
      org.jbpm.jpdl.xml.JpdlXmlReader readProcessDefinition couldn't parse process definition
      org.dom4j.DocumentException: null Nested exception: null
      at org.dom4j.io.SAXReader.read(SAXReader.java:484)
      at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:58)
      at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:141)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
      at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
      at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
      at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
      at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
      at org.jboss.seam.Component.newInstance(Component.java:2132)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
      at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
      at org.jboss.seam.init.Initialization.init(Initialization.java:740)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
      at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
      at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
      at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
      Nested exception:
      java.net.MalformedURLException
      at java.net.URL.(URL.java:601)
      at java.net.URL.(URL.java:464)
      at java.net.URL.(URL.java:413)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:58)
      at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:141)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
      at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
      at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
      at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
      at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
      at org.jboss.seam.Component.newInstance(Component.java:2132)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
      at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
      at org.jboss.seam.init.Initialization.init(Initialization.java:740)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
      at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
      at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
      at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

      [09-11-06 11:54:13:416 EST] 00000014 FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: Incident FFDC émis sur C:\IBM\SDP\runtimes\base_v7\profiles\SGCIProfile\logs\ffdc\server1_7bdb7bdb_09.11.06_11.54.12.7666288080441772851559.txt com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
      [09-11-06 11:54:13:416 EST] 00000014 webapp E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception interceptée lors de l''initialisation du contexte : {0}
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpm
      at org.jboss.seam.Component.newInstance(Component.java:2144)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
      at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
      at org.jboss.seam.init.Initialization.init(Initialization.java:740)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
      at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
      at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
      at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
      Caused by: java.lang.RuntimeException: could not deploy a process definition
      at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:300)
      at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:599)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
      at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
      at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
      at org.jboss.seam.Component.newInstance(Component.java:2132)
      ... 27 more
      Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse process definition]
      at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:172)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
      at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
      at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
      at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)


      any kind of help will be apreciated