[rules-users] KnowledgeAgent exception while migrating from 5.4 CR1 to 5.4 final

sumatheja sumatheja at gmail.com
Tue May 22 12:37:43 EDT 2012


Thanks Michael... Thats fixed the issue... Didn't get the idea to try it
once before posting. Thanks for your time

On Tue, May 22, 2012 at 5:26 PM, Michael Anstis <michael.anstis at gmail.com>wrote:

> If your package in Guvnor was compiled before 5.4.0.Final you should try
> re-compiling it again first.
>
> Drools Expert had a big change to the serialization\de-serialization
> mechanism and, AFAIK, it is not backwardly compatible.
>
> This is worth trying before anything else.
>
> On 22 May 2012 17:21, sumatheja <sumatheja at gmail.com> wrote:
>
>> Hi,
>>    I've a drools application running on drools 5.4 cr1. It was working
>> fine until I migrated to 5.4 final. Now When I try to get the
>> StatefulKnowledgeSession from the Guvnor(5.4 final) I get the following
>> exception
>>
>> 17:04:55,763 ERROR [stderr] (http--127.0.0.1-8380-2)
>> java.lang.RuntimeException: KnowledgeAgent exception while trying to
>> deserialize KnowledgeDefinitionsPackage
>>
>> 17:04:55,767 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:776)
>>
>> 17:04:55,771 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:955)
>>
>> 17:04:55,774 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:675)
>>
>> 17:04:55,778 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203)
>>
>> 17:04:55,781 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182)
>>
>> 17:04:55,784 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> mattelli.re.ComplianceEngine.readKnowledgeBase(ComplianceEngine.java:2393)
>>
>> 17:04:55,787 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> mattelli.re.ComplianceEngine.ComplianceRunService(ComplianceEngine.java:133)
>>
>> 17:04:55,790 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>> 17:04:55,792 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> 17:04:55,795 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> 17:04:55,798 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.reflect.Method.invoke(Method.java:597)
>>
>> 17:04:55,801 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.ws.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:111)
>>
>> 17:04:55,805 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:181)
>>
>> 17:04:55,808 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)
>>
>> 17:04:55,811 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
>>
>> 17:04:55,815 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>
>> 17:04:55,818 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>
>> 17:04:55,821 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>
>> 17:04:55,823 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>>
>> 17:04:55,826 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
>>
>> 17:04:55,830 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
>>
>> 17:04:55,833 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>>
>> 17:04:55,836 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
>>
>> 17:04:55,839 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)
>>
>> 17:04:55,842 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)
>>
>> 17:04:55,845 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
>>
>> 17:04:55,848 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
>>
>> 17:04:55,851 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)
>>
>> 17:04:55,855 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
>>
>> 17:04:55,857 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
>>
>> 17:04:55,860 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
>>
>> 17:04:55,862 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>>
>> 17:04:55,865 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>>
>> 17:04:55,868 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>
>> 17:04:55,871 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>>
>> 17:04:55,874 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>>
>> 17:04:55,877 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
>>
>> 17:04:55,880 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
>>
>> 17:04:55,883 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>
>> 17:04:55,887 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>
>> 17:04:55,890 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>>
>> 17:04:55,893 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
>>
>> 17:04:55,895 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
>>
>> 17:04:55,899 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>>
>> 17:04:55,901 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.Thread.run(Thread.java:662)
>>
>> 17:04:55,904 ERROR [stderr] (http--127.0.0.1-8380-2) Caused by:
>> java.io.EOFException
>>
>> 17:04:55,906 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream$BlockDataInputStream.readBoolean(ObjectInputStream.java:2713)
>>
>> 17:04:55,909 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readBoolean(ObjectInputStream.java:883)
>>
>> 17:04:55,911 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.base.mvel.MVELCompilationUnit.readExternal(MVELCompilationUnit.java:199)
>>
>> 17:04:55,914 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:55,917 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:55,919 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:55,922 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:55,924 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.constraint.MvelConstraint.readExternal(MvelConstraint.java:398)
>>
>> 17:04:55,927 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:55,931 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:55,933 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:55,936 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:55,938 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.ArrayList.readObject(ArrayList.java:593)
>>
>> 17:04:55,940 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
>>
>> 17:04:55,943 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> 17:04:55,945 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.reflect.Method.invoke(Method.java:597)
>>
>> 17:04:55,947 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
>>
>> 17:04:55,950 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
>>
>> 17:04:55,953 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>
>> 17:04:55,956 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:55,959 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:55,962 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.Pattern.readExternal(Pattern.java:111)
>>
>> 17:04:55,964 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:55,968 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:55,971 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:55,973 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:55,976 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.ArrayList.readObject(ArrayList.java:593)
>>
>> 17:04:55,978 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
>>
>> 17:04:55,980 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> 17:04:55,983 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.reflect.Method.invoke(Method.java:597)
>>
>> 17:04:55,986 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
>>
>> 17:04:55,989 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
>>
>> 17:04:55,992 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>
>> 17:04:55,994 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:55,997 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:55,999 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.GroupElement.readExternal(GroupElement.java:63)
>>
>> 17:04:56,002 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:56,004 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:56,007 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,010 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,012 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.Rule.readExternal(Rule.java:181)
>>
>> 17:04:56,014 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:56,017 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:56,020 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,023 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,026 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.IdentityHashMap.readObject(IdentityHashMap.java:1188)
>>
>> 17:04:56,029 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
>>
>> 17:04:56,031 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> 17:04:56,035 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.reflect.Method.invoke(Method.java:597)
>>
>> 17:04:56,038 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
>>
>> 17:04:56,042 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
>>
>> 17:04:56,045 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>
>> 17:04:56,050 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,052 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,054 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.MVELDialectRuntimeData.readExternal(MVELDialectRuntimeData.java:88)
>>
>> 17:04:56,058 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:56,061 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:56,065 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,068 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,070 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.util.HashMap.readObject(HashMap.java:1030)
>>
>> 17:04:56,073 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
>>
>> 17:04:56,076 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> 17:04:56,081 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.lang.reflect.Method.invoke(Method.java:597)
>>
>> 17:04:56,084 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
>>
>> 17:04:56,088 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
>>
>> 17:04:56,091 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>>
>> 17:04:56,094 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,097 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,102 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.DialectRuntimeRegistry.readExternal(DialectRuntimeRegistry.java:59)
>>
>> 17:04:56,105 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:56,109 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:56,113 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,118 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,122 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.rule.Package.readExternal(Package.java:208)
>>
>> 17:04:56,125 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1791)
>>
>> 17:04:56,128 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)
>>
>> 17:04:56,131 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>>
>> 17:04:56,134 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>>
>> 17:04:56,137 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:205)
>>
>> 17:04:56,141 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:174)
>>
>> 17:04:56,145 ERROR [stderr] (http--127.0.0.1-8380-2)     at
>> org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:749)
>>
>> 17:04:56,149 ERROR [stderr] (http--127.0.0.1-8380-2)     ... 44 more
>>
>> 17:04:56,152 ERROR
>> [org.drools.guvnor.server.files.PackageDeploymentServlet]
>> (http--127.0.0.1-8380-3) null: ClientAbortException:
>> java.net.SocketException: Software caused connection abort: 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:272)
>> [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
>>     at
>> org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:58)
>> [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
>>     at
>> org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:139)
>> [guvnor-webapp-core-5.4.0.Final.jar:5.4.0.Final]
>>     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.1.Final.jar:3.1.1.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.1.Final.jar:3.1.1.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: Software caused connection abort:
>> 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
>>
>> However, when I replace the drools-core-5.4 final jar with
>> drools-core-5.4-CR1 jar (just the one jar, leaving the remaining jars as it
>> is) everything works fine again. Any idea If I'm missing something here?
>> I'm using
>> 1>  Drools-guvnor 5.4 final
>> 2> Drools Expert 5.4 Final
>> 3> jbpm 5.3 final
>>
>> Any help is much appreciated.Thanks in Advance.
>>
>> --
>> cheers
>> Sumatheja Dasararaju
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
cheers
Sumatheja Dasararaju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120522/1c8c8353/attachment-0001.html 


More information about the rules-users mailing list