[rules-users] Uploading the fact model to the DRools BRMS
Hi, I fixed the Problem. First I got rid of the Error [STDOUT] ERROR 16-01 11:42:25,609 (Contexts.java:flushAndDest royContexts:335) could not discover transaction status ... by editing the web.xml of drools-jbrms ear. I found that earlier in this list. After that my exception changed into java.lang.UnsupportedClassVersionError: Bad version number in .class file So I created my jars with some different Java versions and with jdk 1.6 the exception was gone. I don't why this is, cause drools and JBoss should work with 1.5. Cheers Tobi Message: 2 Date: Tue, 18 Mar 2008 18:11:31 +0100 From: "Felbecker, Tobias" <[EMAIL PROTECTED]> Subject: To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hi , I got the same problem and wonder if there is a solution for that yet. I'am using JBOSS: AS 4.2.2 GA DBMR: 4.0.4 JAVA: 1.5.0_15 After uploading the jar, editing the import in the package configuration and finally validating the package I get the following exception: java.lang.reflect.InvocationTargetException 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.util.Reflections.invoke(Reflections.java:21) at. The import statement should and the packaging of the jar file seems to be correct. Otherwise there would be a Class not found error but no exception. I tried all kinds of packaging: binaries, source and binaries, creating the jar through eclipse and from cmd. This is my very simple java class: package test; public class MyBean{ public MyBean(){ } private int number; public int getNumber() { return number; } public void setNumber(int number) { this.number = number; } } Cheers Tobi ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Uploading the fact model to the DRools BRMS
Hi , I got the same problem and wonder if there is a solution for that yet. I'am using JBOSS: AS 4.2.2 GA DBMR: 4.0.4 JAVA: 1.5.0_15 After uploading the jar, editing the import in the package configuration and finally validating the package I get the following exception: java.lang.reflect.InvocationTargetException 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.util.Reflections.invoke(Reflections.java:21) at. The import statement should and the packaging of the jar file seems to be correct. Otherwise there would be a Class not found error but no exception. I tried all kinds of packaging: binaries, source and binaries, creating the jar through eclipse and from cmd. This is my very simple java class: package test; public class MyBean{ public MyBean(){ } private int number; public int getNumber() { return number; } public void setNumber(int number) { this.number = number; } } Cheers Tobi ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Uploading the fact model to the DRools BRMS
Some results... I should qualify: This problem is specific to using xmlbeans for providing the data model (as a genned jar, in this case). Got BRMS to work in Tomcat 6.x (not in JBoss app server). There is still a problem with the wildcard imports when configuring/editing a package, however if I upload the 4 or 5 jars that come with xmlbeans as separate models into the package in the BRMS (and of course the jar containing the genned class files representing the data model) and then in the pkg configuration editor I explicitly import each class that the rule pkg works with, it does validate and i can subsequently build/validate/deploy a package. Thanks, Alan J Alan R Jones Boeing S&IS Mission Systems Denver Engineering Center (BDEC) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Alan R Sent: Friday, January 18, 2008 9:59 AM To: Rules Users List Subject: RE: [rules-users] Uploading the fact model to the DRools BRMS Actually I am having the same problem... I create a jar from a schema containing all the classes that the rule will work with. In the BRMS, I upload it as an asset in a model archive. Then when I edit package config, I put import statements per the following: import com.mycompany.model.vehicles.*; import org.apache.xmlbeans.*; and when I do a vailidation, it throws error saying "No Such class for import com.mycompany.model.vehicles.*" or something similar. However, if I change it to a specific class: import com.mycompany.model.vehicles.Scooter; import org.apache.xmlbeans.XmlObject; ...it does validate/save successfully. So it looks like there is a problem with the wildcard? I should mention this is in the context of JBoss App Server 4.x...in Tomcat 6, it doesn't work even with explicit class in the import -- is there something about BRMS running in Tomcat 6 and uploaded jar files (model archives)? The wildcard could be a problem as I use xmlbeans to generate my data model from an xsd (I pass xml docs via SOAP messages). The result is a jar with a LOT of classes that could be very painful to have to import class by class. From: Rahul Upadhyay [mailto:[EMAIL PROTECTED] Sent: Fri 1/18/2008 1:54 AM To: Rules Users List Subject: Re: [rules-users] Uploading the fact model to the DRools BRMS That I am Saying My Dear.. You Problem is Class Version No. Find out somting about That. I am sure.. you are missing some class that needs to import. do one thing.. add all the classes that you have in you application.. If you extend some class then add it also in jaar. that it On Jan 18, 2008 12:37 PM, Akila Geethal <[EMAIL PROTECTED]> wrote: thats is not my problem..In the brms in the web interface im having problems to get the facts. Iam not yet dealing with application.I just want to create some rules in the web interface with the uploaded jar. in here when i try to edit package configuration and put the import statements im gettng that error.When try to create rules it does not show me any facts types to add conditions.. On Jan 18, 2008 10:57 AM, Rahul Upadhyay < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: in this link http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html Read Section 9.4.4 about property file. Place This file in your jar with yours Imported class. Make changes accordingly in your program with rule agent. all the Best Rahul Upadhyay On Jan 18, 2008 10:41 AM, akilageethal < [EMAIL PROTECTED] > wrote: can u tell me where does the file should be, in which i have to mention the full class names in order to identify the classes by BRMS. What is the format of the file?? i don hav any idea about that file.The documentation doesnot say any thing about such file.Im trying to get the classes imported but still couldnt get it. Thanx in advance Anstis, Michael (M.) 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.
RE: [rules-users] Uploading the fact model to the DRools BRMS
Also I have the same problem.. someone can explain which exactly are the steps to follow? how must be created the property file in the jar? an example.. thanks in advance Jones, Alan R wrote: > > Actually I am having the same problem... > > I create a jar from a schema containing all the classes that the rule will > work with. In the BRMS, I upload it as an asset in a model archive. Then > when I edit package config, I put import statements per the following: > > import com.mycompany.model.vehicles.*; > import org.apache.xmlbeans.*; > > and when I do a vailidation, it throws error saying "No Such class for > import com.mycompany.model.vehicles.*" or something similar. > > However, if I change it to a specific class: > >import com.mycompany.model.vehicles.Scooter; >import org.apache.xmlbeans.XmlObject; > > ...it does validate/save successfully. So it looks like there is a problem > with the wildcard? I should mention this is in the context of JBoss App > Server 4.x...in Tomcat 6, it doesn't work even with explicit class in the > import -- is there something about BRMS running in Tomcat 6 and uploaded > jar files (model archives)? > > The wildcard could be a problem as I use xmlbeans to generate my data > model from an xsd (I pass xml docs via SOAP messages). The result is a > jar with a LOT of classes that could be very painful to have to import > class by class. > > > > > > > > From: Rahul Upadhyay [mailto:[EMAIL PROTECTED] > Sent: Fri 1/18/2008 1:54 AM > To: Rules Users List > Subject: Re: [rules-users] Uploading the fact model to the DRools BRMS > > > That I am Saying My Dear.. You Problem is Class Version No. > > Find out somting about That. > > I am sure.. you are missing some class that needs to import. > do one thing.. add all the classes that you have in you application.. If > you extend some class then add it also in jaar. > > that it > > > > > On Jan 18, 2008 12:37 PM, Akila Geethal <[EMAIL PROTECTED]> wrote: > > > thats is not my problem..In the brms in the web interface im having > problems to get the facts. Iam not yet dealing with application.I just > want to create some rules in the web interface with the uploaded jar. in > here when i try to edit package configuration and put the import > statements im gettng that error.When try to create rules it does not show > me any facts types to add conditions.. > > > On Jan 18, 2008 10:57 AM, Rahul Upadhyay < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > > in this link > > > http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html > > Read Section 9.4.4 about property file. > Place This file in your jar with yours Imported class. > Make changes accordingly in your program with rule agent. > > > all the Best > > Rahul Upadhyay > > > On Jan 18, 2008 10:41 AM, akilageethal < [EMAIL PROTECTED] > > wrote: > > > > can u tell me where does the file should be, in which i > have to mention > the > full class names in order to identify the classes by > BRMS. What is the > format of the file?? i don hav any idea about that > file.The > documentation > doesnot say any thing about such file.Im trying to get > the classes > imported > but still couldnt get it. Thanx in advance > > > > > > Anstis, Michael (M.) 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: [EMAIL PROTECTED] > > [mailto: [EMAIL PROTECTED] > <mailto:[
RE: [rules-users] Uploading the fact model to the DRools BRMS
Actually I am having the same problem... I create a jar from a schema containing all the classes that the rule will work with. In the BRMS, I upload it as an asset in a model archive. Then when I edit package config, I put import statements per the following: import com.mycompany.model.vehicles.*; import org.apache.xmlbeans.*; and when I do a vailidation, it throws error saying "No Such class for import com.mycompany.model.vehicles.*" or something similar. However, if I change it to a specific class: import com.mycompany.model.vehicles.Scooter; import org.apache.xmlbeans.XmlObject; ...it does validate/save successfully. So it looks like there is a problem with the wildcard? I should mention this is in the context of JBoss App Server 4.x...in Tomcat 6, it doesn't work even with explicit class in the import -- is there something about BRMS running in Tomcat 6 and uploaded jar files (model archives)? The wildcard could be a problem as I use xmlbeans to generate my data model from an xsd (I pass xml docs via SOAP messages). The result is a jar with a LOT of classes that could be very painful to have to import class by class. From: Rahul Upadhyay [mailto:[EMAIL PROTECTED] Sent: Fri 1/18/2008 1:54 AM To: Rules Users List Subject: Re: [rules-users] Uploading the fact model to the DRools BRMS That I am Saying My Dear.. You Problem is Class Version No. Find out somting about That. I am sure.. you are missing some class that needs to import. do one thing.. add all the classes that you have in you application.. If you extend some class then add it also in jaar. that it On Jan 18, 2008 12:37 PM, Akila Geethal <[EMAIL PROTECTED]> wrote: thats is not my problem..In the brms in the web interface im having problems to get the facts. Iam not yet dealing with application.I just want to create some rules in the web interface with the uploaded jar. in here when i try to edit package configuration and put the import statements im gettng that error.When try to create rules it does not show me any facts types to add conditions.. On Jan 18, 2008 10:57 AM, Rahul Upadhyay < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: in this link http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html Read Section 9.4.4 about property file. Place This file in your jar with yours Imported class. Make changes accordingly in your program with rule agent. all the Best Rahul Upadhyay On Jan 18, 2008 10:41 AM, akilageethal < [EMAIL PROTECTED] > wrote: can u tell me where does the file should be, in which i have to mention the full class names in order to identify the classes by BRMS. What is the format of the file?? i don hav any idea about that file.The documentation doesnot say any thing about such file.Im trying to get the classes imported but still couldnt get it. Thanx in advance Anstis, Michael (M.) 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: [EMAIL PROTECTED] > [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 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 an
Re: [rules-users] Uploading the fact model to the DRools BRMS
That I am Saying My Dear.. You Problem is Class Version No. Find out somting about That. I am sure.. you are missing some class that needs to import. do one thing.. add all the classes that you have in you application.. If you extend some class then add it also in jaar. that it On Jan 18, 2008 12:37 PM, Akila Geethal <[EMAIL PROTECTED]> wrote: > thats is not my problem..In the brms in the web interface im having > problems to get the facts. Iam not yet dealing with application.I just > want to create some rules in the web interface with the uploaded jar. in > here when i try to edit package configuration and put the import statements > im gettng that error.When try to create rules it does not show me any > facts types to add conditions.. > > On Jan 18, 2008 10:57 AM, Rahul Upadhyay <[EMAIL PROTECTED] > > wrote: > > > in this link > > http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html > > Read Section 9.4.4 about property file. > > Place This file in your jar with yours Imported class. > > Make changes accordingly in your program with rule agent. > > > > all the Best > > > > Rahul Upadhyay > > > > On Jan 18, 2008 10:41 AM, akilageethal < [EMAIL PROTECTED] > wrote: > > > > > > > > can u tell me where does the file should be, in which i have to > > > mention the > > > full class names in order to identify the classes by BRMS. What is the > > > format of the file?? i don hav any idea about that file.Thedocumentation > > > doesnot say any thing about such file.Im trying to get the classes > > > imported > > > but still couldnt get it. Thanx in advance > > > > > > > > > > > > > > > Anstis, Michael (M.) 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: [EMAIL PROTECTED] > > > > [mailto: [EMAIL PROTECTED] ] 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@lists.jboss.org > > > > > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > rules-users mailing list > > > > rules-users@lists.jboss.org > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > -- > > > View this message in context: > > > http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html > > > > > > Sent from the drools - user mailing list archive at Nabble.com. > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
thats is not my problem..In the brms in the web interface im having problems to get the facts. Iam not yet dealing with application.I just want to create some rules in the web interface with the uploaded jar. in here when i try to edit package configuration and put the import statements im gettng that error.When try to create rules it does not show me any facts types to add conditions.. On Jan 18, 2008 10:57 AM, Rahul Upadhyay <[EMAIL PROTECTED]> wrote: > in this link > http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html > Read Section 9.4.4 about property file. > Place This file in your jar with yours Imported class. > Make changes accordingly in your program with rule agent. > > all the Best > > Rahul Upadhyay > > On Jan 18, 2008 10:41 AM, akilageethal <[EMAIL PROTECTED] > wrote: > > > > > can u tell me where does the file should be, in which i have to mention > > the > > full class names in order to identify the classes by BRMS. What is the > > format of the file?? i don hav any idea about that file.Thedocumentation > > doesnot say any thing about such file.Im trying to get the classes > > imported > > but still couldnt get it. Thanx in advance > > > > > > > > > > Anstis, Michael (M.) 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: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] ] 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@lists.jboss.org > > > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html > > > > Sent from the drools - user mailing list archive at Nabble.com. > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
in this link http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html Read Section 9.4.4 about property file. Place This file in your jar with yours Imported class. Make changes accordingly in your program with rule agent. all the Best Rahul Upadhyay On Jan 18, 2008 10:41 AM, akilageethal <[EMAIL PROTECTED]> wrote: > > can u tell me where does the file should be, in which i have to mention > the > full class names in order to identify the classes by BRMS. What is the > format of the file?? i don hav any idea about that file.The documentation > doesnot say any thing about such file.Im trying to get the classes > imported > but still couldnt get it. Thanx in advance > > > > > Anstis, Michael (M.) 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: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] 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@lists.jboss.org > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > -- > View this message in context: > http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html > Sent from the drools - user mailing list archive at Nabble.com. > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Uploading the fact model to the DRools BRMS
can u tell me where does the file should be, in which i have to mention the full class names in order to identify the classes by BRMS. What is the format of the file?? i don hav any idea about that file.The documentation doesnot say any thing about such file.Im trying to get the classes imported but still couldnt get it. Thanx in advance Anstis, Michael (M.) 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- View this message in context: http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
gt; > > > > > 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 <[EMAIL PROTECTED]> 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 < > > > > > > > > > [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > java.lang.reflect.InvocationTar getException at > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > > > > Method) at sun.reflect.NativeMethodAccessorImpl.invoke( > > > > > > > > > > NativeMethodAccessorImpl.java:39) at > > > > > > > > > > > > > > > > > > > > > > > > > > &g
Re: [rules-users] Uploading the fact model to the DRools BRMS
ools.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 <[EMAIL PROTECTED]> 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 < > > > > > > > > [EMAIL PROTECTED]> 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 < [EMAIL PROTECTED] > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [rules-users] Uploading the fact model to the DRools BRMS
t; > > 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/1
Re: [rules-users] Uploading the fact model to the DRools BRMS
; > 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> > > > > > > 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 < [EMAIL PROTECTED] > 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
Re: [rules-users] Uploading the fact model to the DRools BRMS
ionCompletionLoader.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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> > > > > > 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 < [EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> > > > > > > > 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 <[EMAIL PROTECTED] > > > > > > > > > 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 > > > > > > > > > > >
Re: [rules-users] Uploading the fact model to the DRools BRMS
t; > > > 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 < [EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> > > > > > > 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 <[EMAIL PROTECTED] > > > > > > > > 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.) <[EMAIL > > > > > > > > PROTECTED]> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Have you tried this walk through? > > > > > > > > > > > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > *From:* [EMAIL PROTECTED] [mailto: > > > > > > > > > [EMAIL PROTECTED] *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.) < > > > > > > > > > [EMAIL PROTECTED]> wrote: > > > > > > > > > > > &g
Re: [rules-users] Uploading the fact model to the DRools BRMS
lina.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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> > > > 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 < [EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> > > > > > wrote: > > > > >
Re: [rules-users] Uploading the fact model to the DRools BRMS
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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 < [EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> > > > > 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 < [EMAIL PROTECTED] > > > > > > 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.) <[EMAIL PROTECTED]> > > > > > > wrote: > > > > > > > > > > > > > Have you tried this walk through? > > > > > > > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > *From:* [EMAIL PROTECTED] [mailto: > > > > > > > [EMAIL PROTECTED] *On Behalf Of *Akila > > > &
Re: [rules-users] Uploading the fact model to the DRools BRMS
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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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 < [EMAIL PROTECTED]> > > > 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 < [EMAIL PROTECTED] > > > > > 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.) < [EMAIL PROTECTED]> > > > > > wrote: > > > > > > > > > > > Have you tried this walk through? > > > > > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > > > > > > > > > > -- > > > > > > *From:* [EMAIL PROTECTED] [mailto: > > > > > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> > > > > > > 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. > > > > > > > > > > > &
Re: [rules-users] Uploading the fact model to the DRools BRMS
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 <[EMAIL PROTECTED]> wrote: > java.lang.reflect.InvocationTargetException 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 < [EMAIL PROTECTED] > > > > 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.) < [EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > Have you tried this walk through? > > > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > > > > > > > -- > > > > > *From:* [EMAIL PROTECTED] [mailto: > > > > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> > > > > > 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:* [EMAIL PROTECTED] [mailto: > > > > > > [EMAIL PROTECTED] *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 > > > > >
Re: [rules-users] Uploading the fact model to the DRools BRMS
java.lang.reflect.InvocationTargetException 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED] > > > 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.) < [EMAIL PROTECTED]> > > > wrote: > > > > > > > Have you tried this walk through? > > > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > > > > -- > > > > *From:* [EMAIL PROTECTED] [mailto: > > > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> > > > > 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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > > *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 > > > > > [EMAIL PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > > > > > ___ > > > > > rules-users mailing list > > > > > rules-users@lists.jboss.org > > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > > > ___ > > > > rules-users mailing list > > > > rules-users@lists.jboss.org > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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.) < [EMAIL PROTECTED]> > > wrote: > > > > > Have you tried this walk through? > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > -- > > > *From:* [EMAIL PROTECTED] [mailto: > > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> > > > 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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > *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 [EMAIL > > > > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > ___ > > > > rules-users mailing list > > > > rules-users@lists.jboss.org > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
Details java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at im getting this error when i validate the imports... when i upload the jar where does it get saved in the server? I cant find it in the server folders. On Jan 11, 2008 3:35 PM, Akila Geethal <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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.) < [EMAIL PROTECTED]> > > wrote: > > > > > Have you tried this walk through? > > > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > > > > -- > > > *From:* [EMAIL PROTECTED] [mailto: > > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> > > > 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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > *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 [EMAIL > > > > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > > > ___ > > > > rules-users mailing list > > > > rules-users@lists.jboss.org > > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
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 <[EMAIL PROTECTED]> 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.) <[EMAIL PROTECTED]> wrote: > > > Have you tried this walk through? > > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > > > > > -- > > *From:* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> 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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > *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 [EMAIL > > > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > > > ___ > > > rules-users mailing list > > > rules-users@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Uploading the fact model to the DRools BRMS
Sorry, but I have not used the BRMS since it's first release and perhaps my advise is out of date. Uptake of the BRMS seems quite good (based upon the number of emails) so I hope somebody else will have the answer for you. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Akila Geethal Sent: 11 January 2008 09:41 To: Rules Users List Subject: Re: [rules-users] Uploading the fact model to the DRools BRMS yes.:( Iwent through that and did exactly what he says there.. But it gives me errors.. Are there any libraries or ny other configuration files to be uploaded into the server... What is the correct way of importing classes?? import satement - "import packagename.classname" Is this incorrect??? When I go to the rules editor screen there are only the when then and other words there.When i try to add a condition it does not list me the facts... When i import the classes some times it gives me the error as an reflection exceptio..What im missing here?? Are there any configurations that should be made in the server.I just did what is stated in the quick start guide... Where can i find more details on initial configuration? On Jan 11, 2008 2:59 PM, Anstis, Michael (M.) <[EMAIL PROTECTED]> wrote: Have you tried this walk through? http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms. html <http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms .html> _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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.) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users <https://lists.jboss.org/mailman/listinfo/rules-users> ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users smime.p7s Description: S/MIME cryptographic signature ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
yes.:( Iwent through that and did exactly what he says there.. But it gives me errors.. Are there any libraries or ny other configuration files to be uploaded into the server... What is the correct way of importing classes?? import satement - "import packagename.classname" Is this incorrect??? When I go to the rules editor screen there are only the when then and other words there.When i try to add a condition it does not list me the facts... When i import the classes some times it gives me the error as an reflection exceptio..What im missing here?? Are there any configurations that should be made in the server.I just did what is stated in the quick start guide... Where can i find more details on initial configuration? On Jan 11, 2008 2:59 PM, Anstis, Michael (M.) <[EMAIL PROTECTED]> wrote: > Have you tried this walk through? > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > -- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> 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:* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] *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 [EMAIL > > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Uploading the fact model to the DRools BRMS
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.) <[EMAIL PROTECTED]> wrote: > Have you tried this walk through? > > > http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms.html > > -- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *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.) <[EMAIL PROTECTED]> 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:* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] *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 [EMAIL > > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > ___ > > rules-users mailing list > > rules-users@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Uploading the fact model to the DRools BRMS
Have you tried this walk through? http://macjavadev.blogspot.com/2007/11/quickstart-drools-403-web-admin-brms. html _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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.) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users smime.p7s Description: S/MIME cryptographic signature ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
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.) <[EMAIL PROTECTED]> 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:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *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 [EMAIL > PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users > > > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Uploading the fact model to the DRools BRMS
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users smime.p7s Description: S/MIME cryptographic signature ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Uploading the fact model to the DRools BRMS
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 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users