I can't tell for sure... 5.4.0 is relatively old, and there is not much
that can be done with the released jars.
I suspect that you had some duplicate, incompatible classes on the
classpath (having BOTH drools-all and the others
seems suspicious), and the classloader was 'almost always' picking up
the one that made it work. Out of pure luck.
Davide
On 05/26/2014 11:45 AM, Ivo Escamilla wrote:
Thanks for your answer. It is the unique application in the server.
The server is on my local. Right, it was working fine and then started
throwing the exception.
In the pom I had drools-core, drools-spring and drools-all-jdk5
version 5.4.0.Final. I deleted all and use only drools- spring
5.4.0.Final and I solve the issue. I don't know why it works. I tried
many things like new versions, deleted from my local and installed
them again, with any success. It works using jetty but not with jboss.
But using only that dependency fixed the issue. Do you know why?
El may 26, 2014 11:02 AM, "Davide Sottara" <dsotty(a)gmail.com
<mailto:dsotty@gmail.com>> escribió:
You mean that it used to work with your combination (jboss 4.2 +
drools
5.4.0)
and then it suddenly started throwing the exception?
It seems strange.. do you have other applications deployed on the
same
instance
of jboss? Maybe it's picking up a different version of the jars from
somewhere else
Davide
On 05/26/2014 10:10 AM, ivonne wrote:
> Hi
>
> I am using jboss 4.2 and drools core 5.4.0.Final. The
application was
> working fine but without any change it started to throw an error
when spring
> bean for kbase is created. This is the error:
> org.springframework.beans.factory.BeanCreationException: Error
creating bean
> with name 'kbase': Invocation of init method failed; nested
exception is
> java.lang.VerifyError: (class: org/drools/reteoo/ReteooRuleBase,
method:
> setupRete signature: ()V) Incompatible argument to function
>
> If I run the application using jetty it works fine.
>
> I've been looking about the error with any sucess.
>
> Thanks
>
>
>
>
> --
> View this message in context:
http://drools.46999.n3.nabble.com/java-lang-VerifyError-org-drools-reteoo...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
<
http://user/SendEmail.jtp?type=node&node=4029698&i=0>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email] <
http://user/SendEmail.jtp?type=node&node=4029698&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://drools.46999.n3.nabble.com/java-lang-VerifyError-org-drools-reteoo...
To unsubscribe from java.lang.VerifyError
org/drools/reteoo/ReteooRuleBase, method: setupRete signature:
()V, click here
<
http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscr...;.
NAML
<
http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_vi...
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users