Hello All,
I am using knowledgeAgent to retrieve a resource from Guvnor.
I have deliberately stopped the Guvnor to check if it throws any error but
KnowledgeAgent eats up the error.
*How can it be detected that an error occurred during creation of
knowledgeBase?*
*ConsoleOutput:*
Although KnowledgeAgent does logging in console
[2011:01:18 21:01:916:exception]
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:664)
at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:889)
at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:704)
...
*Caused by: java.net.UnknownHostException: <hostName>*
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)