[jboss-user] [jBPM] - Problem deploying a process

scurvo do-not-reply at jboss.com
Tue Jan 11 10:18:44 EST 2011


scurvo [http://community.jboss.org/people/scurvo] created the discussion

"Problem deploying a process"

To view the discussion, visit: http://community.jboss.org/message/580052#580052

--------------------------------------------------------------
Hi all,

I currently am trying to deploy a process into the DB using jbpm 4.4. I can see i can open the DB and export the jbpm schema to it, but when i try to deploy a process it gives the following error :

DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - ----- beginning hibernate tx 20791853 --------------------------------------------------------
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - jBPM version info: library[4.4-SNAPSHOT], schema[null]
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - ----- committing hibernate tx 4070693 -------------------------------------------------------
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - ----- beginning hibernate tx 27147812 --------------------------------------------------------
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - loading schema resource: jpdl-4.0.xsd
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - loading schema resource: jpdl-4.2.xsd
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - loading schema resource: jpdl-4.3.xsd
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - loading schema resource: jpdl-4.4.xsd
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - last id -2 was consumed.  acquiring new block...
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - ----- beginning hibernate tx 12833564 --------------------------------------------------------
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - ----- committing hibernate tx 5169649 -------------------------------------------------------
DEBUG org.jbpm.internal.log.Log4jLog.debug(Log4jLog.java:62) - acquired new id block [1-10000]
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:50) - errors during deployment of deployment(1): 
  error: failed to parse xml : org.xml.sax.SAXException:  http://java.sun.com/xml/jaxp/properties/schemaSource http://java.sun.com/xml/jaxp/properties/schemaSource
INFO org.jbpm.internal.log.Log4jLog.info(Log4jLog.java:54) - exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd at ef2e7c
org.jbpm.api.JbpmException: 
  error: failed to parse xml : org.xml.sax.SAXException:  http://java.sun.com/xml/jaxp/properties/schemaSource http://java.sun.com/xml/jaxp/properties/schemaSource
    at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:175)
    at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:141)
    at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:50)
    at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
    at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
    at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
    at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
    at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
    at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
    at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
    at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
    at pt.utl.ist.repox.repox_jbpm.ProcessManager.deployProcess(ProcessManager.java:61)
    at pt.utl.ist.repox.repox_jbpm.ProcessManager.createProcess(ProcessManager.java:54)
    at pt.utl.ist.repox.repox_jbpm.Main.main(Main.java:19)
    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:597)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
Caused by: org.xml.sax.SAXException:  http://java.sun.com/xml/jaxp/properties/schemaSource http://java.sun.com/xml/jaxp/properties/schemaSource
    at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:281)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
    at org.jbpm.pvm.internal.xml.Parser.buildDocument(Parser.java:455)
    at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:425)
    at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)
    at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:68)
    at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
    ... 18 more

My process is:
<?xml version="1.0" encoding="UTF-8"?>

<process name="helloWorld" xmlns=" http://jbpm.org/4.0/jpdl http://jbpm.org/4.0/jpdl">
    <start g="24,72,80,40">
        <transition to="printHelloWorld"/>
    </start>
    <java class="pt.utl.ist.repox.repox_jbpm.Printer" method="printHelloWorld" name="printHelloWorld" g="132,72,138,40">
        <transition to="theEnd"/>
    </java>
    <end name="theEnd" g="339,70,80,40"/>
</process>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/580052#580052]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110111/cec9d3b2/attachment.html 


More information about the jboss-user mailing list