<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You need both 2.7.7 and 3.0b5 - we use StringTemplate and Antlr3, but
antlr2.7 is a dependency of StringTemplate :(<br>
<br>
Mark<br>
Matthew Shaw wrote:
<blockquote
 cite="mid:48703C6F55B7D546A572FDA807A5FDBC743615@BNEEML01.desqld.internal"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator"
 content="MS Exchange Server version 6.5.7650.28">
  <title>Antlr</title>
<!-- Converted from text/rtf format -->
  <p><font face="Arial" size="2">Hi,</font>
  </p>
  <p><font face="Arial" size="2">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("c:\\myruleresource.drl")) ) ); </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 face="Arial" size="2">Matt Shaw</font>
  <br>
  <font face="Arial" size="2">Snr Applications Developer</font>
  <br>
  <font face="Arial" size="2">Service Performance &amp; Management Unit</font>
  <br>
  <font face="Arial" size="2">Phone: 3247 8666. ext. 94666</font>
  </p>
  <table>
    <tbody>
      <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>
    </tbody>
  </table>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>