[rules-users] A model class incompatibility issue causing most operations on BRMS fail

Kunal Shah kshah at sensorlogic.com
Fri Aug 31 12:05:46 EDT 2007


I just started playing with BRMS (4.0.0 GA). After trying to upload one
particular model jar, my BRMS is almost inaccessible. Seems like all
calls (to open any rule assets/package) results in populating model info
and hence in following error:

 

Is there any way to remove this model jar file now and get back by other
configurations? I would think that this should be handled little
gracefully so that entire system doesn't become inaccessible. I am just
using default database configuration right now. I can start from scratch
again but if I have to do that, it will be bad.

 

 

10:47:27,358 INFO  [STDOUT] ERROR 31-08 10:47:27,358
(Log4JLogger.java:error:119)       Exception while dispatching incoming
RPC call

java.lang.ClassFormatError: Incompatible magic value 791289923 in class
file com/sensorlogic/offboard/drools/facts/GenerateAlarm

     at java.lang.ClassLoader.defineClass1(Native Method)

     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

     at
org.drools.rule.MapBackedClassLoader.fastFindClass(MapBackedClassLoader.
java:60)

     at
org.drools.rule.MapBackedClassLoader.loadClass(MapBackedClassLoader.java
:79)

     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

     at
org.drools.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:148
)

     at
org.drools.brms.server.rules.SuggestionCompletionLoader.loadClass(Sugges
tionCompletionLoader.java:269)

     at
org.drools.brms.server.rules.SuggestionCompletionLoader.populateModelInf
o(SuggestionCompletionLoader.java:212)

     at
org.drools.brms.server.rules.SuggestionCompletionLoader.processPackageHe
ader(SuggestionCompletionLoader.java:118)

     at
org.drools.brms.server.rules.SuggestionCompletionLoader.getSuggestionEng
ine(SuggestionCompletionLoader.java:91)

     at
org.drools.brms.server.util.BRMSSuggestionCompletionLoader.getSuggestion
Engine(BRMSSuggestionCompletionLoader.java:38)

     at
org.drools.brms.server.ServiceImplementation.loadSuggestionCompletionEng
ine(ServiceImplementation.java:708)

     at
org.drools.brms.server.ServiceImplementation$$FastClassByCGLIB$$8f2fab45
.invoke(<generated>)

     at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

     at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationCon
text.java:45)

     at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCon
text.java:57)

     at
org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInt
erceptor.java:34)

     at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCon
text.java:69)

     at
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionI
nterceptor.java:47)

     at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCon
text.java:69)

     at
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(Method
ContextInterceptor.java:27)

     at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCon
text.java:69)

     at
org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInt
erceptor.java:37)

     at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationCon
text.java:69)

     at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103
)

     at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBea
nInterceptor.java:154)

     at
org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanIntercept
or.java:89)

     at
org.drools.brms.server.ServiceImplementation$$EnhancerByCGLIB$$fc786c20.
loadSuggestionCompletionEngine(<generated>)

     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

     at java.lang.reflect.Method.invoke(Method.java:585)

     at
org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTToSe
amAdapter.java:70)

     at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall(GWTRemot
eServiceServlet.java:300)

     at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost(GWTRemoteServ
iceServlet.java:181)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

     at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:56)

     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

     at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)

     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

     at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

     at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

     at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:175)

     at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:74)

     at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

     at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

     at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

     at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)

     at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)

     at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)

     at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)

     at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
Thread.java:112)

     at java.lang.Thread.run(Thread.java:595)

10:48:06,775 INFO  [STDOUT] DEBUG 31-08 10:48:06,775
(ServiceImplementation.java:listAssets:503)      time for asset list
load: 31

10:48:11,978

 

Kunal Shah 
Development 

www.sensorlogic.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070831/2620d350/attachment.html 


More information about the rules-users mailing list