1 Reply Latest reply on Jul 24, 2006 7:56 AM by David G.

    Drools and Portlets integration problem

    David G. Newbie

      Hi, I'm trying to load a rules file from a portlet.
      I have copied the Eclipse Rules example (DroolsTest.java) and tried working with it from a Portlet class.

      The problem appears when I try to create a new PacakgeBuilder.
      Everything works well: read the DRL file (file with the rules) and create a PackageBuilderConfiguration (if needed), but when the portlet executes

      PackageBuilder builder = new PackageBuilder();


      the portlet stops its execution (and no exception is raised!)
      I realised it stopped its execution because a rResponse.getWriter().write("HI"); shows nothing.

      Thanks, I'm really noob to Drools and Portlets integration