05-25-2011 08:53 AM
public void init(ServletConfig config) throws ServletException {
super.init(config);
processEngine = ProcessEngines.getDefaultProcessEngine();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
PrintWriter out = response.getWriter();
RepositoryService repositoryService = processEngine.getRepositoryService();
RuntimeService runtimeService = processEngine.getRuntimeService();
Deployment deployment = repositoryService.createDeployment().addClasspathResource("C:/Users/Simone/workspace/ProvaNewDesigner/target/classes/diagrams/bpmn2_diagram.bpmn20.xml").deploy();
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("helloworld");
out.println("Started Process instance id " +processInstance.getProcessInstanceId());
}
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:40)
05-26-2011 06:45 AM
05-26-2011 09:35 AM
GRAVE: Servlet.service() for servlet [ThisService] in context with path [/SimpleTry] threw exception
org.activiti.engine.ActivitiException: resource "C:/Users/Simone/workspace/ProvaNewDesigner/target/classes/diagrams/bpmn2_diagram.bpmn20.xml" not found
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.addClasspathResource(DeploymentBuilderImpl.java:58)
at ThisService.doGet(ThisService.java:45)
05-26-2011 09:41 AM
26-mag-2011 15.15.38 org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
26-mag-2011 15.15.38 org.activiti.engine.ProcessEngines initProcessEnginFromResource
INFO: initialised process engine default
26-mag-2011 15.15.38 org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
INFO: JobAcquisitionThread starting to acquire jobs
05-26-2011 11:53 AM
05-26-2011 12:19 PM
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.