1 Reply Latest reply on Oct 22, 2002 12:02 PM by schererjay

    Server log for datasource deployment and client connection

    schererjay

      Here is the server log for a mysql deployment. It appears that everything is ok, however when I try to connect I get a datasource not bound exception. I've attached the xml file for reference.

      ---Client code to get connection --
      try {
      DataSource ds =
      (DataSource)lContext.lookup("java:/MySqlDS");
      ds.getConnection();
      }
      catch(Exception e) { e.printStackTrace(); }

      ----Server Log----
      08:57:06,483 INFO [MainDeployer] Starting deployment of package: file:/E:/devtools/jboss-3.0.3/server/default/deploy/new-mysql-service.xml
      08:57:06,563 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=MySqlDS does not implement any Service methods
      08:57:06,563 INFO [JBossManagedConnectionPool] Creating
      08:57:06,573 INFO [JBossManagedConnectionPool] Created
      08:57:06,573 INFO [LocalTxConnectionManager] Creating
      08:57:06,583 INFO [LocalTxConnectionManager] Created
      08:57:06,593 INFO [JBossManagedConnectionPool] Starting
      08:57:06,593 INFO [JBossManagedConnectionPool] Started
      08:57:06,593 INFO [LocalTxConnectionManager] Starting
      08:57:06,613 INFO [MySqlDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/MySqlDS'
      08:57:06,623 INFO [LocalTxConnectionManager] Started
      08:57:06,623 INFO [MainDeployer] Deployed package: file:/E:/devtools/jboss-3.0.3/server/default/deploy/new-mysql-service.xml