0 Replies Latest reply on Nov 5, 2001 4:20 PM by Ron G.

    DataSource Not Bound Exception deploying ejb

    Ron G. Newbie

      Hi,

      I am getting the following exception when I try to deploy an ejb. Also listed is a section from my jboss.jcml file, a section from my jboss.xml file and a section from my jaws.xml file. Any ideas on why I might be getting this error? Thanks!

      Exception
      [Container factory] org.jboss.ejb.DeploymentException: UIIDataSource not bound
      [Container factory] at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.init(JawsApplicationMetaData.java:120)
      [Container factory] at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:75)
      [Container factory] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:133)
      [Container factory] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManager.java:83)
      [Container factory] at org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:110)
      [Container factory] at org.jboss.ejb.EntityContainer.init(EntityContainer.java:291)
      [Container factory] at org.jboss.ejb.Application.init(Application.java:202)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      ...


      jboss.jcml

      oracle.jdbc.driver.OracleDriver



      UIIDataSource
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      jdbc:oracle:thin:@noc.uinetworks.com:1521:uiistore
      system
      manager



      jboss.xml
      <resource-managers>
      <resource-manager res-class="">
      <res-name>UIIDataSource</res-name>
      <res-jndi-name>UIIDataSource</res-jndi-name>
      </resource-manager>
      </resource-managers>


      jaws.xml
      UIIDataSource
      <type-mapping>Oracle8</type-mapping>