2 Replies Latest reply on Feb 27, 2002 7:17 PM by laz777

    database question

    mannu

      sorry for this other stupid question:
      What are the steps to add a new specific database in jboss?
      Should I create a Mbean in jboss.jcml?
      And after, should I create a type-mapping in standardjaws?
      Is it the right way?

      Be sure that I would be very happy to have many detailed answers...

        • 1. Re: database question
          luckystar_007

          Yes, you must add a MBean tag in jboss.jcml, and it must begin with:
          <mbean code="org.jboss.jdbc.XADataSourceLoader
          ...
          similar as the existing ones in the jboss.jcml file.

          I am studying JBoss source code(jboss-tomcat 2.2.2), I read the org.jboss.jdbc.XADataSourceLoader.java, I found that this is the first step for using a database.

          But how to do next, I don't know.If anybody knows,please post your idea,Thanks

          • 2. Re: database question
            laz777

            If there isn't a type map for your database in standardjaws.xml, then add one.

            -Todd