0 Replies Latest reply on Dec 30, 2002 3:11 AM by rex333

    DataSource.getConnection exception

    rex333 Newbie

      Hello all,

      my enviornment is jboss2.4.4+MS SQL
      ===================================
      my code is

      DataSource ds = (DataSource)ctx.lookup("java:/OrgSource");
      Connection conn = ds.getConnection();

      most time it work well,
      but sometime (always mass accessing)
      apear exception


      java.lang.NullPointerException
      at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown Source)

      anyone can help solve the problem? or I just need upgrade Jboss?


      Rex