Sorry missed that.

I know from past experience that Weblogic 8.1, for instance, had a version
of Antlr that conflicted with the version in Hibernate 3. Antlr is used by
the Java semantic module in drools, so perhaps it is a similar envionmental
issue?

Thats the only thing that leaps out at me, and the error is happening in the
antlr generated code.


On 1/25/06, Markus <[EMAIL PROTECTED]> wrote:
>
> 2006/1/24, Michael Neale <[EMAIL PROTECTED]>:
> > hmmm.. often its a missing ";" in a condition, or something wierd in a
> > condition node.
>
> As I wrote in my first posting everything works fine on Tomcat, even
> with the same rule-file.
> The problem only occurs when using drools on OAS.
>
> > Send your rules xml
>
> <?xml version="1.0"?>
>
> <rule-set name="HelloWorld"
>           xmlns="http://drools.org/rules";
>           xmlns:java="http://drools.org/semantics/java";
>           xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
>           xs:schemaLocation="http://drools.org/rules rules.xsd
>                              http://drools.org/semantics/java java.xsd">
>
>   <import>java.lang.Object</import>
>   <import>java.lang.String</import>
>   <import>on.portal.xps.OnFacts</import>
>   <import>on.portal.xps.OnMessageRepository</import>
>
>   <application-data
> identifier="resultMessages">java.util.List</application-data>
>
>
>   <rule name="RuleOne">
>     <parameter identifier="browser">
>       <class>String</class>
>     </parameter>
>     <java:condition>browser==OnFacts.FACT_BROWSER_FIREFOX_PRE104
> </java:condition>
>     <java:consequence>
>       resultMessages.add(OnMessageRepository.MSG_BROWSER_FIREFOX_PRE104);
>     </java:consequence>
>   </rule>
>
>   <rule name="RuleTwo">
>     <parameter identifier="browser">
>       <class>String</class>
>     </parameter>
>     <java:condition>browser==OnFacts.FACT_BROWSER_OPERA</java:condition>
>     <java:consequence>
>       resultMessages.add(OnMessageRepository.MSG_BROWSER_OPERA);
>     </java:consequence>
>   </rule>
>
>   <rule name="RuleThree">
>     <parameter identifier="browser">
>       <class>String</class>
>     </parameter>
>     <java:condition>browser==OnFacts.FACT_BROWSER_IE5</java:condition>
>     <java:consequence>
>       resultMessages.add(OnMessageRepository.MSG_BROWSER_IE5);
>     </java:consequence>
>   </rule>
>
>   <rule name="RuleFour">
>     <parameter identifier="browser">
>       <class>String</class>
>     </parameter>
>     <java:condition>browser==OnFacts.FACT_BROWSER_UNKNOWN</java:condition>
>     <java:consequence>
>       resultMessages.add(OnMessageRepository.MSG_BROWSER_UNKNOWN);
>     </java:consequence>
>   </rule>
>
> </rule-set>
>

Reply via email to