« Reclaim your disk space | Main | OC4J: Configuring and Using AQ w/ Remote Clients »

OC4J: Interaction between 10.1.3.x & 10.1.2.0.2, Part 1

Cyrillic Signs:
See this post as a follow-up on my 
Make JDev 10.1.3 talk to Oracle AS 10.l.2 post from last year.

The Issue

Having applied patch 4676768 or related to your still existing Oracle
AS 10.1.2.x instance helps to communicate with newer Oracle AS 10.1.3
based applications. As long as these are behaving correctly.

In case of an exception you'll end up with a

oracle.oc4j.rmi.OracleRemoteException: Class not found: com.evermind.server.rmi.OrionRemoteException

This is quite unfortunate as the exception might contain valuable information for the application or the developer.

Approach 1

The usual reflex is to include the client library (oc4jclient.jar) from
OC4J 10.1.2.x. Although this works in most cases, this might lead to
other library or class version conflicts.

Approach 2

Create a simple library to be included in the class path. This library just contains the com.evermind.server.rmi.OrionRemoteException class from the aforementioned library. For good reasons you shouldn't do this either, as it might be a License Agreement violation and your lawyers should be pretty alert. I also hate to include unneeded libraries into the class path.

Approach 3

Ask the vendor to include the missing com.evermind.server.rmi.OrionRemoteException class into OC4J 10.1.3 class path. This is the best and therefore I've filed Bug 6252184 to get it solved.

Comments (2)

Sayoke Shome:

can you tell me how to resolve a rmi version mismatch problem between 10.1.3 and 10.1.2 ?
when some depoloyed ejb application in either version of this two servers, act as a client to some application deployed in other version, it fails and gives NamingException and
if recipient server is 10.1.3 it logs
"warning : client is using rmi version 1.1 != 1.3"
and if recipient server is 10.1.2 then it logs
"warning : client is using rmi version 1.3 != 1.1".

we tried to fix this problem by adding "patch p4676768_101210_GENERIC" but it didn't worked.

Olaf Heimburger:

Actually, this is the way I used to solve it.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on July 23, 2007 2:44 PM.

The previous post in this blog was Reclaim your disk space.

The next post in this blog is OC4J: Configuring and Using AQ w/ Remote Clients.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle