Broadcast message to all active sessions

All,
We have regular nightly restarts for our BO Enterprise ( SIA and tomcat) XI 3.1 SP2 - and it unfortunately is rather abrupt and some-times some users who are working late end up losing some of their work.
I was wondering if there is a way to broadcast a warning message to all active infoview sessions before the system goes down? Can anyone suggest some ideas on how this can be done?
Regards

Hi,
There's no way within the BOE system that I can think of, but here's a possibility.
All actions essentially go through your application server so you could parse the last 30 or so minutes of the application servers access logs to get the IP addresses of the clients.  From there, you could use a net send or some other kind of utility to let those users know that the system is going offline.
either that or your application server may have a way of sending a message to the client browsers that have open sessions.
Thanks
Jonathan

Similar Messages

  • I want to get List of all active sessions in current system

    Hi experts
    How to get list of all active sessions in current system in any internal table along with details.
    A sample code wud be helpful
    Thanks in advance.

    try this code it might help u.
    Below report execution gets the active Session list to ABAP memory
    submit rsm04000_alv and return exporting list to memory.
    refresh: gt_listobj.
    Below FM get the List output from ABAP memory to gt_listobj in HEX
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = gt_listobj
      exceptions
        not_found  = 1
        others     = 2.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This FM converts ITAB gt_listobj from HEX to ASCII
    call function 'LIST_TO_ASCI'
      tables
        listasci           = it_list
        listobject         = gt_listobj
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This Shows the output in List format on screen
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
       i_structure_name                  = 'line'
      tables
        t_outtab                          = it_list
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0. " Executed successfully ?
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • Sending a broadcast message to all the systems in the LAN

    Hi,
    I am having a standalone java application [client/server]. My application server is running on some system in the LAN.
    How can i identify that server ip in my client program?
    Is there any possibility for sending broadcast messages to all the other systems on a specific port?
    Thanks,
    Gupta.

    Is there any possibility for sending broadcast messages to all the other systems on a specific port?If you have more than one router/hub these will need to be setup to allow this traffic.

  • How to get all active session id's

    hai,
    i am new to servlet. i am tring to find out all active session id's for security perpose.
    and also i want to deactive a perticular session using that session id.
    but i don't know how to do. please help me.
    thanks in advance.

    Well to me.. I wud like to write a Listener class implementing HttpSessionListener in the following way....
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpSessionListener;
    import javax.servlet.http.HttpSessionEvent;
    import java.util.HashMap;
    public class SessionHandler implements HttpSessionListener{
    public static HashMap<String,HttpSession> SessionsMap = new HashMap<String,HttpSession>();
    public void sessionCreated(HttpSessionEvent se) {
    SessionsMap.put(se.getSession().getId(),se.getSession());
    public void sessionDestroyed(HttpSessionEvent se) {
    SessionMap.remove(se.getSession().getId());
    public static invalidateSession(String SessionId){
    HttpSession session =  SessionsMap.get(SessionId);
    SessionMap.remove(SessionId);
    session.invalidate();
    }Note:I'm assuming tht you are running the code on Jdk/jre 1.5+
    However, i think its more of core way of implementing this specially usage of static members howevr @ the given situation can very well cater your resources.added to it you add ActivationListener depending on your requirement.
    Hope this might help :)
    REGARDS,
    RaHuL

  • Broadcast message to all online users

    Is it possible to write a program/script that will send a broadcast message to all users currently connected to an Instant Messaging server? (including those that are logged-in with the Java IM Client, XMPP client, and/or Convergence) I have looked through all of the documentation and I did not see mention of this anywhere. I am running the following on RHEL5.4:
    Detecting Installed Products...
    Detecting Installed Patches...
    ALTROOT: /
      NAME: ""
      Product: Instant Messaging 8u2
               Version: 8.2-02.04
               Basedir: /opt/sun/comms/im
               Build Date: 20090903Thanks,
    Jim

    shjorth wrote:
    jbuitt wrote:
    Is it possible to write a program/script that will send a broadcast message to all users currently connected to an Instant Messaging server? (including those that are logged-in with the Java IM Client, XMPP client, and/or Convergence) I have looked through all of the documentation and I did not see mention of this anywhere. Theoretically you should be able to use a combination of a dynamic group, the Java IM client Alert functionality to send a message to all users.
    => Alert ACL
    http://docs.sun.com/app/docs/doc/819-4412/achdu?a=view
    => Enabling Dynamic Groups
    http://docs.sun.com/app/docs/doc/819-2503/6n4po7r3u?a=view
    However it appears Convergence ignores the Alert messages -- although they do show up in the Java IM client and XMPP clients (Pidgin 2.5.5). I've logged a new bug for Convergence:
    bug #6906237 - "Java IM client alert messages do not display in Convergence"
    That being said the Convergence user did receive an email with the Alert contents.
    Regards,
    Shane.Thanks for the information! I will try it out when I get a chance.
    Jim

  • Count all active Session

    Hey all,
    I want to know how many users are on my site. So I tryed so count all activ session:
    int countActiveSessions = FacesContext.getCurrentInstance().
              getExternalContext().getSessionMap().size();But it returns allways 0. Is the method false or how can I count all sessions?
    Thanks for help

    You are OT. Your question concertn much more servlet than JavaServer Faces.
    Anyway sessionMap is not the map of all sessions. It is the map of your own session. With a session map you can retrieve the session attributes.
    Look there if you want count the active sessions:
    http://www.java.happycodings.com/Java_Servlets/code10.html

  • Broadcast message to all contacts

    How to broadcast message to all the contacts via sms?

    Hi
    The link below was the only information I could find that made sense.
    http://supportforums.blackberry.com/t5/BlackBerry-Enterprise-Server/Error-1330/td-p/634913
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Cant Broadcast message to all users from sm02

    HI
    we have a Nw04s machine with Windows 2003OS installed on it and i am not able to send the message from Sm02.
    When i open the tcode sm02 and whn i click create message i can see "system message text server name,client ,language then i create and click ok it is taking me to Sbwp tcode where i have to give the addresses.
    I am able to send only by giving userid.Is there any way i can broadcast the message to all the users in the R/3.

    SM02 is a standard transaction to create messages for all users. I have tried it on a NW04s on win2003 and it works fine.
    You need to check your authorizations or get someone from Basis team to show you how its done.
    cheers,
    Nisch

  • Broadcast Message to All Phones

    Hi
    I am wanting to develop a solution to send a message to all IP phones or a selection of IP Phones.
    I do not want to use a 3rd party product - I want to write the code myself in c#
    I have downloaded the SDK and have the Push2Phone ASP scripts working.
    I can send text from a C# web application to a particular IP Address by using the Execute Method.
    Is using the Push2Phone example the only method to send to multiple phones?
    Create a queue and send to each IP address one after the other an execute command?
    Is there a broadcast method to send to all phones? How do you configure this?
    The PushToPhone uses the execute method. Is this the correct method one would use to send to 200 phones?
    Where is the best documentation for doing what I want. I have done a lot of searching but since I am new to this technology I keep finding information that is not quite relevant to my task. ( a url please ).
    I hope someone can answer one or more of my questions.
    Cheers
    Chris

    >Create a queue and send to each IP address one after >the other an execute command?
    Yes, that's the way to go. Well, I'd use either a threadpool and send a bunch of requests simultaneously (with authentication, it can take a while before you get a response).
    Also keep in mind to use your own authentication page to reduce the load on your CCM and speed up the process.
    There is no broadcast message so you have to get all devices via DeviceListX.asp (CCM 3/4.x) or AXL Serviceability (CCM 5.x)

  • Possible to sign out of all active sessions?

    Is it possible to see what sessions are 'active' and sign out of them centrally from your online account. 
    I am sure I have signed out of my PC, Ipad and phone however people can still see me online, and with an old status from months ago. 
    thanks
    Solved!
    Go to Solution.

    stix wrote:
    Is it possible to see what sessions are 'active' and sign out of them centrally from your online account. 
    I am sure I have signed out of my PC, Ipad and phone however people can still see me online, and with an old status from months ago. 
    thanks
    unfortunately, such option is not offered yet.
    stix wrote:
    Is it possible to see what sessions are 'active' and sign out of them centrally from your online account. 
    I am sure I have signed out of my PC, Ipad and phone however people can still see me online, and with an old status from months ago. 
    thanks
    in that case case, you just need to change your password so you will be signed out from any computer/device where your account is logged in.
    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

  • All activity prices are manually entered (Message no. KP211  )

    Dear All,
    I have maintained Activity Rates through KP26. On Activity Master I have set Act. price indicator = 5.
    Now when i am executing KSII it is giving me error message as :
    All activity prices are manually entered
    Message no. KP211
    Diagnosis
    All activity prices in controlling area FLGP, fiscal year 2011, and version 0 were determined and set as manually entered prices.
    In actual price calculation, all plan activity prices, meaning those calculated automatically (activity price indicator 1 and 2) and those set manually (activity price indicator 3), are treated as if they have been set manually.
    System Response
    The SAP System cannot calculate activity prices automatically.
    Processing is cancelled.
    Procedure
    Check your activity type planning. To calculate the activity price automatically, you must set the activity price indicator accordingly.
    Proceed
    Please let me know if I need to done any additional settings.
    Br, Vivek Srivastava

    Hi Vivek, 
    "The error message KP211 is display by the system due
    to the SAP System cannot calculate activity prices automatically.
    (can you review the settings in the system).
    The procedure that you have to follow is to review transaction code
    KP26 and your activity types.
    From viewpoint of actual price iteration all plan prices are political
    in the sense that 'prices does not change during actual price
    iteration'.  If all activity types have indicator 1 then everything
    will be evaluated with plan price in actual.  So actual price iteration
    has nothing to compute because no price will be changed.  You have to
    set price indicator to 5 or 6 in actual price indicator for at least
    one activity type in order to calculate the actual activity price.
    When you change some activity type master data in transaction KL02,
    these changes take effect in all relevant tables, BUT please notice
    that the values of TARKZ, TARKZ_I etc. are only DEFAULT values for
    activity planning and therefore ONLY READ ONCE when the relevant
    planning set is created. Subsequent changes to the master data (default
    value) take not effect in the planning sets. You have to change the
    values in every single planning set manually."
    You indicates that for the activity types you have set in the master data
    actual price indicator to 5 (Actual price, automatically based on
    on activity). But this is only a default value and can be overwritten
    for example during planning.
    Please see table COKL for cost center / activity type if have an empty field for
    the actual price indicator. Thus the system only finds the plan price
    indicators during price calculation and message KP 211 is justified if
    you consider the following part of the long text:
    In actual price calculation, all plan activity prices, meaning those
    calculated automatically (activity price indicator 1 and 2) and
    those set manually (activity price indicator 3), are treated as if they
    have been set manually.
    In order to run KSII as expected by you, you have to execute trans.
    KP26 for the cost center and activity type  using layout 1-204
    (Activity Types: Indicators).
    Here you can set the actual price indicator to 5.
    Afterwards there should be no further problem with KSII.
    I hope helps,
    Regards,
    MLM

  • Modifying an "ssl-proxy-list" without disturbing the active sessions.

    Hello,
    I would like to know if it is possible to have two SSL modules installed in a CSS11503 with each one having it's own "ssl-proxy-list" ("ssl-proxy-list list1" and "ssl-proxy-list list2"), but the two lists (list1 and list2) are exactly the same.
    I will explain my idea:
    In normal situation the two "ssl-proxy-list" are active and the user's encrypted sessions are load balanced between the two SSL modules. But when we need to make a change to the "ssl-proxy-list", like changing a server's certificate, I would like to be able to suspend one service (type ssl-accel with the "ssl-proxy-list List1" attached to it for example) and wait for all active sessions to terminate before suspending the "ssl-proxy-list list1" for applying the changes.
    Once the first "ssl-proxy-list" is updated I would make it active again and apply the same changes to the second "ssl-proxy-list".
    Doing this this way I would like to be able to upgrade the servers's certificate during the working houres without disturbing the connected users...
    Do you think this way of doing would be possible, or do you have an other solution to modify a "ssl-proxy-list" without disturbing the active running sessions ?
    Thank you for your answer,
    Best regards

    Hi Francois,
    An SSL proxy list may belong to multiple SSL services (one SSL proxy list per service), and an SSL service may belong to multiple content rules. You can apply the services to content rules that allow the CSS to direct SSL requests for content.
    The CSS supports one active SSL service for each SSL module in the CSS, one SSL service per slot. You can configure more than one SSL service for a slot but only a single SSL service can be active at a time.
    No modifications to an SSL proxy list are permitted on an active list. Suspend the list prior to making changes, and then reactivate the SSL proxy list once the changes are complete. Once you have modified the SSL proxy list, suspend the SSL service, reactivate the SSL proxy list, and then reactivate the SSL service.
    You can use maximum 4 different certificates at a time.
    Use the suspend command to suspend an active SSL proxy list.
    To suspend an active SSL proxy list, enter:
    (config-ssl-proxy-list[ssl_list1])# suspend
    use the url below for your reference:
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v7.10/command/reference/CmdSSLC.html
    Kind regards,
    Sachin Garg
    Senior Specialist Security
    HCL Comnet Ltd.
    http://www.hclcomnet.co.in
    A-10, Sector 3, Noida- 201301
    INDIA
    Mob: +91-9911757733
    Email: [email protected]

  • Would like to send 'admin' message to all user of a forms application...?

    Hello,
    We are in 10g, and I have a specific issue I would like to talk with you...
    I hope I will be clear... and that my termonology is not too bad !
    In unix, it's possible for an administrator to send a message to all Unix sessions..
    So, do you think it would be possible to do a similar functionality on a Forms application?.... so that an admin user could send a message to any user connected to the same form application...
    Thanks a lot for your contribution,
    Olivier

    That functionality is part of the operating system in Unix. I don't think Forms provides for anything like that, unless you set up a timer in each form and check a database value every minute or so. The network might provided for something like that but you would have to check with the network guru's about that.
    NumbNutz

  • How to display active Session ?

    hi,
    i would like to implement for an administrative usage, a jsp page that list all active session. I notice in the J2EE api that there's a HttpSessionListener interfaces wich enables listener to receive notification when creating and deleting session. Is it a good way to implement this functionnality, thanks in advance for your help.
    PS : i am sure, others persons have already implement a solution, perhaps there is a Design Pattern for that.

    Hi ,
    Its really simple....
    See the following code
    public class SessionCounter implements HttpSessionListener {
    int sessionCount = 0;
    public void sessionCreated(HttpSessionEvent evt) {
    sessionCount ++;
    evt.getSession().setAttribute("Count", sessionCount);
    public void sessionDestroyed(HttpSessionEvent evt) {
    sessionCount --;
    evt.getSession().setAttribute("Count", sessionCount);
    now add this Listener to your web.xml
    and you can get it anywhere (in jsp or servlet) using session.getAttribute("Count");
    Is this you want.
    Please let me know.
    cheers
    kuttus

  • Could servlet broadcast message to connected clients

    hi ,
    i am working on applet to servlet environment, i want that when my one client applet update the db on servlet, then servlet broadcast message to all connected applet clients.
    i will be thankful

    Servlets work on a request response process, the only way to broadcast to all clients is for the applet to request any stored messages/broadcasts.
    You can store a Collection of messages at the application scope and allow the applets to query a MessageServlet every x minutes or so and the servlet can respond with any messages left behind.
    You can try keeping a constant connection open between the servlet and applet however it can get messy.
    Another option is to try another java technology like sockets (have a look at some of the chat programs available) or perhaps JavaSpaces may also help you in this respect (but don't quote me on that).
    Anthony

Maybe you are looking for

  • How do I remove all traces of Pocket Cloud from my iMac

    iMac (mid 2007) 3gb RAM, recent installation of Mavericks.  Now runs extremely slow and Activity Monitor indicates that "PocketCloudServices is using huge percentages of CPU and memory. I need to remove the program, but cannot do so. Any ideas?

  • I am replacing my broken MacBook pro, do I need to remove it from iCloud? If so how please

    Hi there, I recently dropped and killed my MacBook pro and have a new one arriving today,   Do I need to remove the old one from iCloud like we used to with sinc?   If so please let me know how. Thanks Jules

  • Design view not displaying

    Hi there I am very new to Dreamweaver working on an existing website. I have one page that is giving me problems.The web page itself is displaying just fine. In Dreamweaver, I am viewing with a split page, code on top and design on the bottom. The de

  • Calling a smart form or script

    hi guys, can we call 2 smartforms from the same driver program and call 2 sap scripts from same driver program if so can any one help me by giving some code for both smartform and scripts. thanks pavan.

  • Multiple FTP Connections in Leopard....

    To make a long story short, I decided to buy a big bad FTP client after years of using FileZilla. It posed so many problems and no matter what I was able to do, It would not establish multiple connections. There are ways to adjust your TCP, port numb