Weblogic certainly does. I remember with versions of hibernate, you had to put antlr at the front of the system classpath, or else use a locally scoped classloader.
Probably teh same here (with the antlr 2.x file, not the 3.x one). On 12/15/06, Edson Tirelli <[EMAIL PROTECTED]> wrote:
Uday, Some application servers also use antlr... I don't know about WebLogic. It may be worth to check if there is no jar conflict happening with another antlr/stringtemplate jar version that is eventually used by WebLogic. A simple way to test it would be to isolate the EAR classloader. In Jboss this is done in deployment descriptor, in WebSphere there is a configuration you set when deploying the EAR, but I don't know about WebLogic. Hope it helps. []s Edson Uday Kamath wrote: >Using Weblogic 8.1.3 and Jboss Rules 3.0.5 >Created an EAR file with a Session Bean invoking reading of Rule file >which is also in the ear file. >When the file is read and package is built it throws >CharScanner; >panic:ClassNotFoundException:org.antlr.stringtemplate.language.ChunkToke >n > >In the ear file there is stringtemplate-2.3b6.jar which has this Class. >I looked at the CharScanner code and it uses Thread context class loader >to load the class. So theoretically this should have worked, but it >doesn't anyone has any clues? > >Thanks in anticipation >Uday > > >--------------------------------------------------------------------- >To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > > -- Edson Tirelli Software Engineer - JBoss Rules Core Developer Office: +55 11 3124-6000 Mobile: +55 11 9218-4151 JBoss, a division of Red Hat @ www.jboss.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email