[rules-users] Uploading the fact model to the DRools BRMS

Akila Geethal akilageethal at gmail.com
Thu Jan 17 00:49:42 EST 2008


but im getting this error.
Details
java.lang.reflect.InvocationTargetException 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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at org.jboss.seam.intercept.RootInvocationContext.proceed(
RootInvocationContext.java:31) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(
SeamInvocationContext.java:56) at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(
RollbackInterceptor.java:31) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(
SeamInvocationContext.java:68) at
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(
BijectionInterceptor.java:46) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(
SeamInvocationContext.java:68) at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(
MethodContextInterceptor.java:42) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(
SeamInvocationContext.java:68) at
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(
SecurityInterceptor.java:40) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(
SeamInvocationContext.java:68) at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(
JavaBeanInterceptor.java:155) at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
at org.drools.brms.server.ServiceImplementation_$$_javassist_3.savePackage(ServiceImplementation_$$_javassist_3.java)
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:585) at
org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(
GWTToSeamAdapter.java:74) at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall(
GWTRemoteServiceServlet.java:290) at
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost(
GWTRemoteServiceServlet.java:172) 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(
ApplicationFilterChain.java:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42) at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(
ContextualHttpServletRequest.java:46) at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213) at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178) at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:175) at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java: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:148)
at org.apache.coyote.http11.Http11AprProcessor.process(
Http11AprProcessor.java:811) at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
Http11AprProtocol.java:632) at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) at
java.lang.Thread.run(Thread.java:595) Caused by:
java.lang.UnsupportedClassVersionError: Bad version number in .class file 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:146) at
org.drools.brms.server.rules.SuggestionCompletionLoader.loadClass(
SuggestionCompletionLoader.java:342) at
org.drools.brms.server.rules.SuggestionCompletionLoader.populateModelInfo(
SuggestionCompletionLoader.java:276) at
org.drools.brms.server.rules.SuggestionCompletionLoader.processPackageHeader
(SuggestionCompletionLoader.



WAt should be included in the property file?? What should it caontain? and
where it should be? Also what should be its name?
Sometimes inm getting the error as class not found... What am i missing???
Is it a problem with my JDK?? Or i just put import statement in a package
file and included it in the jar. Is it enough or what should be there int he
property fileand what is the format? iDint find anything about a property
file in the document.. Iam stuck here:(..





On Jan 17, 2008 11:04 AM, Michael Neale <michael.neale at gmail.com> wrote:

> No - you run it in an app server. The jar you upload should just contain
> he fact classes you want - you can use eclipse to generate a jar of just the
> classes needed.
>
> After that, add in an import statement to import the types you want to use
> in the rules. No manual configuration otherwise should be necessary unless
> you are doing something out of the ordinary.
>
>
> On Jan 17, 2008 2:16 PM, Akila Geethal <akilageethal at gmail.com> wrote:
>
> > i am deploying the BRMS in jboss server. CAn it be run stand alone?? Do
> > i need to install the drools things maven,ant or any repository for
> > that.I just followed the steps in the quick start guide of BRMS. Do i
> > hav to do some other instalations???
> >
> >
> > On Jan 16, 2008 12:11 PM, Akila Geethal <akilageethal at gmail.com> wrote:
> >
> > > In that documantation i couldnt find anything about a property file in
> > > the BRMS section. Can you tell me what should be included in it?? import
> > > statements just like in the package file?? and what should be the name of
> > > the property file? pls help.. Also can you send me a sample???
> > >
> > >
> > > On Jan 16, 2008 11:59 AM, Rahul Upadhyay < email2upadhyay at gmail.com>
> > > wrote:
> > >
> > > > No , Property  file  Should Be In you Jar With you class file.
> > > >
> > > > I hope, This time your application will run.
> > > >
> > > > Rahul Upadhyay
> > > >
> > > >
> > > >
> > > > On Jan 16, 2008 11:07 AM, Akila Geethal < akilageethal at gmail.com>
> > > > wrote:
> > > >
> > > > > Where should i include the property file?
> > > > > Is it the .pkg file we edit when we are working with drools in
> > > > > ecliplse??
> > > > >
> > > > >
> > > > > On Jan 14, 2008 2:10 PM, Akila Geethal < akilageethal at gmail.com>
> > > > > wrote:
> > > > >
> > > > > > iam reading that..In the BRMS section i coundnot find ny thing
> > > > > > about a property file???In which section is it?
> > > > > >
> > > > > >
> > > > > > On Jan 14, 2008 1:59 PM, Rahul Upadhyay <email2upadhyay at gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > ohhhhhh I see, Property file needs to map between BRMS & yours
> > > > > > > application.
> > > > > > >
> > > > > > > Read this form
> > > > > > > http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html
> > > > > > >
> > > > > > >
> > > > > > > Rahul upadhyay
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Jan 14, 2008 1:47 PM, Akila Geethal <akilageethal at gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > i dint get it.. What is the property file?? WHere shoud it
> > > > > > > > be?? And what should be included in it>?? iDint make ny property file?? I
> > > > > > > > want to know what are those kind of externel configurations needed??
> > > > > > > >
> > > > > > > >
> > > > > > > > On Jan 14, 2008 1:36 PM, Rahul Upadhyay <
> > > > > > > > email2upadhyay at gmail.com> wrote:
> > > > > > > >
> > > > > > > > > you dont have com package.. so BRMS does not find the
> > > > > > > > > path.
> > > > > > > > > Any where is your property file. put in you jar.
> > > > > > > > > Jobss JDK 1.4 + ok.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > try out.
> > > > > > > > >
> > > > > > > > > Rahul upadhyay
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Jan 14, 2008 12:24 PM, Akila Geethal <
> > > > > > > > > akilageethal at gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > > last error comes when i import as "import
> > > > > > > > > > package1.Employee"
> > > > > > > > > >
> > > > > > > > > > when i just put as "import com.package1." it gives the
> > > > > > > > > > error as class not found...
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Jan 14, 2008 12:20 PM, Akila Geethal <
> > > > > > > > > > akilageethal at gmail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > >  Details
> > > > > > > > > > > java.lang.reflect.InvocationTargetException 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:585) at
> > > > > > > > > > > org.jboss.seam.util.Reflections.invoke(
> > > > > > > > > > > Reflections.java:21) at
> > > > > > > > > > > org.jboss.seam.intercept.RootInvocationContext.proceed
> > > > > > > > > > > (RootInvocationContext.java:31) at
> > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > (SeamInvocationContext.java:56) at
> > > > > > > > > > > org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke
> > > > > > > > > > > (RollbackInterceptor.java:31) at
> > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > org.jboss.seam.core.BijectionInterceptor.aroundInvoke(
> > > > > > > > > > > BijectionInterceptor.java:46) at
> > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > org.jboss.seam.core.MethodContextInterceptor.aroundInvoke
> > > > > > > > > > > (MethodContextInterceptor.java:42) at
> > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > org.jboss.seam.security.SecurityInterceptor.aroundInvoke
> > > > > > > > > > > (SecurityInterceptor.java:40) at
> > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > org.jboss.seam.intercept.RootInterceptor.invoke(
> > > > > > > > > > > RootInterceptor.java:106) at
> > > > > > > > > > > org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation
> > > > > > > > > > > (JavaBeanInterceptor.java:155) at
> > > > > > > > > > > org.jboss.seam.intercept.JavaBeanInterceptor.invoke(
> > > > > > > > > > > JavaBeanInterceptor.java:91) at
> > > > > > > > > > > org.drools.brms.server.ServiceImplementation_$$_javassist_3.savePackage(ServiceImplementation_$$_javassist_3.java)
> > > > > > > > > > > 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:585) at
> > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod
> > > > > > > > > > > (GWTToSeamAdapter.java:74) at
> > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall
> > > > > > > > > > > (GWTRemoteServiceServlet.java:290) at
> > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost
> > > > > > > > > > > (GWTRemoteServiceServlet.java:172) 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
> > > > > > > > > > > (ApplicationFilterChain.java:252) at
> > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > > > > > > > > > (ApplicationFilterChain.java:173) at
> > > > > > > > > > > org.jboss.seam.web.ContextFilter$1.process(
> > > > > > > > > > > ContextFilter.java:42) at
> > > > > > > > > > > org.jboss.seam.servlet.ContextualHttpServletRequest.run
> > > > > > > > > > > (ContextualHttpServletRequest.java:46) at
> > > > > > > > > > > org.jboss.seam.web.ContextFilter.doFilter(
> > > > > > > > > > > ContextFilter.java:37) at
> > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > > > > > > > > > (ApplicationFilterChain.java:202) at
> > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > > > > > > > > > (ApplicationFilterChain.java:173) at
> > > > > > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > > > > > > > > StandardWrapperValve.java:213) at
> > > > > > > > > > > org.apache.catalina.core.StandardContextValve.invoke(
> > > > > > > > > > > StandardContextValve.java:178) at
> > > > > > > > > > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
> > > > > > > > > > > (SecurityAssociationValve.java:175) at
> > > > > > > > > > > org.jboss.web.tomcat.security.JaccContextValve.invoke(
> > > > > > > > > > > JaccContextValve.java: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:148) at
> > > > > > > > > > > org.apache.coyote.http11.Http11AprProcessor.process(
> > > > > > > > > > > Http11AprProcessor.java:811) at
> > > > > > > > > > > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
> > > > > > > > > > > (Http11AprProtocol.java:632) at
> > > > > > > > > > > org.apache.tomcat.util.net.AprEndpoint$Worker.run(
> > > > > > > > > > > AprEndpoint.java:1285) at java.lang.Thread.run(
> > > > > > > > > > > Thread.java:595) Caused by:
> > > > > > > > > > > java.lang.UnsupportedClassVersionError: Bad version
> > > > > > > > > > > number in .class file 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:146) at
> > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.loadClass
> > > > > > > > > > > (SuggestionCompletionLoader.java:342) at
> > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.populateModelInfo
> > > > > > > > > > > (SuggestionCompletionLoader.java:276) at
> > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.processPackageHeader
> > > > > > > > > > > (SuggestionCompletionLoader.java:178) at
> > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.getSuggestionEngine
> > > > > > > > > > > (SuggestionCompletionLoader.java:130) at
> > > > > > > > > > > org.drools.brms.server.util.BRMSSuggestionCompletionLoader.getSuggestionEngine
> > > > > > > > > > > (BRMSSuggestionCompletionLoader.java:41) at
> > > > > > > > > > > org.drools.brms.server.ServiceImplementation.savePackage
> > > > > > > > > > > (ServiceImplementation.java:534) ... 47 more
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > still getting this error.Is there somethiong wrong
> > > > > > > > > > > with jboss ?? I hav set java_home env variable .. Do i ned to jdo any more
> > > > > > > > > > > configuration,,O what should be the problem. ??? :(
> > > > > > > > > > > Do i hav to import the classes in JDK...no na?
> > > > > > > > > > > reflection error is always coming up.CAn this be
> > > > > > > > > > > something wrong with my jdk???
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Jan 14, 2008 11:33 AM, Rahul Upadhyay <
> > > > > > > > > > > email2upadhyay at gmail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > your package1.jar seems fine.
> > > > > > > > > > > > Delete the repository folder, derby.log ,
> > > > > > > > > > > > repository.xml form bin folder of Jboss.
> > > > > > > > > > > >  Restart your Jboos.
> > > > > > > > > > > >
> > > > > > > > > > > > Run BRMS
> > > > > > > > > > > >  Create New Category form Admin
> > > > > > > > > > > > Then Create New package form packages in your
> > > > > > > > > > > > Category
> > > > > > > > > > > > Then upload first your jar in this  Category
> > > > > > > > > > > > Check this in your package in model  it should be
> > > > > > > > > > > > visible
> > > > > > > > > > > > then put your import statement
> > > > > > > > > > > > then validate
> > > > > > > > > > > >
> > > > > > > > > > > > Let Me know if you find problem again.
> > > > > > > > > > > > follw this link too.
> > > > > > > > > > > >
> > > > > > > > > > > > file:///home/rahul/Desktop/quick-
> > > > > > > > > > > > start-tutorialmovie-for-brms.html
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers
> > > > > > > > > > > >
> > > > > > > > > > > > Rahul upadhyay
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Jan 14, 2008 11:04 AM, Akila Geethal <
> > > > > > > > > > > > akilageethal at gmail.com> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >  Details
> > > > > > > > > > > > > java.lang.reflect.InvocationTargetException 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:585)
> > > > > > > > > > > > > at org.jboss.seam.util.Reflections.invoke(
> > > > > > > > > > > > > Reflections.java:21) at
> > > > > > > > > > > > > org.jboss.seam.intercept.RootInvocationContext.proceed
> > > > > > > > > > > > > (RootInvocationContext.java:31) at
> > > > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > > > (SeamInvocationContext.java:56) at
> > > > > > > > > > > > > org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke
> > > > > > > > > > > > > (RollbackInterceptor.java:31) at
> > > > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > > > org.jboss.seam.core.BijectionInterceptor.aroundInvoke
> > > > > > > > > > > > > (BijectionInterceptor.java:46) at
> > > > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > > > org.jboss.seam.core.MethodContextInterceptor.aroundInvoke
> > > > > > > > > > > > > (MethodContextInterceptor.java:42) at
> > > > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > > > org.jboss.seam.security.SecurityInterceptor.aroundInvoke
> > > > > > > > > > > > > (SecurityInterceptor.java:40) at
> > > > > > > > > > > > > org.jboss.seam.intercept.SeamInvocationContext.proceed
> > > > > > > > > > > > > (SeamInvocationContext.java:68) at
> > > > > > > > > > > > > org.jboss.seam.intercept.RootInterceptor.invoke(
> > > > > > > > > > > > > RootInterceptor.java:106) at
> > > > > > > > > > > > > org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation
> > > > > > > > > > > > > (JavaBeanInterceptor.java:155) at
> > > > > > > > > > > > > org.jboss.seam.intercept.JavaBeanInterceptor.invoke
> > > > > > > > > > > > > (JavaBeanInterceptor.java:91) at
> > > > > > > > > > > > > org.drools.brms.server.ServiceImplementation_$$_javassist_3.savePackage(ServiceImplementation_$$_javassist_3.java)
> > > > > > > > > > > > > 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:585)
> > > > > > > > > > > > > at
> > > > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod
> > > > > > > > > > > > > (GWTToSeamAdapter.java:74) at
> > > > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall
> > > > > > > > > > > > > (GWTRemoteServiceServlet.java:290) at
> > > > > > > > > > > > > org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost
> > > > > > > > > > > > > (GWTRemoteServiceServlet.java:172) 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
> > > > > > > > > > > > > (ApplicationFilterChain.java:252) at
> > > > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > > > > > > > > > > > (ApplicationFilterChain.java:173) at
> > > > > > > > > > > > > org.jboss.seam.web.ContextFilter$1.process(
> > > > > > > > > > > > > ContextFilter.java:42) at
> > > > > > > > > > > > > org.jboss.seam.servlet.ContextualHttpServletRequest.run
> > > > > > > > > > > > > (ContextualHttpServletRequest.java:46) at
> > > > > > > > > > > > > org.jboss.seam.web.ContextFilter.doFilter(
> > > > > > > > > > > > > ContextFilter.java:37) at
> > > > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > > > > > > > > > > > (ApplicationFilterChain.java:202) at
> > > > > > > > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > > > > > > > > > > > (ApplicationFilterChain.java:173) at
> > > > > > > > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke
> > > > > > > > > > > > > (StandardWrapperValve.java:213) at
> > > > > > > > > > > > > org.apache.catalina.core.StandardContextValve.invoke
> > > > > > > > > > > > > (StandardContextValve.java:178) at
> > > > > > > > > > > > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
> > > > > > > > > > > > > (SecurityAssociationValve.java:175) at
> > > > > > > > > > > > > org.jboss.web.tomcat.security.JaccContextValve.invoke
> > > > > > > > > > > > > (JaccContextValve.java: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:148) at
> > > > > > > > > > > > > org.apache.coyote.http11.Http11AprProcessor.process
> > > > > > > > > > > > > (Http11AprProcessor.java:811) at
> > > > > > > > > > > > > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
> > > > > > > > > > > > > (Http11AprProtocol.java:632) at
> > > > > > > > > > > > > org.apache.tomcat.util.net.AprEndpoint$Worker.run(
> > > > > > > > > > > > > AprEndpoint.java:1285) at java.lang.Thread.run(
> > > > > > > > > > > > > Thread.java:595) Caused by:
> > > > > > > > > > > > > java.lang.UnsupportedClassVersionError: Bad
> > > > > > > > > > > > > version number in .class file 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:146) at
> > > > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.loadClass
> > > > > > > > > > > > > (SuggestionCompletionLoader.java:342) at
> > > > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.populateModelInfo
> > > > > > > > > > > > > (SuggestionCompletionLoader.java:276) at
> > > > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.processPackageHeader
> > > > > > > > > > > > > (SuggestionCompletionLoader.java:178) at
> > > > > > > > > > > > > org.drools.brms.server.rules.SuggestionCompletionLoader.getSuggestionEngine
> > > > > > > > > > > > > (SuggestionCompletionLoader.java:130) at
> > > > > > > > > > > > > org.drools.brms.server.util.BRMSSuggestionCompletionLoader.getSuggestionEngine
> > > > > > > > > > > > > (BRMSSuggestionCompletionLoader.java:41) at
> > > > > > > > > > > > > org.drools.brms.server.ServiceImplementation.savePackage
> > > > > > > > > > > > > (ServiceImplementation.java:534) ... 47 more
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > im importing as import package1.Employee
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I hav attached the jar which i uploaded.. Thank
> > > > > > > > > > > > > you very much if u can look in to my matter.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 1/14/08, Rahul Upadhyay <
> > > > > > > > > > > > > email2upadhyay at gmail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > send whole stacj trace, I think you miss some
> > > > > > > > > > > > > > class in your jar that extend your class. Include that class also.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Jan 14, 2008 10:37 AM, Akila Geethal <
> > > > > > > > > > > > > > akilageethal at gmail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > java.lang.reflect.InvocationTar getException
> > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > > > > > > > > > Method) at
> > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > > > > > > > > NativeMethodAccessorImpl.java:39) at
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > what can be the reason for thsi error? am i
> > > > > > > > > > > > > > > missing some thing in the jboss server or what can be the error?? I get thsi
> > > > > > > > > > > > > > > when i try to import the classes(facts ) from the uploaded jar??And also
> > > > > > > > > > > > > > > where does the jar get saved when it is uploaded??
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 1/11/08, Rahul Upadhyay <email2upadhyay at gmail.com >
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > See, BRMS needs only packaging + class file
> > > > > > > > > > > > > > > > because you are importing  that one only. Second why do you create jar of
> > > > > > > > > > > > > > > > whole project. In project, There will be project name  folder, there will be
> > > > > > > > > > > > > > > > bin folder.. your import statement does not include those. so if you put
> > > > > > > > > > > > > > > > whole project hierarchy , how will you get the path.. result class not
> > > > > > > > > > > > > > > > found.. just include package folders + class you want .
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > All the Best
> > > > > > > > > > > > > > > >  Rahul Upadhyay
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Jan 11, 2008 3:35 PM, Akila Geethal <akilageethal at gmail.com>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I built the jar for the whole project with
> > > > > > > > > > > > > > > > > eclipse.Should it be built for the package
> > > > > > > > > > > > > > > > > only??
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Jan 11, 2008 3:10 PM, Rahul Upadhyay <email2upadhyay at gmail.com >
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Don't make jar from class only. use
> > > > > > > > > > > > > > > > > > proper package also. i mean suppose you want to import
> > > > > > > > > > > > > > > > > > a.b.c.class then your jar will keep
> > > > > > > > > > > > > > > > > > c.class file in folder b and folder b in
> > > > > > > > > > > > > > > > > > a folder.
> > > > > > > > > > > > > > > > > > it works easly.. not big deal.. try
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > cheers
> > > > > > > > > > > > > > > > > > Rahul upadhyay
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Jan 11, 2008 2:59 PM, Anstis, Michael
> > > > > > > > > > > > > > > > > > (M.) < manstis1 at ford.com> wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >  Have you tried this walk through?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >  ------------------------------
> > > > > > > > > > > > > > > > > > > *From:*
> > > > > > > > > > > > > > > > > > > rules-users-bounces at lists.jboss.org[mailto:
> > > > > > > > > > > > > > > > > > > rules-users-bounces at lists.jboss.org] *On
> > > > > > > > > > > > > > > > > > > Behalf Of *Akila Geethal
> > > > > > > > > > > > > > > > > > > *Sent:* 11 January 2008 07:24
> > > > > > > > > > > > > > > > > > > *To:* Rules Users List
> > > > > > > > > > > > > > > > > > > *Subject:* Re: [rules-users] Uploading
> > > > > > > > > > > > > > > > > > > the fact model to the DRools BRMS
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > what are the configurations should be
> > > > > > > > > > > > > > > > > > > made to import the classes in the jar. When trying ti import the classs in
> > > > > > > > > > > > > > > > > > > the package configuration section im getting the class not found error when
> > > > > > > > > > > > > > > > > > > i try to validate the imports. What are the files should be
> > > > > > > > > > > > > > > > > > > modified.Iam new to drools.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Jan 10, 2008 9:30 PM, Anstis,
> > > > > > > > > > > > > > > > > > > Michael (M.) <manstis1 at ford.com>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >  I have a vague recollection that
> > > > > > > > > > > > > > > > > > > > there is another file in which you need to list your fully qualified class
> > > > > > > > > > > > > > > > > > > > names before they can be referenced by the BRMS.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I think Kris (or Edson) has provided
> > > > > > > > > > > > > > > > > > > > a posting to the group before about this.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Flame me if I am wrong.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >  ------------------------------
> > > > > > > > > > > > > > > > > > > > *From:*
> > > > > > > > > > > > > > > > > > > > rules-users-bounces at lists.jboss.org[mailto:
> > > > > > > > > > > > > > > > > > > > rules-users-bounces at lists.jboss.org]
> > > > > > > > > > > > > > > > > > > > *On Behalf Of *Mark Proctor
> > > > > > > > > > > > > > > > > > > > *Sent:* 10 January 2008 15:54
> > > > > > > > > > > > > > > > > > > > *To:* Rules Users List
> > > > > > > > > > > > > > > > > > > > *Subject:* Re: [rules-users]
> > > > > > > > > > > > > > > > > > > > Uploading the fact model to the DRools BRMS
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >   Akila Geethal wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > When I upload a jar file to the
> > > > > > > > > > > > > > > > > > > > DRools BRMS it does not get uploaded. When i try to get the clsses by the
> > > > > > > > > > > > > > > > > > > > import statements it says the class cannot be found. Are there any special
> > > > > > > > > > > > > > > > > > > > way of making the jar?Should that fact modelapplication include special
> > > > > > > > > > > > > > > > > > > > libraries or etc....
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > No it' just a standard jar, with
> > > > > > > > > > > > > > > > > > > > standard pojos.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > ------------------------------
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > > > > > > > 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
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > > > > > > 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
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > > > > 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
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > > 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
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > 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
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > 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
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > 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
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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
> > > >
> > > >
> > >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
>
> --
> Michael D Neale
> home: www.michaelneale.net
> blog: michaelneale.blogspot.com
> _______________________________________________
> 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/20080117/bd3f7d82/attachment.html 


More information about the rules-users mailing list