473,396 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Using corba from a different machines not working

I have followed
http://java.sun.com/j2se/1.4.2/docs/...dl/GShome.html to build a
corba application. When i run the orb, server and client on the same
machine it works fine.

When i follow this guide
http://java.sun.com/j2se/1.4.2/docs/...2machines.html
to run the orb and server on one machine and the client on another
machine it doesn't work.

The orb and server starts fine but when I start the client i get the
error below.
I have started the orb with orbd -ORBInitialHost 192.168.1.100
-ORBInitialPort 1050 and the server with java HelloServer
-ORBInitialPort 1050

Both systems are Linux Debian with sun j2sdk1.5_1.5.0+update02
Both systems is on an internal lan with ip's 192.168.1.101 and
192.168.1.100 with no firewall and directly connected.

banke@spand# java HelloClient -ORBInitialHost 192.168.1.100
-ORBInitialPort 1050
Dec 17, 2005 11:21:46 PM
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
IIOP_CLEAR_TEXT; hostname: 127.0.0.1; port: 1049"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon tactInfoImpl.createConnection(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.request(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Un known Source)
at Client.YellowNotesClient.main(YellowNotesClient.ja va:22)
Caused by: java.net.ConnectException: Connection refused
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.DefaultSocketFacto ryImpl.createSocket(Unknown
Source)
... 9 more
Dec 17, 2005 11:21:46 PM
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType:
IIOP_CLEAR_TEXT; hostname: 127.0.0.1; port: 1050"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon tactInfoImpl.createConnection(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.request(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Un known Source)
at Client.YellowNotesClient.main(YellowNotesClient.ja va:22)
Caused by: java.net.ConnectException: Connection refused
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.DefaultSocketFacto ryImpl.createSocket(Unknown
Source)
... 10 more
ERROR : org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201
completed: No
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.logging.ORBUtilSystemExcepti on.connectFailure(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon nectionImpl.<init>(Unknown
Source)
at
com.sun.corba.se.impl.transport.SocketOrChannelCon tactInfoImpl.createConnection(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientRequestD ispatcherImpl.beginRequest(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.request(Unknown
Source)
at
com.sun.corba.se.impl.protocol.CorbaClientDelegate Impl.is_a(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)
at org.omg.CosNaming.NamingContextExtHelper.narrow(Un known Source)
at Client.YellowNotesClient.main(YellowNotesClient.ja va:22)
Caused by: java.net.ConnectException: Connection refused
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.DefaultSocketFacto ryImpl.createSocket(Unknown
Source)
... 10 more
Dec 17 '05 #1
0 9184

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Kong Bhat | last post by:
With XML becoming the de facto data description standard, I am extremely surprised that there is no movement towards standardizing an xml library API for use with C and C++. Personally I have been...
1
by: kk_oop | last post by:
Hi. We have some code that was being accessed through Corba. We recently removed the Corba and replaced it with local method calls. This caused the code to break. Our code is filled with...
7
by: Dave | last post by:
Hi, I heard that CORBA/TAO is not only overkilled for most of client/server appplication, it also has serious compatibility problem with its older version. CORBA/TAO tend to be a general purpose...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
7
by: WAkthar | last post by:
Hi, I need to understand and implement a simple client application which will connect to a remote computer and call methods on this remote machine. The remote machine has some enterprise java...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
2
by: Martin v. Löwis | last post by:
I've been working on PEP 353 for some time now. Please comment, in particular if you are using 64-bit systems. Regards, Martin PEP: 353 Title: Using ssize_t as the index type Version:...
1
by: DaLoverhino | last post by:
Hello. I bought a few CORBA books for C++ when I was given a project to do, but the project was cancelled early and most of my CORBA books sit on my shelf collecting dust for several years now. ...
4
by: Sai Krishna M | last post by:
Hi everybody, i have been developing web based applications using python+cheetah. The numbers are increasing. The applications have many common parts of code. Though these applications are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.