2 Replies Latest reply on Jan 27, 2003 7:12 PM by chrisdutz

    JBoss ignoring my jaws.xml files

    chrisdutz

      Hi

      I am reposting this request, because I think the old topic doesn't fit anymore.

      I am working on a small application with several entity beans. For each bean I configured the table- and field-mapping in the appropreate META-INF/jaws.xml file.

      When deploying I get several "Table allready exists warnings" which indicates that <create-table> is set to true. I set it globaly to false in the standardjaws.xml an d additionaly in each of my jaws.xml. After some time of working on this problem and trying several variations in my configuration it seems that JBoss is simply ignoring all my jaws.xml files.

      As I said I placed the jaws.xml files in the META-INF directory of each jar file which contains entity beans.

      Has anyone out there got an idea, why JBoss is dooing this to me? :(

      Thanx in advance,
      Christofer Dutz

        • 1. Re: JBoss ignoring my jaws.xml files
          scsosna

          I'm new at JBoss but here's what I think I figured out:

          The jaws.xml file is used for CMP beans 1.x. If they're CMP 2.x, then use jbosscmp-jdbc.xml. At least that's what I believe.

          • 2. Re: JBoss ignoring my jaws.xml files
            chrisdutz

            Tanx a lot :)

            I think I must have mixed up some of my documentation. After having a look at the newest JBoss 3.0 CMP-doc it seems you are right ... I cant wait to get my hands on the machine tomorrow ... you certainly saved my day :)

            Thanx,
            Christofer Dutz