Since I use Oracle JDeveloper 10.1.3 I'm hesitant to use earlier versions. But sometimes it was and still is necessary.
One of these rare occassions is when I want to deploy an application to Oracle AS 10.1.2. The other one is when my J2EE application needs to talk to a Oracle AS 10.1.2 server. This fails with a "ORMI version 1.3 != 1.1" error.
What's the reason?
OC4J 10.1.3 uses a newer version of the ORMI protocol and JDeveloper uses OC4J 10.1.3 as an embedded J2EE runtime and its respective libraries.What's the solution?
Well, OC4J 10.1.3 is able to negotiated the ORMI protocol version and "downgrade" to an older version. It only needs a counterpart which can send the right information.Since OC4j/Oracle AS 10.1.2 was released before this requirement was needed, you need to apply a patch to OC4J/Oracle AS 10.1.2.
Patch, what patch?
Simply grab patch 4676768 from Metalink, install it and off you go.Note: Although it states "INVOKE A REMOTE EJB RUNNING ON OC4J 10.1.3 FROM AN OC4J 10.1.2.2" in the patch description, it works in both directions.