0 Replies Latest reply on Jan 19, 2009 5:58 AM by rinki goyal

    Error on deploying the insurance application in  Drools on J

    rinki goyal Newbie

      Hello ,
      I am facing the problem regarding the deployment of insurance application with Jboss Drools.

      I have installed the jbpm-jpdl-3.2.2 suite with preconfigured JBOss Application Server.

      I have installed the drools-jbrms.war of version 4.0.7 on it.
      And i ahve downloaded the code for insuarnce application from link:
      http://anonsvn.labs.jboss.com/labs/jbossrules/branches/DROOLS_4_0_2_SOA_4_2_GA/drools-examples/drools-insurance/

      I am new to drools and Jboss. So , I export the "repository_export.xml" of insuarnce project in BRMS of JBOss and rebuild the package.

      Everything came as successful.
      But according to drools help file, I should be able to see the insuarnce application by web console.
      So, I constructed the war file by importing the whole source in eclipse and deploy it on jboss.
      I am able to see the first screen but after entering all values in screen,Following error is getting displayed:

      java.lang.IllegalArgumentException: Unknown process ID: insuranceProcess
      at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1422)
      at org.acme.insurance.web.InsuranceSessionHelper.getSession(InsuranceSessionHelper.java:21)
      at org.acme.insurance.web.DroolsBusiness.execute(DroolsBusiness.java:46)
      at org.acme.insurance.web.InsuranceServlet.doGet(InsuranceServlet.java:24)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)


      Any help is highly appreciated.

      Or If any one is having document to deploy the rules on JBoss BRMs, please let me know.



      Thanks & Regards
      Rinki Goyal