<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>Antlr</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I refer to a JIRA issue 578, which was rejected, however I am still having dramas with it:</FONT>
</P>

<P><FONT FACE="Times New Roman">When attempting to create a package from a class called by a JSP ( see below) I get the following error:<BR>
<BR>
CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken<BR>
Stopping the Weblogic Workshop debugger...<BR>
Debugger Stopped.<BR>
<BR>
The Weblogic server stops as well.<BR>
<BR>
Here is the code snippet called by the jsp<BR>
<BR>
PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration();<BR>
pkgBuilderCfg.setCompiler(PackageBuilderConfiguration.JANINO);<BR>
PackageBuilder builder = new PackageBuilder(pkgBuilderCfg);<BR>
builder.addPackageFromDrl((new InputStreamReader(new FileInputStream(&quot;c:\\myruleresource.drl&quot;)) ) ); </FONT>
</P>

<P><FONT FACE="Times New Roman">The solution seemed to be:</FONT>

<BR><FONT FACE="Times New Roman">It seems it is a classpath issue with Weblogic.I added the antlr-2.7.7.jar to the pre classpath and the errror no longer manifests itself<BR>
</FONT>

<BR><FONT FACE="Times New Roman">Well I have tried the above and it does not work. I am using weblogic 8.1. This is driving me round the twist any help is greatly appreciated. What version on antlr should I be using with drools3?</FONT></P>

<P><FONT FACE="Times New Roman">Cheers,</FONT>

<BR><FONT FACE="Times New Roman">Matt.<BR>
</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Matt Shaw</FONT>

<BR><FONT SIZE=2 FACE="Arial">Snr Applications Developer</FONT>

<BR><FONT SIZE=2 FACE="Arial">Service Performance &amp; Management Unit</FONT>

<BR><FONT SIZE=2 FACE="Arial">Phone: 3247 8666. ext. 94666</FONT>
</P>

</BODY>
</HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>This correspondence is for the named persons only. <br>
It may contain confidential or privileged information or both. <br>
No confidentiality or privilege is waived or lost by any mis transmission. <br>
If you receive this correspondence in error please delete it from your system immediately and notify the sender. <br>
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. <br>
Any opinions expressed in this message are those of the individual sender except where the sender expressly, <br>
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.<br>
</font></td></tr></table>