Stopping a bundle running on the CEP Server

Hi,
I am trying to figure out how a bundle can stop itself and then re-start due to some external error involving database or other network connections. At the same time, I don't want to affect the state of other running bundles that are independent of the bundle being stopped/restarted.
Has anyone figured out a way to accomplish this?
Thanks -- Jim Leary

Hi Andy,
Thanks for the info. Does refreshing the ApplicationContext do the same thing as essentially "re-setting" the bundle? It looks like this would have to be done with an external bundle such as the idea that Manju mentioned previously.
One thing that the product lacks (and which is why I'm trying to implement this manually via code) is a easy way to monitor and automatically re-start and/or failover bundles that become unstable for one reason or another, along with some sort of messaging that states this action has occurred.
When you start getting into an architecture of running multiple bundles on one WLEVS instance as we do, having a finer-grain control and failover capability at the bundle level that is easy to implement and maintain would be useful. There's probably some OSGi magic that one could do here, but I'm not an OSGi expert so that would need to be defined and documented within the context of how the OCEP product operates.
--Jim Leary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Activating MS Office 2013 ProPlus via KMS running on the same server

    Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
    KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
    Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
    Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
    There are no entries in KMS event log related to this failure.
    Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
    Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
    Windows Script Host
    Software licensing service version: 6.1.7601.17946
    Name: Office 15, KMSHostVL edition
    Description: Office 15, VOLUME_KMS channel
    Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
    Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
    Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
    Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: xxxxx
    License Status: Licensed
    Remaining Windows rearm count: 4
    Trusted time: 2/05/2015 10:00:12 AM
    Key Management Service is enabled on this machine
    Current count: 0
    Listening on Port: 1688
    DNS publishing enabled
    KMS priority: Normal
    Key Management Service cumulative requests received from clients
    Total requests received: 0
    Failed requests received: 0
    Requests with License Status Unlicensed: 0
    Requests with License Status Licensed: 0
    Requests with License Status Initial grace period: 0
    Requests with License Status License expired or Hardware out of tolerance: 0
    Requests with License Status Non-genuine grace period: 0
    Requests with License Status Notification: 0
    OK
    Output of cscript ospp.vbs /dstatus
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    ---Processing--------------------------
    SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
    LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS: ---OOB_GRACE---
    ERROR CODE: 0x4004f00c
    ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
    Last 5 characters of installed product key: GVGXT
    DNS auto-discovery: KMS name not available
    Activation Interval: 120 minutes
    Renewal Interval: 10080 minutes
    KMS host caching: Enabled
    ---Exiting-----------------------------

    Given: Microsoft Windows Server 2008 R2 Enterprise 64-bit, all the latest security updates applied.
    KMS service set up and running, all the recommended updates applied (to handle possible activation issues for Windows 8 etc)
    Microsoft Office 2013 Standard deployed on the server mentioned above and on workstations on intranet, volume licensing in effect (proper KMS key for activation of Microsoft Ofice 2013 has been entered).
    Problem: I can't activate MS Office 2013 installation running on the same server where KMS service is being run.
    There are no entries in KMS event log related to this failure.
    Everything was restarted, reinstalled etc several times already (including installing 32-bit and 64-bit versions of the Office).
    Output of slmgr.vbs /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD:
    Windows Script Host
    Software licensing service version: 6.1.7601.17946
    Name: Office 15, KMSHostVL edition
    Description: Office 15, VOLUME_KMS channel
    Activation ID: 2e28138a-847f-42bc-9752-61b03fff33cd
    Application ID: 0ff1ce15-a989-xxxx-xxxx-xxxxxxxxxxxx
    Extended PID: 55041-00206-234-486666-03-xxxx-xxxx.xxxx-xxxxxxx
    Installation ID: 01683679734050124078134659xxxxxxxxxxxxxxxxxxxxxxxxxxx
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: xxxxx
    License Status: Licensed
    Remaining Windows rearm count: 4
    Trusted time: 2/05/2015 10:00:12 AM
    Key Management Service is enabled on this machine
    Current count: 0
    Listening on Port: 1688
    DNS publishing enabled
    KMS priority: Normal
    Key Management Service cumulative requests received from clients
    Total requests received: 0
    Failed requests received: 0
    Requests with License Status Unlicensed: 0
    Requests with License Status Licensed: 0
    Requests with License Status Initial grace period: 0
    Requests with License Status License expired or Hardware out of tolerance: 0
    Requests with License Status Non-genuine grace period: 0
    Requests with License Status Notification: 0
    OK
    Output of cscript ospp.vbs /dstatus
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    ---Processing--------------------------
    SKU ID: b13afb38-cd79-4ae5-xxxx-xxxxxxxxxxxx
    LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS: ---OOB_GRACE---
    ERROR CODE: 0x4004f00c
    ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x4004f00c
    Last 5 characters of installed product key: GVGXT
    DNS auto-discovery: KMS name not available
    Activation Interval: 120 minutes
    Renewal Interval: 10080 minutes
    KMS host caching: Enabled
    ---Exiting-----------------------------

  • How Can I create a cluster of two instances running on the same server?

    Hello,
    I can't find how to create a cluster or even a failover rule for my two instances running on the same server ODSEE 11gR1.
    Could you please help?
    Thanks,

    Hello,
    Clustering (intended as Sun Cluster, Veritas Cluster, etc... ) IS NOT SUPPORTED since 7.0:
    http://docs.oracle.com/cd/E20295_01/pdf/821-1216.pdf [page 20]
    and, based on my own experience, is the WORST way of achieving high availability of an LDAP Directory Service and an almost GRANTED way to get replication issues in your topology (lock, split, re-init, etc...).
    Please use instead the 'application-level' clustering that you get out of the box with the Multi-Master Replication.
    http://docs.oracle.com/cd/E20295_01/html/821-1217/index.html
    http://docs.oracle.com/cd/E20295_01/html/821-1220/fhkry.html#scrolltoc
    HTH,
    Marco

  • Securing applications communications running in the same server

    Hi everybody,
    I want to share critical information between two applications (medical information about patients) using JMS queues, moreover due to this criticity i was planning to secure this communication using SSL. The problem is that one of the client applications, because of his architecture, have problems when accessing the JMS queues.
    But I have to say that both applications will run in the same server (physical machine), knowing that, what kind of security problems could we encounter if, finnally we don't cypher the communication?
    I guess that the danger is lower than if the two applications would run in different machines, wouldn't it?
    Thanks!!!

    hi,
    add crossContext="true" in server.xml under tomcatx.x\conf\ in your <Context tag

  • How do I stop programs from running in the background?

    How do I stop programs from running in the background?  In the old system you could delete them.

    Most of those apps aren't running in the background, but what you are asking is how to close the apps.
    To close an app in iOS 7, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.

  • How can i stop apps from running in the background with the new ios7 update

    How can i stop apps from running in the background with the new ios7 update

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

  • Please make a permanent solution to stop applications from running in the background

    'multitasking' is not a very usefull invention and should have a permanent solution, to stop applications from running in the background instead of having to go in and exit them. the only thing that is usefull is to go in and click on next song under music, everything else running in the background can just be exited as far as im concerned, its not like i have 400 applications, and i have to go searching through my phone to find them

    Push twice on the Home button to display running apps. Press on one and hold until they wiggle. Tap on the circled red "x" to remove each from the background. Note that backgrounded apps are not actually running until you access them except for those that have been written to run concurrently such as Music, which can continue playing while you are using other apps.

  • How do you stop apps from running on the iPad with the new ios7?

    How do you stop apps from running on the IPad with the new ios7?  I have an app for animation that pops up a message to stop other apps from running.  If I press onto a app and it starts shaking there are no -, just x's.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • XI and R/3 Running on the same Server.

    Hello Friends!
    One year ago I've installed XI on a machine that already had a R/3 instance. Although there were different instances, one for SAP R/3 and one instance for the ABAP part of XI, I couldn't get to connect XI to the R/3, appartently XI searched for the instance through the IP address, ignoring the instance ID parameter.
    Now I have again the same challenge, I have only one machine to run R/3 and XI.
    Does anyone know if it is possible to do?

    Hi Tadeo,
    from ERP 2004 you can install XI on the same server.
    Regards,
    Udo

  • How do I stop apps from running in the background on my 4s

    How do I stop apps from running in background on my iPhone 4s?  I double tap the home button and the running apps will move right and left but no "x" appears to stop them from running.

    Very few apps actually run in the background:
    Understand multitasking and background activity on your iPhone, iPad, or iPod touch - Apple Support
    As the article explains, force quitting an app is different under iOS 8.

  • Auto Scheduled run of the Sql server management studio or a auto refreshing query

    Hi ALL ,
    This is a very different weird requirement but workaround  for one of my requirement  . Scenario is that sql server enterprise edition is installed on a vm . I create a session with the vm using the remote desktop . I have scheduled a ssis package
    on the server and it should run 4 am daily us timing but its failing . If in case a user is connected to the management studio package runs on time . So i have to disconnect from the remote desktop and its not possible for me to login at 4 am every day for
    running package.
    Requirement :  Is it possible that the sql sever management studio automatically turns on at 03:30 am and authenticates in .If that is possible my package won't fail . If this is not possible  is it possible that sql script auto refreshes every
    30 min's so what i can do i will run the auto refreshing script in the management studio once and will disconnect the remote desktop not the sql server session so my virtually my session on vm will end but vm is always on from the vcenter and there is some
    activity on the sql server management studio so even the application won't be closed after a stipulated time frame leading to running of my package on time.
    Please help

    Hi Latheesh NK ,
    Below is the error message SSIS one i extracted from the history :
    Date        3/8/2014 11:00:00 AM
    Log        Job History (SSIS package)
    Step ID        1
    Server        xyz\xyz
    Job Name        SSIS package
    Step Name        Package
    Duration        00:00:01
    Sql Severity    0
    Sql Message ID    0
    Operator Emailed    
    Operator Net sent    
    Operator Paged    
    Retries Attempted    0
    Message
    Executed as user: xyz\Administrator. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:00:00 AM  Error: 2014-03-08
    11:00:01.31     Code: 0xC0208449     Source: Data Flow Task 1 Source - Query [95]     Description: ADO NET Source has failed to acquire the connection {68D5B1D7-17B1-4F95-9B1D-7615425C4A07} with the
    following error message: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0047017     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: Source - Query failed validation and returned error code 0xC0208449.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC004700C     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0024107     Source: Data Flow Task 1     
    Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:00:00 AM  Finished: 11:00:01 AM  Elapsed:  0.406 seconds.  The package execution
    failed.  The step failed.

  • Does Adobe Document Service run on the JAVA server?

    I have simple question about ADS.
    Do I need any internet connection to use print forms?
    The JAVA server at customer site does not allow any outside internet connection,
    so I'm wondering I still can use Print forms.
    Thanks for your time.

    Hi Kim,
    ASD Runs on Java stack. But internet is not a pre-requisite for ADS to run.
    Thanks & Regards,
    Sanoosh

  • Mail Flow between 2 AD Sites stops and EMC unavailable on the local server

    Hello All,
    I'm hoping you can help me find a solution to this recurring problem.
    SYMPTOMS :
    Mail Flow between 2 EXCH2010 servers in 2 different AD Sites (separate time zones) stops suddenly with no messages in the Event Viewer or exchange logs.
    When this happens the EMC is unavailable on the local server : Error message Connection attempt to http://<servername> with the help of "Kerberos" failed : The connection to the remote server failed with the following error : Access Refused
    Same error when opening Exchange Powershell
    On the OTHER server (ie the one I can connect to in Site 2) I can :
    1 - Connect to the first server using EMC with no problems
    2 - Using mail queue viewer pointed at the server in Site 2 I can see the following error for email directed to the server in Site 1 : 451 4.4.0 Primary target address responded with: "235 00000804YIIF/<load of alphanumeric characters 80 or so long>
    RECOVERY :
    A reboot of the server allows access to the EMC and Powershell and mail flow once again starts.... until the next time
    OTHER INFORMATION :
    When in the above state, ran Exchange Management Troubleshooter which finds errors but cannot identify them : "Unknown Error" then stops !
    Ran ExBPA : turns up nothing
    Currently needing to reboot every day or so.
    I though maybe the local server had a problem with resolving itself correctly, did some troubleshooting around that and turned up nothing. Even added itself to its hosts file in order to resolve its IP : Changed nothing.
    Searched on the above error 451 4.4.0 etc and turned up nothing useful.
    I think the Kerberos error is telling, but I haven't turned anything up during a search yet.
    Any ideas ?
    Please AMA if you need more info or clarification.
    Matthew

    Hello,
    When the issue happens, can you telent the target server successfully?
    Please refer to the following KB article to see if it helps:
    https://support2.microsoft.com/kb/979175?wa=wsignin1.0
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Urgent: PLS help me start the CEP server after upgrade to 11.1.1.7

    Dear Legends,
    I referred the following doc to upgrade OCEP to 11.1.1.7 http://docs.oracle.com/cd/E28280_01/doc.1111/e14476/install.htm#CHDHHJIA
    I executed the steps in 2.8.2 and tried to start the server. But it is not starting up ,instead giving the following error:
    Cannot get bundle from registry class com.bea.cie.lconfig.NonDeterministicFeatureException: Oracle Complex Event Processing:11.1.6.0/org.eclipse.persistence_2.2.0.v20110202-r8913, Oracle Event Processing:11.1.7.0/org.eclipse.persistence_2.2.0.v20110202-r8913
    class com.bea.cie.lconfig.NonDeterministicFeatureException: Oracle Complex Event Processing:11.1.6.0/org.eclipse.persistence_2.2.0.v20110202-r8913, Oracle Event Processing:11.1.7.0/org.eclipse.persistence_2.2.0.v20110202-r8913
    at com.bea.cie.lconfig.internal.RegistryConfiguration.getInputFeatureList(RegistryConfiguration.java:172)
    at com.bea.cie.lconfig.internal.RegistryConfiguration.addFeatures(RegistryConfiguration.java:71)
    at com.bea.cie.lconfig.internal.RegistryConfiguration.<init>(RegistryConfiguration.java:37)
    at com.bea.cie.lconfig.internal.DefaultConfigurationFactory.createConfiguration(DefaultConfigurationFactory.java:17)
    at com.bea.wlevs.Launcher.getBundleFromFeature(Launcher.java:749)
    at com.bea.wlevs.Launcher.loadBundles(Launcher.java:840)
    at com.bea.wlevs.Launcher.run(Launcher.java:266)
    at com.bea.wlevs.Launcher.main(Launcher.java:133)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wlevs.Server.main(Server.java:238)
    Dear Legends,
    I referred the following doc to upgrade OCEP to 11.1.1.7 http://docs.oracle.com/cd/E28280_01/doc.1111/e14476/install.htm#CHDHHJIA
    I executed the steps in 2.8.2 and tried to start the server. But it is not starting up ,instead giving the following error:
    Cannot get bundle from registry class com.bea.cie.lconfig.NonDeterministicFeatureException: Oracle Complex Event Processing:11.1.6.0/org.eclipse.persistence_2.2.0.v20110202-r8913, Oracle Event Processing:11.1.7.0/org.eclipse.persistence_2.2.0.v20110202-r8913
    class com.bea.cie.lconfig.NonDeterministicFeatureException: Oracle Complex Event Processing:11.1.6.0/org.eclipse.persistence_2.2.0.v20110202-r8913, Oracle Event Processing:11.1.7.0/org.eclipse.persistence_2.2.0.v20110202-r8913
    at com.bea.cie.lconfig.internal.RegistryConfiguration.getInputFeatureList(RegistryConfiguration.java:172)
    at com.bea.cie.lconfig.internal.RegistryConfiguration.addFeatures(RegistryConfiguration.java:71)
    at com.bea.cie.lconfig.internal.RegistryConfiguration.<init>(RegistryConfiguration.java:37)
    at com.bea.cie.lconfig.internal.DefaultConfigurationFactory.createConfiguration(DefaultConfigurationFactory.java:17)
    at com.bea.wlevs.Launcher.getBundleFromFeature(Launcher.java:749)
    at com.bea.wlevs.Launcher.loadBundles(Launcher.java:840)
    at com.bea.wlevs.Launcher.run(Launcher.java:266)
    at com.bea.wlevs.Launcher.main(Launcher.java:133)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wlevs.Server.main(Server.java:238)
    please help me resolve this issue.
    Thanks in Advance.
    Thanks in Advance.

    Hi,
    I used OCEP 10.3.0.0 and upgraded the wlevs30 domain to PS6(11.1.1.7.0). and it worked without such error.
    My experience is:
    1) in OCEP 10.3.0.0 it needs not to add the security groups in atnstore.txt
    2) you need to add <scratch-directory/> for Jetty in server's config.xml otherwise you will see the visualizer takes a long time to get up on Windows
    Thanks
    Junger

Maybe you are looking for

  • Opening and closing osk form java program on windows 8

    Hi I want to open Osk when ever I click on any text field in windows 8. I tried in below mentioned way to open and close but it is usefull. could some body help in opening and closing osk properly on windows 8 Opening OSK: builder = new ProcessBuilde

  • Clear form after CREATING record

    Right now when I fill out a form then click the CREATE button, the record shows up in the report but it also remains in the form in "edit"mode. What I want is after I click the CREATE button, the form clears and the CREATE button remains so I can add

  • TestStand has encountered a problem and needs to close...

    Hi everyone, I have an issue with TestStand crashing and would appreciate some guidance from some wise TS gurus... I am using Win XP SP2 with TS3.5 Installed (along with everything) from the February issue of a Professional Developer Suite. I have a

  • Move what is needed to have iTunes look to D HDD instead of C SSD

    I have a new windows computer (Windows 8 operating system without touch screen) that contains a 1T HHD (Hard Disc Drive) and a 250 SSD (Solid State Drive). I have a large amount of music which would fill the SSD, so I want to store all the music on t

  • Iphone 4 bluetooth - poor audio quality

    I received complaints DAILY from friends and colleagues that my voice sounds muffled (or under water or that they simply can not understand me) when speaking to them with my bluetooth handsfree speaker kit in my car. This is very frustrating because