1 Reply Latest reply on Oct 30, 2001 4:20 PM by jcordes

    JBoss 3.0 jbosscmp-jdbc.xml not loaded

    fred

      JBoss 3.0 replaces jaws.xml with jbosscmp-jdbc.xml. I had that working but upgraded the xdoclet version, thereby regenerating the various .xml files and now JBoss 3.0 loads standardjaws.xml and ignores standardjbosscmp.xml and jbosscmp-jdbc.xml. I restored the pre-upgrade environment to no effect. JBoss loads entities with the default jaws settings, but ignores jbosscmp-jdbc.xml settings. No entity is recognized, no matter how trivial the app.

      I am at a loss how to get JBoss 3.0 to load jbosscmp-jdbc.xml. Any advice is appreciated, including code pointers. I've studied, rebuilt and hacked the relevant JBoss code all day to no effect. Where is the decision to load jbosscmp-jdbc.xml made?

      ejb-jar.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

      <ejb-jar>

      ... Standard stuff

      jbosscmp-jdbc.xml:

      <?xml version="1.0" encoding="UTF-8"?>



      .. All ignored

        • 1. Re: JBoss 3.0 jbosscmp-jdbc.xml not loaded
          jcordes

          Hi !

          Maybe you should start jbosscmp-jdbc.xml with an jbosscmp-jdbc root-element. But then you would have to do further changes. Normally it's just setting the right DS and type mapping (besides copying standardjbosscmp-jdbc.xml). Have a look in conf/default/standardjbosscmp-jdbc.xml

          Hope this helps !!!