[rules-users] Error on Rule Parsing on JBOSS server

PAYET, Manuel manuel.payet at capgemini.com
Wed Jun 2 04:14:14 EDT 2010


Have you uploaded your POJO com.fp.vo.StageLine? 

-----Message d'origine-----
De : rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] De la part de ramram
Envoyé : mercredi 2 juin 2010 10:10
À : rules-users at lists.jboss.org
Objet : [rules-users] Error on Rule Parsing on JBOSS server


Hi All,

I have the below rule that I am testing when using a Tomcat server errors the application deploys fine and the rule fires with no errors on the other hand when I tried to deploy the same war on JBOSS I had the following exception can anyone help on this.

Exception (
              ERROR [STDERR] [1,9]: [ERR 101] Line 1:9 no viable alternative at input '.'
                    java.lang.IllegalArgumentException: Could not parse knowledge.
                    at
com.fp.engine.RuleEngineDef.newStatefulKnowledgeSession(RuleEngineDef.java:49)
                    at
com.fp.engine.RuleEngineDef.getSession(RuleEngineDef.java:29) 
              )


#created on: May 12, 2010
package com.fp


#list any import classes here.
import com.fp.vo.StageLine;


rule "test revenue rule"
	when
		stgLine : StageLine (  ruleName == 'testRev' )
	then
	    System.out.println("++++ RULE HIT ON NETSALES ++++"); end
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Error-on-Rule-Parsing-on-JBOSS-server-tp864088p864088.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users






This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this message.





More information about the rules-users mailing list