4 Replies Latest reply on Apr 9, 2013 9:55 AM by David Ward

    Could not parse knowledge

    Jeff DeLong Master

      This seems to be a pretty standard error that is thrown if there is any issue in a bpmn2 process definition.

       

      21:36:58,962 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."PolicyQuoteProcessService-0.0.1-SNAPSHOT.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."PolicyQuoteProcessService-0.0.1-SNAPSHOT.jar".SwitchYardService: java.lang.IllegalArgumentException: Could not parse knowledge.

          at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:85)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_29]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_29]

          at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_29]

      Caused by: java.lang.IllegalArgumentException: Could not parse knowledge.

          at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:79)

          at org.switchyard.component.common.knowledge.session.KnowledgeBaseSessionFactory.newBase(KnowledgeBaseSessionFactory.java:116)

          at org.switchyard.component.common.knowledge.session.KnowledgeBaseSessionFactory.<init>(KnowledgeBaseSessionFactory.java:58)

          at org.switchyard.component.common.knowledge.session.KnowledgeSessionFactory.newSessionFactory(KnowledgeSessionFactory.java:122)

          at org.switchyard.component.common.knowledge.exchange.KnowledgeExchangeHandler.start(KnowledgeExchangeHandler.java:181)

          at org.switchyard.component.bpm.exchange.BPMExchangeHandler.start(BPMExchangeHandler.java:90)

          at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:483)

          at org.switchyard.deploy.internal.Deployment.start(Deployment.java:140)

          at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:106)

          at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:78)

          ... 5 more

       

      Is there any way to capture more about the original exception?