B
bbembi_de
Hello everyone,
I am getting the following error message:
com.sun.corba.se.impl.util.Utility autoConnect
WARNUNG: "IOP00511403: (INV_OBJREF) Class MyListenerImpl not exported,
or else is actually a JRMP stub"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1403 completed:
No at
com.sun.corba.se.impl.logging.UtilSystemException.objectNotExported(UtilSystemException.java:507)
.......
I am trying to send a java object to a .net remote object.
i marshalled a object on .net side called wrapper.
i can do that on java side (cause i have a java interface that i put in
a dll):
wrapper.setsomething(...);
but I get the exception by doing that:
MyListenerImpl listener = new MyListenerImpl();
wrapper.registerListener("EventName", listener);
MyListenerImpl implements that interface:
public interface MyListener extends java.rmi.Remote {
void handleMyEvent(MyEvent myEvent) throws RemoteException;
}
Event is a serializable class implemented on the .net side.
I am generating a dll for .net like this:
rmic -classpath . -iiop MyListener
rmic -classpath . -idl MyListener
rmic -classpath . -iiop Wrapper
rmic -classpath . -idl Wrapper
IDLToCLSCompiler.exe interfaces MyListener.idl Wrapper.idl
What am I doing wrong. Any ideas.
I guess it is something with the stub generating.
Thanks very much.
Greetings juergen
I am getting the following error message:
com.sun.corba.se.impl.util.Utility autoConnect
WARNUNG: "IOP00511403: (INV_OBJREF) Class MyListenerImpl not exported,
or else is actually a JRMP stub"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1403 completed:
No at
com.sun.corba.se.impl.logging.UtilSystemException.objectNotExported(UtilSystemException.java:507)
.......
I am trying to send a java object to a .net remote object.
i marshalled a object on .net side called wrapper.
i can do that on java side (cause i have a java interface that i put in
a dll):
wrapper.setsomething(...);
but I get the exception by doing that:
MyListenerImpl listener = new MyListenerImpl();
wrapper.registerListener("EventName", listener);
MyListenerImpl implements that interface:
public interface MyListener extends java.rmi.Remote {
void handleMyEvent(MyEvent myEvent) throws RemoteException;
}
Event is a serializable class implemented on the .net side.
I am generating a dll for .net like this:
rmic -classpath . -iiop MyListener
rmic -classpath . -idl MyListener
rmic -classpath . -iiop Wrapper
rmic -classpath . -idl Wrapper
IDLToCLSCompiler.exe interfaces MyListener.idl Wrapper.idl
What am I doing wrong. Any ideas.
I guess it is something with the stub generating.
Thanks very much.
Greetings juergen