4 Replies Latest reply on Jul 5, 2002 2:29 PM by dudoes

    Migrantion problem to Jboss3.0Rc3

    quitejack Newbie

      Hi all

      Now I am migranting a project from wlserver to jboss. I've successfully deployed the project to
      Jboss3.0Rc3 with the ejb-jar.xml and jboss.xml. But where should I special the jdbc driver(datasource)
      I used ? Becide define the jndi name in jboss.xml, does some place I should add it again? I can't look up the jndi name from a client by jnp. What's
      the config role of jboss such as the config.xml of wlserver ?

      My project is using BMP, so jaws is useless, am I right?
      Hope for help, thanks.

        • 1. Re: Migrantion problem to Jboss3.0Rc3
          Sebastien ASTIE Newbie

          Hi,
          You should specify your datasource in jbosscmp-jdbc.xml.
          I don't use jaws (i'm using CMP2.0), everything you need is between jboss.xml and jbosscmp-jdbc.xml.
          With RC3, you have a folder"examples\jca" in which you have service descriptors for different RDBMS, edit the one corresponding to your needs and drop it into the "deploy" folder.
          You can also configure a default datasource in your standardjbosscmp-jdbc.xml located in the "conf" folder.

          For the jndi question, all my jndi names are defined in jboss.xml (local interfaces and remote ones)
          Hope it answers your question

          Sebastien

          • 2. Re: Migrantion problem to Jboss3.0Rc3
            quitejack Newbie

            "
            Hi,
            You should specify your datasource in jbosscmp-jdbc.xml.
            I don't use jaws (i'm using CMP2.0), everything you need is between jboss.xml and jbosscmp-jdbc.xml.
            With RC3, you have a folder"examples\jca" in which you have service descriptors for different RDBMS, edit the one corresponding to your needs and drop it into the "deploy" folder.
            You can also configure a default datasource in your standardjbosscmp-jdbc.xml located in the "conf" folder.

            For the jndi question, all my jndi names are defined in jboss.xml (local interfaces and remote ones)
            Hope it answers your question

            Sebastien
            "

            jbosscmp-jdbc.xml
            standardjbosscmp-jdbc.xml

            Hehe, but my project is using BMP now.

            • 3. Re: Migrantion problem to Jboss3.0Rc3
              Rhys Newbie

              hi, can you give out example of those 2 xml files? I can't find documentation about it. thanks!

              Rhys

              • 4. Re: Migrantion problem to Jboss3.0Rc3
                dudoes Newbie

                Hi,

                I encounter the same problem as you, but I made it.
                following is my configuration files about it.but i use Oracle 8i as my database.but i can

                step 1:
                copy oracle-service.xml from docs/examples/jca to server/default/deploy,
                step 2:
                change the oracle-service.xml file by details of your database,i onle modify several place. the file is attached.

                I only change the Oralce's host to LOCALHOST,and the instance name to mine, and add the username and password, now i disuse JAAS, so remark it.

                I support that you should change various parameter step by step watching the remarks,and I do it so,.

                but I also meet a lot of problem, and I'm looking for the answer now, you can find me by seek this forums,
                the i can do this for you as possible as me, but i'm studying Jboss3 . it don't end.