2 Replies Latest reply on Aug 14, 2002 3:50 AM by andreika

    datasource is bound to the wrong namespace and application

    andreika

      Hello!

      I have the following problem: I have several web applications deployed to JBoss 2.4.4 and a PostgreSQL7.0 datasource.

      To configure the datasource I did the following:

      1. added the jdbc7.1-1.2.jar driver to "lib/ext"
      2. added the following mbeans to jboss.jcml:


      org.hsqldb.jdbcDriver, org.hsqldb.jdbcDriver,org.postgresql.Driver



      comp/env/jdbc/SportsbookDB
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:postgresql://dexter.mediamenu.ee:5432/sportsbk
      1200000
      sb
      10
      sb
      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0


      in JNDIview I can see that my datasource is bound to ".war" application and to the "java:" namespace

      but I want it to be bound to the "sportsbook.ear" application and to "java:/comp" namespace

      Is it possible in Jboss2.4 and how to do it?

      Thanks in advance,
      Andrei