Running RMI in different networks
Hi iam developing RMI based application like videoconference system.
in this iam able to run the application successfully in the same network .
when i try the client from another network iam getting an Exception like connectException
iam running the server with public ipaddress (121.246.235.202)with the port 36000.
but iam getting the connection but when i call the server methods iam getting this Exception
java.rmi.ConnectException: Connection refused to host: 192.168.0.140; nested exc
eption is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at SumSquareImpl_Stub.setIp(Unknown Source)
at babylonPanel$1HydButtonListener.actionPerformed(babylonPanel.java:178
7)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
ource)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
ource)
... 30 more
iam unable to understood this problem.
http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html#domain
Similar Messages
-
How can I read published data from a datasocket server running in a different network?
Hi all,
I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.
I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.
Is it possible to do what I am trying to do or is there a simpler way to solve this problem?
I will really appreciate any help towards a solution to this problem.
Thanks
Attachments:
RemoteDatasocketWrite.vi 9 KB
RemoteDatasocketRead.vi 9 KBAre you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.
-
Itunes running on a different Network
Hello World
(note, this is a technical IP addressing question)
quick and too the point
if i have an iphone with an ip address of 192.168.1.30 with and a computer with the ip address of 192.168.2.20. will itunes running on the computer see the iphone and vis versa?
if no, what do i need to do (keeping in mind that the 2 ip addresses have to differ (192.168.x.0)
Thank you!Point is that Apache from Oracle is differenlty configured and I don't see a virtual host container. I can run it successfully on the second IP address, but not on port 80. Now it runs on the second IP and still on port 7777.
I actually thought it is a simple matter of just chaning the port number in the conf file. -
How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.
What I'm looking to do is to have self powered in ceiling speakers in every room in my house with out having to run wires to every room to carry the audio signal. I would like to use the airport express to do the job of carting the audio signal.
Here's my set up now I have an airport extreme and one airport express that I use to carry audio to one room.FWIW. I have used up to four AirPort Express Base Stations (AX) for streaming sucessfully in pretty much the way you have described. I didn't have a need to try more so I can't attest that more would or would not work.
-
Window 2000 & RMI client losing network connection
We have a client/server java application communicating via RMI. The application runs perfect when the network is running smoothly. However, once the client loses connectivity with the network, the client runs in offline mode (as expected). However, once the client reestablishes a connection with the network, it is unable to communicate with the Server via RMI. It seems that Windows 2000 reassigns the client's IP address when it goes offline to localhost (127.0.0.1), when the client is reconnected the IP addresses is changed back to the network address, but it is unable to send data to the server running RMI. Any suggestions? We did not experience this problem with Windows NT.
you need to specify the IP address of the server object from the JVM in which it is exported, using -Djava.rmi.server.hostname argument to the JVM (since the client and server run on one machine, you probably want to set this to 127.0.0.1, I think)
-
Issue in accessing service hosted on a different network
We have a wsdl hosted on ebiz apps server which is accessed from one of our bpel processes which run on a soa server. Now both these servers (ebiz apps and soa) are on a different network, so I need to give IP address of my ebiz apps server while deploying bpel on soa server. This works fine and bpel on soa server is able to access my wsdl on ebiz apps server. (e.g. instead of ap6039fems:7785, I give 144.20.199.84:7785)
Now, my ebiz wsdl in turn imports some xsds using the ebiz server host name; these I cannot replace with IP address since I cannot modify the ebiz wsdl contents. This leads to issues during deployment on soa server since the compiler on soa server cannot access the xsds hosted on ebiz server. Do you know of any way to overcome this network issue, any dns entry would help ! Could you please share your experiences if any or point to someone.I
Thanks,
AnkitSystem Preferences/Network/Wi-Fi/Advanced.
-
Best way to merge 2 different networks/companies in same building
I would like to get some thoughts on best practice regarding joining 2 different networks in the same building. 2 different companys 2 different networks, we are merging. Once networks are joined we will trust the windows domains.
Both networks are using 3750's for core switching. So i would assume running fiber from Company1 core to Company2 core via trunking and sharing select vlans across the cores would be least expensive and most secure route?
Other ideas or flaws in the idea I have presented?
Thanks!Other than the usual subnet and routing issues, stringing trunk fiber between the switches sounds good.
If there are multiple firewalls and ISP's involved, you'll have to pay close attention to the routing topology, or reengineer to reduce the complexity.
If there is overlap in subnet usage, you might want to renumber one side. Using NAT internally will be an ongoing maintenance headache.
-- Jim Leinweber, WI State Lab of Hygiene -
Hi ,
iam running RMI server in vsnl public ipaddress like :121.*.*.*;
when i run the client in vsnl network it is working fine.iam trying to run this in another network like airtel network it is not connecting.
is there any solution?
bez i need to run my application anywhere from the world in any network.Basically you need to download the RMI plugin from:
http://www.genady.net/rmi/v16/main.html
You can either get a license from them, or it only works for 14 days from the date you download the software (so if you changed your computer date....)
You download the zip file, and put it in your eclipse directory (just follow the steps). It generates all the rmi classes for you automatically.
I don't think it's required for working with RMI--you could probably get rmic and generate the class files yourself, the plugin just makes the process simpler, and I believe you can also monitor the registry, which is a nice feature. -
Problem using Tuxedo from different network
We are using Tuxedo (7.1) with Clarify eFrontOffice.
We are trying to access Tuxedo from a different network. We have a NAT address and opened the port for WSL (48800) and also a range (specified in the ubbconfig and compiled) specified for the WSH. When the Clarify client is started, it is connecting to the WSL on port 48800. When tuxedo returns the WSH port to the Client, it is also returning the IP of the server. Since the IP is not recognized in the 2nd network the communication is failing. Is there a way to retun server name instead of IP or a different IP?
ThanxRaju,
When using Network Address Translation with /WS you should specify the -H
option to WSL (after the -- option) so that the address of the WSH can be
mapped back to an address that the client will understand. A bug related to
the WSL -- -H option was fixed at Tuxedo 7.1 rolling patch level 165, so you
should obtain the latest 7.1 rolling patch if you are running at an earlier
patch level.
The description of the -H option at
http://e-docs.bea.com/tuxedo/tux71/html/rf537.htm is as follows:
[-H external-netaddr]
Specifies the complete network address to be used as a well known address
template of the WSH process. The address will be combined with a WSH network
address to generate a well known network address used by the Workstation
client to connect to a WSH process. It has the same format as the -n option
except that it substitutes the port number with same length of character M
to indicate the position of the combined network address will be copied from
the WSH network address. For example when address template is
0x0002MMMMdddddddd and WSH network address is 0x00021111ffffffff then the
well known network address will be 0x00021111dddd dddd. When address
template starts with "//" network address type assumes to be IP based and
the TCP/IP port number of WSH network address will be copied into the
address template to form the combined network address. This feature is
useful when Workstation client needs to connect to a WSH through a router
which performs Network Address Translation.
<Raju Vatsavayi> wrote in message news:[email protected]...
We are using Tuxedo (7.1) with Clarify eFrontOffice.
We are trying to access Tuxedo from a different network. We have a NATaddress and opened the port for WSL (48800) and also a range (specified in
the ubbconfig and compiled) specified for the WSH. When the Clarify client
is started, it is connecting to the WSL on port 48800. When tuxedo returns
the WSH port to the Client, it is also returning the IP of the server. Since
the IP is not recognized in the 2nd network the communication is failing. Is
there a way to retun server name instead of IP or a differen
t IP?
Thanx -
How to find users who are running IE with different credentials ?
How to find users who are running IE with different credentials ?
Is there any tool or a solution in the market will help or a i can use GPO or even Power Shell ?
thnx & Regards ,,Hi Salman,
Based on your description, we can use Windows Credential Manager to check this. Windows Credential Manager stores credentials, such as user names and passwords that we use to log on to websites or other computers on a network.
Regarding Credential Manager, the following article can be referred to for more information.
Credential Manager
http://windows.microsoft.com/en-in/windows7/what-is-credential-manager
Manage passwords in Internet Explorer using Credential Manager
http://www.thewindowsclub.com/manage-passwords-internet-explorer-10
Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best regards,
Frank Shen -
Running Forte via a network file share (Part 1)
G'Day
I would like to run Forte via file a share on all suitable machines.
Any experiences from the list would be much appreciated in this regard. (Is
it possible? Feasible - well let's find out...)
Here is what I expect I will need to do:
1. Need a 60MB file share on the network - check
2. Need a SOE ("typical") Windows95(8) PC - working on it
3. Will need to install Forte runtime on this SOE PC using the file share as
root drive - waiting on 2
4. Now test some local applications to run on this PC using forte via the
file share - waiting on 3
Q: What are the implications of running forte via the file share.
All I want is to run inhouse developed applications on any PC without having
to install Forte on each and every PC!
How much file transfer can I expect forte to generate?
If this works I'll have to work out how to set other SOE PC to use Forte via
the fileshare.
I expect I'll have to set registry settings. Anything else? But more to that
in Part 2.
Let's see how this works out first.
TIA,
[:-)irK
Dirk Haben
Sealcorp Holdings, Perth WA
+61 (0)8 9265 5758 (B) UMT + 8
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi Dirk,
This may be harder than it seems. Forte uses a number of
files stored over a number of different directories all starting
with forte_root. Some of these files are only read, others are
also updated. Some have to be local, others don't.
We have done two things that are related to this.
1) Our client partition is manually copied to a file server.
Clients use ftexec with a parameter to indicate the inter-
preted code repository, which is stored on this file server.
The client partition isn't installed on any of the clients.
a) you can't use the launcher
b) you can only deploy a new version if everyone quits
their application
2) Out unix development machine has three different forte
environments on it, each using their own directory tree.
They all have their own 'appdist', 'userapp' and 'repos'
directory, but other directories are symbolic links to the
same, single instance. Within 'appdist' and 'userapp', the
directories for 'forte', 'fscript', 'econsole', etc. are also sym-
bolic links.
This way we minimize the duplicating of files, yet each en-
vironment thinks it has everything itself.
Pascal Rottier
STP - MSS Support & Coordination Group
Philip Morris Europe
e-mail: [email protected]
Phone: +49 (0)89-72472530
+++++++++++++++++++++++++++++++++++
Origin IT-services
Desktop Business Solutions Rotterdam
e-mail: [email protected]
Phone: +31 (0)10-2428100
+++++++++++++++++++++++++++++++++++
/* Most people make sense. I'm not one of them */
-----Original Message-----
From: Haben, Dirk [SMTP:[email protected]]
Sent: Monday, February 08, 1999 9:02 AM
To: 'Soapbox Forte Users'
Subject: Running Forte via a network file share (Part 1)
G'Day
I would like to run Forte via file a share on all suitable machines.
Any experiences from the list would be much appreciated in this regard.
(Is
it possible? Feasible - well let's find out...)
Here is what I expect I will need to do:
1. Need a 60MB file share on the network - check
2. Need a SOE ("typical") Windows95(8) PC - working on it
3. Will need to install Forte runtime on this SOE PC using the file share
as
root drive - waiting on 2
4. Now test some local applications to run on this PC using forte via the
file share - waiting on 3
Q: What are the implications of running forte via the file share.
All I want is to run inhouse developed applications on any PC without
having
to install Forte on each and every PC!
How much file transfer can I expect forte to generate?
If this works I'll have to work out how to set other SOE PC to use Forte
via
the fileshare.
I expect I'll have to set registry settings. Anything else? But more to
that
in Part 2.
Let's see how this works out first.
TIA,
[:-)irK
Dirk Haben
Sealcorp Holdings, Perth WA
+61 (0)8 9265 5758 (B) UMT + 8
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Hosting application on different networks....
well i have an application developed using oracle dev suite 10g(forms 32 bit 9.0.4)....
in our office we got 2 different networks...
one with 10.33.67.***
another with 10.33.69.***
i can run my application on 10.33.67.*** but i cannot run it on 10.33.69.***
can any1 over here help me out on how to host my application on a different network :)This is NOT a forms problem; this is a problem with your network infrastructure. Your iAS runs in the 10.33.67.* subnet, you'll have to setup routes for the second subnet to access the iAS in the first subnet...as said this has nothing to do with forms and you should discuss this with your network admin.
cheers -
Two websites on different networks - two NICs
Hello,
I have got an xserve, running 10.4.3 with two NIcs on different networks (192.168.... and one on a 10.0.0...) , connected to two different ISPs. I would like to run two websites, one per ISP/network card.
I've read through Apple's doumentation - I think the problem is that OSX will only connect to the internet via one network card. Any I dea what I can try?
I have seen a post on the discussion board regarding the ipfw.conf and firewall
Thanks,
NicoIt has to do mainly with a routing table. In that routing table you tell the router if the destinition IP is X from Subnet Y send it through Gateway Z like this:
Destination | Subnet mask | Gateway
192.168.40.0 | 255.255.255.0 | local
10.65.1.0 | 255.255.255.0 | local
192.168.32.0 | 255.255.255.0 | 192.168.40.13
192.168.35.0 | 255.255.255.0 | 192.168.40.14
192.168.0.0 | 255.255.0.0 | 192.168.40.13
10.0.0.0 | 255.0.0.0 | 10.65.1.25
0.0.0.0 | 0.0.0.0 | 10.65.1.1 (Default)
Just set-up where things can come from and where they should go. Setup a good defauly and you should be set.
Hope that helps a little.
Sorry if the table is a little hard to read. -
How to communicate with different system on different network using WCF service
Hi,
I am using a WCF service that is accessed by different systems on same network. But systems on different networks are not able to access my WCF service. I have enabled tcp port also. But i can not resolve this issue. Please give the solution to the issue.
Regards,
Shanmugam MHi Vilas,
How you may communicate with you AIX server may very greatly depending on what is running on your server. Here is a link to another thread where Java calls and AppletView were discussed. It contains a link to the company that makes AppletView, so it may have some good information for you.
Also, if your customer suggested you use AppletView and they developed it, they would probably be your best bet for explaining it to you.
Hope this helps!
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be... -
Profile Manager on Devices on a Different Network
Hello,
I currently have profile manager setup and working on 266 iPads. After I set them all up, 66 of those iPads moved to a temporary location accross the street. They are using a different network then my server. (different line, gateway, firewall ect).
My question is, is there any way I can push out apps / update profiles to those 66 iPads? I do not want to change any settingso on the iPads if possible. Please let me know any suggestions you guys have.
I have a mac mini server 10.8.5
iPads are running 7.0.2
Profile mangager works completely fine on the devices in the network.I to am having this issue. My Mac mini server is hosted in a datacenter off-network from my other devices. Currently, the only way to grab updates is to VPN into the server to have them pull down to the client machines. I run a mix of MacBook Pros, iPhones and desktop Macs.
A solution on this would be extremely helpful, as I do not want the end users to have to VPN in to pull an update from the Profile Manager all the time.
Maybe you are looking for
-
ITunes doesn't find iPhone 5s after iOS 8 update
After updating to iOS 8 ITunes 11.4 (18) no longer sees my iPhone 5s, ergo iPhone cannot be back up to computer or synced... iTunes has no problem seeing my iPad Air with iOS 8, but it is no longer performing automatic wi-fi sync when it is connect t
-
Error while starting Quality Server
Dear All, I am getting the following error while starting the Quality server. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hgazfsrv:azfadm 1> startsap Checking AZF Database ABAP Database is not available via R3trans Starting SAP-Colle
-
Unwanted white border around a div
I placed a div that I am using for a background. Before I add an image I am testing it out by giving it a blue background. I have the width and height set to 100% and left to 0px and top to 0px. When I test it in a browser (IE 8) or view it in Design
-
Can't get the itunes version 8 to uninstall the older version
Does anybody know how to get around uninstalling the older version of itunes so that the version 8 will install?
-
how do I get IE on my mac?