<div class="gmail_quote"><div><br></div><div>Dear <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">satjo, <span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 16px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">if you try it but I had no success. This step carry out:</span></span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><div>
1) Create the files users.properties, roles.properties in \drools-5.1.0.M1-<span class="il">guvnor</span>-standalone\<a href="http://jboss-4.2.3.ga/" target="_blank" style="color: rgb(42, 93, 176); ">jboss-4.2.3.GA</a>\server\<span class="il">default</span>\conf. </div>
<div> <span style="font-family: monospace; font-size: 16px; ">also create the file 'testDS1-ds.xml' in \<span style="font-family: arial, sans-serif; font-size: small; border-collapse: collapse; "><span class="il">default</span>\deploy</span></span></div>
</span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><span style="font-family: monospace; font-size: 16px; ">2) Create '<span class="il">default</span>' <span class="il">package</span> in <span class="il">Guvnor</span>, <a href="http://localhost:8080/drools-guvnor" target="_blank" style="color: rgb(42, 93, 176); ">http://localhost:8080/drools-<span class="il">guvnor</span></a> , <br>
</span><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
</blockquote> user=krisv , pass= mypassword. OK<br><br>3) From eclipse add hellow_world.rf to <span class="il">Guvnor</span> to '<span class="il">default</span>' <span class="il">package</span>, OK<br><br>4) <span class="il">Build</span> <span class="il">package</span> '<span class="il">default</span>' , <span style="font-family: monospace; font-size: 16px; ">THE FOLLOWING delivery errors:<br>
<br><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:18:43,859 INFO [STDOUT] DEBUG 28-10 11:18:43,859 (ServiceImplementation.java:loadRuleAsset:495) <span style="white-space: pre; ">        </span> <span class="il">Package</span>: <span class="il">default</span>, asset: hellow_world. Load time taken for asset: 906</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 INFO [STDOUT] ERROR 28-10 11:19:04,843 (RepositoryServiceServlet.java:doUnexpectedFailure:76) <span style="white-space: pre; ">        </span>java.lang.NullPointerException</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.drools.<span class="il">guvnor</span>.client.rpc.BuilderResult[] org.drools.<span class="il">guvnor</span>.client.rpc.RepositoryService.buildPackage(java.lang.String,java.lang.String,boolean) throws com.google.gwt.user.client.rpc.SerializableException' threw an unexpected exception: java.lang.NullPointerException</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at java.lang.Thread.run(Thread.java:619)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] Caused by: java.lang.NullPointerException</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.compiler.ProcessBuilder.buildProcess(ProcessBuilder.java:118)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.compiler.ProcessBuilder.addProcessFromFile(ProcessBuilder.java:222)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:468)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.compiler.PackageBuilder.addRuleFlow(PackageBuilder.java:440)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.contenthandler.RuleFlowHandler.compile(RuleFlowHandler.java:167)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:197)</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:184)</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:104)</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:117)</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1434)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1415)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at java.lang.reflect.Method.invoke(Method.java:597)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,843 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.ServiceImplementation_$$_javassist_7.buildPackage(ServiceImplementation_$$_javassist_7.java)</blockquote>
<blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at org.drools.<span class="il">guvnor</span>.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:206)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at java.lang.reflect.Method.invoke(Method.java:597)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)</blockquote><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
2009-10-28 11:19:04,859 ERROR [STDERR] <span style="white-space: pre; ">        </span>... 27 more<br><br><br><br>Thanks</blockquote></span></span></span></font></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You need to create a new 'default' package (i.e, not the 'defauktPackage'<br>
that comes with Guvnor) and upload your ruleflow.<br>
<br>
<br>
<br>
Eugenio Abello wrote:<br>
><br>
> Dear, I made new tests, and also fails to 'defaultPackage'. This made:<br>
><br>
> 1) Create the files users.properties, roles.properties in<br>
> \drools-5.1.0.M1-<br>
> guvnor-standalone\<a href="http://jboss-4.2.3.GA" target="_blank">jboss-4.2.3.GA</a><br>
> <<a href="http://jboss-4.2.3.ga/" target="_blank">http://jboss-4.2.3.ga/</a>>\server\default\conf.<br>
><br>
> also create the file 'testDS1-ds.xml' in \default\deploy<br>
><br>
> 2) Start the jboss.<br>
><br>
> 3) <a href="http://localhost:8080/" target="_blank">http://localhost:8080/</a><br>
> <<a href="http://localhost:8080/drools-guvnor" target="_blank">http://localhost:8080/drools-guvnor</a>>drools<<a href="http://localhost:8080/drools-guvnor" target="_blank">http://localhost:8080/drools-guvnor</a>><br>
> -<br>
> <<a href="http://localhost:8080/drools-guvnor" target="_blank">http://localhost:8080/drools-guvnor</a>><<a href="http://localhost:8080/drools-guvnor" target="_blank">http://localhost:8080/drools-guvnor</a>><br>
> guvnor <<a href="http://localhost:8080/drools-guvnor" target="_blank">http://localhost:8080/drools-guvnor</a>>. when he asks "This looks<br>
> like<br>
> a brand new repository. Would you like to install a sample repository?" I<br>
> respond "No thanks"<br>
><br>
> 4) From eclipse add hellow_world.rf to Guvnor to 'defaultPackage' package,<br>
> OK<br>
><br>
> 5) Build package 'default' , and delivers the same error:<br>
><br>
><br>
> 2009-11-03 12:22:47,765 DEBUG [com.arjuna.ats.jta.logging.loggerI18N]<br>
> [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local<br>
> XARecoveryModule - second pass<br>
> 2009-11-03 12:24:05,031 INFO [STDOUT] ERROR 03-11 12:24:05,031<br>
> (RepositoryServiceServlet.java:doUnexpectedFailure:76)<br>
> java.lang.NullPointerException<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR]<br>
> com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public<br>
> abstract org.drools.guvnor.client.rpc.BuilderResult[]<br>
> org.drools.guvnor.client.rpc.RepositoryService.buildPackage(java.lang.String,java.lang.String,boolean)<br>
> throws com.google.gwt.user.client.rpc.SerializableException' threw an<br>
> unexpected exception: java.lang.NullPointerException<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> java.lang.Thread.run(Thread.java:619)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] Caused by:<br>
> java.lang.NullPointerException<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.compiler.ProcessBuilder.buildProcess(ProcessBuilder.java:118)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.compiler.ProcessBuilder.addProcessFromFile(ProcessBuilder.java:222)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:468)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.compiler.PackageBuilder.addRuleFlow(PackageBuilder.java:440)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.contenthandler.RuleFlowHandler.compile(RuleFlowHandler.java:167)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:197)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:184)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:104)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:117)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1434)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1415)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> java.lang.reflect.Method.invoke(Method.java:597)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:157)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.ServiceImplementation_$$_javassist_3.buildPackage(ServiceImplementation_$$_javassist_3.java)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> org.drools.guvnor.server.RepositoryServiceServlet.buildPackage(RepositoryServiceServlet.java:206)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> java.lang.reflect.Method.invoke(Method.java:597)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] at<br>
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)<br>
> 2009-11-03 12:24:05,031 ERROR [STDERR] ... 27 more<br>
> 2009-11-03 12:24:47,765 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger]<br>
> Periodic recovery - first pass <mar, 3 nov 2009 12:24:47><br>
><br>
> Thn<br>
> Kris<br>
><br>
><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Fwd%3A-Build-package-%27default%27-Guvnor-tp26181931p26245650.html" target="_blank">http://old.nabble.com/Fwd%3A-Build-package-%27default%27-Guvnor-tp26181931p26245650.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 7 Nov 2009 20:19:22 -0800<br>
From: Wishing Carebear <<a href="mailto:wishing.carebear@gmail.com">wishing.carebear@gmail.com</a>><br>
Subject: [rules-users] some pointers for solution<br>
To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
Message-ID:<br>
<<a href="mailto:27407ce90911072019s6f348333je82e4908b108dd21@mail.gmail.com">27407ce90911072019s6f348333je82e4908b108dd21@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello:<br>
There are n selection criteria from s1 .. sn for each item i1.. in. Each<br>
item can have a subset of criteria which applies to them.<br>
<br>
The end user, can choose a subset of criteria like c1 and c5 and only the<br>
item that has c1 and c5 valid should be returned. For example: if item i1<br>
and i2 have criterias valid for c1, c2, c5, c6, c8 since the request is only<br>
for criteria c1 and c5, i1 and i2 must be returned.<br>
<br>
Is it possible to write a rule using drools for this requirement.<br>
<br>
Thanks for your help and time,<br>
cabear<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20091107/4e5daaf9/attachment-0001.html" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20091107/4e5daaf9/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 8 Nov 2009 01:08:22 -0800 (PST)<br>
From: Greg Barton <<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>><br>
Subject: Re: [rules-users] some pointers for solution<br>
To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
Message-ID: <<a href="mailto:252810.954.qm@web81508.mail.mud.yahoo.com">252810.954.qm@web81508.mail.mud.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
There are a couple of ways to do this. I'm sure there's a bit more clean way than the example I'm providing, but this should get you in the right direction. It's not 100% rules, because it involves a bit of java collections trickery. (See attached project, collection_DroolsCriteriaMatch.tar.gz)<br>
<br>
The heart of it is a single rule:<br>
<br>
rule "Match"<br>
when<br>
d : Data()<br>
q : Query( size <= d.size )<br>
Number( intValue == q.size )<br>
from accumulate(<br>
Criteria( this memberOf d, this memberOf q ),<br>
init( int total = 0; ),<br>
action( total ++; ),<br>
reverse( total --; ),<br>
result( total )<br>
)<br>
then<br>
System.out.println("Match: " + d + " and " + q) ;<br>
end<br>
<br>
The Data object holds data to be queried, Query objects are asserted to match the Data, and Criteria objects can be contained in either. (With the aforementioned collections trickery that if a Criteria is contained in a Query it can be found in a Data object, but the reverse isn't true. See the Query.contains(Object) method for how that's implemented.)<br>
<br>
So the rule above basically says "There's a Data object, and all of the Query objects Criteria are contained in the Data object."<br>
<br>
There's an alternate way of doing this using eval and a bit more java fu. See the eval_DroolsCriteriaMatch.tar.gz project attached. This one's probably not optimal, though, as it's basically a brute force check of all Data objects against the asserted Query.<br>
<br>
I tried for a while to get a solution working with different criteria types from both Data and Query objects being asserted into working memory, but I couldn't get the accumulate syntax right. Anyone know of a way to do that? (I figure that would get a "pure rules" solution.)<br>
<br>
--- On Sat, 11/7/09, Wishing Carebear <<a href="mailto:wishing.carebear@gmail.com">wishing.carebear@gmail.com</a>> wrote:<br>
<br>
> From: Wishing Carebear <<a href="mailto:wishing.carebear@gmail.com">wishing.carebear@gmail.com</a>><br>
> Subject: [rules-users] some pointers for solution<br>
> To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> Date: Saturday, November 7, 2009, 10:19 PM<br>
> Hello:<br>
> There are n selection criteria from s1 .. sn for each<br>
> item i1.. in. Each item can have a subset of criteria which<br>
> applies to them.<br>
> ?<br>
> The end user, can choose a subset of criteria like c1<br>
> and c5 and only the item that has c1 and c5 valid should be<br>
> returned. For example: if item i1 and i2 have criterias<br>
> valid for c1, c2, c5, c6, c8 since the request is only for<br>
> criteria c1 and c5, i1 and i2 must be returned.<br>
><br>
> ?<br>
> Is it possible to write a rule using drools for this<br>
> requirement.<br>
> ?<br>
> Thanks for your help and time,<br>
> cabear<br>
><br>
> -----Inline Attachment Follows-----<br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
<br>
<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: collection_DroolsCriteriaMatch.tar.gz<br>
Type: application/x-gzip<br>
Size: 5760 bytes<br>
Desc: not available<br>
Url : <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20091108/f76ced18/attachment.gz" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20091108/f76ced18/attachment.gz</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: eval_DroolsCriteriaMatch.tar.gz<br>
Type: application/x-gzip<br>
Size: 4837 bytes<br>
Desc: not available<br>
Url : <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20091108/f76ced18/attachment-0001.gz" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20091108/f76ced18/attachment-0001.gz</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
End of rules-users Digest, Vol 36, Issue 37<br>
*******************************************<br>
</blockquote></div><br>