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].

Similar Messages

  • RMI Connection Problems

    Hey, I'm trying to connect to a server thats on a password protected box. I have a username and password for the box but not sure exactly where to enter these. Can someone give me an idea as to where to enter them?
    Thanks

    Right.
    How is the computer protected? What kind of protection? On what 'layer'? And what does this question have to do with RMI? Why aren't dogs blue?

  • Unending connectivity problems -- and Desktop Help...

    I'm wasting so much time on connectivity problems that it's positively wearying. Prior to the installation of BT Infinity here in April, I had a low quality broadband service because of the length of the line from the exchange: if I could get a download speed of 1.2Mbps and an upload of a quarter of that, I was doing well. 
    BT advised that thanks to fibre optic, my Internet should run much faster. So we had Infinity installed. I'm registered with Speedtest.net so am able to see my performance record.
    The average download speed is now aroun d 6Mbps and the average upload, more than that at 7Mbps. How an upload speed can consistently be faster than a download escapes me.
    But I'm not familiar with the ways of Internet connectivity and try as a I might, can't get my head around it.
    This desktop computer runs Vista OS. Vista was **bleep** when it came out and is renowned for its botched handling of Internet connections. So I'm not blaming BT for the literally unending connectivity problems that are occurring now, with line drops, speeds slowing to a crawl, and no guarantee that any connection will last. But it would be good to actually use BT software to help fathom out what's going wrong here, and today's typical morning which looks like this:
    1) Boot up computer. Automatic connection to hub via Netgear USB wireless adapter. Hub is on ground floor of this 3-storey property but signal strength from hub  is excellent, as confirmed by inSSIDer monitoring, currently showing 54 with no other networks anywhere near that figure.
    2) Perhaps 5 minutes after connection established, it's then lost. 'Local Only' is displayed. This is, apparently, a known Vista problem. But Microsoft has issued a fix for it. I know this, because it took 100 hours of ploughin g the Net to find out that MS had finally admitted to one more Vista screw-up. I've used the Microsoft router "fix it" before and it didn't work ("failed to process") so uninstalled it and have DL'd it again now and run it. This time it says it has fixed everything.
    3) Computer is re-booted to make the fix effective. Computer connects to Internet. Speedtest.net check yet again confirms that upload speed is faster than download speed.
    4) Connection dies. So much for Microsoft Fix It.
    5) Windows diagnostics reports that it can re-set the IP profile (or something.) I click yes. The re-set goes through. Connectivity is restored. 10 minutes later, connectivity is lost. Just a red X in the tray. No connection of any kind, not even that daft 'Local Connection' only alert.
    6) Reboot. Yet again. BT Desktop Help was installed here and ran OK when we were using our Netgear DSG34 router. But since the change to the BT Hub, the BT program has never run at all. So-oo. . . It has been uninstalled. And then re-DL'd and re-installed. And though the installation  has been completed, clicking on 'launch' has failed to launch anything. But anyway. An hour ago, in one of the brief periods today when the Internet connection was holding up, I Revo-ed out the earlier install, DL'd BT desktop Help and re-installed it. . . and I'm still at the same stage as always, with a  Firefox browser page that's open and completely blank and has been for the past 30 minutes. The URL is:
    file:///C:/Program%20Files/BT%20Broadband%20Desktop%20Help/btbb/Start.html
     Repeated page re-loading gets nowhere. Malwarebytes PRO is turned OFF to prevent any possibility of blocking and the antivirus is termporaily SUSPENDED. This PC runs on Windows standard firewall but even turning that OFF doesn't get the page to load. Copying the address into Internet Explorer in case there's a Firefox problem merely results in Firefox being opened and the same blank page running there.
    7) After all that. . . Connection lost yet again and this time, Windows cannot connect at all. It reports that the "wireless network security key is not correct". I happen to know that it is, because this is maybe the 20th time it has reported this in the past 10 days and every time I have to key in the "correct" key all over again. . . at which point Windows still says it isn't correct and cannot repair.
    Turning off the computer completely, unplugging from the wall, holding in the power switch for a full minute to clear the circuits, traipsing up and dowen three flights of stairs to turn off the hub, then wait, then turn the power back onm again. . . Ah, wot fun times I'm having here with my particular versioin of Infinity (as in, an infinity of connectivcity problems.)
    Summary: I seem to be being simultaneously hit with one issue after another.
    I'm bewildered as to why ever since Infinity was installed here, my upload speed is generally faster than my download speed. I'm not happy with endless Internet connection failures though am thinking that Vista is playing a large part here with its "wrong security key" and unending 'Local Only / Limited Connection' failures. I do miss my Netgear router and the ability to access a fantastic help menu and re-boot directly from the desktop without having to keep going up and down three flights of sdtairs to do so (I haven't been able to find out how toe access the BT Hub remotely.)
    Above all though: I'm  really tired of repeatedly trying to run freshly downloaded and installed BT Desktop Help software but getting no further than a blank page because the program has stalled.
    If anyone has any advice / suggestions, other than to buy a carrier pigeon, that'd be much appreciated.
    Thanks.

    Thanks again to John and gg30340. Here's an update:
    1) BT Desktop Help removed completely from this computer. The uninstaller itself mopped up everything, which surprised me. But anyway.
    2) Bt Home Hub manager set up and working. Had to input serial number and create new password. All of this sounds fairly easy and would be if one had the device near the desk. But the idiots who built this property shoved the BT master socket inside the garage next to the door. Our two home computers are on the third floor. To ensure the wireless signal strength is OK, the Hub and Infinity module/device/whatever it's called are on a high shelf. It's a major job to even reach the darn things, never mind read the labels seeing as how the BT Infinity engineer was good enough to tidy up the cabling and make a very tight connection to the wall socket.
    3) I had hoped to be able to back up the Hub's settings, seeing as the software provides for Advanced Settings / System / Backup. But not on mine (Hub 3.0). All that System allows is choosing which internet clock to define the accurate time. Everything else in System is just a pattern of short lines as if trying to indicate that there's some text there but it's invisible.This is now my second encounter with BT software which, for whatever reason, isn't functioning as it should on this PC.
    4) Hub reset to factory fresh, according to BT guide.
    5) Reset appears to have achieved nothing apart from requiring the password to be popped in again. After reset, it wasn't even possible to connect to the hub manager. Internet connectivity was eventually established for all of 30 seconds and then, gone.
    6) Computer was shut down and then booted anew. Internet connectivity is still. . . dreadful. One minute everything's fine and then, literally,. the next minute a webpage won't load. Even opening the Hub Manager has taken three attempts, i.e., disconnecting from the Internet, re-connecting, failing, and trying twice more until success. Yet all the time these failures are occurring, the tray icon is showing a steady, unwavering green icon for Local and Internet access -- despite the fact, there manifestly isn't any.
    7) Speedtest. net tests are actually showing upload and download 'trajectories' going slower and slower and finally halting at some point on the arc, then after a period of up to 30 seconds, suddenly becoming animated again. Speed test results with broadband speed checker UK and Think Broadband's checker are so at variance with one another, and with Speedtest, net, that it seems all three are using different technologies in pursuit of the same thing. Either way, upload speeds continue to be much, much faster than download speeds, a state of affairs I certainly have never encountered before.
    8) Speedtest net tests taken in the past 10 minutes, with one test following on from its predecessor, begin at 8.24 down/8.88 up, followed by 5.24 down / 6.40 up, followed by a mind-numbingly lonnnnng 0.62 down / 8.70 up -- in other words, a continuous yo-yoin g of Internet connectivity to the pooint that it actually might as well not even be here (I've had to make five attempts just to get on to this forum. . .)
    9) BT Speedtest will necessitate disconnection of everything downstairs and all boxes being lugged up here. This is actually going to require uncoililng tied-off cabling and hanging off a stepladder to do so -- though I surely can't be the only person in Britain who doesn't have a nice, handy BT master socket in their study or lounge. That said though: until we switched to Infinity, we *never* experienced these kinds of horrendous connectivity problems and never had need to unplug the Netgear router downstairs and bring it upstairs to connect directly to tjhe desktop PC so BT's own test could be run.
    I'll just have to get to work dismantling stuff tomorrow. However, I have to say that after a factory re-set which has changed nothing at all, I'm beginning to think there's a problem with the BT line itself (hence why I'm happy to follow the advice here, though less than happy at the prospect of the messing about involved.)
    Thanks, you two, for your patient help, and also for clarifying the situation re the three signal paths being shown on inSSIDer. At least I know that's usual now! And now, hopefully, when I press 'Post', I won't be faced with an endlessly spinning Firefox circle culminating in  what may well be, or seem to be, the 57,938th time today of seeing "Page Not Found". . .

  • New retina MacBook Pro - WiFi connectivity problems

    Dear all,
    I've recently purchased the new Haswell 13" retina MBP, and I'm having exactly the same WiFi connectivity problems the 2013 Airs had. I have a solid connection for a short time, and at irregular intervals it just drops out. All of my other devices are still connected and have no problems. I've tried with two different routers/modems, but the problem persists.
    Is this a known problem - with hopefully a software fix in the forseeable future, or do I need to return the MacBook?
    Many thanks in advance for your help,
    Nic

    I haven't got a Retina, but I do have the same wifi problem. And if you've looked at these forums, you'll see it's been going on for years and no one seems to have a handle on what the issue is. All I can say is if I were in your place I'd take it back and exchange it. You have the chance now, so take it.

  • Nokia 6700 USB cable connectivity problem -fixed-

    Ok, got my 6700 today. Everything worked like a charm, until I tried to connect it to my PC using the supplied USB cable. I downloaded and installed the latest Nokia PC suite which supports this phone (7.1.30.9) and connected the phone. Vista was unable to install a driver, and the phone was listed in the device manager as 'unknown usb device'. The phone display reported 'no response from host' after plugging in the usb cable. 
    I searched online for a solution, and tried the following:
    - repaired the install of the Nokia connectivity cable driver: no success.
    - deinstalled the nokia pc suite, ran the pc suite cleaner, rebooted and reinstalled the pc suite: no success.
    - threw away the unknown usb device in the device manager and plugged the cable back in so that Vista would try to install the driver again: no success.
    - tried other USB slots (not behind HUB): no success.
    At this point I was so frustrated that I decided to take out the supplied 1gb micro sd card and transfer some data to it using a card reader. When I looked in the root of the sd card, I noticed that there was an executable called pc-suite.exe there, among some other files. I decided to delete those files to see if they were causing the problems, I deleted the following files:
    - autorun.inf
    - launcher.exe
    - pc-suite.exe
    - qf
    Replaced the micro sd card in the phone, plugged in the usb cable and voila: connection! Everything worked like a charm.
    During my online search I noticed I wasn't the only one experiencing connectivity problems with the 6700. Maybe this fix will help other people as well, that's why I decided to post it here. ;-)
    Peter

    Thanks Peter, nice job - same problem, your solution is working. Shame on Nokia - i have so many problems with E52, and now with 6700 - why ? Is it so difficult to make a reliable software ? So disappointed ... maybe Apple is the solution - but after 10 years with Nokia why change with Apple ?

  • RMI Connection Issue

    I am trying to implement an RMI connection and am consistently getting the message:
    -java.rmi.UnmarshalException: Return value not found; nested exception is:
    -java.lang.ClassNotFoundException
    -at sun/rmi/registry/RegistryImpl_Stub.lookup (RegistryImpl_Stub.java:109)
    -at java/rmi/Naming.lookup (Naming.java:60)
    -at client.main (client.java:9)
    client.java:9 is:
    -ServerCommands SC = (ServerCommands) Naming.lookup("rmi://localhost:1099/Thing");
    also, the server side binding is:
    -CommandsImpl acct = new CommandsImpl();
    -Naming.rebind("rmi://localhost:1099/Thing", acct);
    i dunno if i am braindead or if there is something wrong here... i had read elsewhere about delclaring the registry location, if that makes sense... if that is the case, how do i do this?
    Thanks in advance!

    well, here we are again, talking to myself ;)
    anyways, i did take your advice and a updated my code... its a little slopyy, as i didn't really go back over it, but it runs and i get that same error... KoQ (the client) cannot run without the ServerCommands.class file being along side it... even if i copy it to the directory, java doesn't like it... the only way it works is if i run KoQ(client) and the server out of the same directory and they share the ServerCommands.class file... its pointless to have to have them both share that same file, because then the server must be the client as well, both running out of that same directory.... ahhhhhhh!
    here we are:
    import com.ms.wfc.app.Application;
    import java.io.*;
    import java.net.*;
    import java.rmi.Naming;
    import java.util.Properties;
    public class KoQ {
         public static void main(String args[])
              try {
                   ServerCommands server = (ServerCommands) Naming.lookup("rmi://localhost:1089/KoQ");
                   Application.run(new KoQLogin());
              }//end try
              catch (Exception e) {
                   e.printStackTrace();
                   Application.run(new KoQDisconnect());
              }//end catch
         }//end main
    }//end KoQ
    import java.rmi.Naming;
    import java.rmi.server.UnicastRemoteObject;
    import java.rmi.RemoteException;
    import java.rmi.registry.Registry;
    import java.io.*;
    public class Server extends UnicastRemoteObject implements ServerCommands {
         public Server() throws RemoteException {super();}
      public Character Login (String Username, String Password) throws RemoteException {
           try {
                File f = new File("c:\\KoQ\\Characters\\"+Username);
                if (f.exists()) {
                     FileInputStream fis = new FileInputStream(f);
                     ObjectInputStream ois = new ObjectInputStream(fis);
                     Character CHARACTER = (Character) ois.readObject();
                     if (CHARACTER.vfyLogin(Password)) {
                          return CHARACTER;
                     }//end if
                     else {
                          return null;
                     }//end else
                } //end if
                else {
                     return null;
                } //end else
           } //end try
           catch (Exception e){
                return null;
           } //end catch
      }//end login
      public boolean CreateCharacter(String Username, String Password) throws RemoteException {
           Character CHARACTER = new Character(Username, Password);
           //Check if character exists
           return saveObject(CHARACTER, "c:\\KoQ\\Characters\\"+Username);
      public boolean saveObject(Object obj, String dir)
              try {
                   File objSaver = new File(dir);
                   FileOutputStream fos = new FileOutputStream(objSaver);
                   ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(obj);
                   System.out.println("OK, file was made...");
                   return true;
              }//end try
              catch (Exception e) {
                   e.printStackTrace();
                   System.out.println("AHHHHHHH! obj Could not be saved!");
                   return false;
              }//end catch
         }//end caveCharacterInfo
      public  static void main(String args[]) {
        try {
          Registry r = java.rmi.registry.LocateRegistry.createRegistry(1089);
         ServerCommands obj = new Server();
    System.out.print("RMI rebinding...");
          Naming.rebind("//localhost:1089/KoQ", obj);
    System.out.println("complete");
          System.out.println("Server ready");
        }//end try
         catch (Exception e) {
              System.out.println("Server: exception:");
              e.printStackTrace();
              System.out.println("AHHHHHHHHHHHHHHHH!");
        }//end catch
      }//end main
    }//end Server
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface ServerCommands extends Remote {
         Character Login (String Username, String Password) throws java.rmi.RemoteException;
         boolean CreateCharacter (String Username, String Password) throws java.rmi.RemoteException;
    }//end ServerCommands
    **************************************again i threw out the useless classes from here (Character.class, etc); does ANYONE have an idea? this has been a problem for days and i really would like to know what it wrong... i am sure it is a problem on my part, and maybe you can see my mistakes?
    Thanks...

  • RMI-Server "checks" when Client closes RMI-Connection

    Hi there!
    I hope somebody can help me...
    I'm developing a client/server application where my client calls a remote method and my server starts working (i.e. 5-7 minutes batch processing).
    Is there a way my server "gets informed", when RMI connection is closed (network failure, client closes)? In this situation the server should perform a rollback, delete generated files, etc.
    I don't know if there is thrown a exception inside the server method, which I can catch ....
    Any suggestion is welcome ..
    Best Regards
    Anton

    Thanks a lot, I will have a look at the tutorial.
    Initially my thoughts on this issue were:
    -) The Client-RMI call is made in an own Thread (There are several things to do before job processing can start on the remote machine).
    -) when the RMI call is processed, the thread gets blocked, so doesn't add load to the machine (hope so).
    -) RMI does the "alive-checking", when network connection fails the client can mark the job as failed. The called server should also do some rollback. So I do not have to implements callback-listeners to react on server callbacks
    -) But I'm worried about open connections, running out of socket resources and that there is no way to abort a endless running job.
    This is my first aproach to solve this problem, I would be very glad about any comment ...

  • EJB3: JNDI connection problem managed server

    Hi all,
    In a JUnit test, I tried to look up a Session EJB from a remote managed server:
    Hashtable<String, String> props = new Hashtable<String, String>();
    props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(javax.naming.Context.PROVIDER_URL, "t3://server1.ux.yucom.es:1751");
    props.put(javax.naming.Context.SECURITY_PRINCIPAL, "userName");
    props.put(javax.naming.Context.SECURITY_CREDENTIALS, "pwd");
    props.put(weblogic.jndi.WLContext.ALLOW_EXTERNAL_APP_LOOKUP, "true");
    InitialContext context = new InitialContext(props);
    Command command = (Command) context.lookup(jndiName);
    But the code already fails while instantiating the InitialContext, because of a connection problem:
    Caused by: java.net.ConnectException: t3://server1.ux.yucom.es:1751: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
         ... 34 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
         ... 36 more
    I'm able to connect to the the Admin server... In this case I receive a javax.naming.NameNotFoundException, obviously, since the remote EJB is only targetted on the managed server and not on the admin.
    This is confirmed by following little test on the command line:
    java -cp %WL_HOME%\server\lib\weblogic.jar weblogic.Admin -url t3://server1.ux.yucom.es:1700 -username <user> -password <pwd> PING
    => OK, packets received
    java -cp %WL_HOME%\server\lib\weblogic.jar weblogic.Admin -url t3://server1.ux.yucom.es:1751 -username <user> -password <pwd> PING
    => Failure:
    Failed to connect to server1.ux.yucom.es:1751: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection timed out: connect; No available router to destination
    Does anyone has an idea why the connection to the managed server fails??
    Is it a configuration problem in WebLogic?
    Thx a lot!
    Wim.

    Hi,
    Are you able to Remotely Access any Simple Web Application deployed on "server1.ux.yucom.es:1751".
    Example: http://server1.ux.yucom.es:1751/TestApp/index.jsp
    If NOT: Means Some where there is a problem with the Port...Just for testing Try Changin Manged Server port to Default HTTP Port (80).
    If Yes: Then there are chances that Your Box is not allowing any t3-Protocol Traffic on 1751 Port. Just for Testing Enable HTTP Tunneling on this Server from Admin Console
    AdminConsole --> Home-->Summary Of Servers --->ManagedServer1 ---> Protocol (Tab) ---> HTTP (SubTab) --->Enable Tunneling (Check This Check Box)    Save the changes.
    And then After restarting your Server ... Try to ping your Server using:
    java -cp %WL_HOME%\server\lib\weblogic.jar weblogic.Admin -url http://server1.ux.yucom.es:1751 -username <user> -password <pwd> PING
    In the Above command Use HTTP protocol instead of T3. If Now u are able to Ping the Server means Your Port 1751 was not allowing any other Protocol except HTTP.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic  (Middleware magic Is Here)

  • 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

  • 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.

  • RMI Connection Refused through Firewall

    Hi,
    I am having problems making an RMI connection through a firewall. On the server outside the firewall I have my servlet application running in an OC4J container and inside the firewall I have an EJB listening on port 6666. I have setup the firewall to allow connections through on port 6666. If I telnet from the machine outside the firewall on port 6666 I am able to make a connection to the EJB. So I know the firewall has been setup to handle the connection.
    I run the servlet application and when it tries to make the connection it gives an error:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused; nested exception is:
    java.net.ConnectException: Connection refused
    When I do a snoop on the external machine to see what data is trying to be sent to the internal machine there is no data. When doing the telnet test there was data.
    I have the same servlet application deployed on a machine internally and it is able to make a connection to the EJB. The only problem is either the configuration of the application server on the external machine or the firewall configuration.
    Anyone able to help me see what I am missing?
    Thanks
    Shawn Clark

    not sure what you mean by having a 'EJB listening' on port 6666. Do you mean actually having a socket listening within the EJB code? If so then that is a suspicious EJB activity.
    If not then i guess you mean the ORMI listening port of the OC4J application. This is normally set on port 23791 to allow the RMI communication to flow.
    -lp

  • Timeouts and connection problems after 5.1(2) upgrade

    AIM/chat and some other programs are having timeout/connection problems after upgrade to 5.1(2). I am using S241 also. The connection problems stopped when the IPS was set to bypass. Rebuilt IPS and left sigs at default settings and problem is still happening. I am not seeing any of the IPs that are having the problem in the Event Viewer or on the Events in the IDM.
    Any known issues with the 5.1(2) that would cause this type of problem?

    I don't know specifically, but I did notice that 5.1(3) was released today.

  • Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hello Sue,
    I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
    I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
    It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
    Michael

  • RFC Receiver adpater Connection problem , Help us to solve ?

    Hi  Friends ,
                          Our scenarilo is Mail to RFC. It was running fine. In RFC Receiver adapter i have given <b>Maximium connection property to 1</b> .
                      While multiple set data passed to rfc will connection problem will come ?
                     Most data not uploaded . I am getting the following error.
                     <b>   If i set max connection to 5 . It is 5 times or more than that it is pusing the data .</b>
                    i am getting the following error <b>while i set the Max   connection to 1 .</b> . <b>Any other place i need to change configuration ?</b>
                   <i><b> - Error: 2007-09-24 10:51:22 GMT-05:30: Message processed for interface YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[CC_EXTE_WAREN_2W_RFC_RECEIVER]e7fa21f86ec535e883636c0beffc0f0c is exhausted. The current pool size limit (max connections) is 1 connections.</b></i>
                            Please give the description . I have referred many likns . Help us to solve this problem .
    Regards.,
    V.Rangarajan<b></b>
    Message was edited by:
            ranga rajan

    Hi,
    Have a look at this.This will help you.
    1.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    2. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar

  • PHP and MySQL Connection problem

    I am trying to make a PHP MySQL on a remote server connection in Dreamwesaver CS3.
    When I enter the information (host, user, password, etc.) and hit TEST, I get the following error message.
    "Access Denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured."
    I know the user, password, etc. work, as I can access the MySQL database with other software.
    I checked with my host and they say there are no permission problems on their end.
    I have checked the settings on the Test Server page in Site Setup and everything looks correct and works there.
    I have not seen this particular problem described in other forum postings (although there are a LOT of postings on this topic!).
    Any help would be appreciated.

    I thought my testing server was the remote server and is always on as far as I know. I don't know how to turn it on or off.
    Is there some other testing server that I should be aware of?
    Frank
    Date: Wed, 3 Jun 2009 15:43:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP and MySQL Connection problem
    I know you are using remote, but is your testing server on? if not turn that on and see if that does it. it just happened to me working on remote server and could not get mysql conn to work, until I turn on my testing (developer server), then I was able to connect to mysql and the tables that I created in phpmyadmin remotly was downloaded.
    >

Maybe you are looking for