hi all
my classpath is correctly set and the "HelloWorld" IDL/CORBA example makes another problem:
when running the server, the instruction
in the server code waits a bit and then the following error occurs
06.07.2005 10:31:45 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImp
l <init>
WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.1.104; port: 1049"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unkn own Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unkn own Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection (Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(Un known Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at HelloServer.main(HelloServer.java:65)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(Unknown Source)
... 9 more
is somebody able to help me with this one? thanks alot in advance!
greetings!
my classpath is correctly set and the "HelloWorld" IDL/CORBA example makes another problem:
when running the server, the instruction
Code:
NamingContextExt ncRef = NamingContextExtHelper.narrow(objRef);
in the server code waits a bit and then the following error occurs
06.07.2005 10:31:45 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImp
l <init>
WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.1.104; port: 1049"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(Unknown Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unkn own Source)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(Unkn own Source)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection (Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(Un known Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Unknown Source)
at HelloServer.main(HelloServer.java:65)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(Unknown Source)
... 9 more
is somebody able to help me with this one? thanks alot in advance!
greetings!