[jboss-jira] [JBoss JIRA] Commented: (JBRULES-578) Running Jboss Rules in Weblogic
Ruban Mahendran (JIRA)
jira-events at jboss.com
Fri Dec 15 09:45:40 EST 2006
[ http://jira.jboss.com/jira/browse/JBRULES-578?page=comments#action_12348826 ]
Ruban Mahendran commented on JBRULES-578:
-----------------------------------------
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
Thank for the advice Edson.
> Running Jboss Rules in Weblogic
> -------------------------------
>
> Key: JBRULES-578
> URL: http://jira.jboss.com/jira/browse/JBRULES-578
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Drl Parser/Builder
> Affects Versions: 3.0.5
> Environment: Running JBoss Rules in Weblogic8.14 via a JSP deployed in a WAR.
> Reporter: Ruban Mahendran
> Assigned To: Mark Proctor
>
> When attempting to create a package from a class called by a JSP ( see below) I get the following error:
> CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken
> Stopping the Weblogic Workshop debugger...
> Debugger Stopped.
> The Weblogic server stops as well.
> Here is the code snippet called by the jsp
> PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration();
> pkgBuilderCfg.setCompiler(PackageBuilderConfiguration.JANINO);
> PackageBuilder builder = new PackageBuilder(pkgBuilderCfg);
> builder.addPackageFromDrl((new InputStreamReader(new FileInputStream("c:\\myruleresource.drl")) ) );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list