CLAonecting rmi lan problems

I made a rmi proyect and this run perfect in my pc, but when I want to run in other pc of my LAN it say that can not conect..........Help me plis
CODE:
Public Interface
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Camara extends Remote {
    public void girar(int grados) throws RemoteException;
}Interface Implementation
import java.rmi.RemoteException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class CamaraImpl implements Camara {
    public void girar(int grados) throws RemoteException {
        System.out.println("girando ... " + grados);
        try {
            Thread.currentThread().sleep(3000);
        } catch (InterruptedException ex) {
            Logger.getLogger(CamaraImpl.class.getName()).log(Level.SEVERE, null, ex);
        System.out.println("... listo!");
}RMI Server
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
import rmicomun.Camara;
import rmicomun.CamaraImpl;
public class Main {
     * @param args the command line arguments
    public static void main(String[] args) throws Exception {
        LocateRegistry.createRegistry(1099);
        CamaraImpl camara = new CamaraImpl();
        Registry registry = LocateRegistry.getRegistry();
        registry.rebind("camara", UnicastRemoteObject.exportObject(camara, 0));
}RMI Client
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import rmicomun.Camara;
public class Main {
     * @param args the command line arguments
    public static void main(String[] args) throws Exception {
        Registry registry = LocateRegistry.getRegistry("192.168.0.100"); /** my ip */
        Camara camara = (Camara) registry.lookup("camara");
        camara.girar(34);
}Remember in my computer run perfect , but not in other lan network computer.

I try using 192.168.0.100 (my lan ip) and 192.168.0.100:1099 (my lan ip and port use by rmi) and the same error
{color:#ff0000}19-abr-2010 11:47:48 Display$1 run
GRAVE: null
java.rmi.ConnectException: Connection refused to host: 192.168.0.100:1099; nested exception is:
java.net.ConnectException: Connection timed out: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source){color}

Similar Messages

  • RMI Marshalling Problem:  weblogic.Admin PING

    WebLogic 5.1.0 with service pack 8 has been installed on a HPUX server. I'm
    trying to ping the server from an NT box, but I'm getting some RMI
    marshalling problems.
    Here is the command that I run on NT:
    C:\weblogic\jre1_2\jre\bin\java -classpath
    c:weblogic/lib/weblogic510sp.jar;c:/weblogic/classes;c:/weblogic/lib/weblogi
    caux.jar weblogic.Admin t3://HPServer:7001 PING > MarshallingProblem.txt
    Here is what is in MarshallingProblem.txt (modified server name):
    Failed to connect to t3://HPServer:7001 due to:
    [weblogic.rmi.UnexpectedException: Marshalling:
    - with nested exception:
    [weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
    creating response stream ] - with nested exception:
    [java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378]]]]
    I previously had similar problems pinging the server from the server itself
    until I included the servicepack in the classpath.
    Anyone have any idea what going on in this situation?
    Cameron Taggart

    Cameron
    Can you test with sp8 installed on your NT machine too ? And also make
    sure you set the classpath with the sp8 jar files on NT before you run
    weblogic.Admin PING
    Raj Alagumalai
    Cameron Taggart wrote:
    WebLogic 5.1.0 with service pack 8 has been installed on a HPUX server. I'm
    trying to ping the server from an NT box, but I'm getting some RMI
    marshalling problems.
    Here is the command that I run on NT:
    C:\weblogic\jre1_2\jre\bin\java -classpath
    c:weblogic/lib/weblogic510sp.jar;c:/weblogic/classes;c:/weblogic/lib/weblogi
    caux.jar weblogic.Admin t3://HPServer:7001 PING > MarshallingProblem.txt
    Here is what is in MarshallingProblem.txt (modified server name):
    Failed to connect to t3://HPServer:7001 due to:
    [weblogic.rmi.UnexpectedException: Marshalling:
    - with nested exception:
    [weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
    creating response stream ] - with nested exception:
    [java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378]]]]
    I previously had similar problems pinging the server from the server itself
    until I included the servicepack in the classpath.
    Anyone have any idea what going on in this situation?
    Cameron Taggart

  • Lan problems on P55-GD80

    Hi,
    I'm on my second one of these motherboards and they both exhibit the same fault with the same workaround. On boot the primary LAN devices are not visible in the device manager under Vista, sometimes both LAN devices can vanish. I can get them back by shutting down and clearing the CMOS using the button on the board. I thought it was a Vista issue but if I boot a standalone backup environment, Linux based I think, that can't see the LAN devices either. I think the effect seems to be triggered by running any non windows environment, Acronis or Paragon backup seems to sometimes trigger it. However I have seen the devices just disappear when windows was running.
    I did find an entry on a German website, from what I could understand there was a similar issue with a similar board and a BIOS upgrade fixed it.
    I have logged a case with MSI, I'll let you know how I get on.

    Found the link:-
    http://translate.google.co.uk/translate?hl=en&sl=de&u=http://extreme.pcgameshardware.de/mainboards-und-arbeitsspeicher/73733-msi-p55-gd-65-lan-probleme.html&ei=MYv9SsoU1M2MB56YnZwL&sa=X&oi=translate&ct=result&resnum=3&ved=0CA4Q7gEwAjge&prev=/search%3Fq%3Dlan%2B%252Bproblem%2BMSI%2BP55%26hl%3Den%26sa%3DN%26tbo%3Dp%26start%3D30%26tbs%3Dqdr:m

  • Lan Problem

    I'm having a lan problem, which I already made a post on this forum
    SEE THIS LINK
    Well, it's back!  I get disconnected from the Internet without any reason (my sister has no problem).  When I go to Network Connections in Control Panel to disable enable the lan, the lan doesn't enable.  When I try to roll-back driver, update driver, or uninstall in Device Manager, Device Manager only freezes.
    Does anyone have any suggestion aside from RMAing the board because I live in Hawaii and shipping to RMA it would cost about $40 bucks!
    I tried installing a pci lan before, but it was an old one so it was very slow, but no issues.
    EDIT: I also tried double-clicking on the lan icon on my taskbar but the window that is supposed to appear only appears in a fraction of a second and then disappears.

    last week i did a fresh reload of my OS for cleaning purposes, and i had same prob.. internet worked off and on, then froze.. other things froze it too like device manager.. this didnt happen with my last copy of windows, so i was sitting there like  .. anyways... installed all driver updates, SP1 and all, nothing happened... i got fed up with it and just said screw it , and i reloaded again... now everything works fine... my friend and i were thinking it might have just been a corrupt install, or a corrupt install of some of my drivers/updates from windows... b4 you RMA board, try a fresh copy of XP (with just new drivers and SP1) and see if you have the same problem

  • K7D Master-L with LAN problems

    I've just completed construction of my new K7D Master-L based machine and am running into LAN problems.  The first K7D Master-L I received had a bad IDE controller on it, and now the replacement board has intermittent LAN issues.
    WinXP Pro installed fine, and I was able to install the LAN driver from the MSI CD and get things up and running fine.  After about 20 minutes or so, the LAN connection drops out and then comes back a few minutes later.  This cycle repeats over and over.  There are no duplicate IP addresses on the network, there are no errors in the XP system log, and all of the other systems on the network continue to work fine during these down periods.
    I checked on the MSI website, and there are no drivers available for the Intel 82551QM lan controller that is on the K7D Master-L board.  Does anyone know where I can get an updated driver to try?  These types of problems are most frustrating to debug.
    Thanks,
    Norm

    Just an update to this:
    The problem is definately the onboard LAN controller.  I've tried a Netgear card as well as a real PCI based Intel Pro 100 card and both are working great.  When I take the PCI cards out and try to use the onboard LAN, I still get intermittent outages.  
    Very strange.  If any MSI engineers are listening, I'd love to hear your opinions.  According to the OS, there are no IRQ, memory, or other conflicts that might be to blame.
    Norm

  • RMI + LAN = trouble !!

    my server is a linux machine with ip 192.168.100.76.
    i have made an email service in which my smtp and pop3 are installed in the linux server
    i have made a client application which fetches the mail from the server..
    Now the problem
    we know that the stub always gets downloaded from the server..
    this procedure is only happening when the client executes in the server itself
    but when the client is ran on a LAN it is not able to download it
    the server code is this...
    import java.rmi.*;
    public class KONMain {
         public static void main(String[] arg) {
              try {
    //               the code for starting the rmi registry               
    //               System.out.println("RMI registry started");
                   if(System.getSecurityManager()==null)
                        System.setSecurityManager(new RMISecurityManager());
                   java.rmi.registry.LocateRegistry.createRegistry(1099);
                   Naming.rebind("aikon", new KONMail(arg[0]));
                   System.out.println("Server has started");
                   new TJMultiServer();
              } catch (Exception e) {
                   System.out.println("Server exception: " + e);
    }the server is started as
    java -Djava.rmi.server.codebase=file:///home/aikon/aikon/kon_server/ -Djava.security.policy=policy KONMain <ip>
    in this way the server is started
    when starting the client
    it only fetches the _stub from the server repository when started in the same machine
    this criterion fails when the client is ran in another machine
    the client code that theoritically fetches the stub :p
                                       if(System.getSecurityManager()==null)
                                            System.setSecurityManager(new RMISecurityManager());
                                       KONInterface ke = (KONInterface)Naming.lookup("//" + ipAddr +"/aikon");
                                       boolean x = ke.authenticate(username,password);
                                       if(x==true){
                                            new KONFrame(username,password,ipAddr);
                                            //new TJInterface();
                                            authFrame.dispose();
                                       else{
                                            authFrame.dispose();
                                            new KONAuthenticate("                    Invalid user name password");
                                  }the starting statement for client
    java -Djava.security.policy=policy KONAuthenticate <ip of server>

    Is it a secret how it fails?

  • Connecting over LAN problems

    Hi, I'm trying to get a sample program going over a small desktop - laptop lan (both running windows 98se and named "desktop" and "laptop" on the network).
    The program works fine when both server and client are on the same computer, but when I copy the client files to my laptop and run from there, I cannot connect, and get the following message:
    java.security.AccessControlException: access denied (java.net.SocketPermission Desktop resolve)
    here are some code snippets:
    policy file on both server and client:
    grant {
    permission java.net.SocketPermission "*:1024-65535","connect,accept";
    permission java.net.SocketPermission "*:80", "connect";
    server:
    Naming.rebind("//Desktop/helloObj", theRemoteObj);
    client:
    RmIntfc c1 = (RmIntfc)Naming.lookup("rmi://Desktop/helloObj");
    I've seen similiar questions about setting up RMI over a LAN on the forums, but there weren't any corresponding answers! I'd like to try the simplest approach, ie, no webserver.
    Thanks for any help!!

    Hi
    The problem is probably with the client-side permissions rather than the server. It may be that the permission file that you've set up is not being used, or that the permission syntax is not quite correct.
    Try granting AllPermission to all codebases (on the client) and see if you can get the system working. Once you get it working, then you can be more selective with the permissions.
    Regards
    Matthew

  • 790FX-GD70 LAN Problems

    Hello all;
    I recently purchased a bunch of components on NCIX, and assembled the computer together, and everything is working extremely well - minus the LAN connections. I've never seen the LEDs light up, and all I'm ever getting in the windows properties is a network cable unplugged message in the adapter settings. I HAVE read the other postings on this board and don't think I have been helped.
    I am running Windows 7 (64bit)
    790FX-GD70 w/ Phenom II 955 (3.2GHz)
    2x4GB Mushkin Stiletto 16000 (1333) DDR3 Ram (Upper end but not overclocked)
    2x1GB Asus EAH5450 Silent Video Cards in Software Crossfire (Works great and have had no issues)
    ModXStream 700w PS
    Antec 900 Case (with all fans so it has adequate cooling)
    I also have set up two RAID 0s (may have been overkill) But I have two SataII 250GB hard drives for the OS drive (allows me to upgrade to a SSD in future) and 2 2TB Green Drives for Data, Movies, Music, etc.
    ANYWAY, everything was installed and working perfectly, but have got no response from the LAN, so a wireless stick was installed on the front bus.
    I've only ever used the drivers from the site, but MAY have originally installed the disc drivers for the MOBO.
    I have tried turning off the LAN in BIOS, uninstalling and reinstalling and returning on the LAN (along with doing the above with and without the cable installed) in every order and with every driver I could find. (The one on the site didn't work- so I tried MSI's Liveupdate and it found a different one - tried installing and running THAT one with the above - nothing). I've received no response from the LAN and even less from the MSI help/email system.
    I've tried everything I can think of except:
    a) I will try the above mentioned in SafeMode
    b) I searched for these elusive REALTEK drivers that saved someone else, but I don't appear to be able to access them and viewing just the information I'd need to sign up for
    c) I may try stripping all drivers off and retrying with the LAN off (in bios) since it was ON during windows install, but I've uninstalled every lan driver and deleted the device only to reinstall with the (newest MSI) drivers before turning it on SOO many times it makes my head hurt.
    OH, also the cable is CAT6 (50ft) and worked screamingly well for the last computer I had hooked up here, so there should be zero issues with firewalls or router/modem configurations (though I've looked)
    I've included everything I can think of, any help would be greatly appreciated. I'm trying to move a few TB of data off a main computer to mine, and it's taking a lifetime through the wireless. Thanks for any help/comments you can offer.

    ---------------------
    Alright - Thanks to all readers so far - I've been trying to diagnose this problem for some time and put in a lot of time yesterday to no positive result.
    Because I was on a computer all day, I was able to do updates with what I was thinking, and different things as they came up - but they weren't always legible/comprehensible so I will try to explain everything better and condensed for any new readers.
    New Computer Parts:
    790FX-GD70 w/ Phenom II 955 (3.2GHz)
    2x4GB Mushkin Stiletto 16000 (1333) DDR3 Ram (Upper end but not overclocked)
    2x1GB Asus EAH5450 Silent Video Cards in Software Crossfire (Works great and have had no issues)
    ModXStream 700w PSU
    Antec 900 Case (with all fans so it has adequate cooling - Temp always <45C)
    Windows 7 (64bit)
    Original Installation:
    Had no issues, but installed off the supplied CDs, then updated to the MSI mobo drivers.
    I had the smaller drives running on Raid Array 1 (boot) so I can in future upgrade to a SSD and the two Larger drives as Raid Array 2 for a nice and large music/games/iso/Video drive
    I originally tried screwing with it a bit, some reinstalls, then got fed up thinking the MSI email thing will solve it and started installing games, norton and the like. This lead to comment about additional uninstalls disabling norton, windows and anything I could find - This was not ORIGINALLY an issue, but came to be in later installations (Sorry for the confusion).
    This computer originally had dual screens, but has now been upgraded to a Plasma Widescreen (it was my plan to have this as a media/gaming computer)
    Through all driver installations, I've found the LAN LEDs light up in Startup, Windows goes to its loading screen, then to a blank screen (juuust before windows finishes loading) and then to windows - On the blank screen the LEDs turn off and stay off for the remainder of the PC being on. This is ALSO the case at the router. Light is on until windows hits and remains off.
    Therefore I tried every possible combination of uninstalling the router driver, turning the LAN off in BIOS, installing with and without the LAN plugged in, enabling in BIOS, and then booting windows (with and without the LAN plugged in).
    Prior to this build, there was a computer in the same case, on a much, much older board that utilized the cable and everything went extremely smoothly (Win7 64 bit).
    Nothing has been OCd, and there are no strange settings that I can see on the BIOS (though I will post my BIOS settings shortly).
    Other installation options have been using the installation wizard in and out of safemode, using the "silent install" in and out of safe mode, and once agaion all installation have been done with and without disabling the LAN in the BIOS and reenabling it after.
    What shows up is under the Network Adapters is:
    "Realtek PCIe GBE Family Controller"
    "Realtek PCIe GBE Family Controller #2"
    (This board has 2 Gigabit Ports and yes I've always been trying both)
    Both say they're working correctly, installed with the most recent drivers, and despite my error in one post, say 7.41.216.2011 (a 2/16/2011 update-most recent)
    It also says (on both) that a cable is just missing, but it has been recently used on a different system and I can see the lights on the PC and router.
    In the mobo manual the LEDS can be explained as such:
    L-Yellow-Off         -LAN not established
                -On S.S   -LAN link established
                -On pulse -Communicating with another computer on the LAN
    R-Green-Off         -10Mbit/s
                -On         -100Mbit/s
      -Orange-On-      -1000Mbit/s
    So I am getting a pulsing Yellow and an Orange (on) meaning a thinking Gigabit connection, good. -> Until Windows Loads
    Now, during windows installation ( I believe this is typical) it doesn't pick up the BIOS-configured RAID array as a drive until you install the driver (in the windows setup). So I had to do that on every installation, until it picks up the drive, and installation resumes. I do not know if the same conflict exists with Ubuntu, but it sure appears that that is the case as it will not pick up the hard drives. After booting linux, the PC will not re recognize the harddrives until a COLD boot is performed (not recognizing the drives on reset had me a little freaked out for a bit).
    Back to linux, I tried my version of 10.10, the admin's version, and an above listed ~8.2 Golden Heron??? Version of Ubuntu. When BOTH the v10s were loaded, it appeared to be loading just fine, with the Ubuntu logo and progress bar/balls, then the black screen, and then it wouldn't come back. The start up sound would activate, but I could not receive any visual. I originally thought this MAY have had something to do with the fact that I'm using a Plasma TV through the HDMI connection, but if the load up screen showed up, I can't understand why it would flake out.
    Anyway, to cover all bases, I then tried the v8 cd, and it booted (with a fair share of ugly flickering pre load). No hard drives, but it DID allow me to check out the Connections - and it picked out the same thing, same name, same location, cable missing and couldn't get it to work.
    Now at this point a question was asked about my PSU as drives were "falling out" so I supplied specs:
    OCZ ModXStream-Pro 700W
    I thought that should have been more than ample for this set up, but I will check the Specs...
    OCZ700MXSP
    10A
    Output
    +3.3,25A
    +5.0,25A
    +12V1,25A
    +12V2,25A
    -12V,0.3A
    +5Vsb,2.5A
    +3.3V&+5V150W
    +12VCombined,552W
    Total Output, 700W
    So I shouldn't have an issue with 4 drives, 1 DVD, and 2 sticks of ram.
    At this point, I was getting tired and frustrated and tried some more Safe mode possibilities and Reinstalls, and in my frustration/orvertiredness I pulled off all ATI drivers that I thought MAY be conflicting (to install LAN FIRST) such as a RAID controller (stupid) and the Crossfire drivers (thought maybe PCI bus was overloaded or in conflict if the LAN is on the same bus? - I was overtired) Anyway, thinking I could get back into windows safe mode was a little optimistic and I had to settle for Windows repair (oh joy) and I COULDNT get the raid drivers to be recognized again - Found out later that the USB drive I was using to move drivers with had some issues with corruption..ANYWAY in the windows repair/select driver window I plugged in a 500G external and did the ol' Ctrl C Ctrl P and copied everything I needed on the raid array and blanked it to reinstall windows.
    Now silly sleep deprived me couldnt get the main ATI driver to load (corrupt files and didn't realize at the time) and the ATI mobo driver didn't install, so I used the CD, but then I was just replicating the above test,as I installed the LAN drivers post ATI Mobo drivers (still don't know why I did that). Redownloaded newest drivers onto the external, and went to bed.
    Anyway, on to today, reblanked the drive, installed windows WITH LAN OFF in BIOS, installed Windows again, installed LAN and reenabled in BIOS to the same results. Did a repair installation, with it enabled and plugged in, same results.
    Post ANY installation, as soon as the LAN is enabled (if it isn't already) a message pops in the bottom right saying Drivers were installed correctly.
    If it is installed with LAN off, a message pops up saying "The Realtek Network Controller was not found. If Deep Sleep Mode is enabled Please Plug the Cable."
    But once, the LAN is enabled, on Windows boot it once again says it was installed correctly, but doesn't have a cable.
    Right now I'm sitting with a computer with a fresh Win 7-64 install and LAN drivers, and I will try installing the mobo drivers and reinstalling the LAN again (if nothing works) but I'm fresh out of ideas. I'll see what I can hammer out in Linux too, but it appears so far that we're getting the same results (connected but no cable).
    Anyway thanks for reading my novel, and once again, any help would be appreciated.
    A

  • Belkin wireless modem and Airport Express lan problems

    Let me preface my problem by stating the obvious - I'm not very technically proficient!
    That said, I've had an AirPort Express wireless lan connecting three computers on my home/office network for the past 8 months without any problems at all. All machines on the network have been able to access the internet via a Thomson SpeedTouch 530 ADSL1 modem that connects via an ethernet cable to the AirPort Express. No problems.
    The network consists of my G5 iMac (ALS), my husband's Mac mini and my Sony VAIO laptop (XP Pro SP2).
    I should also mention that half-way between my office and my husband's office there is a second AirPort Express that 'boosts' the signal to his office.
    I recently changed ISPs to a provider that offers the faster ADSL2+ service. This meant that I had to get a new Belkin ADSL2+ modem. This is my problem. I cannot connect my AirPort Express network to the internet using the Belkin modem. The Belkin modem connects without any problem if I just have it connected via ethernet to my iMac but that's not what I want to do.
    My existing AirPort details are -
    IPv4 Address: 10.0.1.3
    Router 10.0.1.1 (this is the SpeedTouch 530 modem)
    Subnet Mask 255.255.255.0
    I thought I could change the new modem's address(?terminology?) from 10.1.1.1 (which is how it came) to 10.0.1.3 and that everything would work but it doesn't.
    Belkin tech support said 'the problem is with your AirPort Express' (what else would they say)?
    Do I have to keep the 10.1.1.1 and change my AirPort addresses? Or should I try to set up a new network?
    2GHz 20-inch iMac G5 (ALS)   Mac OS X (10.4.4)   Mac Mini; 12inch PowerBook; 120GB external firewire hd; Video iPod; iPod mini;

    No ideas?

  • Java.rmi.ServerException Problem

    The exception that has occured is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Process00Impl_Stub
    I have the interface, Client, Server and the Implementation java files
    in the same machine.
    11/29/2002 08:52p 282 Process00.class
    11/29/2002 08:25p 221 Process00.java
    11/29/2002 07:40p 215 Process00.java.bak
    11/29/2002 08:56p 1,008 Process00Client.java
    11/29/2002 08:55p 1,010 Process00Client.java.bak
    11/29/2002 08:57p 451 Process00Impl.class
    11/29/2002 08:57p 936 Process00Impl.java
    11/29/2002 08:52p 934 Process00Impl.java.bak
    11/29/2002 08:57p 2,153 Process00Impl_Skel.class
    11/29/2002 08:57p 3,938 Process00Impl_Stub.class
    11/29/2002 08:56p 995 Process00Server.class
    11/29/2002 08:57p 645 Process00Server.java
    11/29/2002 08:56p 643 Process00Server.java.bak
    I also have the _Stub.class. I do not know why I get this error. If any
    one have an idea, kindly share with me.
    Thanks.

    Hi,
    I had the same problem. In my machine, path was having jre1.1.7 before my jdk 1.4. So it was picking up from jre1.1.7.
    Java was happy when I moved my jdk1.4 path to the beginning of the path variable.
    Hope this helps you.

  • LAN problems in Vista

    Hi all, I have a computer running vista with NVIDEA LAN. For some reason it decided to add LAN points and now I get I cannot use LAN to get to the NET, radio works OK, I get that the LAN port is unplugged, My router says its not, the cable has been tested
    and replaced with the other machine. I get that the LAN port is LAN 2 cable unplugged. (lights on computer also indicate connection. The router shows slow flashing light and goes red when computer shut down. All that indicates its a software fault / glitch.
     I have tried to discover the reason and have discovered that there are siblings for LAN port all having the same irretrievable but in same location reg but added with sibling numbers.
    I cannot "delete" the driver / item, which if I could would mean all LAN wiped but "refound" on machine restart. The machine appears to remove the LAN, but it does not.
     Its annoying having to run the Radio connection as it reduces speed to the printers. Any body any ideas. This started after an MS update some 3 months ago.

    Proxie_dk,
    Also,
    You might want to make sure that you have done the following to try and help resolve or workaround the problem more:
    Make sure you have set the correct timinns and voltages for Mushkin memory in BIOS, more information at Mushkin website under support.
    Make sure you have the latest version of the BIOS for your motherboard, as several manufacturers did release updates for the problems with NVIDIA and Creative compatability. Look at support section on the XFX support site.
    Make sure you are using the latest motherboard chipset drivers available from NVIDIA. 5.25 is the latest, and the international package is here.
    Make sure you are using the latest graphics drivers available from NVIDIA. 86.8 is the latest, and the international package is here.
    Also, perhaps not as important as the above, make sure you have the latest Windows Updates installed using Microsoft Update.

  • RMI SSL problem

    Hi, I am learning RMI whit SSL and I have a problem, I cant run the example form the RMI SSL tutorials.
    I can run the server, and bind the object but the client throw this exception:
    HelloClient exception: error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at HelloClient.main(HelloClient.java:60)...
    can you help me???

    Hi,
    Dis you solved the probelm ? I am facing the similar exception. I am using jre1.5.0_11.
    Regards,
    Titas Mutsuddy

  • RMI Rebind problem

    Hi
    I'm a novice on RMI and have been trying to learn the concept by copying the HelloWorld RMI example from the Java Tutorials to run on my Windows 98 PC. However, when I issued a DOS command: Java HelloImpl, the following error came up:
    " Access denied (java.net.SocketPermission .....1099 connect resolve)"
    Any suggestions what possible cause of the problem ?
    Thanks.

    check the permissions in your policy file.

  • RMI connectivity problem (multi-NIC)

    I'm developing a simple photo share program with Java RMI.
    I connect rmiregistry (192.168.100.3), it returns the object reference, but when I invoke a method I get problems.
    My server (remote) - 192.168.100.3 - reply with an address of another NIC - 192.168.62.1 (from VMware). I print out the Proxy object, and I was surprised when I saw 192.167.62.1 address, instead 192.168.100.3. My client is running on 192.168.100.1 address.
    Why is this happening?
    When I turned off the VMware virtual NICs, I was successful. I want to understand what is going on, and if is there a way to fix this issue.
    $ java rmi.Client
    Looking...object found!
    Proxy[PhotoShare,RemoteObjectInvocationHandler[UnicastRef [liveRef: [endpoint:[192.168.62.1:58343](remote),objID:[4cc5973e:11de2bb065b:-7fff, 4037313925566802436]]]]]
    Exception in thread "main" java.rmi.ConnectIOException: Exception creating connection to: 192.168.62.1; nested exception is:
         java.net.SocketException: Network is unreachable
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:614)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
         at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
         at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
         at $Proxy0.listaFotos(Unknown Source)
         at rmi.Client.main(Client.java:26)
    Caused by: java.net.SocketException: Network is unreachable
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:180)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         ... 7 moreEdited by: pantony on Nov 28, 2008 3:26 AM
    Edited by: pantony on Nov 28, 2008 3:27 AM

    See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].

  • RMI observer problem

    Hello
    I want to write a client server application using rmi and eclipse, where many clients are able to register to the server. The server has a string attribute and a client should be able to pass a string object to the server and the server replaces the value of his attribute with the sent string and notifies all registered clients of the new value. In a later step the server writes to a mysql database and notifies the clients about changes in the database, but that is later...
    I use eclipse for developing.
    Here is the remoteinterface of the server:
    package com.iz.rmi.server;
    import java.rmi.*;
    import java.rmi.server.*;
    import com.iz.rmi.client.IObserver;
    public interface ISubject extends Remote
         public void registerClient(IObserver obs) throws RemoteException, ServerNotActiveException;
         public void notifyObervers() throws RemoteException, ServerNotActiveException;
    } the remoteinterface of the client:
    package com.iz.rmi.client;
    import java.rmi.*;
    import java.rmi.server.*;
    public interface IObserver extends Remote
         public void sendNotify(String notification) throws RemoteException, ServerNotActiveException;
    }the implementation of the server interface:
    package com.iz.rmi.server;
    import java.net.MalformedURLException;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    import java.util.*;
    import com.iz.rmi.client.*;
    public class Subject extends UnicastRemoteObject implements ISubject
         private Vector<IObserver> obs;
         private String service;
         public Subject() throws java.rmi.RemoteException
              super();
              this.obs = new Vector<IObserver>();
         @Override
         public void notifyObervers() throws RemoteException, ServerNotActiveException
              Iterator<IObserver> obsIt = this.obs.iterator();
              while(obsIt.hasNext())
                   IObserver o = obsIt.next();
                   try
                        o.sendNotify("blabla");
                   catch (Exception e)
                        e.printStackTrace();
         @Override
         public void registerClient(IObserver obs) throws RemoteException, ServerNotActiveException
              System.out.println("client registered");
              this.obs.add(obs);
         public static void main(String[] args)
              if (System.getSecurityManager() == null)
                System.setSecurityManager(new SecurityManager());
              try
                String name = "Observable";
                ISubject engine = new Subject();
                //ISubject stub = (ISubject) UnicastRemoteObject.exportObject(engine, 0);
                LocateRegistry.createRegistry(1099);
                Registry registry = LocateRegistry.getRegistry(1099);
                registry.rebind(name, engine);
                System.out.println("ComputeEngine boundlll");
              catch (Exception e)
                System.err.println("ComputeEngine exception:");
                e.printStackTrace();
    } and the implementation of the client interface
    package com.iz.rmi.client;
    import java.rmi.*;
    import java.rmi.server.*;
    import com.iz.rmi.server.*;
    public class Observer extends UnicastRemoteObject implements IObserver
         private String host;
         private String service;
         private ISubject sub;
         public Observer(String host, String service) throws RemoteException
              this.host = host;
              this.service = service;
              System.out.println("Service: " + service);
              try
                   this.sub = (ISubject) Naming.lookup(this.service);
                   this.sub.registerClient(this);
                   System.out.println(" istered");
              catch(Exception e)
                   System.out.println("Unable to connect and register with subject.");
                   e.printStackTrace();
         @Override
         public void sendNotify(String notification) throws RemoteException,
                   ServerNotActiveException
         public static void main(String[] args)
              try {
                   new Observer("192.168.1.34:1099", "Observable");
              } catch (RemoteException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Both programs get started with this vm-argument:
    -Djava.security.policy=C:\daten\noSpring\Obsv\wideopen.policy
    where wideopen.policy looks like this for testing:
    grant {
         // Allow everything for now
         permission java.security.AllPermission;
    };when I start the server all looks fine, but when I start the a client i become just the output.
    Service: Observable
    isteredinstead of
    Service: Observable
    client registerd
    isteredThere are no exceptions or something like that, but it seems that the registerClient()-method does not get called on the server when the client starts. There were many changes since the last time I used rmi, so I don't know what's wrong here. I hope some one can help me with this problem.
    Kind regards,
    Michael

    The server's System.out.prints will go to the server's console on the server host.
    Not interleaved wih the client's output on the client's console on the client host.

Maybe you are looking for