• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

WAS 6.1 Migration from AIX to Linux

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We are migrating WAS 6.1.0.29 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.

Thanks.
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic