[rules-users] rules-users Digest, Vol 32, Issue 57

Rafael Ribeiro rafaelri at gmail.com
Mon Jul 20 08:59:39 EDT 2009


Hi Rajesh!

 This kinda confirms that it is in fact a classloading issue caused by
multiple conflicting versions of the same class.
 Is there anything that prevents you from deploying an EAR? At least for
testing? And I guess there is a similar alternative for wars as well.

regards,

2009/7/20 G Rajesh <rajesh.chowdary at eageyouth.com>

> Rafael,
>
> Thank you very much for response.
> Unfortunately I could not proceed with the solution as described in the
> URL's provided.
> Solution provided in the example was for ear files. I could not locate a
> solution in case of war file deployment.
> Also I would like to mention that if I remove Drools library from the class
> path, I am able to run at least my current web application.
> Otherwise, if the drools library is in the class path I am unable to run
> even the exisiting web application.
>
> Thanks
> G. Rajesh
>
>
> ----- Original Message -----
> From: <rules-users-request at lists.jboss.org>
> To: <rules-users at lists.jboss.org>
> Sent: Saturday, July 18, 2009 9:30 PM
> Subject: rules-users Digest, Vol 32, Issue 57
>
>
> > Send rules-users mailing list submissions to
> > rules-users at lists.jboss.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.jboss.org/mailman/listinfo/rules-users
> > or, via email, send a message with subject or body 'help' to
> > rules-users-request at lists.jboss.org
> >
> > You can reach the person managing the list at
> > rules-users-owner at lists.jboss.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of rules-users digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: drools integration problem (Rafael Ribeiro)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sat, 18 Jul 2009 12:02:40 -0300
> > From: Rafael Ribeiro <rafaelri at gmail.com>
> > Subject: Re: [rules-users] drools integration problem
> > To: Rules Users List <rules-users at lists.jboss.org>
> > Message-ID:
> > <f97c67390907180802ke312efcke5a3933c1c512521 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Rajesh,
> >
> > you probably have differente JDT CompilationResult classes on your
> > classpath and also on JBoss classpath  (I'd guess JBoss Tomcat instance
> > uses
> > JDT for compilation) . You'll need to configure a separate classloader
> for
> > your application. Here you have the documentation:
> > http://www.jboss.org/community/wiki/ClassLoadingConfiguration (Isolation
> > with Overriding Server Classes) and an example
> > http://www.junlu.com/msg/78287.html
> >
> > regards,
> > Rafael Ribeiro
> >
> >
> > 2009/7/18 G Rajesh <rajesh.chowdary at eageyouth.com>
> >
> >>  Hi,
> >>
> >> I am new to Drools and trying to use Drools 5.0 run time.
> >> I am using JBoss 4.2.2 and am trying to integrate drools into existing
> >> web
> >> application already deployed on JBoss 4.2.2.
> >> I've downloaded drools eclipse plugin, copied features, plugins and
> >> dependency jars into eclipse respective folders.
> >>
> >> I am able to successfully run rules on a standalone application.
> >> I can deploy the application successfully, but when I browse the home
> >> page(or any other thing) of the application, following is the error
> >> message
> >> thrown by Jboss.
> >> Seems it is compiler conflict.
> >>
> >> Thanks in advance
> >> G Rajesh
> >>
> >>
> >> =====================================================
> >> Following is the error Msg:
> >>
> ===========================================================================
> >>
> >> java.lang.NoSuchMethodError:
> >>
> org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >>
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> >
> http://lists.jboss.org/pipermail/rules-users/attachments/20090718/78b1aecd/attachment-0001.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> > End of rules-users Digest, Vol 32, Issue 57
> > *******************************************
> >
> >
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090720/73fecc06/attachment.html 


More information about the rules-users mailing list