03-14-2013 11:07 AM
INFO | 2013-03-14 16:53:41.057 (1363272821057) | ExecuteThread: '2' for queue: 'default' | org.activiti.engine.impl.bpmn.deployer.BpmnDeployer | deploy
Processing resource MyProcess.MyProcess.png
INFO | 2013-03-14 16:53:41.058 (1363272821058) | ExecuteThread: '2' for queue: 'default' | org.activiti.engine.impl.bpmn.deployer.BpmnDeployer | deploy
Processing resource MyProcess.bpmn
ERROR: ''
SEVERE | 2013-03-14 16:53:41.294 (1363272821294) | ExecuteThread: '2' for queue: 'default' | org.activiti.engine.impl.interceptor.CommandContext | close
Error while closing command context
org.activiti.engine.ActivitiException: Error parsing XML
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:181)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:86)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:42)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:95)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedLatestProcessDefinitionByKey(DeploymentManager.java:69)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:64)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:36)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
at org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:60)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:62)
…
Caused by: java.lang.RuntimeException: Could not validate XML with BPMN 2.0 XSD
at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:206)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:170)
… 60 more
Caused by: javax.xml.transform.TransformerException: java.lang.UnsupportedOperationException
at com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.validate(StAXValidatorHelper.java:98)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:118)
at javax.xml.validation.Validator.validate(Validator.java:127)
at org.activiti.bpmn.converter.BpmnXMLConverter.validateModel(BpmnXMLConverter.java:173)
at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:198)
… 61 more
Caused by: javax.xml.transform.TransformerException: java.lang.UnsupportedOperationException
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:732)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
at com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.validate(StAXValidatorHelper.java:94)
… 65 more
Caused by: java.lang.UnsupportedOperationException
at weblogic.xml.stax.XMLStreamReaderBase.getTextCharacters(XMLStreamReaderBase.java:515)
at com.sun.org.apache.xalan.internal.xsltc.trax.StAXStream2SAX.handleCharacters(StAXStream2SAX.java:261)
at com.sun.org.apache.xalan.internal.xsltc.trax.StAXStream2SAX.bridge(StAXStream2SAX.java:171)
at com.sun.org.apache.xalan.internal.xsltc.trax.StAXStream2SAX.parse(StAXStream2SAX.java:120)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:674)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:723)
… 67 more
Referring to the message "Could not validate XML with BPMN 2.0 XSD" I should note that the server, where the engine is running, is not allowed to connect to the Internet.03-15-2013 05:30 AM
Caused by: javax.xml.transform.TransformerException: java.lang.UnsupportedOperationException
03-15-2013 06:22 AM
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:118)always goes to com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl instead to redirect to the validator provided by xerces.
at javax.xml.validation.Validator.validate(Validator.java:127)
at org.activiti.bpmn.converter.BpmnXMLConverter.validateModel(BpmnXMLConverter.java:173)
03-18-2013 10:27 AM
com.sun.xml.internal.stream.XMLInputFactoryImpl
For more details see http://docs.oracle.com/javase/6/docs/api/javax/xml/stream/XMLInputFactory.html#newFactory%28%29In addition to the Activiti engine librariesPlease note that we do not use for example Spring, e-mail, or web-services from within Activiti engine, therefore you might need to add other libraries to the list above to fulfill the needs of your application.we also need
- activiti-bpmn-converter-5.12.jar
- activiti-bpmn-model-5.12.jar
- activiti-engine-5.12.jar
To output all log records to the console the following libraries are also needed
- commons-lang-2.4.jar
- joda-time-2.1.jar
- mybatis-3.1.1.jar
- org.springframework.asm-3.1.2.RELEASE.jar
- org.springframework.beans-3.1.2.RELEASE.jar
- org.springframework.context-3.1.2.RELEASE.jar
- org.springframework.core-3.1.2.RELEASE.jar
- slf4j-api-1.7.2.jar
- log4j-over-slf4j-1.7.2.jar
- jcl-over-slf4j-1.7.2.jar
- slf4j-jdk14-1.7.2.jar
03-18-2013 11:55 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.