Operating System - HP-UX
1748237 Members
3763 Online
108759 Solutions
New Discussion

64 bit JRE issue when using JDBC-ODBC bridge

 
Mahy
New Member

64 bit JRE issue when using JDBC-ODBC bridge

I am using hp IA-64 with 64 bit JRE and 64 bit data direct drivers. I get the following error message :

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'SQLAllocEnv' in load module '/mahy/JRE-IA64/HP/1.4.2/lib/IA64W/libJdbcOdbc.so'

With 32 bit JRE and 32 bit ODBC drivers, my application works fine. I tried 'nm' command and I get the following results :

With 32 bit JRE, ‘nm’ command gives the following output :

libJdbcOdbc.sl:SQLAllocEnv| |undef |code |

libJdbcOdbc.sl:SQLAllocEnv| 21056|uext |stub |



With 64 bit JRE, ‘nm’ command gives the following output :

[168] | 0| 0|FUNC |GLOB |0| UNDEF|libJdbcOdbc.so:SQLAllocEnv

Looks like I am missing some library. Any suggestions will be greatly appreciated.

Thanks,

- Mahy
1 REPLY 1
Peter Parlewicz
New Member

Re: 64 bit JRE issue when using JDBC-ODBC bridge

I have
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.10-060112-14:28)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.10-060112-19:42-IA64N IA64, mixed mode)

It contains 3 versions of the libJdbcOdbc library, both the 32 bit and 64 bit native Itanium versions do not contain the symbol.
While the PARISC version does.
It looks like this is something that was not implemented?

See below:
PARISC version:
titan(peterpar):/home/peterpar/javains/jre/lib/PA_RISC>nm libJdbcOdbc.sl | grep SQLAllocEnv
SQLAllocEnv | |undef |code |
SQLAllocEnv | 20976|uext |stub |


Itanium versions:
titan(peterpar):/home/peterpar/javains/jre/lib/IA64W>nm libJdbcOdbc.so | grep SQLAllocEnv
[168] | 0| 0|FUNC |GLOB |0| UNDEF|SQLAllocEnv

titan(peterpar):/home/peterpar/javains/jre/lib/IA64N>nm libJdbcOdbc.so | grep SQLAllocEnv
[168] | 0| 0|FUNC |GLOB |0| UNDEF|SQLAllocEnv


Does anyone know if there is any version of a JRE or JDK that contains a working 32bit Native JDBC-ODBC for Itanium ?