Home » Developer & Programmer » JDeveloper, Java & XML » Oracle to WebLogic error - OBJ_ADAPTER: MINOR CODE: 1398079492
Oracle to WebLogic error - OBJ_ADAPTER: MINOR CODE: 1398079492 [message #202438] Thu, 09 November 2006 15:27
ug333
Messages: 1
Registered: November 2006
Junior Member
I am trying to perform an RMI call from a Java Stored Procedure within Oracle 9i to Weblogic 8.1. I am using the following code:

env.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
env.put("java.naming.provider.url", "iiop://myserver:7001");
Context initialNamingContext = new InitialContext(env);
LogServiceRmi rmiTest= (LogServiceRmi)PortableRemoteObject.narrow(initialNamingContext.lookup(LogServiceRmi.JNDI_NAME),LogServiceRmi.class);
rmiTest.log(event);


In the InitialContext constructor, the following exception is generated

org.omg.CORBA.OBJ_ADAPTER:   minor code: 1398079492  completed: No
  at com.sun.corba.se.internal.corba.ORB.connect(ORB.java)
  at com.sun.corba.se.internal.corba.ORB.getServantIOR(ORB.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.getServiceContexts(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java)
  at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java)
  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
  at javax.naming.InitialContext.init(InitialContext.java)
  at javax.naming.InitialContext.<init>(InitialContext.java)
  at com.carlson.cmg.awards.logservice.rmi.CmgRmiAppender.activateOptions(CmgRmiAppender.java:100)


Everything works fine when I execute it in a 1.3 JVM outside of Oracle. Any ideas what would cause this to happen? Thanks in advance.
Previous Topic: Creating an Excel File from an Oracle Form
Next Topic: master detail columns in a jtable
Goto Forum:
  


Current Time: Wed Dec 07 02:49:15 CST 2016

Total time taken to generate the page: 0.18404 seconds