2 Replies Latest reply on Jan 29, 2002 3:45 PM by Dain Sundstrom

    CMP2.0 example not working for me.

    Chris Richard Newbie

      I did the following.

      1.Created a mysql-services.xml file in jboss3.0/deploy/lib (see below). (Dont know from where people copied it as I could not find it in JBoss3.0-alpha download or CMP2.0-docs.

      2.Copied the jar file mm.mysql-2.0.8-bin.jar to the lib/ext directory.

      3.Started the mysql server,jboss3.0 with jetty

      4. Deployed the cmp2-examples.ear from CMP2.0-docs. Its failed with msg. "Can't find Datasource java:/DefaultDS". What am I missing here?

      Please help,
      Chris


      <?xml version="1.0" encoding="UTF-8" ?>



      ConnectionURL=jdbc:mysql://localhost/test DriverClass=org.gjt.mm.mysql.Driver UserName=tester Password=tester
      java:/DefaultDS
      java:/Transactionmanager
      <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva JDBC Localransaction ResourceAdapter</mbean-ref>
      ##Wed Aug 15 16:17:29 EDT 2001 BlockingTimeoutMillis=500000 IdleTimeoutMinutes=30 MaxSize=10 CleanupIntervalMinutes=10 MinSize=0 MaxIdleTimeoutPercent=1.0
      org.jboss.resource.security.ManytoOnePrincipalMapping
      UserName=tester