[rules-users] Sample code crashes

mjhn mjohnson at quickcut.com.au
Mon Nov 22 05:12:58 EST 2010



Hi,

Below is a bit of a stacktrace.

Seems http://drools.org/schema/drools-spring
org/drools/container/spring/drools-spring-1.1.0.xsd within 

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:drools="http://drools.org/schema/drools-spring"     
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       						http://drools.org/schema/drools-spring
org/drools/container/spring/drools-spring-1.1.0.xsd
                           http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd" >

What should it be now. All it does is goto a redirect and gets lost on
jboss.org.

Thanks Martin.

[monitorChangeSetEvents=true scanResources=true scanDirectories=true
newInstance=false
(null: 17, 71): schema_reference.4: Failed to read schema document
'org/drools/container/spring/drools-spring-1.1.0.xsd', because 1) could not
find the document; 2) the document could not be read; 3) the root element of
the document is not <xsd:schema>.
(null: 17, 71): cvc-complex-type.2.4.c: The matching wildcard is strict, but
no declaration can be found for element 'drools:kagent'.
(null: 18, 27): schema_reference.4: Failed to read schema document
'org/drools/container/spring/drools-spring-1.1.0.xsd', because 1) could not
find the document; 2) the document could not be read; 3) the root element of
the document is not <xsd:schema>.
(null: 19, 223): schema_reference.4: Failed to read schema document
'org/drools/container/spring/drools-spring-1.1.0.xsd', because 1) could not
find the document; 2) the document could not be read; 3) the root element of
the document is not <xsd:schema>.
[2010:11:326 20:11:190:exception]
java.lang.RuntimeException: Unable to parse ChangeSet
	at
org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:397)
	at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:168)
	at
com.javawhat.rules.RuleAgentManager.createKnowledgeAgent(RuleAgentManager.java:122)
	at com.javawhat.rules.RuleAgentManager.init(RuleAgentManager.java:83)
	at
com.javawhat.rules.RuleAgentManager.getInstance(RuleAgentManager.java:46)
	at com.adstream.test.Main.main(Main.java:53)
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Sample-code-crashes-tp1944790p1944790.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list