Ah...almost you approrched the solution i guess.
It appears more into classpath conflict.please check the antlr 2.7.6 is
conflicted with your application server's version.
if possible try with antlr2.7.7.jar
am not sure about community edition. am using 5.1websphere portel server
Nirmal.R wrote:
I get the following error :
CharScanner;
panic:ClassNotFoundException:org.antlr.stringtemplate.language.ChunkToken
and then the server stops by itself.
I'm using community edition of websphere. Are you using the same??
Websphere CE contains only antlr2.7.5 in its repository. I read about the
dependencies in jboss wiki it says drools need antlr3.0.ea8 and string
template needs antlr 2.7.6 and i've copied the jars as per the doc.
Basha wrote:
>
> I beleive these 2 jars that you mentioned are available with webpshere
> itself. i didn't do anything with that. all i did is import
> drools-core.jar,drools-compiler.jar; thats all. no other jars especially
> related to ANT.
> am not sure what problem exactly you got. if you send the exact problem
> may be me or some other people in the group will give you a solution
>
>
> Nirmal.R wrote:
>>
>> i've got two antlr jars antlr-2.7.6.jar and antlr-3.0ea8.jar so which
>> jar i should skip
>>
>>
>>
>> Basha wrote:
>>>
>>> Nirmal,
>>> Don't add the antlr.jar that comes with drools. Use the one that is
>>> available with websphere.
>>> Just port the necessary jars. its working fine for me
>>>
>>>
>>> Nirmal.R wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I've configured hundreds of rules and also i've also built a
GUI
>>>> for configuring rules. The development server was Tomcat. Rules got
>>>> executed successfullly but now we are trying to deploy it in websphere
>>>> it throws an antlr problem and we are not able execute the rules.
>>>>
>>>> I'm in a critical situation to an extend that the project will be
>>>> dropped. So somebody give me an immediate solution.
>>>>
>>>>
>>>> Thanks
>>>> Nirmal
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Antlr-problem-in-websphere-tf3401516.html#a9491855
Sent from the drools - user mailing list archive at
Nabble.com.