1 Reply Latest reply on Dec 7, 2010 1:21 PM by tschodt

    Datasource connection with jboss, need help

    821687

      Hi friends,

      I am doing data source connection through Jboss (jboss-4.0.2) with mysql database. I am using java(j2sdk1.4.2_04). I have made all changes given in this link -- http://community.jboss.org/wiki/SetUpAMysqlDatasource

      After making changes I restart jboss properly, but when I am going to attempt to connection through class. it give following error.

      1.ERROR! Shared library ioser12 could not be found.
      Can't find SerialContextProvider

      When a create a diffrent new class, then give me this error.

      2. ERROR! Shared library ioser12 could not be found.
      Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProvider

      Kindly help me out for this problem.

      Thanks
      Abhishek Jain

        • 1. Re: Datasource connection with jboss, need help
          tschodt
          user13428037 wrote:
          ,,, JBoss ... give following error.

          1.ERROR! Shared library ioser12 could not be found.
          Can't find SerialContextProvider

          When a create a diffrent new class, then give me this error.

          2. ERROR! Shared library ioser12 could not be found.
          Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProvider
          Please don't crosspost http://www.javaprogrammingforums.com/jdbc-databases/6353-datsource-connection-mysql-need-help.html#post22533

          The
          ERROR! Shared library ioser12 could not be found.
          error message has nothing to do with you adding a datasource.
          It would happen even before you made the datasource configuration changes.

          Looks like you added a j2ee.jar to the JBoss classpath.