The strangest RMI connection error

Hi all,
i have a client server application that uses RMI. The server has the following network configuration. It has 2 network interfaces.
hostname iface IP netmask
====================================
sakura e1000g0 203.126.56.80 255.255.255.224
nc_apps5 e1000g1 10.224.100.18 255.255.0.0
when the server application listens on 203.126.56.80 iface, the client
has no problem establishing RMI connection from 10.224.10.122 netmask 255.255.0.0
via a static route with a route in between.
However when I switched the server over to 10.224.100.18, and connects from the same client ( no configuration change) , i get the error
[Wed Oct 11 14:38:53 SGT 2006 darkstar] ERROR calling: NetworkTestClient.performTest() called: Naming.lookup() args: rmi://nc_apps5.ncc.shs.com.sg:10000/RMITest
java.rmi.ConnectException: Connection refused to host: 10.224.10.122; nested exception is:
java.net.ConnectException: Connection refused
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)
If anything the second scenario should work, because both the server and the client are in the subnet i.e 10.224.x.x. but it turns to be the opposite. Can anyone
tell me what gives over here.
Many Thanks in advance
Henley from Singapore. National Cancer Center.

Thanks for pointing that out. its not a mistake. I do not have access to the source of the application. However I am wondering why is the client trying to connect back to itself in the second scenario when its supposed to be connecting to 10.224.100.18. ip of the server.
Its very strange because the connection was apparently successful when
the the client tries to connect to 203.126.56.80. instead of 10.224.100.18 i.e no error.
is there anycode in the RMI that says, if server is in the same ip as me, try connecting to myself first ?
once again thanks in advance.

Similar Messages

  • How do I resolve the "No Internet Connection" error?

    windows 7 : 64 bit
    creative cloud client
    error : No Internet Connection
    Yes the internet works.
    Software firewall UNISTALLED from computer.
    No hardware firewall between computer and internet.
    Computer placed on direct connection to the internet.
    Uninstalled Creative Cloud Application.
    Rebooted.
    Cleared internet browsers : cache / cookies / everything possible.
    Rebooted.
    Reset internet browsers to original / default settings.
    Rebooted.
    Installed Creative Cloud Application.
    Rebooted.
    Launched application.
    Opened internet browsers to verify access to internet.
    Rebooted.
    Opened Creative Cloud Application.
    "No Internet Connection"error.
    Please advise.
    Thank you.

    Hi Sysadmin_sp,
    Could you try going through the solutions outlined here?
    Sign in or activation errors | CS6, CS5.5 Subscriptions, CS6 Perpetual
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -Dave

  • RMI connection Error: No route to host

    hi all,
    We are using RMI in our project and We are using different computers on LAN for
    server and Client Component,
    Both the computers use j2sdk1.4.2_03
    But when the client runs it gives the following error:
    :java.rmi.ConnectIOException: Exception creating connection to: gridlab26;
    nested exception is:
    java.net.NoRouteToHostException: No route to host: connect
    In this scenario we are just retrieving a String from the server. this
    works well on One PC using localhost.
    we found that you have encountered such problem earlier and might have
    resolved it.
    if you have any idea how to correct this problem please help us.
    thanks
    [email protected]

    hi,
    yes both the PCs are pinging each other and we are able to share our things as well (with sharing n securiry facility in winXP)
    if u hav any other suggestion plz convey me
    tnx
    Deep

  • Yahoo Mail generates "A connection error occurred." within the Preferences panel

    Since Yahoo Mail changed to IMAP I have been having SMTP connection problems with the outgoing server.  I have tried deleing the keychain entries, etc. but nothing worked.  I deleted the account from Mail and rebooted my MBP.  Now, when I try and add a Yahoo email account I quickly get the message "A connection error occurred."  without any indication of the error.  The only option is to manual add the account which creates the error "Unable to verity account or password".
    Any feedback would be appreciated.

    Since first posting I contacted AppleCare.  AppleCare performed various troubleshooting steps (pinging the SMTP server on the specific ports, creating test accounts and finally restoring Mountain Lion) which lead me to believe the problem is with Yahoo.
    I was using Yahoo Mail Plus since 2002 but have since cancelled.   I am using the Ad version and the problem remains.  As a paying subscriber the only support option is email.  There does not appear to be any urgency on Yahoo to prioritze the issue or communicate.

  • HP Officejet Pro 8600 Network connection error message in EWS

    I just got an Officejet Pro 8600 Premium.  The printer is connected to the network via a network cable.  When navigating through the EWS, sometimes the message "Network connection error.  Check network and try again." message is shown (the message could appear in various pages, such as Settings, Tools, etc.).  Refreshing the page should get rid of the message. 
    At first, I suspected if it was a problem with the network. So I pinged the printer's ip address continuously.  It did not miss a single beat.  The printer prints and scans well via the network.  So I think the error may be caused by something inside of the print, such as bug of EWS software, or internal error. 
    Anyone see the same message during the use?  Any suggestion?  Does it indicate there is hardware problem with the printer?  Thanks.

    HP Support has escalated the case.  I referred this thread in the support request.  Hopefully, they can have a look at the issue.
    For me, the only setting does not stick is "Use the same time zone set on this computer" in Settings\Date & Time.  I've created another ticket for this issue.  8500A has the same problem.
    You can try to restart the EWS.  Unplug the power cord while the printer is on.  Then wait 15 sec and reconnect the power cord.  Press the power button if the printer does not turn on by itself.
    If you would like to reset to the printer and reconfigure from scratch, you can check here: http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/How-to-reset-Officejet-Pro-8600-Plus-P...

  • 'Connection Error' message on HP Officejet Pro 8600

    Hi.  Would really appreciate help on this.  I have a HP Officejet Pro 8600.  Working wirelessly.  All connections are fine, print & scan etc works fine.  However when i touch the screen on the printer, for example to click 'Apps', I get the following message:
    ' Connection Error.  The printer was unable to connect to the server.  Check your internet connection and try again.'
    I don't understand why I am getting this message, nor how to resolve it.  The connection seems fine because I am printing and scanning wirelessly without an issue.
    Can anyone help me on this?  Thanks

    I know this will sound like it shouldn't work, but turn the printer off and back on, then try the apps again.  If that doesn't work, or you've tried it, turn off your router and your printer.  Turn your router back on, but leave the printer turned off.  Wait for the router to stabalize, about 1-2 minutes normally.  Turn the printer back on and try the apps.  If that doesn't work, let me know.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Crystal XI R2, Salesforce 3.0, Windows 7 64-bit, Java connection error

    All,
    I've got the same problem as this thread -- Re: CR XI R2: Salesforce 3.0 driver on Windows 7 64-bit?
    Crystal XI R2, Salesforce 3.0 downloaded from the Crystal page.  Using Windows 7 64-bit.  Have applied SP 5 per another thread.
    Continue to get JAVA error.  Java being used is 1.4 as installed by Crystal in the Crystal program directory.
    thanks, jhb

    Don,
    Still no go.  I get the same error.
    I uninstalled SP6, SP5, Salesforce Connector, and Crystal XI R2 SP2 and then re-installed everything.
    1) Crystal XI R2 SP2
    2) Salesforce connector 3.0
    3) SP5
    4) SP6
    Still get the same Java Connection error.  I've also disabled Windows Firewall.  I'm not behind a proxy.  I've tried with and without the security token.
    thanks, jhb

  • MAIL USING PL/SQL PROCEDURE TCP CONNECTION ERROR

    I was trying to send an e-mail using the demo-mail helper package which uses UTL_SMTP package and on execution, it gives the following TCP Connection error. Is it some something to do with mail configuration?
    This is the sample code I was trying to run.
    demo_mail.mail( sender => 'Me <[email protected]>',
    recipients => 'Someone <[email protected]>, ' ||
    '"Another one" <[email protected]>',
    subject => 'Test', message => 'Hi! This is a test.');
    And this is the error I am getting.
    class oracle/plsql/net/TCPConnection does not exist
    at "SYS.UTL_TCP", line 537
    at "SYS.UTL_TCP", line 199
    at "SYS.UTL_SMTP", line 102
    at "SYS.UTL_SMTP", line 121
    at "VNARAYA.DEMO_MAIL", line 159
    at "VNARAYA.DEMO_MAIL", line 119
    at "VNARAYA.DEMO_MAIL", line 105
    at "VNARAYA.SEND_MAIL", line 2
    at line 1

    The Java library needed by UTL_TCP is not created properly. You may just run $ORACLE_HOME/rdbms/admin/initplsj.sql as SYS to install it:
    cd $ORACLE_HOME/rdbms/admin
    sqlplus sys/<sys-password> @initplsj.sql

  • Unable to Connect error 948 via SQL

    System Center 2012 DPM trying to connect to a SQL instance on a different server using Windows Authentication. Getting the unable to connect error "Unable to cnnect to xxx.domain.com (ID: 948) Verify that the DPM service is running on this computer",
    I figured out that if you add the user to "sysadmin" in SQL management it works for that user.  My question is, is this the best practices method of solving this problem?  Will this need to be done for every windows user
    that tries to access the DPM, or is there a more proper way?
    Thanks

    can anyone help?

  • Why do I get "CONNECTION ERROR" message on my N8 ?...

    Dear Friends,
    I have been using my N8 for one year.
    I have not faced any problem so far except this one.
    For the last couple of days, 
    Whenever I start to speak on the phone , in a few seconds time, call ends and I get same message.
    "CONNECTION ERROR"
    I try to call again.
    A few seconds after connection establishes and speak starts, N8 give me same message again.
    "CONNECTION ERROR"
    It is not possible to speak with my N8.
    I removed SIM card from N8 to my old phone.
    It works properly.
    WHAT MAY BE THE REASON of "CONNECTION ERROR" message from my N8 ??
    Any help is highly appreciated.....
    Regards

    @santo98rini
    Sounds like an issue with proximity sensor, you haven't replaced screen protector or added new one?
    Happy to have helped forum with a Support Ratio = 42.5

  • Has the new iWeb prevented the Web Dav connection with iDisk?

    Today Apple introduced new updates to .Mac. This will be great when I get enough cash to buy one of those fancy new iMacs with the Intel chip. Meanwhile my Goliath WebDav application gets the message "Unknown connection error" when I try to log into my iDisk.
    Is there a fix? Or has Apple made it impossible for me to manage my Homepage from an Apple computer?
    Imac original   Mac OS 9.2.x   Using Goliath WebDav

    I was able to use Goliath Web Dav today on Homepage.
    A pain, but at least a way around my old technology.

  • Connection error n85

    Hello, I have a problem with a Nokia N85. Sometimes I try to make a call I see: Connection Error, and if you call that number go again. I just happen 4-5 times a day and is annoying. The network is set to GSM. I did factory reset and hard reset but nothing. And another thing: about once a twice a day to receive voicemail messages as well as I would have called someone and had no signal ... If you can help me somehow ...? I apologize for emphasis, I am from Romania. Thanks
    (Another thing I do not know if it relates to what I wrote above, I start the phone tells me to write code lock, 12345 write, it write code error but then the phone works)
    Thankyou very much!

    sure, I live in one of the largest three cities in romania and the cover is always at maximum. About 4-5 times a day when I make a call, but stop trying to sound the call, write: Connection error and if you make the call again form number and then runs.
    receive messages from voice mail less frequently than errors. about one message a day ... Suppose coverage falls but those errors give me headaches ...

  • I'm connected to the internet but I keep getting the message cannot connect to web services

    When I Scan to Email in my Photosmart 7520 all-in-one printer, I get the message, "Unable to connect to web services. Confirm internet access and try again."

    Hello @Skrafty,
    Welcome to the HP forums.
    I understand that you are having a problem with the scan to email feature on your Photosmart 7520.
    I would like to help.
    Touch the ePrint icon on your printers display.
    If you get the same server connection error, Try setting a manual DNS.
    The following link is to a post by happytohelp01.
    It contains instructions for setting a manual DNS.
    Efax 7510 still won't work after turning off/on ePrint several times
    If you do not get a server connection, then I would remove Web Services and enable again.
    Warning:  If you remove web services the printer will lose its custom ePrint address.
    This address will be lost forever. It will also wipe out any scan to email settings.
    To remove Web Services, touch the ePrint icon.
    Go into settings and select Remove Web Services.
    You will be brought back to the printers main menu.
    Touch the ePrint icon again and enable the feature.
    Once you get the printers claim code (used to customise the ePrint address) you can setup scan to email again.
    If you encounter any issues or have additional questions please let me know.
    Also you can call our Cloud Services at 855-785-2777.
    If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Hours:
    Mon-Fri. 8am - 11pm, Sat. 9am-8pm - EST
    Mon-Fri. 7am - 10pm, Sat. 8am-7pm - CST
    Mon-Fri. 6am - 9pm, Sat. 7am-6pm - MST
    Mon-Fri. 5am - 8pm, Sat. 6am-5pm - PST
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Connection error video chat

    Hi my friend is using tiger osx 10.4.11 AIM account and i'm using leopard osx 10.5.8 mac.com account, when we try to connect on video chat it has the connection error. help?

    Hi,
    Welcome to the    Discussions
    Which Connection Error ?
    Old Logs are in your Hard Drive/Users/(Your account)/Library/Logs/iChatConnectionErrors
    5:12 PM Sunday; August 16, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Web Services problem - Server connection error

    Hi everybody.
    When i try to enable the Web Services i get an error. I am connected to the internet (WiFi) and the connection is ok.
    The error is the following:
    Server Connection Error
    The printer was unable to connect to the server. Check the internet connection and try again, or enter a proxy address.
    I do not have a proxy, and the internet connection is ok! Why do i get this problem?
    Thank you very much.
    This question was solved.
    View Solution.

    Let's set a static IP address for the printer:
    - Print a Network Config Page from the front of the printer. Note the printer's IP address.
    - Type that IP address into a browser to reveal the printer's internal settings.
    - Choose the Networking tab, then Wireless along the left side, then the IPv4 tab.
    - On this screen you want to set a Manual IP. You need to set an IP address outside the range that the router automatically sets (called the DHCP range). You can find the DHCP range of the router using its internal settings page or in its manual. Use the CD that came with your router or type the router's IP address (ends in .1) into a browser.
    - Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
    - Enter your router's IP (on the Network Config Page) for the gateway and first DNS. Leave the second one blank.  <<< The DNS could be your problem.  If this does not work, try Google's DNS 8.8.8.8
    - Click 'Apply'.
    Now, shut down the router and printer, start the router, wait, then start the printer.
    After this you may need to redo 'Add a Printer' using the new IP address.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for