Client Call back and socket permissions

Hi,
Im thinking of a client call back from the server. I dont know much about the RMI under a firewall.
Do I need to make an entry in the firewall proxy server so that the RMI Server make a call back to the client?
Or the client can directly call a server behind a fire wall and a server can make a client which is behind a fire wall too.
Any suggestions, please let me know.
Thanks,
ananth

Servers cannot "call back" to clients behind firewalls. Period.
Clients can call servers behind firewalls, but you will probably have to provide a custom socket factory so that a fixed port - rather than a random port - is used for remote method calls.

Similar Messages

  • Client Call Back support

    I'm doing some research and it wasn't clear to me in the
    documentation I came across how Developer (Forms) Server
    supports client-side callbacks when a client-side firewall is in
    place. Can anyone offer some insight here?
    Thanks!
    null

    Servers cannot "call back" to clients behind firewalls. Period.
    Clients can call servers behind firewalls, but you will probably have to provide a custom socket factory so that a fixed port - rather than a random port - is used for remote method calls.

  • How to use call back and user session id based conversation with web service in weblogic 6.1 sp2 ?????????

    Hi, every one:
    Here's my question of my day - >>>
    I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K, and
    I got a web service up and running called Price Update web service through
    which user can pick up a price and push a deal to another web service
    called: deal service, the deal service will take the user deal and book the
    deal ( sending a JMS message to a Queue, a MD will pick up and do the work,
    then send the confirmation to another JMS Queue ), then the confirmation
    will be picked up and sent to another web service , called: User Deal
    Confirmation Service, here's the question:
    1. Since the client application is only allowed to see its own confirmed
    deals, how I can make the confirmed deal encrypted based on a server
    generated key or the session id that client application provides
    2. Now, I have 3 webservices: update, deal and confirm, each of them has a
    client.jar file available - from the client application point of view, do I
    need all these 3 client.jar, or I just need one of them ?????
    3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
    beta, you can do this easily in the workshop, in the second question above,
    I think I need some how relate the confirmation to the client conversation
    id ??
    thanks a lot for the input, have a nice day.
    regards,
    mark.

    Any comments ?
    mark
    "markhu" <[email protected]> wrote in message
    news:[email protected]..
    Hi, every one:
    Here's my question of my day - >>>
    I am using weblogic 6.1 SP2 right now - running on Unix and Win 2K,and
    I got a web service up and running called Price Update web service through
    which user can pick up a price and push a deal to another web service
    called: deal service, the deal service will take the user deal and bookthe
    deal ( sending a JMS message to a Queue, a MD will pick up and do thework,
    then send the confirmation to another JMS Queue ), then the confirmation
    will be picked up and sent to another web service , called: User Deal
    Confirmation Service, here's the question:
    1. Since the client application is only allowed to see its own confirmed
    deals, how I can make the confirmed deal encrypted based on a server
    generated key or the session id that client application provides
    2. Now, I have 3 webservices: update, deal and confirm, each of them has a
    client.jar file available - from the client application point of view, doI
    need all these 3 client.jar, or I just need one of them ?????
    3. How can I use web service call back in wls 6.1 sp2 ?????? - in the 7.0
    beta, you can do this easily in the workshop, in the second questionabove,
    I think I need some how relate the confirmation to the client conversation
    id ??
    thanks a lot for the input, have a nice day.
    regards,
    mark.

  • Issue with Task Control Call back and Event Choice in WLI BPM 8.1

    Hi,
    I am using a Task Control Factory to create Task Control Instances in a loop
    and then
    create tasks and assign them to a predefined group. I have an event choice
    for two events
    waiting for the onTaskCompleted and onTaskAborted event call backs.
    I have two such operations (of task creation) in the same loop. For
    simplicity I have used two separate task factory controls for each of the
    tasks (because I even had worse problems using a single control factory for
    both tasks in the same loop).
    When I instantiate the process, through work list I am able to claim, start
    and complete the first task. When I try the same procedure (claim, start and
    complete) on the second task, the the event choice for the corresponding
    task receives 2 event call backs. First it receives the onTaskCompleted as
    expected, but then it also received another call back of the same type which
    displays the error on the server log as:
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <on process
    completion, 1 undelivered messages to
    'sampleRequestTaskFactoryCtrl_onTaskCompleted'>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <A message was unable
    to be delivered from a WLW Message Queue. Attempting to deliver the
    onAsyncFailure event>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    Does anybody know why two events are fired for the same work list action?
    Thanks in advance.
    Henry M

    Henry,
    Please post this question on the weblogic.developer.interest.integration
    newsgroup.
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Henry Mugasha" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I am using a Task Control Factory to create Task Control Instances in aloop
    and then
    create tasks and assign them to a predefined group. I have an event choice
    for two events
    waiting for the onTaskCompleted and onTaskAborted event call backs.
    I have two such operations (of task creation) in the same loop. For
    simplicity I have used two separate task factory controls for each of the
    tasks (because I even had worse problems using a single control factoryfor
    both tasks in the same loop).
    When I instantiate the process, through work list I am able to claim,start
    and complete the first task. When I try the same procedure (claim, startand
    complete) on the second task, the the event choice for the corresponding
    task receives 2 event call backs. First it receives the onTaskCompleted as
    expected, but then it also received another call back of the same typewhich
    displays the error on the server log as:
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <on process
    completion, 1 undelivered messages to
    'sampleRequestTaskFactoryCtrl_onTaskCompleted'>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <A message wasunable
    to be delivered from a WLW Message Queue. Attempting to deliver the
    onAsyncFailure event>
    <Sep 24, 2003 9:43:56 AM EDT> <Warning> <WLW> <000000> <ejbLoad:
    Conversation 1064411008439:null not found>
    Does anybody know why two events are fired for the same work list action?
    Thanks in advance.
    Henry M

  • ITunes Match Skipping for months. 2 seperate apple staff promise to call back and never do!

    Dear all,
    I loved iTunes match for almost a couple of years. However for the last 3 months or so what ever songs I add to my iTunes library on my iMac and then send to iTunes match will not play on either my iPhone, or iPad. I am extremely annoyed about the whole thing as I have phoned Apple technical support on 2 separate occasions and gone through all the usual try this and try that. I have even restored my iPhone and iPad but still it does not work. Strangely all songs work fine on my Apple TV's and my iTunes library on my iMac.
    What annoys more than it not working is the fact that I have had 2 members of staff promise to look into it and call me back, they never do! I have had a direct email for the 2nd member of staff and even had a few replies from him arranging a suitable time to call but he didn't. I then tried to email him the other day to find that the email got an automated reply saying no such address. I can only assume the member of staff in question has left?
    PLEASE PLEASE PLEASE someone help. Apple staff - do you read these posts? If so SOMEONE CALL ME BACK!
    For the record all devices are up to date. I even upgraded to ios8 and have even bought an iPhone 6 but the problem still occurs.
    I love Apple and their products but this is a complete shambles. 3 months of a service I cannot use and my subscription is about to renew. I am a music teacher so this feature used to be great. I think I will not be using this anymore unless it gets fixed asap?
    Can Apple wipe the iTunes Match data for my account so I start again and upload my library as if all brand new?
    Moan over I await a response but I won't hold my breath.

    I have probably spent 15 hours over 3 months trying to solve this problem.......to no avail.

  • Facetime randomly goes black and then exits.... hangs up on call backs

    try to call back and exits on "connecting". i have to restart the ipad in order to fix it only to have it do it again after awhile.
    using an iPad2 on iOS 5 (this is happening to my girlfriends ipad2 also)
    any help would be great

    Your describing what is likely a monitor issue, the GPU on the logic board usually wont manifest such symptoms.  However there still can be a power fault on the logic board to the monitor
    Contact Apple for appt. to drop your Air off for in shop diagnosis and possible repair.

  • Stateless Bean - scope of instance variable in EJB Timer call back function

    Hi,
    I would like to know on the scope of an instance variable of a Stateless Bean object,
    when used in a EJB Timer call back.Let me explain this in more detail below.
    I have a requirement to use a EJB Timer.
    For this, I have created a stateless object since Timer creation needs to be done
    from a stateless bean. I have a member variable "count" of the stateless bean class.
    In the timer call back(ejbTimeout), I am able to use this count variable during
    each time of the call back, and the value of this variable is also updated properly.
    I have a few queries with respect to the above behaviour:
    1) Does stateless bean object not get destroyed once the Timer is created from the Bean?
    2) If the Bean object is not destroyed, then when does the bean object get destroyed?
    3) If both (1) and (2) are not true, then can anyone explain on how the above behaviour is possible?
    Thanks in advance,
    Ulrich

    Hi Ulrich,
    The ejb timer is associated with the stateless session bean component, not with a particular bean instance. There is no formal relationship between the bean instance that called createTimer() and the bean instance on which the timer callback happens. If they're the same in your test run that's just a coincidence and not something your application should be depending on.
    In the stateless session bean model, the container can create and destroy stateless session bean instances at any time. The container is free to pick any stateless session bean instance to service any client invocation or timer callback. If you need to pass context into a timer callback, one way to do it is via the timer "info" object. However, the info object is immutable so it wouldn't be a good match for a counter. You could of course always just use a database for any necessary coordinated state.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • IVR Unity Call Back??

    I'm quite new to using unity and IVR so sorry if this is a stupid question. I have a group of users who have asked If a client called and no free agent is avaliable or busy that the IVR will prompt the agent if they would like a call back. Then callcenter should automatically do call back for these clients (who select call back) but when agents become free. Is it possible and how?
    Thanks

    Where does Unity fit into IVR, scripted call backs, and etc?  Is this a CUE deployment?  What type of setup do you have going?

  • Calling back with empty distribution points list

    Hello
    We are running sccm 2012 R2 cu0 and encounter a strange behavior regarding users not able to use the software catalog.
    Some background :
    We setup primary site and 3 DPs while running sccm 2012 sp1, then upgrade ro R2, then cu0
    then we setup 10 DPs and start deploying clients.
    All Clients looks well configured using the "Configuration Manager". All packages are replicated onto those DPs (except ms updates so far)
    Clients that are assigned to boundaries linked to the 3 DP made while running sccm 2012 sp1 are running smoothly. They can use the apllication catalog
    The one that are assigned to site where dp have been build with R2 cu0 can't use catalog.
    They all got this message in the :
    LocationService.log on the clients
    Calling back with empty distribution points list LocationServices 11/12/2013 12:27:05 78432 (0x13260)
    Current AD site of machine is NO LocationServices 11/12/2013 12:27:06 78432 (0x13260)
    ContentTransfertManager.log
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {25A6CF0B-19F6-4B2F-A639-5F6F225D47E6} ContentTransferManager 11/12/2013 13:27:14 81400 (0x13DF8)
    CTM job {25A6CF0B-19F6-4B2F-A639-5F6F225D47E6} suspended ContentTransferManager 11/12/2013 13:27:14 81400 (0x13DF8)
    Ad schema is ok, boundaries and boundary groups also.
    I compare new DP vs "old" ones and there is no difference in the configuration.
    I looked at some logs but didn't found any relevant information.
    I also read all similar post but none looks "similar" to our configuration
    If someone can "guide" me to troubleshoot this, it will be appreciate.
    Feel free to ask for any information
    Thanks

    Hi,
    Could you please use IP ranges instead of your boundary to test whether
    the clients could get DPs?
    If this could work, there should be a problem with the boundary of AD sites.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HT5035 I had a balance of $5.30 on my account. It disappeared when I added a $25 gift card. I have tried to get this issue resolved thru email. I need a call back. Where do I look to get a call back number for this issue

    I have already contacted apple thru email, twice. I don't see that they have an option for a call back for a missing iTunes balance, I did however see where I could get a call back(and did) for not being able to sign in on another device to make a purchase. This problem was resolved quickly for this device. I told this rep about the unresolved problem of the missing iTunes balance and he said he could transfer me but the wait times are very long. In my 2 email correspondences on this missing balance issue both times I was told to check my balance history- which does not resolve the issue that I am having to go thru a huge hassle to get my missing balance back prior to my card purchase. I had a balance of $5.86 show on my ipad2 and on my Mac book pro prior to applying the $25 gift card. Then the balance showed only $25 after apply my gift card, now here's what's weird: aprox. A week and a half later I sign in on my iPod touch and shows a balance of $5.30!, but when it has me resign into iTunes that balance disappeared, and the $25 gift card balance shows up. I made NO PURCHASES to use the $5.86/ or $5.30- so I want my money to equal $30.30/ or $30.86 as it should, and I want to not go thru so much to take care of it. To just hope Apple would have a call back option for this type of issue. I won't be buying iTunes gift cards or purchasing thru iTunes if my balance disappears when I do so.

    When you tried to contact Support with the card's images how were you trying to do it, on your phone or a browser on your computer ? And have you tried a different browser to see if you get the same error message ?
    As well as images of the card they might also want an image of its receipt.
    And to contact Support you were using : http://www.apple.com/support/itunes/contact/ , and clicked on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes ?

  • For all those who say Verizon never calls back.

    I tried to activate a STB last night that was picked up at a store just before closing. The box would not activate, even after the Cable CARD did an automatic firmware update. I contacted Customer Support and the box still would not activate because of some type of pending order on my account. Normal tech support agents cannot access accounts, for the customers protection, and theirs.
    I was told that I would receive a return call within one to two hours. WOW! Within 15 minutes a supervisor called back and said the issue was resolved with the pending order for some type of future activation. Glitch? But the Supervisor had the box up and running within 30 minutes, and staid on the phone with me until I could go upstairs and Verify the proper operation.
    Kudos to Verizon and their Fiber Solutions Center CSRs!

    that would explain why I never get a call back - my guy was busy calling you

  • Someone called me and didn't get my voicemail

    I know that my voicemail is set up, has been for years. And if it isn't the caller gets a message that either it's not set up or the account is full. But I had someone tell me that they called me and there was nothing. Is this something that could have been cause by me picking up the phone call at just the right point and a switching error happening? Because I remember picking up a phone call and no one being on the other side.

    The person that called probably hung up just as you answered. The phone wasn't ringing long enough to go to voice mail and that number gets registered on your missed call log.  Since you said that your voice mail has been set up for a long time. it's probably working fine. Have that person call back and leave a voice mail and see what happens.  If it works, nothing to worry about.

  • 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

  • Re: Forte and OrbixWeb call-back

    We have created a business process manager (BPM) layer between our client GUI
    and business model objects that supports Java call-in/call-out. This enables
    switching out the Forte windows with Java windows for a web solution with
    minimal code re-write.
    We were able to get most functionality to work as per our design, which
    included registering a call back function from a Java GUI in the BPM, but had
    to make some sacrifices due to a Forte bug, at least under 3.0.D. We turned
    in case #38434, detailing errors when we tried to fire a callback method with
    parameters, example below ("callback" was the Java object passed in.)
    method TestIIOPBackend.FireCallback(input message: Framework.string)
    begin
    if callback != nil then
    task.part.logmgr.putline('Firing callback');
    //WORKS
    callback.CallMe();
    //ERROR!
    callback.CallMeString(message);
    else
    task.part.logmgr.putline('Callback not set');
    end if;
    end method;
    This may have been fixed in 3.0.F, we found a way to work around it in our
    design and haven't investigated since.
    -DFR
    Ngai* Stuart <[email protected]> on 01/20/98 09:14:28 AM
    To: '[email protected]' <[email protected]> @ INTERNET
    cc:
    Subject: Forte and OrbixWeb call-back
    Has anyone actually tried the tech note 11153 "Java call-in/call-out and
    Forte
    Anchored Objects"? I'm trying to verify the callback mechanism from
    Forte to
    an IIOP Java client. Thanks.
    <<< Stuart Ngai (416)359-4306 [email protected] >>>
    ------ Message Header Follows ------
    Received: from pebble.SageIT.com by notes.bsginc.com
    (PostalUnion/SMTP(tm) v2.1.9c for Windows NT(tm))
    id AA-1998Jan20.101336.1771.787915; Tue, 20 Jan 1998 10:13:36 -0600
    Received: (from sync@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03868
    for forte-users-outgoing; Tue, 20 Jan 1998 07:25:41 -0800
    Received: (from uucp@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03862
    for <[email protected]>; Tue, 20 Jan 1998 07:25:39 -0800
    Received: from keeper.nesbittburns.ca(192.139.71.50) by pebble.sagesoln.com via
    smap (V2.0)
    id xma003860; Tue, 20 Jan 98 07:25:19 -0800
    Received: from NesbittBurns.ca (tds223.nesbittburns.ca) by
    keeper.NesbittBurns.ca (4.1/SMI-4.1)
    id AA22591; Tue, 20 Jan 98 10:23:47 EST
    Received: from nbtormail02.nesbittburns.ca by NesbittBurns.ca (5.x/SMI-SVR4)
    id AA12961; Tue, 20 Jan 1998 10:26:54 -0500
    Received: by nbtormail02.nesbittburns.ca with SMTP (Microsoft Exchange Server
    Internet Mail Connector Version 4.0.995.52)
    id <[email protected]>; Tue, 20 Jan 1998
    10:27:52
    -0500
    Message-Id:
    <c=CA%a=_%p=Nesbitt_Burns_In%[email protected]>
    From: "Ngai, Stuart" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    Subject: Forte and OrbixWeb call-back
    Date: Tue, 20 Jan 1998 10:27:39 -0500
    X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
    Mime-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    Sender: [email protected]
    Precedence: bulk
    Reply-To: "Ngai, Stuart" <[email protected]>

    Peggy,
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?As log as you are using Win95 or NT you should not be concerned about WIN-resources. Memory depends more on what your 2 tier PB application requires than what your Fort&eacute; would require.
    Cheers,
    Troels
    Lindhard Fort&eacute; Solutions
    -----Original Message-----
    From: Peggy Lynn Adrian [SMTP:[email protected]]
    Sent: Thursday, January 15, 1998 10:31 PM
    To: [email protected]
    Subject: Forte and Powerbuilder Experience Needed
    I sent this query to Forte support but maybe someone out there can help me
    with practical experience
    with the following?
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 01/15/98 04:30
    PM ---------------------------
    Peggy Lynn Adrian
    01/14/98 03:55 PM
    To: [email protected]
    cc: Peggy Lynn Adrian/AM/LLY@Lilly
    Subject: Forte and Powerbuilder Experience Needed
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?
    2) Can PowerBuilder and Forte' applications call and interact with one
    another?
    The Forte' application will need to interact with the PowerBuilder application
    to pull out information maintained by the PB application.

  • My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    The amount of storage that is shown on the box and in Settings are calculated differently - the package uses 1 billion bytes as a gig (i.e. decimal), whereas in Settings it's shown as the binary definition : http://support.apple.com/kb/TS2419
    Also some space has been used for iOS, the built-in app and some space is lost due to formatting.

Maybe you are looking for