<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2>Some results...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2>I should qualify: </FONT></SPAN><SPAN 
class=235335619-21012008><FONT face=Arial color=#0000ff size=2>This problem is 
specific to using xmlbeans for providing the data model (as a genned&nbsp;jar, 
in this case).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=235335619-21012008><FONT face=Arial 
color=#0000ff size=2>Got BRMS to work in Tomcat 6.x (not in JBoss&nbsp;app 
server).&nbsp;There is still a problem with the wildcard imports when 
configuring/editing a package,&nbsp; however if I upload the 4 or 5 jars that 
come with xmlbeans as separate models into the package in the BRMS&nbsp;(and of 
course the jar containing the genned class files representing the data 
model)&nbsp;and then in the pkg configuration editor I&nbsp;explicitly import 
each class that the rule pkg works with, it does validate and i can subsequently 
build/validate/deploy a package.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=2>Thanks,</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial size=2>Alan J</FONT></SPAN> </P><BR>
<P><SPAN lang=en-us><FONT face=Arial 
size=2>--------------------------------------------</FONT></SPAN> <BR><SPAN 
lang=en-us><FONT face=Arial color=#0000ff size=2>Alan R Jones</FONT></SPAN> 
<BR><SPAN lang=en-us><FONT face=Arial size=2>Boeing S&amp;IS Mission 
Systems</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>Denver 
Engineering Center (BDEC)</FONT></SPAN> </P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Jones, Alan 
R<BR><B>Sent:</B> Friday, January 18, 2008 9:59 AM<BR><B>To:</B> Rules Users 
List<BR><B>Subject:</B> RE: [rules-users] Uploading the fact model to the DRools 
BRMS<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText46322 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Actually I am having the same 
problem...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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&nbsp;a model archive. Then&nbsp;when I edit package config, I put import 
statements per the following:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import 
com.mycompany.model.vehicles.*;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import 
org.apache.xmlbeans.*;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>and when I do a vailidation, it throws 
error saying "No Such class for import com.mycompany.model.vehicles.*" or 
something similar.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>However, if I change it to a specific 
class:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;import 
com.mycompany.model.vehicles.Scooter;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import 
org.apache.xmlbeans.XmlObject;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>...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&nbsp;Tomcat 6 and uploaded&nbsp;jar files (model archives)?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr>The wildcard could be a problem as I use xmlbeans to generate my 
data model from an xsd (I pass xml docs via&nbsp; SOAP messages). The result is 
a jar with a LOT of classes that could be very painful to have to import class 
by class.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Rahul Upadhyay 
[mailto:email2upadhyay@gmail.com]<BR><B>Sent:</B> Fri 1/18/2008 1:54 
AM<BR><B>To:</B> Rules Users List<BR><B>Subject:</B> Re: [rules-users] Uploading 
the fact model to the DRools BRMS<BR></FONT><BR></DIV>
<DIV>That I am Saying My Dear.. You Problem is Class Version No.<BR><BR>Find out 
somting about That.<BR><BR>&nbsp;I am sure..&nbsp; you are missing some 
class&nbsp; that needs to import.<BR>do one thing.. add all the classes that you 
have in you application.. If you extend some class then add it also in jaar. 
<BR><BR>that it<BR><BR><BR><BR>
<DIV class=gmail_quote>On Jan 18, 2008 12:37 PM, Akila Geethal &lt;<A 
href="mailto:akilageethal@gmail.com">akilageethal@gmail.com</A>&gt; wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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&nbsp; types to add 
  conditions.. <BR><BR>
  <DIV class=gmail_quote>
  <DIV>
  <DIV></DIV>
  <DIV class=Wj3C7c>On Jan 18, 2008 10:57 AM, Rahul Upadhyay &lt;<A 
  href="mailto:email2upadhyay@gmail.com" target=_blank> email2upadhyay@gmail.com 
  </A>&gt; wrote:<BR></DIV></DIV>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>
    <DIV></DIV>
    <DIV class=Wj3C7c>in this link 
    <DIV><BR><A 
    href="http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html" 
    target=_blank>http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html/index.html</A><BR></DIV>Read&nbsp; 
    Section 9.4.4 about property file.<BR>Place This file in your jar with yours 
    Imported class. <BR>Make changes accordingly in your program with rule 
    agent. 
    <DIV><BR><BR>all the Best<BR><BR>Rahul Upadhyay<BR><BR></DIV>
    <DIV>
    <DIV></DIV>
    <DIV>
    <DIV class=gmail_quote>On Jan 18, 2008 10:41 AM, akilageethal &lt; <A 
    href="mailto:akilageethal@gmail.com" target=_blank>akilageethal@gmail.com 
    </A>&gt; wrote:<BR>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>can 
      u tell me where does the file should be, in which i have to mention the 
      <BR>full class names in order to identify the classes by BRMS. What is 
      the<BR>format of the file?? i don hav any idea about that file.The 
      documentation<BR>doesnot say any thing about such file.Im trying to get 
      the classes imported <BR>but still couldnt get it. Thanx in advance<BR>
      <DIV>
      <DIV></DIV>
      <DIV><BR><BR><BR><BR>Anstis, Michael (M.) wrote:<BR>&gt;<BR>&gt; I have a 
      vague recollection that there is another file in which you need<BR>&gt; 
      to<BR>&gt; list your fully qualified class names before they can be 
      referenced by the<BR>&gt; BRMS.<BR>&gt;<BR>&gt; I think Kris (or Edson) 
      has provided a posting to the group before about<BR>&gt; 
      this.<BR>&gt;<BR>&gt; Flame me if I am wrong. <BR>&gt;<BR>&gt;<BR>&gt; 
      &nbsp; _____<BR>&gt;<BR>&gt; From: <A 
      href="mailto:rules-users-bounces@lists.jboss.org" 
      target=_blank>rules-users-bounces@lists.jboss.org</A><BR>&gt; [mailto:<A 
      href="mailto:rules-users-bounces@lists.jboss.org" target=_blank> 
      rules-users-bounces@lists.jboss.org </A>] On Behalf Of Mark 
      Proctor<BR>&gt; Sent: 10 January 2008 15:54<BR>&gt; To: Rules Users 
      List<BR>&gt; Subject: Re: [rules-users] Uploading the fact model to the 
      DRools BRMS<BR>&gt;<BR>&gt;<BR>&gt; Akila Geethal wrote: <BR>&gt;<BR>&gt; 
      When I upload a jar file to the DRools BRMS it does not get uploaded. 
      When<BR>&gt; i<BR>&gt; try to get the clsses by the import statements it 
      says the class cannot be<BR>&gt; found. Are there any special way of 
      making the jar?Should that fact <BR>&gt; modelapplication include special 
      libraries or etc....<BR>&gt;<BR>&gt;<BR>&gt; No it' just a standard jar, 
      with standard pojos.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; &nbsp; 
      _____<BR>&gt;<BR>&gt;<BR>&gt; 
      _______________________________________________ <BR>&gt;<BR>&gt; 
      rules-users mailing list<BR>&gt;<BR>&gt; <A 
      href="mailto:rules-users@lists.jboss.org" 
      target=_blank>rules-users@lists.jboss.org</A><BR>&gt;<BR>&gt; <A 
      href="https://lists.jboss.org/mailman/listinfo/rules-users" 
      target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; 
      _______________________________________________<BR>&gt; rules-users 
      mailing list<BR>&gt; <A href="mailto:rules-users@lists.jboss.org" 
      target=_blank>rules-users@lists.jboss.org</A><BR>&gt; <A 
      href="https://lists.jboss.org/mailman/listinfo/rules-users" 
      target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>&gt;<BR>&gt;<BR><BR></DIV></DIV><FONT 
      color=#888888>--<BR>View this message in context: <A 
      href="http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html" 
      target=_blank>http://www.nabble.com/Uploading-the-fact-model-to-the-DRools-BRMS-tp14731528p14946844.html 
      </A><BR>Sent from the drools - user mailing list archive at <A 
      href="http://nabble.com/" target=_blank>Nabble.com</A>.<BR></FONT>
      <DIV>
      <DIV></DIV>
      <DIV><BR>_______________________________________________<BR>rules-users 
      mailing list<BR><A href="mailto:rules-users@lists.jboss.org" 
      target=_blank>rules-users@lists.jboss.org</A><BR><A 
      href="https://lists.jboss.org/mailman/listinfo/rules-users" 
      target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users 
      </A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV><BR></DIV></DIV>_______________________________________________ 

    <DIV class=Ih2E3d><BR>rules-users mailing list<BR><A 
    href="mailto:rules-users@lists.jboss.org" 
    target=_blank>rules-users@lists.jboss.org</A><BR><A 
    href="https://lists.jboss.org/mailman/listinfo/rules-users" 
    target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></DIV></BLOCKQUOTE></DIV><BR><BR>_______________________________________________<BR>rules-users 
  mailing list<BR><A 
  href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><A 
  href="https://lists.jboss.org/mailman/listinfo/rules-users" 
  target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>