Hi Michael.... The issue is fixed... I think it was mismatch of jar
versions.... Now I'm able to run the rules properly...Mario, In CR1 jittime
issue is also gone.... Thanks for all the help... really appreciate that :)
One final doubt... when I build rules on the guvnor I get some warnings on
the server log saying:
WARN
[org.apache.jackrabbit.spi.commons.nodetype.constraint.ValueConstraint]
(http--127.0.0.1-8380-3) validation of reference constraint is not yet
implemented
14:45:41,161 WARN
[org.apache.jackrabbit.spi.commons.nodetype.constraint.ValueConstraint]
(http--127.0.0.1-8380-3) validation of reference constraint is not yet
implemented
14:45:41,164 WARN
[org.apache.jackrabbit.spi.commons.nodetype.constraint.ValueConstraint]
(http--127.0.0.1-8380-3) validation of reference constraint is not yet
implemented
I get hundreds of similar logs.. Although its not affecting my
functionality, jus wanted to know anout it
2012/4/12 Michael Anstis <michael.anstis(a)gmail.com>
Did you build the binary package in Guvnor?
There was a big change to the serialization of packages in Drools Expert.
On 12 April 2012 14:08, sumatheja <sumatheja(a)gmail.com> wrote:
> Hi I tried deploying guvnor 5.4 CR1 on jboss 7.1.1 final. I downloaded
> the package and tried running the program using it. I'm getting the
> following exception:
>
> java.lang.RuntimeException: java.io.InvalidClassException:
> org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream
> classdesc serialVersionUID = -64624826351992706, local class
> serialVersionUID = 5166066541265170937
> at
> org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:692)
> at
> org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:37)
> at mattelli.re.TestGuvnor.main(TestGuvnor.java:19)
> Caused by: java.io.InvalidClassException:
> org.drools.rule.MVELDialectRuntimeData; local class incompatible: stream
> classdesc serialVersionUID = -64624826351992706, local class
> serialVersionUID = 5166066541265170937
> at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560)
> at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
> at
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
> at java.util.HashMap.readObject(HashMap.java:1030)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
> at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
> at
> org.drools.rule.DialectRuntimeRegistry.readExternal(DialectRuntimeRegistry.java:59)
> at
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
> at org.drools.rule.Package.readExternal(Package.java:197)
> at
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
> at
> org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:205)
> at
> org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:189)
> at
> org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:618)
> ... 2 more
>
> I doubted if my code was causing the issue, so I took a fresh guvnor 5.4
> CR1 and installed the sample repository (mortgages) and tried to run sample
> code to check. I'm getting the same issue
>
> code I used to get the knowledgebase
>
> KnowledgeBuilder kbuilder =
> KnowledgeBuilderFactory.newKnowledgeBuilder();
> kbuilder.add( ResourceFactory.newUrlResource("
>
http://127.0.0.1:8380/drools-guvnor/mortgages.pkg"), ResourceType.PKG );
> KnowledgeBuilderErrors errors = kbuilder.getErrors();
> if (errors.size() > 0) {
> for (KnowledgeBuilderError error: errors) {
> System.err.println(error);
> }
> throw new IllegalArgumentException("Could not parse
> knowledge.");
> }
>
>
> Can someone guide me through this.
>
>
> On Thu, Apr 12, 2012 at 12:11 PM, sumatheja <sumatheja(a)gmail.com> wrote:
>
>> Yeah I can download the package... I'll try by using the pkg file...
>> Thanks for the help :)
>>
>>
>> 2012/4/12 Toni Rikkola <toni.rikkola(a)gmail.com>
>>
>>> About the connection error. I can't find a way to reproduce it. I'll
>>> keep trying and let you know if I find something.
>>>
>>> Can you download the package directly from Guvnor? You could test the
>>> jitting error with that.
>>>
>>> Toni
>>>
>>> On Apr 12, 2012, at 12:30 PM, sumatheja wrote:
>>>
>>> Thanks Toni..... Eagerly awaiting for your response :)
>>>
>>> 2012/4/12 Toni Rikkola <toni.rikkola(a)gmail.com>
>>>
>>>> I'll check if there is a bug in Guvnor. It could cause the
>>>> SocketException.
>>>>
>>>> Toni
>>>>
>>>> On Apr 12, 2012, at 12:06 PM, sumatheja wrote:
>>>>
>>>> Hi Mario,
>>>> I moved to 5.4 CR1. I replaced the drools library with CR1
>>>> and deployed the rules on guvnor 5.4 CR1 but when I try to read the
>>>> knowledge base I get the following error on Jboss log
>>>>
>>>>
>>>> 09:57:33,784 INFO
>>>> [org.drools.guvnor.server.security.DemoAuthenticator]
>>>> (http--127.0.0.1-8280-2) Demo login for user (admin) succeeded.
>>>> 09:57:34,142 WARN
>>>> [org.jboss.seam.security.permission.SecurityRuleLoader]
>>>> (http--127.0.0.1-8280-2) No security rules configured - rule base
>>>> permissions will be unavaila
>>>> ble.
>>>> 09:57:34,145 INFO
>>>> [org.drools.guvnor.server.files.AuthorizationHeaderChecker]
>>>> (http--127.0.0.1-8280-2) admin authenticated for rest api
>>>> 09:57:34,153 INFO
>>>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>>>> (http--127.0.0.1-8280-2) PackageName: mattelli.re
>>>> 09:57:34,154 INFO
>>>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>>>> (http--127.0.0.1-8280-2) PackageVersion: LATEST
>>>> 09:57:34,156 INFO
>>>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>>>> (http--127.0.0.1-8280-2) PackageIsLatest: true
>>>> 09:57:34,157 INFO
>>>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>>>> (http--127.0.0.1-8280-2) PackageIsSource: false
>>>> 09:57:34,218 ERROR
>>>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>>>> (http--127.0.0.1-8280-2) null: ClientAbortException:
>>>> java.net.SocketException: Connection r
>>>> eset by peer: socket write error
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:403)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:426)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:415)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:83)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:274)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>>
org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:58)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>>
org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:141)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>>>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>>> at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>>>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
>>>> [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
>>>> [solder-impl-3.1.0.Final.jar:3.1.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
>>>> [solder-impl-3.1.0.Final.jar:3.1.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
>>>> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>>>> at
>>>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
>>>> Caused by: java.net.SocketException: Connection reset by peer: socket
>>>> write error
>>>> at java.net.SocketOutputStream.socketWrite0(Native Method)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:748)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:559)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at org.apache.coyote.Response.doWrite(Response.java:594)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:398)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> ... 32 more
>>>>
>>>> 09:57:34,294 ERROR
>>>>
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/guvnor].[PackageDeploymentServlet]]
>>>> (http--127.0.0.1-8280-2) Servlet.service() fo
>>>> r servlet PackageDeploymentServlet threw exception:
>>>> java.lang.RuntimeException: ClientAbortException:
>>>> java.net.SocketException: Connection reset by peer: socket write e
>>>> rror
>>>> at
>>>>
org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:66)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>>
org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:141)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>>>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>>> at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>>>> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
>>>> [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
>>>> [solder-impl-3.1.0.Final.jar:3.1.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
>>>> [solder-impl-3.1.0.Final.jar:3.1.0.Final]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
>>>> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>>>> at
>>>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
>>>> Caused by: ClientAbortException: java.net.SocketException: Connection
>>>> reset by peer: socket write error
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:403)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:426)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:415)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:83)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:274)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> at
>>>>
org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:58)
>>>> [guvnor-webapp-core-5.4.0.CR1.jar:5.4.0.CR1]
>>>> ... 25 more
>>>> Caused by: java.net.SocketException: Connection reset by peer: socket
>>>> write error
>>>> at java.net.SocketOutputStream.socketWrite0(Native Method)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>> java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>>>> [rt.jar:1.6.0_31]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>> org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:748)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:559)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at org.apache.coyote.Response.doWrite(Response.java:594)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> at
>>>>
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:398)
>>>> [jbossweb-7.0.13.Final.jar:]
>>>> ... 32 more
>>>>
>>>> Can you let me know if I missed anything while migrating to CR1??
>>>> Thanks in advance.
>>>>
>>>>
>>>>
>>>> On Thu, Apr 12, 2012 at 8:29 AM, sumatheja
<sumatheja(a)gmail.com>wrote:
>>>>
>>>>> Hi Mario...
>>>>> This exactly, seems to be the problem..... I'm
getting
>>>>> the exception exactly at 21st record. I'll try it on CR1 in a
while.
>>>>>
>>>>>
>>>>> On Thu, Apr 12, 2012 at 7:59 AM, Mario Fusco
<mario.fusco(a)gmail.com>wrote:
>>>>>
>>>>>> In the 5.4 we decided to do the (biggest part of) constraints
>>>>>> evaluation with
>>>>>> MVEL. Then, for performance reason, after a constraint has been
>>>>>> evaluated a
>>>>>> given amount of times (20 at the moment), we JIT the constraint
>>>>>> transforming
>>>>>> it in a proper Java class via ASM. You got an exception during
this
>>>>>> last
>>>>>> JITting process. Sorry if I cannot be more precise, but I'd
need to
>>>>>> reproduce your problem to exactly figure out what was wrong.
>>>>>>
>>>>>> Anyway, give it a try with the CR1 and if the problem persists
>>>>>> please let me
>>>>>> know, possibly also sending at least the rule containing the
>>>>>> constraint that
>>>>>> generated the problem (metricclass == "PROCESSOR" in
your case), and
>>>>>> the
>>>>>> Java bean or declared type related to the constraint itself.
>>>>>>
>>>>>> Mario
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
http://drools.46999.n3.nabble.com/rules-users-Runtime-jitting-exception-w...
>>>>>> Sent from the Drools: User forum mailing list archive at
Nabble.com.
>>>>>> _______________________________________________
>>>>>> rules-users mailing list
>>>>>> rules-users(a)lists.jboss.org
>>>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> cheers
>>>>> Sumatheja Dasararaju
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> cheers
>>>> Sumatheja Dasararaju
>>>>
>>>>
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>>
>>>
>>>
>>> --
>>> cheers
>>> Sumatheja Dasararaju
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>>
>> --
>> cheers
>> Sumatheja Dasararaju
>>
>>
>>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users