7 Replies Latest reply on Sep 16, 2010 12:51 PM by Raminder Singh Saluja

    Websphere 7 Seam and JBPM

    Raminder Singh Saluja Newbie
      Hi has anyone successfully deployed a project that uses SEAM and JBPM on Websphere? I have been trying to deploy our app on Websphere and am getting the following error when i try to deploy my app..

      The app works fine till the JBPM component is called. The error i get at application startup is as given below..



      [9/14/10 21:27:43:803 EDT] 00000014 JpdlXmlReader E 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:314)
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:297)
           at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           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:2275)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
           at org.jboss.seam.Component.newInstance(Component.java:2158)
           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:143)
           at org.jboss.seam.init.Initialization.init(Initialization.java:747)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
           at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1681)
           at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:374)
           at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
           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:731)
           at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
           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:1122)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)
           at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:623)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4509)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4687)
           at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
           at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1177)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
           at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
           at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
           at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
           at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
           at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
           at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
           at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
           at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
           at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:564)
           at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:341)
           at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
           at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
           at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:217)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
           at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
           at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
           at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
           at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
           at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
           at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
           at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
           at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
           at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
           at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
           at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
           at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
      Nested exception:
      java.net.MalformedURLException
           at java.net.URL.<init>(URL.java:602)
           at java.net.URL.<init>(URL.java:465)
           at java.net.URL.<init>(URL.java:414)
           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:314)
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:297)
           at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           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:2275)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
           at org.jboss.seam.Component.newInstance(Component.java:2158)
           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:143)
           at org.jboss.seam.init.Initialization.init(Initialization.java:747)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
           at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1681)
           at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:374)
           at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
           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:731)
           at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
           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:1122)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)
           at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:623)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4509)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4687)
           at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
           at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1177)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
           at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
           at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
           at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
           at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
           at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
           at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
           at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
           at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
           at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:564)
           at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:341)
           at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
           at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
           at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:217)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
           at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
           at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
           at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
           at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
           at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
           at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
           at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
           at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
           at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
           at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
           at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
           at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

      [9/14/10 21:27:43:819 EDT] 00000014 webapp        E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
                                       org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpm
           at org.jboss.seam.Component.newInstance(Component.java:2170)
           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:143)
           at org.jboss.seam.init.Initialization.init(Initialization.java:747)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
           at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1681)
           at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:374)
           at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
           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:731)
           at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
           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:1122)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)
           at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:623)
           at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4509)
           at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4687)
           at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
           at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653)
           at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
           at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1177)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
           at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
           at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
           at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
           at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
           at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
           at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
           at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
           at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
           at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:564)
           at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:341)
           at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
           at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
           at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
           at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:217)
           at org.apache.struts.action.RequestProcessor.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.process(Unknown Source)
           at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)
           at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)
           at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
           at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
           at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)
           at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
           at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
           at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
           at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
           at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
           at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
           at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
           at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
           at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
           at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
           at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
           at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
           at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
           at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
           at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
           at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
      Caused by: java.lang.RuntimeException: could not deploy a process definition
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:303)
           at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
           at java.lang.reflect.Method.invoke(Method.java:600)
           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:2275)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
           at org.jboss.seam.Component.newInstance(Component.java:2158)
           ... 103 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:314)
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:297)
           ... 113 more



        • 1. Re: Websphere 7 Seam and JBPM
          Raminder Singh Saluja Newbie

          Components.xml file
          <?xml version="1.0" encoding="UTF-8"?>
          <components xmlns="http://jboss.com/products/seam/components"
               xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence"
               xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm"
               xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail"
               xmlns:framework="http://jboss.com/products/seam/framework" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:web="http://jboss.com/products/seam/web" xmlns:async="http://jboss.com/products/seam/async"
               xmlns:transaction="http://jboss.com/products/seam/transaction"
               xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
                           http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd
                           http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd
                           http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd
                           http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd
                           http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.2.xsd
                           http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd
                           http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.2.xsd
                           http://jboss.com/products/seam/components xmlns:web=http://jboss.com/products/seam/web
                           http://jboss.com/products/seam/components-2.2.xsd http://jboss.com/products/seam/async
                           http://jboss.com/products/seam/async-2.2.xsd"
               xmlns:excel="http://jboss.com/products/seam/excel">

              <core:init jndi-pattern="ejblocal:#{ejbName}" debug="true" />
              <core:init  transaction-management-enabled ="true"/>
             
              <transaction:ejb-transaction/>

              <core:manager conversation-timeout="120000"
                            concurrent-request-timeout="500"
                            conversation-id-parameter="cid"/>


          <persistence:managed-persistence-context name="entityManager"
                    auto-create="true"
                    entity-manager-factory="#{SeamProjectEntityManagerFactory}" />

               <persistence:entity-manager-factory name="SeamProjectEntityManagerFactory"
                    persistence-unit-name="posSeamDatabase" />


               <web:cache-control-filter name="textCacheControlFilter"
                    regex-url-pattern=".*(\.css|\.js|\.gif|\.png|\.jpg|\.jpeg)" value="max-age=86400" />


               <core:resource-loader>
                    <core:bundle-names>
                         <value>messages</value>
                         <value>Spectrum</value>
                         <value>Transaction</value>
                         <value>UserMessages</value>
                         <value>ws</value>

                    </core:bundle-names>
               </core:resource-loader>

               <event type="org.jboss.seam.security.notLoggedIn">
                    <action execute="#{redirect.captureCurrentView}" />
               </event>
               <event type="org.jboss.seam.security.loginSuccessful">
                    <action execute="#{redirect.returnToCapturedView}" />
               </event>



               <security:identity authenticate-method="#{auth.authenticate}" />

               <!-- For use with jBPM pageflow or process management -->

               <bpm:jbpm>
                    <bpm:process-definitions>
                         <value>pos.jpdl.xml</value>
                    </bpm:process-definitions>
               </bpm:jbpm>

               <!-- Install the QuartzDispatcher -->
               <async:quartz-dispatcher />

               <!-- SMTP Details -->

               <web:character-encoding-filter encoding="UTF-8"
                    override-client="true" url-pattern="*.seam" />

          </components>
          • 2. Re: Websphere 7 Seam and JBPM
            Leo van den berg Master

            Hi,


            Where are your processdefinitions? I think it's just a matter of jBPM not able to find the file and not a ebSphere problem.


            Leo

            • 3. Re: Websphere 7 Seam and JBPM
              Raminder Singh Saluja Newbie
              Hi Leo,

              I have tried keeping the processdefinition jpdl in various directories to get it work. I tried to root for ear file. Web-inf folder of the war, Web-inf\classes folder of war and it seems all these options gave the same error. So was wondering what would be the correct path for the processdefinition in the ear file.

              Thanks

              Raminder
              • 4. Re: Websphere 7 Seam and JBPM
                Leo van den berg Master

                Hi,


                I have all my processdefinitions inside a jar file inside the EAR. An example:


                actionPhase/processdefinition.xml (process-dir where the files are in and the xml file.


                In conponents.xml I have.




                <bpm:jbpm>
                     <bpm:process-definitions >
                           .....
                          <value>actionPhase/processdefinition.xml</value>
                           .......
                     </bpm:process-definitions>
                </bpm:jbpm>
                



                Took some time to figure this out, but it works.


                Leo

                • 5. Re: Websphere 7 Seam and JBPM
                  Raminder Singh Saluja Newbie

                  I tried copying the JPDL files to the jar file inside the ear... and it worked !!!... but my happiness was short lived.. it started giving complaining about JBPM managing its own transaction and i did see that this is disabled in jbpm.cfg.xml... Now i am confused... is it not able to read the jbpm.cfg.xml file?? too much confusion on the directory structure to get this working...


                  There are 3 files that need to be placed in a correct directory for the JBPM to work..


                  hibernate.cfg.xml
                  jbpm.cfg.xml and
                  the jpdl files.....


                  Should all of them be placed inside the jar folder or some other directory... I am still trying to work with various options.. if someone knows this already, I would save some time on the research..


                  Thanks


                  Raminder

                  • 6. Re: Websphere 7 Seam and JBPM
                    Leo van den berg Master

                    Hi,


                    The seam  documentation contains a chapter about configuration (In my version this is chapter 30 - packaging). Besides the minor error of the missing path as indicated in my earliesr message it should work.  It also contains the correct configuration of the database. In combination with the jBPM docs and the free Seam in Action chapter (manning.com) it will make a complete picture on how to configure it.


                    It took me a lot of experimenting to get things working because an EAR project has some strange differences.


                    Leo

                    • 7. Re: Websphere 7 Seam and JBPM
                      Raminder Singh Saluja Newbie

                      Thanks for the guidance Leo,


                      I got the app working. Really appreciate your help here. Interestingly for Jboss, the jbpm files were in the base ear directory and it was working fine.. hence all this confusion of directory structure... but the document and article on packaging helped.


                      Thanks


                      Raminder