1 Reply Latest reply on Dec 10, 2008 12:21 PM by peterj

    Connection Poll Exception

    erasmomarciano

      Hi
      we are running a 4.0.5.GA Jboss, standalone, on a Sun machine, with jdk1.5.0_11
      Afer a Oracle db migration to the 10.2.0.0, when we start Jboss, we are the following output:

      16:55:28,391 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
      java.lang.UnsatisfiedLinkError: /u01/app/oracle/product/9.2.0/lib32/libocijdbc9.so: Can't load Sparc 32-bit .so on a Sparc 32-bit platform
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
      at java.lang.Runtime.loadLibrary0(Runtime.java:822)
      at java.lang.System.loadLibrary(System.java:993)
      at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:265)
      at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:360)
      at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:491)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
      at database.ServizioDatabaseGenerico.getConnection(Unknown Source)
      at DemoneAnalisiSistema.analizza(Unknown Source)
      at DemoneAnalisiSistema.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:595)
      16:55:28,854 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

        • 1. Re: Connection Poll Exception
          peterj

          This ranks as one of the weirdest error messages I have seen (can't run 32-bit .so on 32 bit OS????). I suggest that you ask Oracle which JDBC driver you should be using because the one you are using apparently does not work.