Problem with beans in session scope

Hello,
I developped a website using JSP/Tomcat and I can't figure out how to fix this problem.
I am using beans in session scope to know when a user is actualy logged in or not and to make some basic informations about him avaible to the pages. I then add those beans to an application scope bean that manages the users, letting me know how many are logged in, etc... I store the user beans in a Vector list.
The problem is that the session beans never seem to be destroyed. I made a logout page which use <jsp:remove/> but all it does is to remove the bean from the scope and not actualy destroying it. I have to notify the application bean that the session is terminated so I manualy remove it from its vector list.
But when a user just leave the site without using the logout option, it becomes a problem. Is there a way to actualy tell when a session bean is being destroyed ? I tried to check with my application bean if there are null beans in the list but it never happens, the user bean always stays in memory.
Is there actualy a way for me to notify the application bean when the user quits the website without using the logout link ? Or is the whole design flawed ?
Thanks in advance.
Nicolas Jaccard

I understand I could create a listener even with my current setup Correct, you configure listeners in web.xml and they are applicable to a whole web application irrespective of whether you use jsp or servlets or both. SessionListeners would fire when a session was created or when a session is about to be dropped.
but I do not know how I could get a reference of the application bean in >question. Any hint ?From your earlier post, I understand that you add a UserBean to a session and then the UserBean to a vector stoed in application scope.
Something like below,
UserBean user = new UserBean();
//set  bean in session scope.
session.setAttribute("user", user);
//add bean to a Vector stored in application scope.
Vector v = (Vector)(getServletContext().getAttribute("userList"));
v.add(user);If you have done it in the above fashion, you realize, dont you, that its the same object that's added to both the session and to the vector stored in application scope.
So in your sessionDestroyed() method of your HttpSessionListener implementation,
void sessionDestroyed(HttpSessionEvent event){
     //get a handle to the session
     HttpSession session = event.getSession();
      //get a handle to the user object
      UserBean user = (UserBean)session.getAttribute("user");
       //get a handle to the application object
      ServletContext ctx = session.getServletContext();
       //get a handle to the Vector storing the user objs in application scope
        Vector v = (Vector)ctx.getAttribute("userList");
       //now remove the object from the Vector passing in the reference to the object retrieved from the Session.
        v.removeElement(user);
}That's it.
Another approach would be to remove the User based on a unique identifier. Let's assume each User has a unique id (If your User has no such feature, you could still add one and set the user id to the session id that the user is associated with)
void sessionDestroyed(HttpSessionEvent event){
     //get a handle to the session
     HttpSession session = event.getSession();
      //get a handle to the user object
      UserBean user = (UserBean)session.getAttribute("user");
       //get the unique id of the user object
       String id = user.getId();
       //get a handle to the application object
      ServletContext ctx = session.getServletContext();
       //get a handle to the Vector storing the user objs in application scope
        Vector v = (Vector)ctx.getAttribute("userList");
       //now iterate all user objects in the Vector
       for(Iterator itr = v.iterator(); itr.hasNext()) {
               User user = (User)itr.next();               
                if(user.getId().equals(id)) {
                       //if user's id is same as id of user retrieved from session
                       //remove the object
                       itr.remove();
}Hope that helps,
ram.

Similar Messages

  • Remote Delta link setup problem with Bean / Access Service

    Hello,
    I am trying to setup Remote Delta Link (RDL) between two portals. (Both portals same version - EP 7.0 EHP1 SP 05 - are in the same domain)
    I already have the Remote Role Assignment working without any issues.
    The following have been done successfully:
    1. Same user repository has been setup for both the portals
    2. Setup trust between producer and consumer (SSO working fine)
    3. Producer added and registered succesfully on consumer
    4. Permissions setup on producer and consumer
    4. pcd_service user with required UME actions setup
    I am able to see all the remote content in the Consumer portal.
    When I try to copy the remote content and paste it as local content, I am getting the following error:
    Could not create remote delta link to object 'page id'. Could not connect to the remote portal. The remote portal may be down, there may be a network problem, or your connection settings to the remote portal may be configured incorrectly.
    After increasing the log severity, I am able to see the following in Default Trace:
    com.sap.portal.fpn.transport.Trying to lookup access service (P4-RMI) for connecting to producer 'ess_int' with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    com.sap.portal.fpn.transport.Unable to lookup access service (P4-RMI) with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    AbstractAdvancedOperation.handleDirOperationException
    [EXCEPTION]
    com.sap.portal.pcm.admin.exceptions.DirOperationFailedException: Could not retrieve the bean / access service to connect with producer
    Could not retrieve the bean / access service to connect with producer
    Like you can see above, there is some bean / access service which is not retrieved successfully. I am not sure if this is a permission problem on the consumer.
    I have checked that the P4 ports are configured correctly (standard - not changed) and I am able to telnet from producer to consumer (and vice versa) on the P4 port.
    I am stuck at this point and am not able to find any information on this.
    I would really appreciate if some one can point me in the right direction.
    Thank you for reading.
    - Raj

    Hi Raj,
    Please check your config of the P4 port on the producer.  Is it really 50004 (check SystemInfo of the producer)?
    I do think there's a problem with the P4 communication since RDL requires P4 connection.
    Do you have load balanced consumer-producer connection? Please refer to this blog for further details
    Little known ways to create a load balanced Consumer – Producer connection in a FPN scenario
    Regards,
    Dao

  • Problem with credentials for session registration

    I followed the steps in the help file to register a session to run on STARTUP, but it won't run before I log into Windows, I thought it might be a problem with authetication so i added the /ap option when adding the session.
    Now i am not sure how to type in the credentials ... funny to read everywhere:"add credentials" with no hint on the syntax. Now i tried / ap username:password and it still doens't work without logging. Any hint ?
    Thanks, Tadso

    Which windows version are you using? The problem shouldn't be related to FMLE, because it is the scheduled task which invokes the FMLELauncher, which in turn reads the OsLaunch.dat file in Drive:\Documents and Settings\All Users\Application Data\Adobe\Flash Media Live Encoder 3. When you use /r, an entry is made into this file. You can verify the entry in this file.
    Try scheduling any other task, such as playing a song, so that you can know before logging whether the task is executed. The behaviour should remain same for all scheduled tasks.
    Let me know the outcome.

  • Weired problem with second X session with the latest Xorg

    Hi all,
    I'm having a weird problem with the latest Xorg. Normally I have two X sessions open, the second with startx : --1. It used to work with previous version of Xorg. However, with the last update, it's broken. The second X session behaves very strangely: it's like the whole screen is divided vertically into 2 pieces and the right hand piece is moved to the left. As a result, mouse pointer doesn't work. I've tried different WM, DE with the same result?
    Anybody encountered this?
    Thanks,

    Yes'sssss I found the problem. Is a conflict with Mirra Backup Server Software? What I did is that I sync my Aperture Library to my MacMini with Mirra then the problem was the same on the Mini. Then I say let me do a test so I uninstall Mirra and Walaaaaa the problem was Mirra. Now AP is working nice and cool. So I did the same with my MacPro and is working nice and cool. I love Aperture it has very nice tools to work with photos. Know the thing is which program haves the problem Aperture or Mirra. So know I will do a report of this to Aperture Team and Mirra Team. I will be doing some testing on this to see what is the conflict.
    Hope this is helpful if somebody haves the same problem.
    boricua-macpro

  • Problems with URLConnection and sessions

    Hi all,
    I'm having a problem with some applet - php communication. We have a website that you log in to. The website is in php, and I have no idea what it does, because another guy is handling it. My applet takes in information about the session id and stuff like that, and whenever I want to communicate with a page, I send the id and the requests using a post method. I've got a simple post method which writes a string to a url, then opens an input stream from that connection. Here's the code:
            /**This method posts the given string to the given URL and returns the InputStream from the URL*/
         public InputStream postToURL(URL postURL, String post) throws IOException{
              URLConnection connect = postURL.openConnection();
              connect.setDoOutput(true);
              connect.setUseCaches(false);
              OutputStreamWriter fwdOut = new OutputStreamWriter(connect.getOutputStream());
              fwdOut.write(post);
              fwdOut.flush();
              fwdOut.close();
              return connect.getInputStream();
         }I just noticed that when you run this, it logs you out of your session on the website. I commented out parts and found out that it actually doesn't log you out until I call connect.getInputStream(). I have no idea if this is the applet's fault, or the php's fault. I was hoping that some of you might have some insight as to what the problem is, and if there is something on the applet side I should change to make it work. If it is the php side, then sorry for wasting your time, and hopefully the other guy will catch it.

    shiroganeookami wrote:
    I just wanted to clarify, the session information I'm getting is actually just a login id that is used to confirm if someone has access to certain files, so it actually isn't the session information, like I thought.If I understand you correctly.
    Your are logged in to the site in PHP.
    On the site is an applet.
    When the applet connects back to the site (and you are not using the session or login here) the BROWSER loses it's session.
    Is this correct?
    If so the problem is some shoddy PHP coding. A session or whatever it is that they are actually doing is maintained using HTTP cookies. The browser's cookies are not being wiped by the Applet. What I suspect is happening is that the PHP is doing something with IP addresses and is wiping the browser session when the applet connects from the same address. Which is a mistake for a bunch of reasons.
    If it's something else then please explain what.

  • Having problems with opening IIOP session

    i have a Oracle JServer and i have a listener for IIOP connection configured at 2481 port . If i use JDeveloper to create a connection , then it throws me an error as Unknow service x , this x value is increment everytime I try again.
    Is there some body who have any suggestions for this problem. I feel it might be a problem with listener.

    Hi ,
    The problem is not with your listener.But with your Jdeveloper.The Jserver you are using might be version 8.1.7 and the Jdeveloper might be 3.1.1.2 .Try using the Jdeveloper version 3.1.1.3 and that will solve your problem.
    GoodLuck
    Manz

  • Probleme with transaction in session beans

    Hello.
    i create an session bean which call enties beans.
    When i execute un example first time, its correct.
    when i execute for second time, the methode don't stop.
    i think it is problem of transaction.
    thank you

    Hi,
    It is impossible to answer your with the given information. When ever you are asking a question please put the relavent informatin like code and deployment descriptors. So please do post the required information.
    Ashok

  • Problem with JMS from session bean

     

    My guess is that in your effort to work around the
    clustering/ejb/jndi problems, you have a producer
    sending on one topic, and a consumer listening on
    another topic. You can check to see if they are the
    same destination using the (uncompiled) code snippets
    below at both the producer and consumer ends.
    import weblogic.jms.common.DestinationImpl;
    Topic topic;
    DestinationImpl destination = (DestinationImpl) topic;
    System.out.println("name = " + destination.getServerName() + "/" +
    destination.getName());
    System.out.println("back-end id = " + destination.getBackEndId());
    System.out.println("destination id = " + destination.getDestinationId());
    _sjz.
    "Malcolm Robbins" <[email protected]> wrote in message
    news:[email protected]...
    >
    This was also posted to the EJB newsgroup and was asked to post the secondissue
    here. Please focus on the second issue, but the first providesbackground.
    >
    >
    I have discovered two significant problems in WLS6.0 with JNDi and JMSthat do
    not occur in the Sun Reference implementation (1.3 Beta).
    Attached is some code you can try to see the problem.
    I have developed a JmsClient that simply looks up a session bean andpasses it
    a string to publish. The session bean is meant to publish to a JMS topic.
    However I have discovered two problems:
    1) In teh ejbCreate() method I look up the topic connection factory andtopic
    in JNDI. These are referenced as "java:comp/env/jms/JmsConnectionFactory"and
    "java:comp/env/jms/JmsTopic" respectively. Here's a fragment of theejb-jar
    descriptor
    <resource-ref>
    <description>The (probably durable) Topic Connection Factory to connectto</description>
    <res-ref-name>jms/JmsConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <resource-env-ref>
    <description>The Jms Source Topic to publish to</description>
    <resource-env-ref-name>jms/JmsTopic</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    As you can see they are resource references and resoruce environmentreferences
    respectively. The weblogic-ejb-jar maps these to the real JNDI names"TopicConnectionFactory"
    amd "SchemaTopic" respectively as shown below by the fragment:
    <weblogic-ejb-jar>
    ...etc...
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jms/JmsConnectionFactory</res-ref-name>
    <jndi-name>TopicConnectionFactory</jndi-name>
    </resource-description>
    <resource-env-description>
    <res-env-ref-name>jms/JmsTopic</res-env-ref-name>
    <jndi-name>SchemaTopic</jndi-name>
    </resource-env-description>
    </reference-descriptor>
    Now here's the first problem. When this is deployed the resourceenvironment
    "logical" name (JNDI linkref) for the topic is not defined. The code willhappily
    find the connection factory (presuming you've set these administeredobjects at
    the console).
    2) The second problem now arises. In the code I have ahcked it so thatwhen
    the JNDI lookup fails it tries looking up the real topic in JNDI(SchemaTopic)
    directly.
    This works and teh bean now appears to work, albeit with a directlyhardcoded
    JNDI reference in it. However, if you hook up a standard JMS consumer tothat
    topic it will not consuem the message that is published!!! While thestats clock
    up at the console the message appears to go into a black hole. I canprovdie
    a stadnard consumer if you need one.
    I have the code working fine as-is in teh Sun Reference implementation soI presume
    these are bugs with WL6.0.
    Can anyone advise workarounds and/or fix the problem?

  • Problem with bean in a JSP page

    I have developped a JSP pages in wich I call a bean with
    <jsp:useBean id="db" scope="request" class="SQLBean.class" />
    The bean SQLBean.class is in the same directory as the JSP page.
    When I execute the JSP, I have the following error:
    SQLBean.class db = (SQLBean.class) JSPRuntime.instantiateBean("db", "SQLBean.class", "request", __db_was_created, pageContext, request, session, application);
    Syntax error: [expected after this token
    Syntax error: "]" inserted to complete ArrayAccess
    Syntax error: "AssignmentOperator AssignmentExpression" inserted to complete StatementExpression
    I use JRUN with IIS
    Thanks for the help

    I am assuming your class name is SQLBean.
    use:
    <jsp:useBean id="db" scope="request" class="SQLBean" />
    instead of:
    <jsp:useBean id="db" scope="request" class="SQLBean.class" />

  • Problem with transfered user sessions from a 10.4 system

    On my new MacBook pro with ML, I tranfered the user sessions of my previous mac (power book G4 working with OS 10.4).
    With these "old" users accounts,  part of the trackpad features (like scroling up and down with 2 fingers) does not work, whereas it is working with new users.
    Any idea on how to solve this?
    Thanks in advance

    That was a good idea, I tried to delete the com.apple.finder.plist and the com.apple.systempreferences.plist but that did not work.
    Eventually to solve the problem, I transferred all the files I needed to a session created with the new system. I'm waiting a week or two just to see if I have not forgotten something important and then I will delete the "old session".
    Thanks anyway for your help.

  • Need Help!! Problem with Bean Serializer in SOAP

    Hi.
    I have a webservice develope in Jdeveloper 9.0.3. The webservice is deploy in a 9ias 9.0.3. When a invoke a method with a complex type parameter i get this error:
    [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a &apos;http://xml.apache.org/xml-soap:datPerWS_Tdatper&apos; using encoding style &apos;http://schemas.xmlsoap.org/soap/encoding/&apos;. [java.lang.IllegalArgumentException]]
    Please.SomeBody knows like resolve this problem?
    Thanks.

    Could you post your code, particularly the bean that you are passing? This code sample here gives some of the key rules including having an implementation of java.io.Serializable and setters/getters for each item:
    http://otn.oracle.com/tech/webservices/htdocs/samples/customtype/content.html
    Mike.

  • How to Improve performance with beans and Sessions

    Instead of using so many session variables, can i use a bean object which will hold all the variables, then put that bean object in a session.
    How it will effect the performance and how abt memory, which it will consume.

    Why would you have to scope so many variables in the session? Exactly how much information do you actually need to maintain throughout an entire user visit? You may want to review your scope for variables. I have discovered that for the most part, I only need to keep most data for the life of the page that uses it.

  • Problem with connection and sessions

    Hello,
    I have some mobile user that connect to sap with a SAPCONSOLE in a server.
    the problem is that when they move the loose the connection and when they try to connect again the sistem promps to keep the connection or cancelled the connection.
    How can I avoid this, because in sm04 in some times I got 300 connection from the terminal and in tx session_manager.
    Can somebody help us please.
    Regards

    In the regular part of the system (I'm not sure about the way you are describing) you can set this parm:
    rdisp/max_alt_modes
    in your instance profile.  This prevents users from signing in over and over again and might help with your problem.

  • Problem with ending user session in backend with BSP

    Hi,
    I'm having this strange problem.  When I use the standard SAP Budgeting Maintenance BSP application for Enterprise Compensation Management, whatever sessions I have opened doesn't close it automatically in the backend system when I close the BSP application.  It leaves my sessions open for a few hours.
    I'm using the standard BSP functionality for Budgeting Maintenance, without any sort of modifications whatsoever.
    Anyone else have this problem?  Perhaps there's a OSS note out there somewhere.....
    Thanks.

    Hi,
    the problem is, that the system gets no session exit.Are you are calling the right page for the applifcation entry point?
    If yes, try the following:
    Go SE80, have a look at the BSP-Applidcation 'SYSTEM' and the instructions in the page 'session_single_frame.htm'.
    Copy the whole BSP-Application in your namespace.
    Now, when leaving the Budget-Application, a sessionexit-page will be called, which correctly terminates the session.
    Best regards,
    Stefan

  • Problems with Microsoft.Update.Session on Windows Server 2012R2

    Hi, I've created a script for collecting Windows Update information using the "Microsoft.Update.Session" comObject.
    I got some problems collecting data from certain servers, but I don't understand what can be wrong.
    In this example I got "DC1" and "DC2", where DC1 is a Windows 2012R2 Core, and DC2 is a Windows 2008R2. Both has installed updates previously.
    The problem is that the Microsoft.Update.Session won't return the installed updates from "DC1", using the identical commands as on "DC2".
    Commands used in this example:
    $updateSession = New-Object -ComObject Microsoft.Update.Session
    $Searcher = $updateSession.CreateUpdateSearcher()
    $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
    $PendingUpdates = $PendingUpdates.Updates
    $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    Output from session DC1:
    Windows PowerShell
    Copyright (C) 2014 Microsoft Corporation. All rights reserved.
    PS C:\Users\User> Enter-PSSession -ComputerName DC1 -Credential User
    [DC1]: PS C:\Users\User\Documents> $updateSession = New-Object -ComObject Microsoft.Update.Session
    [DC1]: PS C:\Users\User\Documents> $Searcher = $updateSession.CreateUpdateSearcher()
    [DC1]: PS C:\Users\User\Documents> $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software'
    and IsHidden=0")
    [DC1]: PS C:\Users\User\Documents> $PendingUpdates = $PendingUpdates.Updates
    [DC1]: PS C:\Users\User\Documents> $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    [DC1]: PS C:\Users\User\Documents> $Installed
    [DC1]: PS C:\Users\User\Documents> $Searcher.QueryHistory(0,5)
    [DC1]: PS C:\Users\User\Documents>
    Output from session DC2:
    PS C:\Users\User> Enter-PSSession -ComputerName DC2 -Credential User
    [DC2]: PS C:\Users\User\Documents> $updateSession = New-Object -ComObject Microsoft.Update.Session
    [DC2]: PS C:\Users\User\Documents> $Searcher = $updateSession.CreateUpdateSearcher()
    [DC2]: PS C:\Users\User\Documents> $PendingUpdates = $Searcher.Search("IsInstalled=0 and Type='Software'
    and IsHidden=0")
    [DC2]: PS C:\Users\User\Documents> $PendingUpdates = $PendingUpdates.Updates
    [DC2]: PS C:\Users\User\Documents> $Installed = $Searcher.QueryHistory(0,1) | select -ExpandProperty Date
    [DC2]: PS C:\Users\User\Documents> $Installed
    16. oktober 2014 01:06:52
    [DC2]: PS C:\Users\User\Documents> $Searcher.QueryHistory(0,5)
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:06:52
    UpdateIdentity : System.__ComObject
    Title : Security Update for Windows Server 2008 R2 x64 Edition (KB3000869)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:06:38
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 4.5, 4.5.1 and 4.5.2 on Windows 7, Vista, Server 200
    8, Server 2008 R2 x64 (KB2972107)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:04:30
    UpdateIdentity : System.__ComObject
    Title : Security Update for Windows Vista, Windows 7, Server 2008, Server 2008 R2 (KB2917500)
    Description : Install this update to resolve an issue which requires an update to the untrusted certificate sto
    re on Windows systems and to keep your systems up to date. After you install this update, you may
    have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes :
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:04:30
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 4.5, 4.5.1 and 4.5.2 on Windows 7, Vista, Server 200
    8, Server 2008 R2 x64 (KB2979578)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    Operation : 1
    ResultCode : 2
    HResult : 0
    Date : 16.10.2014 01:03:20
    UpdateIdentity : System.__ComObject
    Title : Security Update for Microsoft .NET Framework 3.5.1 on Windows 7 and Windows Server 2008 R2 SP1 fo
    r x64-based Systems (KB2968294)
    Description : A security issue has been identified in a Microsoft software product that could affect your syste
    m. You can help protect your system by installing this update from Microsoft. For a complete list
    ing of the issues that are included in this update, see the associated Microsoft Knowledge Base a
    rticle. After you install this update, you may have to restart your system.
    UnmappedResultCode : 0
    ClientApplicationID : AutomaticUpdates
    ServerSelection : 1
    ServiceID :
    UninstallationSteps : System.__ComObject
    UninstallationNotes : This software update can be removed by selecting View installed updates in the Programs and Featu
    res Control Panel.
    SupportUrl : http://support.microsoft.com
    Categories : System.__ComObject
    [DC2]: PS C:\Users\User\Documents>
    Anyone got an idea of what might be wrong?
    Thanks!

    Hi Objectclass,
    The updates you query from DC1 (Windows Server core 2012 r2) is different from DC2 (Windows Server 2008 R2), because firstly these two servers have different operating system versions so they apply different updates, and DC1 also have less updates than DC2
    because of server core edition.
    Fewer installed features means fewer features to patch and maintain, Server Core has been available since Windows Server 2008, and historically we've noted as much as 35-45% fewer patches needed on Server Core installations.
    Refer to:
    http://blogs.technet.com/b/keithmayer/archive/2012/10/19/improved-taste-less-filling-more-uptime-server-core-in-windows-server-2012-31-days-of-favorite-features-in-winserv-2012-part-19-of-31.aspx
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

Maybe you are looking for

  • How do I delete an old g mail account

    Had a previous BB and got a new Curve9320. Used Desktop software to back up and restore from old to new phone. The old phone has been wiped and returned to my former employer BUT my new has 2 personal email accounts but also a icon for my former work

  • P965 Neo-F BIOS 1.6F

    Just got this in the e-mail 5 min. from this post.    Enjoy ! http://members.cox.net/garikfox/W723516F.rar

  • Help with Adjustment brush

    Hi All, I have upgraded LR2 to 2.1. Now I can't use the adjustment brush. When i click on the photo to make an adjustment - nothing happens; not white dot, no change, no nothing. HELP! What am I doing wrong? The gradient filter works just fine. Any h

  • Two step verification code entry keeps looping in Safari

    I've recently upgraded to a 5S, however when I try to purchase from the app store, it askes me to verify the device, as I have two step verification set up. However, it doesn't work. I get the verification code sent to my iPad, but when I type it int

  • I pod classic unresponsive to reset not showing in windows Itunes

    My IPod Classic is unresponsive, when it is plugged into the laptop, it is showing a white screen with a black circle through it, Do not disonnect. I have updated windows and ITunes and restarted the laptop. I have reset the IPod several times it doe