2 Replies Latest reply on Apr 9, 2002 1:52 AM by kibaltsis

    Adding a datasource for JBoss3

    kibaltsis

      Hello all,

      I'm all new to JBoss and J2EE so bear with me. I tried to search the forum and docs for this but didn't quite find any explanation/help.

      I'm using JBoss 3.0 beta and JDK 1.3.

      I want to deploy a CMP bean using MSSqlServer for DataSource. I took the example mssql-service.xml from the CVS and changed the driver class, url, user, pass etc. to match my own. Then i put this to the deploy dir under JBoss and it seems to have deployed fine.

      The view from http://localhost:8082/ shows the service=ConnectionFactoryLoader,name=MSSQL2000DS under jboss.jca
      The DefaultDS is listed under jboss.management.single so is there a difference there?

      When I try to deploy my bean with the jaws.xml file containing tag:
      MSSQL2000DS
      I get this:

      13:38:03,486 ERROR [EntityContainer] Exception in service lifecyle operation: cr
      eate
      org.jboss.deployment.DeploymentException: MSSQL2000DS not bound

      Why is this/what am I doing wrong here?
      Do I need to do something more to add a DataSource?

      Thanks,