[rules-users] guvnor integration gives 401 error

tsarkar tsarkar at professionalaccess.com
Wed Feb 2 06:32:41 EST 2011


Hi,
   I have my application running in one instance of jboss server and guvnor
running in another.
   When my application code tries to fireAllRules created in guvnor, the
following error comes:
16:00:12,131 INFO  [STDOUT] java.lang.RuntimeException: KnowledgeAgent exception
while trying to deserialize KnowledgeDefinitionsPackage
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL:
http://pcbng100:18080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.drools/LATEST
When I use same code within a java file with main method & run as java
application in eclipse, the rules fire properly.Any suggestions would be
appreciated.




More information about the rules-users mailing list