0 Replies Latest reply on Jun 29, 2009 11:27 AM by Gert Leenders

    Problem with examples in jBPM 4.0 CR1

    Gert Leenders Newbie

      After i deployed the examples i get the following error in the gwt console when i try to access the overview of the process definitions:

      org.jbpm.api.JbpmException:
      warning: unrecognized event listener: timer [line=11 column=36 ]
      error: couldn't interpret the dom model: couldn't create object: couldn't load class org.jbpm.examples.timer.event.Escalate : org.jbpm.pvm.internal.wire.WireException: couldn't create object: couldn't load class org.jbpm.examples.timer.event.Escalate
      error: couldn't interpret the dom model: couldn't create object: couldn't load class org.jbpm.examples.eventlistener.LogListener : org.jbpm.pvm.internal.wire.WireException: couldn't create object: couldn't load class org.jbpm.examples.eventlistener.LogListener
      warning: unrecognized event listener: timer [line=11 column=57 ]
      error: couldn't interpret the dom model: couldn't create object: couldn't load class org.jbpm.examples.timer.repeat.Escalate : org.jbpm.pvm.internal.wire.WireException: couldn't create object: couldn't load class org.jbpm.examples.timer.repeat.Escalate
      xml validation error: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'on'. [line=10 column=43 ]: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'on'.
      xml validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mail'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, "http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, "http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, "http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, "http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, "http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, "http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, "http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, "http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is expected. [line=11 column=26 ]: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mail'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, "http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, "http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, "http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, "http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, "http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, "http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, "http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, "http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is expected.
      error: mail template not found: rectify-template [line=11 column=26 ]
      xml validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'custom'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, "http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, "http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, "http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, "http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, "http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, "http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, "http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, "http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is expected. [line=11 column=26 ]: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'custom'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, "http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, "http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, "http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, "http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, "http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, "http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, "http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, "http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is expected.
      xml validation error: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'. [line=13 column=24 ]: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'.
      xml validation error: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'. [line=21 column=25 ]: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'.
      org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
      org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      org.jbpm.pvm.internal.repository.DeploymentImpl_$$_javassist_21.getJbpmException(DeploymentImpl_$$_javassist_21.java)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:133)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:80)
      org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:72)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:147)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.checkKey(JpdlDeployer.java:108)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:79)
      org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:59)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
      org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.executeCmdInNewJtaTx(JtaTransactionInterceptor.java:122)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:70)
      org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      org.jbpm.api.JbpmException
      org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
      org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      org.jbpm.pvm.internal.repository.DeploymentImpl_$$_javassist_21.getJbpmException(DeploymentImpl_$$_javassist_21.java)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:133)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:80)
      org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:72)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:147)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.checkKey(JpdlDeployer.java:108)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:79)
      org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:59)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
      org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.executeCmdInNewJtaTx(JtaTransactionInterceptor.java:122)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:70)
      org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in element 'java'.
      org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
      org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
      org.apache.xerces.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source)
      org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
      org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
      org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:451)
      org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
      org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:58)
      org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:59)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:133)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:80)
      org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:72)
      org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:147)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.checkKey(JpdlDeployer.java:108)
      org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:79)
      org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
      org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:59)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
      org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
      org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
      org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.executeCmdInNewJtaTx(JtaTransactionInterceptor.java:122)
      org.jbpm.enterprise.internal.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:70)
      org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:67)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      Any idea someone?

      It would also help me if someone could tell me how i can undeploy the examples.

      Kind regards,
      Gert