Note that there are some explanatory texts on larger screens.

plurals
  1. PODrools Execution Server pointing to Guvnor repository
    primarykey
    data
    text
    <p>I am trying to invoke a drools execution server (5.4.0) running on tomcat6, which is pointing to a previously created snapshot in Guvnor repository (.pkg file).</p> <p>According to a tutorial I only have to edit the knowledge-service.xml file which is located in /webapps/drools-webapp/WEB-INF/classes of my execution server. Thereby a new resource that is pointing to the Guvnor repository should be added (see below):</p> <pre><code>&lt;drools:kbase id="kbase1" node="node1"&gt; &lt;drools:resources&gt; &lt;!-- &lt;drools:resource type="DRL" source="classpath:test.drl"/&gt; --&gt; &lt;drools:resource type="PKG" source="http://localhost:9080/guvnor-webapp/org.drools.guvnor.Guvnor/package/bonita/LATEST" basic-authentication="enabled" /&gt; &lt;/drools:resources&gt; &lt;/drools:kbase&gt; </code></pre> <p>The URL is pointing to a snapshot that has been created with Guvnor and provides a .pkg-file.</p> <p>Here the problem:</p> <p>After I have invoked drools execution server I get an error message that looks like this:</p> <p>Tomcat log:</p> <pre><code>INFO: Server startup in 4358 ms 31.10.2012 14:21:07 org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse WARNUNG: WebApplicationException has been caught : bonita.BonitaPerson : bonita.BonitaPerson ---- Debugging information ---- message : bonita.BonitaPerson cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : bonita.BonitaPerson class : org.drools.command.runtime.rule.InsertObjectCommand required-type : org.drools.command.runtime.rule.InsertObjectCommand converter-type : org.drools.runtime.help.impl.XStreamXML$InsertConverter path : /batch-execution/insert/bonita.BonitaPerson line number : 3 class[1] : org.drools.command.runtime.BatchExecutionCommandImpl converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : null ------------------------------- </code></pre> <p>I think that the redirection from drools execution server to guvnor repository is not working and the class that is necessary is just not found. Even if I shut down my Guvnor server I get the same error message. To me the Guvnor server is never called by the drools execution server...</p> <p>Can anybody help me to figure out how a proper redirection from drools to guvnor does look like?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload