<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=475544822-29012007><FONT face=Arial 
color=#0000ff size=2>thanks Mark, is working fine now.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Mark 
Proctor<BR><B>Sent:</B> Tuesday, 30 January 2007 3:31 AM<BR><B>To:</B> Rules 
Users List<BR><B>Subject:</B> Re: [rules-users] Antlr<BR></FONT><BR></DIV>
<DIV></DIV>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 content="MS Exchange Server version 6.5.7650.28" name=Generator><!-- 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 width="90%" SIZE=4>
_______________________________________________
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>

<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>