0 Replies Latest reply on Feb 26, 2002 9:33 PM by marslee

    connection to Oracle(error:Connection refused)

    marslee Newbie

      when I tried to connect to the oracle in the remote server after the 3 steps:
      1.copy the classes12.zip to /lib/ext/;
      2.add a line to jboss.propertites, such as "jboss.xa.xidclass=oracle.jdbc.xa.OracleXid";
      3.edit the jboss.jcml .
      I use
      JBoss-2.2.2_Tomcat-3.2.2, WIN2k professional.


      but jboss told me:

      [hrDS] java.sql.SQLException: Io Exception: Connection refused(DESCRIPTION=(TMP=)(VSN
      NUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
      [hrDS] Pool hrDS factory org.opentools.minerva.jdbc.xa.XAConnectionFactory@7a157
      6 unable to create new object!
      [hrDS] Pool hrDS [0/0/10] waiting for a free object

      the following is jboss.jcml

      ...
      # <!-- ORACLE deployment -->

      hrDS
      org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:oracle:thin:@163.16.3.18:1521:a.c.d.d
      1200000
      user
      10
      password
      false
      <attribute
      ...


      PS : I could connect to the db server with sqlplus.