Queries on Event Notification Service

Hi,
I have installed the System Messaging Server 6 2005Q1 in Linux and wish to use the Event Notification Service for the Mail Server. I have the following queries on the ENS
1) Does it follow the SUBSCRIBE/NOTIFY dialog under SIP?
2) The enp:// type url used for subscription and notification refer to Event Notification Protocol or is it something proprietary to SUN ENS?
Regds,
N.Ramki

Hi,
I wished to check on the notifyplugin parameters set for the ENS and used the configutil tool
./configutil -o local.store.notifyplugin.<eventType>.enable
and for none of the event types (newMsg, ReadMsg etc) any value was returned.
Could we add these parameters and the value we wish to set using the configutil? Or are there other means of doing it?
Regds,
N.Ramki

Similar Messages

  • Windows 8.1 - Windows Couldn't connect to the System Event Notification Service service

    I have an issue that has been bothering me for a while on new 8.1 computers. Standard users are not able to log into the computer on the first try consistently. They receive the error message: Group Policy client service failed the sign-in access is
    denied. They are stuck at the logon screen.
    If an administrator logs in (local or domain), they can log in but get a black desktop with two error messages. The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable. The second error message is a popup
    balloon. It states "Failed to Connect to a Windows service. Windows couldn't connect to the System Event Notification Service service."
    When a standard user attempts to log in, event viewer records three warnings. They are listed in order from oldest to newest
    The winlogon notification subscriber <Profiles> was unavailable to handle a critical notification event. -Logged 9:14:44
    The winlogon notification subscriber <GPClient> failed a critical notification event. - Logged 9:14:44
    The winlogon notification subscriber <Profiles> was unavailable to handle a notification event. - Logged 9:14:49
    After a reboot, users still have the issue. I noticed that the user profile services and system event notification service are not running though their startup type is automatic. They start after a minute or two.

    Hi Joseph__Moody,
    Based on your description ,I assume it is a domain environment .First of all ,I would suggest you to try to update all the machine .
    "I have an issue that has been bothering me for a while on new 8.1 computers"
    Do you mean all the Windows 8.1 machine share the same symptom or just a specific one ?Did the machine work correctly before ?When did the issue start to occur ?Have you installed any third party software before ?Can we operate the machine when we login with
    an administrator account ?
    If the issue occurred with the specific machine :
    "The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable."
    Please try the following suggestions if we can operate the machine when we login with the administrator account :
    Open Windows Explorer and navigate to: C:\Windows\system32\config\systemprofile and verify if it has the Desktop folder there.If the folder doesn`t exit, we can copy from C:\users\Default\Desktop location(This folder is hidden by default).
    We also can try the following suggestions to have a troubleshoot :
    1.Run "sfc /scannow"or "dism /online /cleanup-image /restorehealth" to check the health of the system files.
    2.Perform a full scan with an antivirus software.
    3."They start after a minute or two."
    I suspect there is a third party service confilct here. Please perform a clean boot to verify whether there is a third party conflict here .
    How to perform a clean boot in Windows
    https://support.microsoft.com/en-us/kb/929135
    If the issue occurred with multiple machines in the domian ,I would suggest you to check whether you have configured any logon scripts and logon group policy .We can remove the machine from the domain to have  a troubleshoot .
    If the issue occurred recently ,we can perform a system restore to recover the machine to a previous normal point.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].

  • Event Notification Service

    I am running Messaging server 6. Is it possible to have ENS send a notification to a external email address(outside my email domain) when a new message is recieved in the users mailbox?

    Hi,
    I am running Messaging server 6. Is it possible to
    have ENS send a notification to a external email
    address(outside my email domain) when a new message
    is recieved in the users mailbox?This isn't how ENS works - ENS notifies a plugin when an even occurs, it doesn't action the events per sea. You can write an ENS plugin that will get notified when a new message for a user is received and then manually send a notification email.
    Why not just forward/redirect the email to the external email address using a sieve filter instead?
    Regards,
    Shane.

  • Windows device event notification

    Does anybody know if it is possible to have a VI notified of a device insertion event in Windows? I have a VI that I would like to kickstart in the background if a USB keyboard is plugged in because I don't want it running all the time. It would also be useful if I could receive notification when a USB flash drive is plugged in.
    Searching on MSDN's website I found out about the System Event Notification Service but I don't think that is going to do what I need. I also know that I can read and monitor the Windows Event Viewer but it does not log device insertion events from what I can tell.
    Kyle

    This has been asked before. Check out this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=249567&requireLogin=False

  • Does Office365 EWS provides Push Notification service for Contacts and Calendar Events?

    Even though there are REST API's for performing PUSH and PULL operations for Office365(online), I am still looking the old EWS approach where in I want to subscribe for PUSH notification service for Contacts, Calendars and Mail Boxes.
    Can any one suggest if there is a way to achieve this.

    I posted an answer in your Stack Overflow post.
    http://stackoverflow.com/questions/27837887/does-office365-ews-provides-push-notification-service-for-contacts-and-calendar/27844747#27844747

  • Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this

    Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this?

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • JComboBox event notification when select first entry in pop-up menu JDK 6

    I recently began testing a Java GUI, I originally developed with JDK 1.5.0_11, with JDK 1.6.0_3. I have used the JComboBox in several applications developed using JDK 1.3.x and 1.4.x over the years. In every one of these earlier JDKs the JComboBox widgets all behaved the same. When you select the JComboBox widget, the pop-up menu appears and you can select any of the items from the menu list. Having made the selection with either a mouse click or a key press, an event notification is sent. Typically, an ActionEvent as well as either a mouse click event or a keypressed event may be sent. When testing with 1.6.0_x versions of the JDK and JRE, I can't account for any event notification being sent when selecting the first item at the top of the pop-up menu as the initial selection. If I select some other item on the list and then the first item, it works as it is supposed to work, but only after selecting another item first.
    I've placed the JComboBox in a JDialog and a JPanel. There are NO AWT widgets in any containers of the application. The same behavior seems to exist regardless of what other containing Swing component I place the JComboBox in. I'm running these applications on Windows XP, service pack 2. The system is an AMD 64 bit dual processor with 4Gb of RAM. The essential code follows:
    private JComboBox getJcboAlias()
        /* Note here that I am using a defaultComboModel as I have always done */
       jcboAliases = new JComboBox(urls);
       *jcboAliases.setEditable(false);*                               // Note here that the JComboBox is NOT editable
       jcboAliases.addActionListener(new ActionListener()   // ActionListener only receives a notification if the second or
       {                                                                            // another item in the pop-menu list is selected...but never the
          public void actionPerformed(ActionEvent ae)           // first item in the list
             String s = (String) jcboAliases.getSelectedItem();
             for (int i = 0; i < connections.size(); i++)
                conAlias = (String[]) connections.get(i);
                if (s.equals(conAlias))
    isSelected = true;
    break;
    jlblName.setVisible(true);
    jlblAlias.setVisible(true);
    jlblUID.setVisible(true);
    jlblPWD.setVisible(true);
    jtxtName.setText(conAlias[0]);
    jtxtName.setVisible(true);
    jtxtAddress.setText(conAlias[1]);
    jtxtAddress.setVisible(true);
    jtxtUID.setText(conAlias[2]);
    jtxtUID.setVisible(true);
    jtxtPWD.setVisible(true);
    jtxtPWD.setText("");
    jtxtPWD.requestFocus();
    return jcboAliases;
    }    I'm using a non-editable JComboBox because there is a pop-up menu with this and not with the JList widget.  JComboBox behaves more like the JList MicroSoft counterpart.  Another code snippet follows in which the JComboBox is editable.  The same errant behavior occurs when selecting the first item from the pop-up menu: private JComboBox getJcboPCMember()
    jcboPCMember = new JComboBox(PCViewerCustom.getCurrentMembers());
    jcboPCMember.setBounds(250, 103, 180, 20);
    jcboPCMember.setToolTipText("PATHCHECK(ER) member name - Example: CKPPTHCK");
    jcboPCMember.setSelectedIndex(Integer.valueOf(PCViewerCustom.getCurrentHost(3)));
    jcboPCMember.setEditable(true); // Note here that this JComboBox IS editable
    jcboPCMember.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    if (ae.getActionCommand().equals("comboBoxEdited"))
    boolean copy = false;
    for (int i = 0; i < jcboPCMember.getItemCount(); i++)
    if (jcboPCMember.getSelectedItem().equals(jcboPCMember.getItemAt(i)))
    copy = true;
    break;
    if (!copy)
    if (jcboPCMember.getItemCount() > 0)
    if (jcboPCMember.getItemAt(0).equals("No Entries"))
    jcboPCMember.removeItem("");
    jcboPCMember.removeItem("No Entries");
    jcboPCMember.insertItemAt((String) jcboPCMember.getSelectedItem(), 0);
    else
    jcboPCMember.removeItem("");
    jcboPCMember.addItem((String) jcboPCMember.getSelectedItem());
    enableJbtnOK();
    else
    if (jcboPCMember.getSelectedIndex() >= 0)
    PCViewerCustom.setCurrentHost(3, Integer.toString(jcboPCMember.getSelectedIndex()));
    enableJbtnOK();
    else
    JOptionPane.showMessageDialog(null, "Name not selected", "Error", JOptionPane.ERROR_MESSAGE);
    return jcboPCMember;
         I am able to add a new entry to the JComboBox, however, I am still unable to select the first item from the pop-up menu and fire any kind of notification event.  I have not seen this behavior before in any earlier versions of the JDK and it's playing havoc with my ability to deploy the application into a JDK or JRE V6 environment, without adding a bunch of additional code to pre-select the first item on the list, which pretty much defeats the purpose of the JComboBox.  I'll be the first to admit I've done something wrong, but i've built a number of test scenarios now on two systems runing Win XP SP2 and I get the same errant behavior.  I've also added in event listeners for a MouseListerner, a KeyListener and an ItemListener.  Still no event notification on this first item in the list.  Again, however, if I select one of the other items from the pop-up menu list and then select the first item, all is well.  Imagine selling that method of operation to a user....  It occurs to me that this must be a bug in the V6 JComboBox.  I wanted to post this here first, however, in order to determine if this is, in fact, a bug - in other words, am I the only one seeing this, or is this a more widespread issue?  Any assistance in making this determination is greatly appreciated.
    David Baker
    Edited by: Galstuk on Nov 27, 2007 12:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    here is the other file as well:
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    VI2.vi ‏5 KB

  • Notification Service in Web Dynpro for Java?

    Hello Experts,
    I'm new on the topic "web dynpro for java" and have a question about a real-time-notification of web dynpro clients.
    In web dynpro for abap ther is apparently a new solution called "Notification Service" (since NW 7.0 Ehp2).
    Details: http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/f0802995-3433-2c10-2787-d7db51352891&overridelayout=true
    But I found no hints how to solve the problem of a real-time notification in web dynpro for java.
    Requirements for short: The server can trigger a refresh in one or more web dynpro clients.
    Requirements a liitle more extended:
    1. A web dynpro is running in a browser and shows data it gets from a DataBase table1
    2. Now a function module1 is started by an event and changes the data in table1 on the server side, the web dynpro does not know about this event or the changes made by external components.
    3. These changed data should be visible immediately in the running web dynpro after the event occurd --> trigger a refresh of the web dynpro from the function module1?
    All I actually know is that: The web dynpro can update its context with the new data from table1 after a refresh of the gui (wddomodifiyview). Using a timed trigger I can get new data after x seconds (same way --> context update and gui refresh). Is there another way to refresh the web dynpro (that noticed requirements of #3) ?
    Regards,
    Anja Hormann

    I recommend that you create another Web Dynpro application with this Timer to execute an RFC. This application would be in a Web Dynpro iView hidden from your SAP EP and shoot an event that would be captured by another application.
    However I would take great care with this type of application.
    And to answer your question at the moment, to my knowledge, there is no solution for this kind of integration between the ABAP and JAVA.
    regards,
    Angelo

  • WebDynpro Notification Service with multiple Application Servers

    Hello Experts,
    I am currently working on a project where I have to integrate a BSP Application into a new Web Dynpro ABAP Application. On the BSP Page it is possible to edit some details (for example for a customer).
    When the user start to work on the BSP Page, the Web Dynpro Page should prohibit the navigation (i.e. disable all links). After Saving the BSP page, the navigation lock is released and the Web Dynpro reloads some data, which were changed from the BSP Page.
    I have a NetWeaver 7.02 so I decided to use Shared Objects and the new Web Dynpro Notification Service to realize the given requirements. On the development system everything worked fine. The Notification Service was called and it took about 2 Seconds until the Web Dynpro Application updated.
    But we got serious problems on the testmachine, which uses a Web Dispatcher and two application servers. After some research we managed that the application is running, and works.
    But the Notification Service takes now up to 1 Minute until it fires the registered actions. And I good frequently an ASSERTION_FAILED from the method CL_WDR_NOTIFICATION=>ATTACH_FOR_READ in the ST22 as long as the application is running.
    Can anybody help me how to solve this issue. It is a real blocker for the project.
    If there is another way to establish eventing between Web Dynpro and BSP I would also go for another solution. But I don't think there are many other possibilities (SAP Portal and NWBC are no options - Maybe the new Web Dynpro PageBuilder?).
    Best Regards
    Daniel

    Hello Guys,
    we decided to do a workaround for the moment. We use a refresh button on the Web Dynpro screen. That is not very nice, but sufficient for the moment.
    Anyway: I am still interessted in the BSP-Web Dynpro Interaction Issue. So if somebody has any ideas, please let me know.
    @PageBuilder: Currently the page builder does not work on the system, because of an 403 - Error when I try to call the Application-Configurator (the SICF service is active). But I will try this also as soon as this problem is solved.
    Best regards
    Daniel

  • SQL Server Notification Services Removed from SQL Server 2008

    It comes as no surprise to us that 2008 will not be supporting notification services.  Several years ago our company developed our product line of alerting applications and gave some long and serious thought into using SQL Notification services. 
    Besides the fact that the NS desktop alerting component itself was rather bland/limited, (an acknowledge button, image, hyperlink) at the time it just made no sense to create a core component of the business plan around such a 3rd party dependent widget. 
    While a look at this MS page shows only a few companies who have built alerting systems around NS,
    http://www.microsoft.com/sql/technologies/notification/partners/appsoftware.mspx
    ….there is actually quite a few companies who have done this and must now consider a total rewrite of their alert system.
    Quite frankly, looking forward at MS's new family of Communications servers,
    http://msdn2.microsoft.com/en-us/office/aa905499.aspx
    I am not sure that things are changing much.
    "Welcome to the Microsoft Office Live Communications Server developers' home on MSDN. Live Communications Server 2005 provides your business with an enterprise-ready instant messaging, presence awareness, and an extensible platform that connects people, information, and business processes—enabling better decisions faster."
    Remember this?
    MSN Buys MessageCast for Real-Time Alerts
    http://www.eweek.com/c/a/Messaging-and-Collaboration/MSN-Buys-MessageCast-for-RealTime-Alerts/
    MessageCast was a serious product on the up.  They sold out and poof.  The whole fiasco was a joke.
    As it pertains to alerting platforms, the good call just may be having a architecture that is somewhat autonomous ( i.e.  Ok, perhaps Windows OS, .Net Framework and SQL Server as prerequisites is ok) to MS embedded components and not reliant on “Live Server" licenses.  Seems like just a better bet hands down all day long.
    I can tell you that about 5% of all alerts our clients create are sent to inform end users “Exchange is Down”.  It’s hard to get a OutLook Desktop Alert when Exchange is down.
    So, an alert system designed from scratch in-house (the hard way) may just be the heads up alert your customer needs to see.  If for nothing else, you can control your products destiny….unless of course MS Windows is made obsolete.  <wink>  Unlikely.  Hey....without MS products, we would not be in business.  They make some of the best software in the world.  But that does not mean your campany is not capable of the same.

    I'm coming to the discussion of the fate of Notification Services a bit late as it is now December. It is my view that Microsoft should rethink its position on Notification Services, and should continue to support and evolve it until such time as it might be migrated to the future "alerting" solution Microsoft devises for at least the following 2 reasons:
    (1) Notification Services addresses an enterprise application integration need complementary to Microsoft's web service strategy. This is a place Microsoft has not gone before, but needs to go. Why? EAI vendors won't modify their infrastructure to make them web service oriented ... they can't because it is legacy. Instead, they try to buy something and attach it to legacy ... but that doesn't work too well. Microsoft already has started/built greenfield. Further, Microsoft has commoditized such so that with notification services and its other .NET-based products (at least they evolve to such) a full complement of architectural components is being or has been assembled. Why would Microsoft make such an investment ... across the portfolio of server products ... and then back off of it? Microsoft has not been in the enterprise space before to the degree it has wished. It has intimated, at least, that it will be at the periphery with its variety of services and products. An integration broker is necessary for success at the periphery, and it provides a bridge to the enterprise back office that has the property of loose coupling, which is both good for Microsoft and its clients. 
    (2) Microsoft claims to be working to develop a server platform suitable to provision notification services. This server platform could be productized as Microsoft intends, and then notification services could be made to work on that platform and then it could be open sourced. If Microsoft intends to provide a kind of application server foundation that would make it possible for non-Microsoft development teams to build out services on a Microsoft stack that can be hosted with the same set of services as, say, IIS, Biztalk, SQL Server, etc., then it seems that Notification Services could easily be migrated to this server framework once such is ready for prime time. Functional expansion of such could be accomplished by an open source community if Microsoft chooses to not further extend it on its own dime ... maybe even on its own nickel.
    I've read some of the reasons justifying Microsoft's rationale to discontinue its Notification Services product line. One was that not many people used it. Blogs have listed a number of companies that have used it. The number may not be to the scale Microsoft would like ... one could look at Biztalk and suggest that Workflow Foundation represents Microsoft's belief that Biztalk too should be deprecated. Maybe so. But the strategy Microsoft is taking with workflow does not drop support for a core architectural capability. Why not keep Notification Services and give people time to learn how to architect in enterprise fashion with Microsoft infrastructure? Why not use it to seed an open source community? It probably costs you little ... and you have an open source community option that could get Microsoft further into an enterprise than it has previously been ... right into the middle ... leveraging Microsoft web service innovations in spades at substantially less cost than traditional EAI vendors, IBM, and other competitors could afford. People have to learn how to use Microsoft products in an enterprise context ... aside from specialized applications and OS vmware, what products have you put out that systematize infrastructure?
    I've also heard that Microsoft is considering incorporation of Notification Services as part of Reporting Services. Please pardon me but that seems ack basswards ... events are not reports, but reports could be events if you view reports as correlations over critical business activities instead of some statically produced bit of information to be shoved off into someone's mailbox or file system or even web site. Reports are static. Events are part of a dynamic and learning enterprise platform. Isn't that what you're attempting to build infrastructure for? Isn't that exactly what Microsoft needs to secure its position at the back of an enterprise just as it has the front?
    Please reconsider your position. And please contact me at tommy  at zipa dot deedoodah dot com to discuss. I'm as opinionated as everyone else, and I think you have a good product here that you're throwing away. If you don't want it, I will take it ...
    Sincerely,
    Tom Winans

  • LMS 3.2 - DFM Notification Services issue

    My customer installed an LMS 3.2 on Windows 2008 Server with SP1.
    Now the DFM Notification Services causing Problems.
    We configured for a test the Event Set A and setup a Notification group with the following boxes ticked:
    Alert Severity  
    Critical   Informational
    Alert Status  
    Active
    Event Selection  
    Event Set: A
    Event Severity  
    Critical   Informational
    Event Status  
    Active
    And all Devices marked in the device selector.
    At least the E-Mail configuration was set.
    Now none of the Alerts or Events generate an automated e-mail, while the manual mailing from the AAD is working.
    I restarted the LMS dmgtd and founf the following lines in the DFMLogServer.log:
    05/May/2010 10:39:46:473 ERROR  ? ?  - Exception in registry server java.net.BindException: Address already in use: JVM_Bind
    05/May/2010 10:40:16:220 ERROR  ? ?  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:40:16:222 ERROR  ? ?  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:40:16:223 ERROR  ? ?  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:40:26:262 ERROR  ? ?  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:40:26:263 ERROR  ? ?  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    In the nos.log is see the following:
    05-May-2010|10:55:16.370|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Caught Exception in processEPMData(): java.util.NoSuchElementException
    While the NOSServer.log is showing the following:
    05/May/2010 10:41:05:973 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:41:05:981 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:41:05:983 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:41:35:995 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:41:35:997 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:41:35:998 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:42:06:008 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:42:06:009 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:42:06:009 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:42:36:018 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:42:36:019 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:42:36:021 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:43:06:028 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:43:06:029 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:43:06:030 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:43:36:038 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:43:36:039 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:43:36:040 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:44:06:050 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:44:06:051 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:44:06:053 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:44:36:064 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:44:36:065 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:44:36:066 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    05/May/2010 10:45:06:075 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:45:06:076 ERROR main com.cisco.nm.xms.ctm.client.CTMCall establishIPC  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    05/May/2010 10:45:06:077 ERROR main com.cisco.nm.xms.ctm.client.CTMClientProxy getProxy  - URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
    com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
        at com.cisco.nm.xms.ctm.client.CTMCall.establishIPC(CTMCall.java:238)
        at com.cisco.nm.xms.ctm.client.CTMCall.<init>(CTMCall.java:218)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.<init>(CTMClientProxy.java:64)
        at com.cisco.nm.xms.ctm.client.CTMClientProxy.getProxy(CTMClientProxy.java:180)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:179)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.init(OGSServerProxy.java:98)
        at com.cisco.nm.xms.ogs.client.OGSServerProxy.<init>(OGSServerProxy.java:85)
        at com.cisco.nm.trx.nos.server.EPMPoller.ogsVerifyService(EPMPoller.java:212)
        at com.cisco.nm.trx.nos.server.EPMPoller.<init>(EPMPoller.java:144)
        at com.cisco.nm.trx.nos.server.NOSServer.initializeEPMPoller(NOSServer.java:244)
        at com.cisco.nm.trx.nos.server.NOSServer.<init>(NOSServer.java:107)
        at com.cisco.nm.trx.nos.server.NOSServer.main(NOSServer.java:259)
    java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
        at com.cisco.nm.trx.nos.server.ProcessEPMDataManager$EpmDataQueueItem.formatAlertDataOnly(ProcessEPMDataManager.java:789)
        at com.cisco.nm.trx.nos.server.ProcessEPMDataManager$EpmDataQueueItem.processAlertData(ProcessEPMDataManager.java:951)
        at com.cisco.nm.trx.nos.server.ProcessEPMDataManager$EpmDataQueueItem.processEPMData(ProcessEPMDataManager.java:1319)
        at com.cisco.nm.trx.nos.server.ProcessEPMDataManager$EpmDataQueueItem.run(ProcessEPMDataManager.java:206)
        at com.cisco.nm.trx.nos.server.ThreadPool$1.run(ThreadPool.java:37)
    java.util.NoSuchElementException
    And in the dcrclient.log i noticed this:
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:2
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - backed up registry = {47001=[dmserver-RMELogLevelChange, EssentialsDM]}
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - RegistryHandler.addCTMPort returning port = 47002
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:4
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Added urn inventory.ics.server-RMELogLevelChangeat port 47002
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - backed up registry = {47002=[], 47001=[dmserver-RMELogLevelChange, EssentialsDM]}
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:2
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - backed up registry = {47002=[inventory.ics.server-RMELogLevelChange], 47001=[dmserver-RMELogLevelChange, EssentialsDM]}
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - RegistryHandler.addCTMPort returning port = 47003
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:4
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Added urn archive.service-RMELogLevelChangeat port 47003
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - backed up registry = {47003=[], 47002=[inventory.ics.server-RMELogLevelChange], 47001=[dmserver-RMELogLevelChange, EssentialsDM]}
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] INFO com.cisco.nm.dcr.DCRContext - Settings File: E:/LMS\lib\classpath\com\cisco\nm\dcr/dcr.ini
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG com.cisco.nm.dcr.DCRSystem - In Instantiating DCR Subsystems...
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:1
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG com.cisco.nm.dcr.DCRDatabaseAccess -  Query is UPDATE JRM set command= '$JP -cw:jre lib\jre -cp MDC\tomcat\common\lib\activation.jar;objects\db\java\smtp.jar;MDC\tomcat\common\lib\mail.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\dcrimpexp.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-client.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-util.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-server.jar;MDC\tomcat\webapps\cwhp\WEB-INF\classes;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ctm.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\struts.jar;MDC\tomcat\shared\lib\MICE.jar;MDC\tomcat\shared\lib\NATIVE.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\log4j.jar;MDC\tomcat\shared\lib\xerces.jar;MDC\tomcat\common\lib\servlet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jcert.jar;MDC\jre\lib\ext\jnet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jsse.jar;MDC\jre\lib\ext\store.jar;lib\classpath;www\classpath $JJ com.cisco.nm.dcr.impexp.DCRJobInvoker $JI' WHERE type_id = 'DCR Import Export';
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG com.cisco.nm.dcr.DCRDataManagement - Attribute type details feteched from database
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG com.cisco.nm.dcr.DCRSystem - DCR Subsystems intialized sucessfully
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Urn:"DCRCAM" Host:EGEER00AS64 Encoding style:1URL:443/cwhp/CTMServlet
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] INFO CTM.client - Establishing RPC
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Port specified in CTMClientProperties is 80
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - The newly formed URL is https://EGEER00AS64:443/cwhp/CTMServlet
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Urn:"LocalDCR" Host:EGEER00AS64 Encoding style:1URL:443/cwhp/CTMServlet
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] INFO CTM.client - Establishing RPC
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - Port specified in CTMClientProperties is 80
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - The newly formed URL is https://EGEER00AS64:443/cwhp/CTMServlet
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-16] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-21] DEBUG CTM.Registry - Server Start Check Passed For 47002
    [ Wed May 05 10:40:15 CEST 2010 ] [Thread-21] DEBUG CTM.Registry -  server running at 47002
    [ Wed May 05 10:40:16 CEST 2010 ] [Thread-22] DEBUG CTM.Registry - Server Start Check Passed For 47003
    [ Wed May 05 10:40:16 CEST 2010 ] [Thread-22] DEBUG CTM.Registry -  server running at 47003
    [ Wed May 05 10:40:17 CEST 2010 ] [main] INFO com.cisco.nm.dcr.DCRContext - Settings File: E:/LMS\lib\classpath\com\cisco\nm\dcr/dcr.ini
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG com.cisco.nm.dcr.DCRSystem - In Instantiating DCR Subsystems...
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG com.cisco.nm.dcr.DCRDatabaseAccess -  Query is UPDATE JRM set command= '$JP -cw:jre lib\jre -cp MDC\tomcat\common\lib\activation.jar;objects\db\java\smtp.jar;MDC\tomcat\common\lib\mail.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\dcrimpexp.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-client.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-util.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-server.jar;MDC\tomcat\webapps\cwhp\WEB-INF\classes;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ctm.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\struts.jar;MDC\tomcat\shared\lib\MICE.jar;MDC\tomcat\shared\lib\NATIVE.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\log4j.jar;MDC\tomcat\shared\lib\xerces.jar;MDC\tomcat\common\lib\servlet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jcert.jar;MDC\jre\lib\ext\jnet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jsse.jar;MDC\jre\lib\ext\store.jar;lib\classpath;www\classpath $JJ com.cisco.nm.dcr.impexp.DCRJobInvoker $JI' WHERE type_id = 'DCR Import Export';
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG com.cisco.nm.dcr.DCRDataManagement - Attribute type details feteched from database
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG com.cisco.nm.dcr.DCRSystem - DCR Subsystems intialized sucessfully
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG CTM.client - Urn:"DCRCAM" Host:EGEER00AS64 Encoding style:1URL:443/cwhp/CTMServlet
    [ Wed May 05 10:40:17 CEST 2010 ] [main] INFO CTM.client - Establishing RPC
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG CTM.client - Port specified in CTMClientProperties is 80
    [ Wed May 05 10:40:17 CEST 2010 ] [main] DEBUG CTM.client - The newly formed URL is https://EGEER00AS64:443/cwhp/CTMServlet
    [ Wed May 05 10:40:17 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:1
    [ Wed May 05 10:40:19 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:1
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - Invoked method   class com.cisco.nm.trx.tis.server.TISServiceImpl::getAllDeviceStatusSuccessfully
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - After executecall now
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - method executed
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - response sent
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - came in handleRequest
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - Header read
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - Got a closeconnection from client
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] INFO CTM.server - ClientEntry requestID:1273048820494 is deleted. hashtable size:0
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-8] DEBUG CTM.server - Will now close the TCPChannel
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-7] INFO com.cisco.nm.dcr.DCRContext - Settings File: E:/LMS\lib\classpath\com\cisco\nm\dcr/dcr.ini
    [ Wed May 05 10:40:20 CEST 2010 ] [Thread-7] DEBUG com.cisco.nm.dcr.DCRSystem - In Instantiating DCR Subsystems...
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG com.cisco.nm.dcr.DCRDatabaseAccess -  Query is UPDATE JRM set command= '$JP -cw:jre lib\jre -cp MDC\tomcat\common\lib\activation.jar;objects\db\java\smtp.jar;MDC\tomcat\common\lib\mail.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\dcrimpexp.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-client.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-util.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ogs-server.jar;MDC\tomcat\webapps\cwhp\WEB-INF\classes;MDC\tomcat\webapps\cwhp\WEB-INF\lib\ctm.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\struts.jar;MDC\tomcat\shared\lib\MICE.jar;MDC\tomcat\shared\lib\NATIVE.jar;MDC\tomcat\webapps\cwhp\WEB-INF\lib\log4j.jar;MDC\tomcat\shared\lib\xerces.jar;MDC\tomcat\common\lib\servlet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jcert.jar;MDC\jre\lib\ext\jnet.jar;MDC\jre\lib\ext\trust.jar;MDC\jre\lib\ext\jsse.jar;MDC\jre\lib\ext\store.jar;lib\classpath;www\classpath $JJ com.cisco.nm.dcr.impexp.DCRJobInvoker $JI' WHERE type_id = 'DCR Import Export';
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG com.cisco.nm.dcr.DCRDataManagement - Attribute type details feteched from database
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG com.cisco.nm.dcr.DCRSystem - DCR Subsystems intialized sucessfully
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG CTM.client - Urn:"DCRCAM" Host:EGEER00AS64 Encoding style:1URL:443/cwhp/CTMServlet
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] INFO CTM.client - Establishing RPC
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG CTM.client - Port specified in CTMClientProperties is 80
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG CTM.client - The newly formed URL is https://EGEER00AS64:443/cwhp/CTMServlet
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.common - classLocation is: jar:file:/E:/LMS/MDC/tomcat/webapps/rme/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - LocalUrnPort recd = 40053
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Optimization =  true
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-7] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Returning result of invoke
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Urn:"LocalDCR" Host:EGEER00AS64 Encoding style:1URL:443/cwhp/CTMServlet
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] INFO CTM.client - Establishing RPC
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Secure Connection is set to TRUE in CTMClientProperties
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Port specified in CTMClientProperties is 80
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - The newly formed URL is https://EGEER00AS64:443/cwhp/CTMServlet
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - RPC, EncodingStyle = CTMConstants.CTM_BINARY
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.common - classLocation is: jar:file:/E:/LMS/MDC/tomcat/webapps/rme/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - LocalUrnPort recd = 40053
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Optimization =  true
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-16] DEBUG CTM.client - Returning result of invoke
    [ Wed May 05 10:40:21 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:1
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] DEBUG CTM.common - classLocation is: jar:file:/E:/LMS/MDC/tomcat/webapps/rme/WEB-INF/lib/ctm.jar!/com/cisco/nm/xms/ctm/common/CTMConfig.class
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] INFO CTM.server - Publishing with urn:"inventory.ics.server-RMELogLevelChange"
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] DEBUG CTM.Registry - port:47001 urn:"inventory.ics.server-RMELogLevelChange"
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] INFO CTM.Registry -  Waiting to read the data ...
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:4
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Sever is Alive ! Socket[addr=localhost/127.0.0.1,port=47002,localport=32440]
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] ERROR CTM.Registry - DUPLICATE_URN,CTMRegistry::addNewURNEntry(): URN already in use
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] ERROR CTM.Registry - CTMRegistryResponse FAILED
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] ERROR CTM.Registry - CTMRegistryClient::addNewURNEntry  URN : inventory.ics.server-RMELogLevelChange ErrMsg : URN already in use
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] DEBUG CTM.server - Duplicate urn inventory.ics.server-RMELogLevelChange
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-16] ERROR CTM.server - CTMRegistryClient::addNewURNEntry  URN : inventory.ics.server-RMELogLevelChange ErrMsg : URN already in use
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - Incoming request type is:2
    [ Wed May 05 10:40:22 CEST 2010 ] [Thread-0] DEBUG CTM.Registry - backed up registry = {47003=[archive.service-RMELogLevelChange], 47002=[inventory.ics.server-RMELogLevelChange], 47001=[dmserver-RMELogLevelChange, EssentialsDM]}
    I attached the output of pdshow command.
    What is causing these Problem? A corrupt database or some invalid setting??
    Does anybody has an idea?
    Thanks in advance
    Frank

    Hi Joe,
    thanks for your fast reply.
    The corresponding SR is 614309645.
    These are the TAC provided files and sizes.
    05/06/2010 10:46 AM 1,731  ProcessEPMDataManager$EpmDataQueueItem$epmAlarmHistory.class
    05/06/2010 10:46 AM 1,391  ProcessEPMDataManager$EpmDataQueueItem$epmConditionHistory.class
    05/06/2010 10:46 AM 889  ProcessEPMDataManager$EpmDataQueueItem$epmEventProperties.class
    05/06/2010 10:46 AM 33,774  ProcessEPMDataManager$EpmDataQueueItem.class
    05/06/2010 10:46 AM 7,112  ProcessEPMDataManager.class
    The setup instruction from TAC:
    1- Stop the  daemon manager:
                 net stop crmdmgtd
    2- Go  to:
    $NMSROOT/MDC/tomcat/webapps/triveni/WEB-INF/classes/com/cisco/nm/trx/nos/server
    and backup  the original files (either copy them to another safe directory or rename them to  something like . Please don't retain the  original extension when renaming the files.
    3- Make  sure that the patch files have the following MD5s:
    MD5  (ProcessEPMDataManager$EpmDataQueueItem$epmAlarmHistory.class) =  08851732b0b3aac5bb0636cc3e8e3c10
    MD5  (ProcessEPMDataManager$EpmDataQueueItem$epmConditionHistory.class) =  7933e55abb6ad604aa6ca8d3126ff189
    MD5  (ProcessEPMDataManager$EpmDataQueueItem$epmEventProperties.class) =  af3b72952ec59d59e30b0309af80a9d2
    MD5  (ProcessEPMDataManager$EpmDataQueueItem.class) =  a70f49f8eab6bdea007b4ddd79e3809f
    MD5  (ProcessEPMDataManager.class) =  a6ec024955bb638d8fec47694816a82a3-
    4- Replace  the originals in the above mentioned directory with these  versions.
    5 Start the  Daemon manager:
                 net start crmdmgtd
    I followed these instructions and still facing the problem.
    I also searched for the libeay32.dll and ssleay32.dll, i found them, but in a path not included in the Windows PATH variable. Therefore these files should not influence LMS.
    In the NOS Log i still see these messages:
    10-May-2010|15:01:10.027|ERROR|NOS|Process EPM Data Thread:Pooled  Thread:1|EpmDataQueueItem|processEPMData()|.|Caught Exception in  processEPMData():  java.util.NoSuchElementException
    10-May-2010|15:01:39.747|DEBUG|NOS|Thread-5|EPMPoller|pollEPM_Wash|.|Inside  pollEPM_Wash
    10-May-2010|15:01:39.747|DEBUG|NOS|Thread-5|EPMPoller|pollEPM_Wash()|.|!!  _pollStarted =  true
    10-May-2010|15:01:39.747|DEBUG|NOS|Thread-5|NOSUtil|sendNotifOnStart|.|0
    10-May-2010|15:01:39.747|DEBUG|NOS|Thread-5|EPMPoller|pollEPM_Wash()|.|No  DB Exception in  polling
    Since these Messages depends on EPM Data i had a look into the EPMServer.log and EPM.log
    The EPMServer.log is shortened and showing all entries from the last dmgtd start. After the usual urn_not_found messages and the init of the Groups the following entry is generated:
    java.lang.NullPointerException
        at com.cisco.nm.trx.epm.providers.alarm.AlarmUpdateListener.processUpdatedAlarm(Unknown Source)
        at com.cisco.nm.trx.epm.providers.alarm.AlarmUpdateListener.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
    After that i changerd the logging of EPM to debug and attached the file as EPM_Debug.zip to this post.
    Thanks a lot for your valuable support so far.
    Cheers Frank

  • Touchsmart 9100; error 0x80072ee4; troubleshooting wizard error; system event notif. svc. error

    HP Touchsmart 9100 all-in-one
    Windows 7 professional
    First I get a window that says
    failed to connect to a window service --windows could not connect to the system event notification svc. This problem prevents standard user from logging into the system. as an administrator you can review the system event log for details about why the service didn't respond.
    Windows help and support cant start.  There is a problem with Windows Help and support.  To view our online help content visit windows website;
    The Internet is not available and the troubleshooter does not work.  I get this error when I try to connect to Internet;
    ERROR 137 (net::ERR-NAME-RESOLUTION_FAILED) unknown error
    I cannot run any diagnostics. I get this:  
    An error occurred while troubleshooting. Then it says Diagnostics troubleshooting wizard has stopped working. A prooblem has caused the system to stop working correctly.  Windows will close the program and nootify you if a solution is available.
    I get this window:
    Package ID: Performance Diagnostic
    Path;  Unknown
    Error Code; 0x80072ee4
    User;  
    Context: Restricted
    I restarted with the same result.
    I tried to do a startup repair and it said no problem was detected.
    Yesterday I had a problem where the cursor moved but nothing was clickable. I could not detect a problem, so I did a system restore to oct. 1 and it seemed to work.  The only thing added yesterday was malwarebytes. I scanned with that program and removed one item, but I cannot remember what it was.  
    I ran an AVG virus scan and it detected no viruses.
    I have the same issues in safe mode.
     When I go to services.msc it says it is "starting" and I cannot restart it.

    Hello sallatticum:
              Welcome to Hp's forum .  This link is how to correct  your error. How it works on a business computer that I do not because you have a total different operating  system then home users computers do. http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-code-0x80072ee4-and-the... 
           You need to goto the HP's Business Support Forum with your computer issues. Next time or if this fix did not work for your issue. http://h30499.www3.hp.com/t5/Business-PCs-Compaq-Elite-Pro/bd-p/bsc-271 Please click on Kudos if this resolved your issue. Thank you frrw. 

  • Notification Service OIM11g

    Hi
    Has any one tried out sending notifications using notification service using OIM 11g?
    When I am trying to send notification I am seeing exception like
    oracle.iam.notification.exception.TemplateNotFoundException: Cannot find the template.
    at oracle.iam.notification.template.TemplateServiceImpl.lookupTemplate(TemplateServiceImpl.java:512)
    when I submit a request as an administrator for others.
    and I am seeing
    oracle.iam.notification.exception.NotificationManagementException: Authorization check failed for LOOKUP Operation for user jon.doe.
    at oracle.iam.notification.impl.NotificationServiceImpl.lookupTemplate(NotificationServiceImpl.java:256)
    When I submit a request for self.
    Sample code:
    event = new NotificationEvent(eventId.toString(), userIds,
                                       null, "Request Creation",
                                       "To be sent during a request creation",
                                  "NOTIFICATIONADMIN", values,*
                                       reqInfo.getCreationDate(), reqInfo.getEndDate());
    System.out.println("Notification event constructed successfully");
    NotificationTemplate templ = notifSer.lookupTemplate("Request Creation", Locale.ENGLISH);System.out.println("template found="+templ.getEventname());
    boolean notifyStatus = notifSer.notify(event);
    Regards
    user12841694

    I found the problem and fixed it. For the benefit of others, here was the problem.
    The CS workflow notification service had suddently stopped about two months back. We found the root cause as the email address not being stored in the workflow's DSPerson database table. The email id was properly populated in portal database.
    On checking the User Profile Manager I found that the user's Email field was mapped to 'email' property instead of 'Email' property (yea, it is case-sensitive). Rectifying the mapping and running the hot sync (<PTWorkflow Install>\bin\hotsync.bat) migrated the email addresses to workflow database and notification emails started being sent out.
    Jignesh

  • Event Notifications for Deadlock Graphs

    So, I was trying to setup emailing of deadlock graphs using event notifications. I followed the information I found in Jonathon Kehayias PASS information, but it appears (and maybe I am wrong) that event notifications and queues only work on
    the database you create them under??? I see it says in BOL: http://msdn.microsoft.com/en-us/library/ms189453.aspx that it applies to the instance, but when I manually create a deadlock,
    the queue only gets an entry if the deadlock was created accessing an object in the database where the queue was created. If I switch to another database, it does not add to the queue at all. Is that right? Or did I possibly configure something wrong? I can't
    believe that events would be restricted to only fire in the database scope of the queue. That just sounds like it would essentially make this tool kind of useless for broader scoping work, like, anything actually instance related. Does anyone know? 
    John M. Couch

    Wow, I have a bunch of other stuff in there that maybe I don't need. I actually created a separate database. I am guessing that because you used MSDB that you did not have to enable the service broker using the code below:
    -- Enable Service Broker
    alter database [SysAdm]
    set enable_broker;
    go
    I also noticed you did not create a route ? 
    create route [CaptureDeadlockRoute] with service_name = 'CaptureDeadlockService', address = 'LOCAL';
    go
    And this appears to be where I screwed up. I did not pull the GUID and use it in the Event Notification creation, I simply used Current Database. 
    -- Now query the sys.databases for the service_broker_guid of the msdb database.
    SELECT service_broker_guid FROM sys.databases WHERE name = 'msdb';
    In MSDB, create event notification using the GUID from above:
    CREATE EVENT NOTIFICATION evnDeadLock_Graph
    ON SERVER
    WITH FAN_IN
    FOR DEADLOCK_GRAPH
    TO SERVICE 'svcDeadLock_Graph'
    , '8D785814-2D75-490C-B07D-7303363A9B6B'; -- the GUID for msdb goes here
    And I noticed you did not use the mail cert as in his code. Did it not work, or did you just skip it?
    -- Create a certificate to sign stored procedures with
    create certificate [dbaMailCert] encryption by password = 'dhsfosjf' with subject = 'Certificate for Sending Email via Stored Procedure';
    go
    -- Backup certificate so it can be create in master database
    backup certificate [dbaMailCert] to file = 'R:\Path\dbaMailCert.CER';
    go
    -- Add Certificate to Master Database
    use [master]
    go
    create certificate [dbaMailCert] from file = 'R:\Path\dbaMailCert.CER';
    go
    -- Create a login from the certificate
    create login [dbaMailLogin] from certificate [dbaMailCert];
    go
    -- The Login must have Authenticate Sever to access server scoped system tables
    -- per http://msdn.microsoft.com/en-us/library/ms190785.aspx
    grant authenticate server to [dbaMailLogin]
    go
    -- Create a MSDB User for the Login
    use [msdb]
    go
    create user [dbaMailLogin] from login [dbaMailLogin]
    go
    -- Add msdb login/user to the DatabaseMailUserRole
    exec msdb.dbo.sp_addrolemember @rolename = 'DatabaseMailUserRole', @membername = 'dbaMailLogin';
    go
    John M. Couch

  • Event Notifications: insufficient system memory

    I'm looking for a sanity check.  Service broker and Event Notifications are new to me, so it is possible I'm either abusing or incorrectly using the technology.  I'm experimenting with using Event Notifications and Server Broker to log error messages.  The process works pretty well as long as I don't do something stupid such as stressing the process by calling raiserror in a loop of a 100000 - twice.  It processed for a while, but eventual either SQL Server terminates (sev 25) or I had to force the SQL service to stop by killing it's process via task manager.  I could not connect to SQL Server or stop the service normally.  
    I have several general questions.  I think they are good questions.  Any thoughts or suggestions would be appreciated. 
    1) I'm looking into generating deadlock and blocking email alerts.  It appears that Event Notification is the way to go since there are very few events and I can respond to the event with an email.  Is there a better method to automate blocking and deadlock email alerts that include event details? 
    2) If I wanted to retain some history of errors for the developers, should Event Notifications be avoided if a high number of errors can be generated by a badly formed T-SQL?  Avoid TRC_ERRORS_AND_WARNINGS and USER_ERROR_MESSAGE?  (I could tell the developers not to be stupid, but why would that stop them if it does not stop me?)
    3) Is there a way to efficiently filter a Event Notification from entering the queue before the Receive statement is called?  I get some events that I throw away after receiving them.  For example, perhaps I want all events from all non-system databases without having to add a notification for each single non-system database.  Or I want all errors with severity 11-17 only? 
    4) Is there a trick to filter out events from the procedure activated by the event.  I tried using raiserror to debug a procedure without thinking.  The result was that the queue never was empty because the processing produced more events to process.  As a result, I don't use raiserror and use a try-catch to avoid raising errors in the procedure activated. 
    5) I can receive one message at a time using local variables or receive a batch of messages using a local table.  Is a small batch the best way even if there is memory pressure? 
    6) In the activated procedure I continue processing in a loop until there are no more messages.  This seems to be the most efficient.  Is this always the case?  Should I exit the procedure after a set number (large) of messages have been received?  The procedure would activate again to continue processing? 
    7) Is there any point to using the MAX_QUEUE_READERS setting when processing event notifications?  Should it be 1? 
    8) I currently get the next conversation group id and process its messages within a transaction.  Is this a bad idea with event notifications?  Should I just call Receive and get the next batch?  I don't really care if I lose some messages if things are going badly.  Should I avoid wrapping the receive in a transaction? 
    9) I could run a trace that starts with SQL Server; however, I think my only choice is to log to a file.  Is there a way to trace to a table using SQLTrace without running profiler?  I would like to automate the process and have the data in a table so that it can be easily queried and parsed for each database/team. 
    10) Is there a way to fix my process and handle 100000 messages a minute?  Is there a way to skip messages when it gets to busy?  Can the query generating the messages get throttled - perhaps along with the query designer - before the server gets into trouble?  Query the memory used by a queue and drop/create the queue with a delay if there is an issue? 
    I'm using a single CPU test machine with only 1 GB and 2 GB pagefile and a single disk.  OS: Windows 2003 R2 SP2.  SQL: 9.0.3054 and on 9.0.3228 (update package 6 just came out today).  I could add memory, but I think that would just permit me to queue more message before running into trouble. 
     I'll add code shortly - length limit.

    Here is the activation procedure to "receive" the messages.  I won't bother including the scripts for the two tables.  The 50000 char limit is trouble. 
    CREATE PROCEDURE [monitor].[prReceiveEventNotificationQueue]
    AS
    SET XACT_ABORT ON;
    BEGIN TRY
    WHILE 1=1
    BEGIN
    BEGIN TRANSACTION;
    WAITFOR(GET CONVERSATION GROUP @conversation_group_id
    FROM DBA.monitor.EventNotificationQueue), timeout 10000;
    IF @conversation_group_id IS NULL
    BEGIN
    ROLLBACK;
    BREAK;
    END;
    DELETE FROM @EventNotification;
    RECEIVE TOP (100)
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    NULLIF([service_name], @service_name_expected),
    service_id,
    NULLIF(service_contract_name, @service_contract_name_expected),
    service_contract_id,
    NULLIF(message_type_name, @message_type_name_expected),
    message_type_id,
    validation,
    CASE WHEN validation = 'X' THEN CAST(message_body AS XML)
    WHEN validation = 'E' THEN CAST('<empty />' AS XML)
    WHEN validation = 'N' THEN CAST('<binary><![CDATA['
    + CAST(message_body as varchar(MAX)) + ']]></binary>' AS XML)
    END,
    NULL,
    --NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    0
    FROM DBA.monitor.EventNotificationQueue
    INTO @EventNotification
    WHERE conversation_group_id = @conversation_group_id;
    SELECT @rowcount = @@ROWCOUNT
    IF @rowcount = 0
    BEGIN
    ROLLBACK;
    BREAK;
    END;
    -- preprocess some fields in the XML used in filtering and statistics
    -- insert new messages into the EventNotification table
    INSERT INTO monitor.EventNotification (
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    [service_name],
    service_id,
    service_contract_name,
    service_contract_id,
    message_type_name,
    message_type_id,
    validation,
    message_body,
    post_time,
    database_name,
    event_type,
    severity,
    error
    SELECT
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    [service_name],
    service_id,
    service_contract_name,
    service_contract_id,
    message_type_name,
    message_type_id,
    validation,
    message_body,
    post_time,
    database_name,
    event_type,
    severity,
    error
    FROM @EventNotification
    WHERE ignore = 0;
    COMMIT
    -- Gather statistics
    WAITFOR DELAY '0:00:00:01'
    END;
    END TRY
    BEGIN CATCH
    IF NOT(XACT_STATE() = 0)
    ROLLBACK;
    INSERT INTO DBA.monitor.ErrorLog (
    [number],
    error_message()
    END CATCH;
    RETURN 0;

Maybe you are looking for

  • Uninstall cups 1.3 under mac osx 10.4.11 ?

    Hi i wish to uninstall cups 1.3 for good. i recently had a lot of trouble with cups when upgrading to 10.4.11 it turned out this application called afloat (makes your windows go on top of others, transparent....) was making half of my applications cr

  • Right click context menu displayed as transparent

    I'm on FF35 and I've started noticing this problem for the last 6 or 7 versions. When I right click anywhere in the page in order to display the context menu, this is shown as transparent (only the lower and left side panel shadows are displayed). Th

  • Check writer process (PAYROLL) really slow

    Hi All Does anyone have any tips on speeding up the check writer process. I have already used and applied the CBO document for HRMS. I am looking for more tips to speed up the check writer process. It now takes 11 hrs to process 50,000 employee check

  • User exit for different modules

    Hi Everybody,   I want to search for all User Exits for different moldules. Like for SD, MM.....how can we find that? I know there is some way , Goto Se80, then..... Please help me guys, its Urgent.... Will be rewarded. Thanks in advance. Regards, Se

  • Adobe cs 5.5 installer won't take my password adobe

    I just updated the PC to a new version of windows and reformatted. I did uninstall adobe first (or whatever you call it). But now it doesn't want to re register, it won't accept the password even though it works on the website. I have NO intention of