7 Replies Latest reply on Sep 20, 2007 7:07 AM by Ajeet Phansalkar

    Version compatibility issues between JBPM 3.1.3 and JBoss AS

    Ajeet Phansalkar Newbie

      Hi,

      I am trying to run JBPM 3.1.3 on JBoss AS 4.2 GA.Is this compatible?The custom processes created were deployed correctly on the preconfigured AS.I am trying to acecess the same process stored in an seperate Mysql database via a seam(2.0) application but unaable to do so.I am getting an error when creating a new context that a particular hbm file cannot be mapped.Exception is

      org.hibernate.InvalidMappingException: Could not parse mapping document from resource org/jbpm/command/TaskInstanceEndCommand.hbm.xml

      Please help as i have been struggling to get this up and running for a couple of days now.

      Firstly are the versions compatible.If so why am i getting the errors.

      Please help!!!!

      Regards,
      Ajeet Phansalkar

        • 1. Re: Version compatibility issues between JBPM 3.1.3 and JBos
          Ronald van Kuijk Master

          turn on hibernate debug and see why it fails. Could be due to an invompatible hibernate version/configuration.

          • 2. Re: Version compatibility issues between JBPM 3.1.3 and JBos
            Ajeet Phansalkar Newbie

            Hi,

            Thanks for the quick help.I got past the error by taking the hibernate file comeing the examples from seam 2.0.I turned on the logging also and started the server to get an exception while parsing the process definition file.The following is the error stack:
            Not sure why its not parsing the process definition file.The same file was working on AS 4.0.5.Appreciate your help in this regard.

            2007-09-19 19:11:36,639 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: swimlaneNewActorId -> TASKACTORID_
            2007-09-19 19:11:36,639 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: null
            2007-09-19 19:11:36,639 DEBUG [org.hibernate.cfg.Configuration] properties: {show_sql=true, java.vendor=Sun Microsystems Inc., sun.java.launcher=SUN_STANDARD, catalina.base=C:\jboss-4.2.0.GA\server\messaging, sun.management.compiler=HotSpot Server Compiler, connection.datasource=java:/DefaultDS, catalina.useNaming=false, hbm2ddl.auto=create-drop, os.name=Windows XP, sun.boot.class.path=C:\jboss-4.2.0.GA\lib\endorsed\serializer.jar;C:\jboss-4.2.0.GA\lib\endorsed\xalan.jar;C:\jboss-4.2.0.GA\lib\endorsed\xercesImpl.jar;D:\Java\jdk1.5.0_12\jre\lib\rt.jar;D:\Java\jdk1.5.0_12\jre\lib\i18n.jar;D:\Java\jdk1.5.0_12\jre\lib\sunrsasign.jar;D:\Java\jdk1.5.0_12\jre\lib\jsse.jar;D:\Java\jdk1.5.0_12\jre\lib\jce.jar;D:\Java\jdk1.5.0_12\jre\lib\charsets.jar;D:\Java\jdk1.5.0_12\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_12-b04, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, user.name=phansaaj, shared.loader=, jboss.remoting.version=22, jboss.bind.address=PC-A48011, tomcat.util.buf.StringCache.byte.enabled=true, jboss.remoting.instanceid=29adb0b3eab64a8dx-4dbb5f1ax114ba8350f3x-8000636, jboss.home.dir=C:\jboss-4.2.0.GA, com.arjuna.common.util.logging.DebugLevel=0x00000000, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=D:\Java\jdk1.5.0_12\jre\bin, com.arjuna.ats.jta.lastResourceOptimisationInterface=org.jboss.tm.LastResource, jboss.home.url=file:/C:/jboss-4.2.0.GA/, java.version=1.5.0_12, user.timezone=Asia/Calcutta, jboss.server.home.dir=C:\jboss-4.2.0.GA\server\messaging, hibernate.bytecode.provider=javassist, jgroups.bind_addr=PC-A48011, sun.arch.data.model=32, java.endorsed.dirs=C:\jboss-4.2.0.GA\lib\endorsed, jboss.server.home.url=file:/C:/jboss-4.2.0.GA/server/messaging/, sun.cpu.isalist=, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., file.separator=\, java.specification.name=Java Platform API Specification, com.arjuna.ats.tsmx.agentimpl=com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl, java.class.version=49.0, jboss.server.config.url=file:/C:/jboss-4.2.0.GA/server/messaging/conf/, user.country=US, java.home=D:\Java\jdk1.5.0_12\jre, java.vm.info=mixed mode, jboss.lib.url=file:/C:/jboss-4.2.0.GA/lib/, bind.address=PC-A48011, os.version=5.1, transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.connection.datasource=java:/DefaultDS, path.separator=;, java.vm.version=1.5.0_12-b04, user.variant=, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, com.arjuna.common.util.logger=log4j_releveler, jboss.server.temp.dir=C:\jboss-4.2.0.GA\server\messaging\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, sun.rmi.dgc.client.gcInterval=3600000, user.home=C:\Documents and Settings\phansaaj, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., jboss.identity=29adb0b3eab64a8dx-4dbb5f1ax114ba8350f3x-8000636, hibernate.hbm2ddl.auto=create-drop, java.library.path=D:\Java\jdk1.5.0_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\JBOSSIDE\eclipse\plugins\org.apache.ant_1.6.5\bin;D:\jboss-4.2.0.GA\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\\poc\hsqldb.jar;C:\Program Files\MySQL\MySQL Server 5.0\bin, java.vendor.url=http://java.sun.com/, program.name=run.bat, java.vm.vendor=Sun Microsystems Inc., sun.rmi.dgc.server.gcInterval=3600000, common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=D:\Java\jdk1.5.0_12\lib\tools.jar;C:\jboss-4.2.0.GA\bin\run.jar, hibernate.bytecode.use_reflection_optimizer=false, jboss.server.log.dir=C:\jboss-4.2.0.GA\server\messaging\log, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, catalina.home=C:\jboss-4.2.0.GA\server\messaging, jboss.remoting.domain=JBOSS, java.vm.specification.version=1.0, com.arjuna.common.util.logging.VisibilityLevel=0xffffffff, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, jboss.server.lib.url=file:/C:/jboss-4.2.0.GA/server/messaging/lib/, com.arjuna.ats.arjuna.objectstore.objectStoreDir=C:\jboss-4.2.0.GA\server\messaging\data/tx-object-store, TSMX_VERSION=unknown, java.rmi.server.codebase=http://PC-A48011:8083/, java.io.tmpdir=C:\DOCUME~1\phansaaj\LOCALS~1\Temp\, org.w3c.dom.DOMImplementationSourceList=org.apache.xerces.dom.DOMXSImplementationSourceImpl, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=, jboss.server.data.dir=C:\jboss-4.2.0.GA\server\messaging\data, java.rmi.server.hostname=PC-A48011, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, jboss.remoting.jmxid=PC-A48011_1190209256611, java.ext.dirs=D:\Java\jdk1.5.0_12\jre\lib\ext, PROPERTIES_FILE=tsmx.properties, user.dir=C:\jboss-4.2.0.GA\bin, line.separator=
            , java.vm.name=Java HotSpot(TM) Server VM, jboss.server.base.dir=C:\jboss-4.2.0.GA\server, org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger, com.arjuna.common.util.logging.FacilityLevel=0xffffffff, jboss.server.base.url=file:/C:/jboss-4.2.0.GA/server/, cache.provider_class=org.hibernate.cache.HashtableCacheProvider, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=Cp1252, catalina.ext.dirs=C:\jboss-4.2.0.GA\server\messaging\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.5, jboss.server.name=messaging, hibernate.show_sql=true}
            2007-09-19 19:11:36,639 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
            2007-09-19 19:11:36,639 DEBUG [org.jbpm.JbpmContext] creating org.jbpm.JbpmContext@fad969
            2007-09-19 19:11:36,639 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1acc826{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,639 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@8843f5{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,655 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@7f9e04{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,655 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@5f39b0{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,655 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1c49094{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,655 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@5b84b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@c12ad8{ url=null ,addedOrder=0}
            2007-09-19 19:11:36,655 ERROR [org.jbpm.jpdl.xml.JpdlXmlReader] 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:267)
            at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:250)
            at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:71)
            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:21)
            at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
            at org.jboss.seam.Component.callComponentMethod(Component.java:1957)
            at org.jboss.seam.Component.callCreateMethod(Component.java:1880)
            at org.jboss.seam.Component.newInstance(Component.java:1859)
            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:98)
            at org.jboss.seam.init.Initialization.init(Initialization.java:508)
            at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor5.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.GeneratedMethodAccessor10.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 $Proxy46.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy47.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at sun.reflect.GeneratedMethodAccessor23.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 $Proxy10.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor5.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.GeneratedMethodAccessor10.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 $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(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 $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:595)
            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:267)
            at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:250)
            at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:71)
            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:21)
            at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
            at org.jboss.seam.Component.callComponentMethod(Component.java:1957)
            at org.jboss.seam.Component.callCreateMethod(Component.java:1880)
            at org.jboss.seam.Component.newInstance(Component.java:1859)
            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:98)
            at org.jboss.seam.init.Initialization.init(Initialization.java:508)
            at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

            • 3. Re: Version compatibility issues between JBPM 3.1.3 and JBos
              Ronald van Kuijk Master

              cool, someone thinks a response within 18 hours is quick... sometimes people think a response within 8 hours is slow... So a compliment to you to for your 'patience' ;-)

              This is in your error stacktrace: java.net.MalformedURLException

              can you relate this to anything in your processdefinition?

              • 4. Re: Version compatibility issues between JBPM 3.1.3 and JBos
                Ajeet Phansalkar Newbie

                Hi,

                Thanks for the compliment but thats the time I have got responses from the JBoss forums.I am not sure if there is a faster way to get the responses.If you know please let me know.

                Anyway coming to the problem the process definition file seems to be valid and matches aginst teh DTD ,I didnt see any errors in my eclipse and also it correctly put the process in database when i deployed the process from the Eclipse Process Designer.I was running jbpm 3.1.3 onm AS 4.0.2.Instead of using the GUI from JBPM I have a custonmer Seam GUI through which I am trying to run the process as teh ToDo/DVD Store Seam JBPM example and on server startup while trying to deploy the application with war file I get this error.

                I have tried to deploy teh to do process definition and I get connect exception.

                I am attaching the process definition file:
                <process-definition
                name="FaultProcess"
                xmlns="urn:jbpm.org:jpdl-3.1"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="urn:jbpm.org:jpdl-3.1 http://jbpm.org/xsd/jpdl-3.1.xsd"
                >












                <start-state name="Initiate">






                </start-state>
                <task-node name="Fault Received">







                </task-node>





                <task-node name="Identify Fault">










                </task-node>
                <task-node name="Unresolved">







                </task-node>
                <end-state name="end1"></end-state>





                <task-node name="Notification">










                </task-node>
                <task-node name="Resolution">











                </task-node>





                <end-state name="end2"></end-state>
                </process-definition>

                • 5. Re: Version compatibility issues between JBPM 3.1.3 and JBos
                  Ronald van Kuijk Master

                  please post it within 'code' tags (see under the preview button)

                  • 6. Re: Version compatibility issues between JBPM 3.1.3 and JBos
                    Ajeet Phansalkar Newbie

                    Attached is the proces definition file

                    <process-definition
                     name="FaultProcess"
                     xmlns="urn:jbpm.org:jpdl-3.1"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="urn:jbpm.org:jpdl-3.1 http://jbpm.org/xsd/jpdl-3.1.xsd"
                     >
                     <swimlane name="Initiator">
                     <assignment expression="user(bert)"></assignment>
                     </swimlane>
                     <swimlane name="Identifier">
                     <assignment expression="user(ernie)"></assignment>
                     </swimlane>
                     <swimlane name="Notifier">
                     <assignment expression="user(user)"></assignment>
                     </swimlane>
                     <swimlane name="Resolver">
                     <assignment expression="user(admin)"></assignment>
                     </swimlane>
                     <start-state name="Initiate">
                     <task name="Initiate Fault Process">
                     <controller>
                     <variable name="Fault Id" access="read,write,required"></variable>
                     </controller>
                     </task>
                     <transition name="" to="Fault Received"></transition>
                     </start-state>
                     <task-node name="Fault Received">
                     <task name="Identify Type" swimlane="Initiator">
                     <controller>
                     <variable name="Fault Id" access="read"></variable>
                     <variable name="Fault Type" access="read,write,required"></variable>
                     </controller>
                     </task>
                     <transition name="" to="Check Fault Type"></transition>
                     </task-node>
                     <decision name="Check Fault Type">
                     <handler class="com.patni.jbpm.CheckType"/>
                     <transition name="Network" to="Identify Fault"></transition>
                     <transition name="Hardware" to="Unresolved"></transition>
                     </decision>
                     <task-node name="Identify Fault">
                     <task name="Identify Priority" swimlane="Identifier">
                     <controller>
                     <variable name="Fault Id" access="read"></variable>
                     <variable name="Fault Type" access="read"></variable>
                     <variable name="Fault Priority" access="read,write,required"></variable>
                     <variable name="Fault Decription" access="read,write,required"></variable>
                     <variable name="Fault Location" access="read,write,required"></variable>
                     </controller>
                     </task>
                     <transition name="" to="Check Priority"></transition>
                     </task-node>
                     <task-node name="Unresolved">
                     <task name="Fault Unresolved" swimlane="Initiator">
                     <controller>
                     <variable name="Fault Id" access="read"></variable>
                     <variable name="Fault Type" access="read"></variable>
                     </controller>
                     </task>
                     <transition name="" to="end1"></transition>
                     </task-node>
                     <end-state name="end1"></end-state>
                     <decision name="Check Priority">
                     <handler class="com.patni.jbpm.CheckPriority"/>
                     <transition name="High" to="Notification"></transition>
                     <transition name="Medium/Low" to="Resolution"></transition>
                     </decision>
                     <task-node name="Notification">
                     <task name="Notify Manager" swimlane="Notifier">
                     <controller>
                     <variable name="Fault Id" access="read"></variable>
                     <variable name="Fault Type" access="read"></variable>
                     <variable name="Fault Priority" access="read"></variable>
                     <variable name="Fault Decription" access="read"></variable>
                     <variable name="Fault Location" access="read"></variable>
                     </controller>
                     </task>
                     <transition name="" to="Resolution"></transition>
                     </task-node>
                     <task-node name="Resolution">
                     <task name="Enter Status" swimlane="Resolver">
                     <controller>
                     <variable name="Fault Id" access="read"></variable>
                     <variable name="Fault Type" access="read"></variable>
                     <variable name="Fault Priority" access="read"></variable>
                     <variable name="Fault Decription" access="read"></variable>
                     <variable name="Fault Location" access="read"></variable>
                     <variable name="Fault Status" access="read,write,required"></variable>
                     </controller>
                     </task>
                     <transition name="" to="Check Status"></transition>
                     </task-node>
                     <decision name="Check Status">
                     <handler class="com.patni.jbpm.CheckStatus"/>
                     <transition name="Resolved" to="end2"></transition>
                     <transition name="Not Resolved" to="Unresolved"></transition>
                     </decision>
                     <end-state name="end2"></end-state>
                    </process-definition>
                    


                    • 7. Re: Version compatibility issues between JBPM 3.1.3 and JBos
                      Ajeet Phansalkar Newbie

                      Hi,

                      The error was due to the fact that the seam components were not finding the processdefinition.xml as the path for the same in components.xml was prefixed with a "/".Removing that fixed the whole thing.

                      Appreciate your support in this regard.

                      Thanks & Regards,
                      Ajeet Phansalkar