Here is the JBOSS log entries when this happens:
14:19:24,314 INFO [http-0.0.0.0-8080-1] [STDOUT]
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
14:19:24,315 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:664)
14:19:24,316 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:889)
14:19:24,317 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:704)
14:19:24,318 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:584)
14:19:24,319 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:185)
14:19:24,320 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:168)
.
.
.
14:19:24,378 INFO [http-0.0.0.0-8080-1] [STDOUT] Caused by:
java.io.IOException: Server returned HTTP response code: 401 for URL:
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com....
14:19:24,379 INFO [http-0.0.0.0-8080-1] [STDOUT] at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
14:19:24,380 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210)
14:19:24,380 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146)
14:19:24,381 INFO [http-0.0.0.0-8080-1] [STDOUT] at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:652)
Hope this is what you were looking for...
Bob
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeAgent-and-ap...
Sent from the Drools - User mailing list archive at
Nabble.com.