0 Replies Latest reply on Oct 3, 2003 5:35 PM by emsien

    jaws.xml notbeing seen

    emsien

      Hi

      I am running JBoss 3.2.2RC2 on Windows2000 and seem to be having a problem with my configuration.

      I have JBoss configured to run with MS SQL Server2000 as the defualt database, and that seems to be just fine. I create an CMP Entity Bean called BOATest which should reference an existing db table called LookUpMPID. When I run my test client I get no records back even though there are records in the table and it creates a new table called BOATest. In debug mode I see that the select statement from the Bean is trying to select from BOATest.

      I have a jaws.xml file in my Meta-Inf folder which tells it to use the LookUpMPID table. so it would appear that the file isn't being processed. My understanding is that the jaws.xml overrides default settings for individual beans so it would appear that I am doing something wrong.

      Can anyone help with this? The jaws.xml file is below

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE jaws PUBLIC
      "-//JBoss//DTD JAWS 2.4//EN"
      "http://www.jboss.org/j2ee/dtd/jaws_2_4.dtd">



      <ejb-name>BackOfficeAdmin</ejb-name>
      <table-name>LookUpMPID</table-name>
      <create-table>false</create-table>
      <cmp-field>
      <field-name>msgorigcode</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>mpid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>dtc</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>btsfilename</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>fixcompid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>fixsubcompid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>fixlocid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>accountid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>netsettle</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>acctname</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>useacctname</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>isbd</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>maxdollarvalue</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>maxordervolume</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>acctalias</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>lastmodified</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>mlclearreportable</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>ismlcust</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>ismemberforoats</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>optmaxdollarvalue</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>optmaxnumofcontracts</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>enablelocmoc</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>isacctactive</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>mlacctrep</field-name>
      </cmp-field>



      Thanks
      Merv