0 Replies Latest reply on Jul 10, 2003 3:24 AM by madooreddy

    Datasource not bound -DB2

    madooreddy Newbie

      Hi all !!
      I have added datasource jboss.jcml (jboss 2.4.4) file like this


      COM.ibm.db2.jdbc.app.DB2Driver



      SmsDBDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:db2:smsdb
      1200000
      smsdb
      10
      smsdb
      false
      false
      false
      true
      120000
      1800000
      false
      false
      1.0
      0


      When i restart Jboss it showing datasource (SmsDBDS) sucessfully added in log files.

      But while accessing from jsp page giving expection like datasource(SmsDBDS) not bound ..

      Do i need to change any thing?
      i have seen in standardjaws.xml like below--->


      java:/DefaultDS
      <type-mapping>Hypersonic SQL</type-mapping>

      In this Do i need to change DefaultDS to SmsDBDS or some thing else i need to do


      pls .. HELP ME TO SOLVE THIS

      Thanks
      Reddy