[rules-users] Question about drools-spring in a multi-treaded container (like tomcat).

jalex jaalex at gmail.com
Wed Mar 6 08:29:53 EST 2013


I tried to add scope=prototype, but it doesn't seem to be recognized. 

 <drools:ksession id="ksession2" type="stateless" kbase="kbase1"
scope="prototype"/>

"nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2:
Attribute 'scope' is not allowed to appear in element 'drools:ksession'."

So, does it mean Spring wired ksessions are not suitable for use in webapps? 

Thanks,
ja



--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-Question-about-drools-spring-in-a-multi-treaded-container-like-tomcat-tp4020985p4022707.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list