URGENT - Help on RMI & Proxy - Call back prob

Hi
I have made small RMI, where RMI server is running in Webserver [ which is not even Proxy]. It is working fine for all the clients except clients under firewall/Proxy.
Please let me know, Can we implement RMI Server able to call back the clients [ which are under proxy ]
If so , what modifications i have to do ???
Note
1. Client Able to access the RMI Server. But From the Server, i can not able to Call back the Client.
2. I am passing clientRef through remotemethod on the remoteObject . Then the ClientRef will be stored in Server. When trying to call back throgh the ClientRef, I am getting Exception, RemoteException such that i could not able to connect/not found. The same concept is working if the Clients are not in Proxy
Please help immediately.
Sampath Ramanujan.

If I am not wrong RMI multiplexing protocol wsa a temporary solution to this problem. It was introduced in JDK 1.02 pre release of RMI. But this Protocol has been disabled since JDK 1.2.2.
If however JDK1,4 if the improved RMI protocol is biderectional this will solve the problem.

Similar Messages

  • Need urgent help ! on skype call monitoring

    dear friends , I need your urgent help! is there any way that some one can monitor my skype call , that means some other people can listen what i am talking and what i am chating ...........please help me !

    Skype calls can't be monitored by any third party user, unless there are viruses/malware/spyware or similar elements in your computer, or in the computer of the people you are talking with.
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Help with multiple httpservice calls

    I need help with multiple httpservice call back to back, doing 10 different mysql query at startup of the app loading results into 14 datagrids/combobox all queries are to different tables.

    Hello,
    I think what Grizzzzzzzzzz means is the following:
        <mx:HTTPService id="serviceOne"
            url="here goes url"
            result="resultHandler1(event);"
            fault="faultHandler(event);"/>
        <mx:HTTPService id="serviceTwo"
            url="here goes url"
            result="resultHandler2(event);"
            fault="faultHandler(event);"/>
        <mx:HTTPService id="serviceThree"
            url="here goes url"
            result="resultHandler3(event);"
            fault="faultHandler(event);"/>
         // Result handler 1
         private function resultHandler1(event:ResultEvent):void{
              //Here do something with the results
             xmlCollection = event.result as XML;
             //then call the next service
             serviceTwo.send();
          // Result handler 2
          private function resultHandler2(event:ResultEvent):void{
              //Here do something with the results
             xmlCollection = event.result as XML;
             //then call the next service
              serviceThree.send();
    I hope this helps,
    Pierre

  • RMI call back - How to refer to the client project from the server project?

    Hi, I am working on an RMI assignment which basically needs me to use the RMI call back for the server to notify the clients.
    I have 2 projects , one for the client and another for the server.
    In the client project, I have a client interface and the main client class implements this interface.
    In the server project, I have a server interface and a class that implements this interface.
    I can use the server interface in the client project's code by adding the server project in the path of the client project. it lets me use the server interface in the code if I put "import.." statement.
    But the issue is I can not do the same to access the client interface from within the server project's code. Since that will be a circular reference, the compiler does not let me use the client interface from within the server's code. This is putting me in a great difficulty and I am stuck here. What should I do so that I can use the client interface and the compiler won't complain?
    Thanks for any help..
    Regards.. js

    Let me explain what I tried: I manually generated stub class of the client using the Eclipse IDE as mentioned in my previous message. The StockMSClient_Stub.class got created in my client project.
    The common project has the 2 interfaces - one from the client and one from the server.
    I have added reference to the common project from the client and server projects to use the interfaces.
    With the above mentioned in place, when I run the server project, the registry binding of the server objects is very fine. But I am getting error in the applet at the line where I am passing the client object to the method provided by the server interface. The following is the code snippet in the applet where I am getting the error.
    specifically the line: String response = objs.login(userId, password, smsClient);     ====================
    public void login() {
                Registry reg = null;
                String userId = "test";
                String password = "test";
                this.smsClient = new StockMSClient();
                try {
         reg = LocateRegistry.getRegistry(rmiHost,rmiPort);
                          UserInterface obj = (UserInterface) reg.lookup(rmiStrings
                                                                                                                        [1]);
         User u = obj.find(userId);
         if (u == null) {
              System.out.println("This user is not valid");
         } else {
                         UnicastRemoteObject.exportObject(smsClient);
         reg = LocateRegistry.getRegistry(rmiHost, rmiPort);
         LoginLogoutInterface objs = (LoginLogoutInterface) reg
                                   .lookup(rmiStrings[0]);
                        //getting error at the following line.
                        String response = objs.login(userId, password, smsClient);     
                         System.out.println("response :" + response);
               } catch (AccessException ae) {
                       System.out.println(ae);
               } catch (NotBoundException nbe) {
                      System.out.println(nbe);
               } catch (RemoteException re) {
                      System.out.println(re);
    } //end login()====================
    Error is:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: sms.rmi.graphics.StockMSClient_Stub (no security manager: RMI class loader disabled)================
    I don't know why this is happening..Please help.
    thanks & regards, js
    Message was edited by:
    jsitaraman

  • I am john and I need help downloading a progmmme yesterday and wanted to finish downloading open it and I am not told me that the program was shut down unexpectedly and restart ponia not opened and went back to download it and not opened my back probe to

    i am john and I need help downloading a progmmme yesterday and wanted to finish downloading open it and I am not told me that the program was shut down unexpectedly and restart ponia not opened and went back to download it and not opened my back probe to turn off the computer and there was no case

    i am john and I need your help yesterday bought a program called DJAY when I finish the download and got an error opened and I saw him there was no case to install and thank you for your help anyway

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

  • HT1296 Help! I failed to back up the data on my iphone 4 16gb using iTunes Version 11.01. The error message read that the back up was corrupt. I am suppose to delete the back up. Can someone help me? I urgently need to back up the data!:\

    Hi guys!
    I really need help. I tried to back up the data on my iphone 4 on the iTunes version 11.01 but failed.
    The error message read : the backup was corrupt or not compatible with iPhone. can anyone advise me on this,
    as I urgently need to back up my phone in anticipation for my iPhone 5.
    Greatly appreciated!

    this usally happens when the backup you tool was from an old ios version. Two options that you can try is
    1.  Delete the back up by going to edit> preferences> devices & delete back up on itunes & try backing up again
    2.  Update the ios software of the iphone4 & then take a back up. then try restoring
    Taz

  • How can I transfer data (iTunes/iPhoto) MacBook Pro (Late 2011) to my brand new iMac 27" - Apple Support couldn't help me and did not make the promised call-back

    I have a late 2011 MacBook Pro 13" and bought a brand new iMac 27" last week.
    I tried to transfer data (musdic & photos) via Thunderbolt, but i did not run, my system always
    tries to transfer data via WLAN, but that would last more than 80 hours.
    I tried to get some help from the Apple Support, but unfortunately they couldn't help me.
    A promised call-back from the next higher support-level has not been done.
    Does anybody know what the problem might be.
    The Thunderbolt-cable is brand new.

    Instead of using Migration Assistant, the best way is to use the Target Disk Mode, so you will save headaches (Migration Assistant creates a new user with the transferred data).
    To do this, just connect both Macs with the Thunderbolt cable, and then, start the MacBook Pro holding the T key, so a Thunderbolt or FireWire icon should appear on the display. After that, go to the iMac, open Finder, and the hard drive of the MacBook Pro will appear on the Finder sidebar as an external drive, under "Devices". Just access to it, go to the folders with your iTunes and iPhoto libraries, and copy them to the iMac

  • "Call back" dial up internet? Help!

    Hello and help! I'm in Ukraine trying to use dial up internet in my apartment. Dial up in Ukraine is done by buying a card that provides you with a pin code that you use to make an account with a third party provider. The time you spend on the itnernet is "pre paid" in essence and when you run out of time
    you buy a new card and scratch off a new code.
    There are two ways to connect. The first is to dial straight into their server from your computer/phone line (which means you have to pay for the phone time since you're the one who dialed out and this can get expensive). The second option is called "call back." "Call back" meands my computer dials the company then the company dials me right back with an internet connection that I start using. I have been trying to get call back set up for days and
    have not succeeded. HELP!
    The name of the service I am using is called Superweb (ww.superweb.com.ua/eng). I am trying to dial the 251 1212 number. I am using pulse setting. The error message I'm getting is "Could not negotiate a connection with the remote PPP server. Please verify your settings and try again."
    The directions which the company normall gives to PC users are to go into "network" settings, go to "advanced", then "dial up preferences," check off "callback" and then type in the number (not sure if they mean the number I'm calling 215 1212 or my land line number but easy enough to try both).
    Please, please help me solve this. Where is the call back option on a mac?
    Thanks. I can't wait to hear from you.
    More technical details: I have the first generation of the white 12 inch iBooks. I am running Tiger (no updates just original version).

    hi ,
    access the setup page of the router using http://192.168.1.1 "admin" is the password....go to the wireless section and then to advanced wireless settings.....
    turn "off" the AP isolation...reduce the Beacon interval to 50 and reduc the RTS and fragmentation threshold by 40 each....
    let me know if this works.

  • Can apple help me find my iPod touch 5g??? I have already reported it to the police and they haven't called back, i also have the find my iPhone app in it but I don't have the location thingy turned on so what else can I do to locate it pleazz help

    Can apple help me find my iPod touch 5g??? I have already reported it to the police and they haven't called back, i also have the find my iPhone app in it but I don't have the location thingy turned on so what else can I do to locate it pleazz help this iPod is relly valuable to me I had gotten it for Christmas and now I proved that I can't be trusted with it HELP :c

    Police don't "track down" lost items, per se. They'll keep your information on file in the event that someone finds your iPod and turns it in. Otherwise, there's nothing the police can or will do in regards to finding lost property.
    Sorry, but your iPod is most likely gone for good.
    Regards.

  • Need urgent help! - I accidentally sycn my friend's iphone account to my company's phone. I could not swich back to my own icloud account because of the icloud password i enter was incorrect. My friend does not use this icloud account since age.

    Need urgent help! - I accidentally sync my friend's iphone account to my company's iphone. I could not switch back to my own icloud account because of the icloud password i enter was incorrect. My friend does not use this icloud account since age only remember 1 password which i already try but iphone shown that " incorrect password" I checked on icloud ID and try to log in but it shown as " You Apple ID was disable for security reason. To enable your account must reset password" but so bad again, the email address that he used to create icloud ID also lock for security reason. May Apple Supporter please help reset it ASAP? I can verify that I am the iphone's owner, as it belong to company's phone.

    Have your company IT department get proof that the company was the
    original purchaser of the iPhone and visit a physical Apple store with
    proof of original purchase, proof that person is company representative,
    and the iPhone - Apple may be able to help. If no physical Apple store,
    contact Apple - you will still need the same items of proof.

  • Courtest Call Back Query HELP!!!!

    My name is Michael Love,  I am having issues getting counts for Courtest Call Back.  I need help building a query to get a count of all customers that Accepted Courtesy Call Back. I am also trying to fine out (of those that accepted Courtest Call Back) how many of them completed the process by connecting to a rep.
    I need distinct counts...

    Michael,
    How this might be accomplished varies quite significantly based on how the queue call back was programmed and other parameters of scripts in your call center.
    The most concrete way would be to have your script write to a database when a callback is requested, and update that record when a rep is successfully connected via the Connect step. From there you could program a quick web interface or otherwise to provide you that information.
    Regards,
    Tanner Ezell
    www.ctilogic.com

  • I want to restore my iPhone.if I create a back up before restoring so will restoring from back up bring back my contacts after restoring.urgent help please

    I want to restore my iPhone.if I create a back up before restoring so will restoring from back up bring back my contacts after restoring.urgent help please

    Happy for you!

  • Urgent help needed BARS

    Guys i have a v simple question but i cnat get my head around it.....i have a running environment (cluster) of call managers....now i want to relplicate it in my lab same topology....now i m using BARS as well....i have already build the call managers (in lab)...now i dont remenber the SQL passwords or other passwords for the live CCM cluster....now if i take a back up and put it in the lab will it work??? or the the passwords have to be same on lab to th elive environment......guys urgent help is needed.....reagrds

    You can restore the node in the lab with the tar file you got from the back up. The restore will override the passwords and assign the ones taken from the back up. I hope that helps!

  • How to call back to C via JNI in Java started from C?

    Hi!
    This problem might seem outlandish, but I have not been able to find any other method to reach my goal. The situation is the following.
    There is a C++ program I intend to interface with a piece of Java code, called the manager. The C++ code invokes a VM, starts a Java glue code, that connects to the manager via RMI. This works fine. The glue code, however, can be called from the manager, via RMI as well. The problem is, that these calls should in turn call functions in the C++ code, that originally started the Java glue code. JNI can only load a library, but this is not what I want to do now. I want to somehow connect back to the C code that started the Java code. Is this possible at all?
    Thanks for your help,
    Ambrus

    What you want to do is not too tough, but there will be some details to be worked through. In particular, you have to figure out how to make your "callback" get from your "glue" code back into your C++.
    1. Calling back out is from java to C is pretty easy. There is a JNI function for registering a native method with the JVM. Here is an example of the registration code:
    // See if the service interface class is known.
    javaClass = javaEnv->FindClass("JavaInterfaceObject");
    if (javaClass != 0) {
    //Register a native method to place java server messages in the service log.
    // Define the service logger native method.
    JNINativeMethod methods[] = {
    {"addToMessageLog", "(Ljava/lang/String;)V", Java_addToMessageLog}
    // Register the method with the jvm.
    javaEnv->RegisterNatives(javaClass, methods, 1);
         javaEnv->ExceptionClear();     // Just in case not found.
         return TRUE;
    2. You have to define the native method:
    * Native method - callback to place java server messages in the service log.
    JNIEXPORT void JNICALL Server::Java_addToMessageLog(JNIEnv * javaEnv, jclass javaClass, jstring javaMsg) {
         jboolean     isCopy;
         const char* msg = javaEnv->GetStringUTFChars(javaMsg, &isCopy);
         Server::theServer->logger->addToMessageLog((char*)msg);
         if (isCopy)
              javaEnv->ReleaseStringUTFChars(javaMsg, msg);
    3. The real headache is that this is C code, not C++. In other words, if you really need to call into C++, then you need to seed your callback so that it has a pointer to the appropriate C++ object.

Maybe you are looking for

  • Background processing in Flex

    I have two questions here. But, I guess they both are related 1. I have a calendar application, where I display set of events based on time for a day. I need to start a background process to check if any of the events are scheduled for the next half

  • Issue in downloading the file to application server (background)

    i am downloading the PIR records to the application server. the program is running fine . i m using background coz i m downloading large no of records (>5000) my actually target is 28000 records.  we are spliting it up into atleast 7000 records at a

  • Reader 9.3 problem

    I too have been unable to load adobe reader.   Adobe reader 9 worked fine.  I followed recommendations and installed 9.3 upgrade.  Now the program will not load and I cannot open any documents.  Error message says encountered a problem and need to cl

  • Problem in BDC for TCode S_ALR_87013620

    Hi Gurus, I have recorded the BDC for TCode S_ALR_87013620. Executed the report S_ALR_87013620 by providing necessary details. Displays the report and then clicked on Report-> Print -> PrinterNa But when I execute through program it does not work. UN

  • SAP Cloud For Customer : How to change the Logo or Image into the Standard Form Template

    Hi Experts, I have requirement to change the standard template format. I have copy standard template and edit using Adobe Life Cycle Designer to change the logo / image. After changed and upload modified template and change the output setting for pri