• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

WAS 6.1 Migration from AIX to Linux

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are migrating WAS from AIX to Linux.
The installation is done completely. However I am getting the following error in Oracle connection.

The test connection operation failed for data source TEST on server testEntApp_01 at node ws_nodename with the following exception: java.sql.SQLException: java.lang.UnsatisfiedLinkError: ocijdbc10 (/oracle/product/10.2.0/libocijdbc10.so: invalid ELF header

I copied the Oracle client from AIX to Linux. Not sure if copying Oracle client from AIX to Linux will work or am I suppose to install new oracle client for Linux OS.

And help or direction to the solution will be appreciated.

Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are using OCI driver to access the Oracle database. Is there any specific reason for that? General recommendation is to use JDBC Type 4 thin driver to access Oracle database. Type 4 driver doesn't require any Oracle client installs. All you need is the Type 4 driver in classpath.

Since you are using OCI Thick driver, you cannot copy the AIX folder to Linux. The OCI drivers use native code compiled specifically for the host environment. So AIX OCI driver will never work for Linux. It will give you lot of wierd errors, core dump etc.

Just install Oracle client on the Linux machine, which will get you to the correct driver. Load that shared library in WAS as you were doing in AIX and you should be good to go.
What are you doing? You are supposed to be reading this tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic