Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

WAS 6.1 Migration from AIX to Linux

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Screaming fools! It's nothing more than a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!