Shutting down a RMI registry programmatically

If I start up a RMI registry in my code using the following:
Registry reg = LocateRegistry.createRegistry(port);How do I shut it down programmatically? I did a scan on the Registry api and did not find a suitable method. I am looking for a method like close() in ServerSocket to stop listening on a port.

UnicastRemoteObject.unexportObject(reg, true).
This will only work if 'reg' is still the same object returned by LocateRegistry.createRegistry(). It won't work on a result of LocateRegistry.getRegistry() (because that is a stub, not the actual remote object).

Similar Messages

  • Shutting down default JMX RMI port

    I am starting up my JMX agent for remote access and it opens 2 ports, one which is set by the -Dcom.sun.management.jmxremote.port=XXXX and one randomly assigned port.
    I know I can install a custom JMX agent to specify another RMI port that I can control, but what I really want to do is shut down the randomly assigned one. The problem is that weve a port monitoring app, so I can't open any ports open that I cannot control with causing IT to complain. Is there any way to disable this connector?
    Thanks,
    Mark

    Hi,
    Please have a look at these articles:
    [http://blogs.sun.com/jmxetc/tags/firewall|http://blogs.sun.com/jmxetc/tags/firewall]
    they should answer your questions.
    Best regards,
    -- daniel
    JMX, SNMP, Java, etc...
    [http://blogs.sun.com/jmxetc|http://blogs.sun.com/jmxetc]

  • Help! Closing RMI Registry!

    I'm using RMI and binding the registry to a port. However, if I close down the RMI application and re-start it, the registry is still bound to the port and causes errors. Is there any way I can shut-down the registry without having to kill it off manually?
    Thanks.

    Well, no, it isn't. If you start it from, say, a DOS prompt, then you have to kill the window by clicking on it and hitting CTRL-C.
    Why not look up rmi.registry in the API guide and figure out how to start rmiregistry programmatically? I think the method is create() or createRegistry(). Sorry, too lazy to look it up myself.

  • Planning services shut down automatically

    Hi Guys,
    We are trying to get this particular service started “./startHyperionPlanning.sh“ and currently the client is using Weblogic 9.2 mp3.Eevrything was running fine and since last week we have been facing this issue.We thought that there could be a problemw ith the admin account records being corrupted in HSP_user & as oracle suggested we went and deleted the object_id for the admin account it worked for like a day and then since then it keeps abruptly shutting down and we have to start it manually …Throws the following error down below
    JAVA Memory arguments: -Xms512m -Xmx1024m -Xss1024k
    WLS Start Mode=Production
    CLASSPATH=/app/oracle/hyperion/common/CLS/9.5.0.0/lib/cls-9_5_0.jar:/app/oracle/hyperion/common/config/9.5.0.0/lib/hit-config.jar:/app/oracle/hyperion/common/config/9.5.0.0/lib/hit-common.jar:/app/oracle/hyperion/common/SAP/lib:::/app/oracle/bea/patch_weblogic923/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/oracle/bea/jrockit_150_12/lib/tools.jar:/app/oracle/bea/weblogic92/server/lib/weblogic_sp.jar:/app/oracle/bea/weblogic92/server/lib/weblogic.jar:/app/oracle/bea/weblogic92/server/lib/webservices.jar::/app/oracle/bea/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/app/oracle/bea/weblogic92/server/lib/xqrl.jar::
    PATH=/app/oracle/bea/weblogic92/server/bin:/app/oracle/bea/jrockit_150_12/jre/bin:/app/oracle/bea/jrockit_150_12/bin:/usr/kerberos/bin:/usr/java/j2sdk/bin:/usr/java/j2re/jre/bin:/usr/local/bin:/bin:/usr/bin:/home/oraas13/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    BEA JRockit(R) (build R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-linux-ia32, compiled mode)
    Starting WLS with line:
    /app/oracle/bea/jrockit_150_12/bin/java -jrockit -Xms512m -Xmx1024m -Xss1024k -DComponentName=HyperionPlanning -DcomponentId=203443c9f0b7ed1963235fde123a074cd4d7eba -Dsun.net.inetaddr.ttl=0 -DHYPERION_HOME=/app/oracle/hyperion -Dhyperion.home=/app/oracle/hyperion -Dweblogic.j2ee.application.tmpDir=/app/oracle/hyperion/deployments/temp -Dweblogic.security.SSL.trustedCAKeyStore=/app/oracle/bea/weblogic92/server/lib/cacerts -DComponentName=HyperionPlanning -DcomponentId=203443c9f0b7ed1963235fde123a074cd4d7eba -Dsun.net.inetaddr.ttl=0 -DHYPERION_HOME=/app/oracle/hyperion -Dhyperion.home=/app/oracle/hyperion -Dweblogic.j2ee.application.tmpDir=/app/oracle/hyperion/deployments/temp -da -Dplatform.home=/app/oracle/bea/weblogic92 -Dwls.home=/app/oracle/bea/weblogic92/server -Dwli.home=/app/oracle/bea/weblogic92/integration -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/app/oracle/bea/patch_weblogic923/profiles/default/sysext_manifest_classpath -Dweblogic.Name=HyperionPlanning -Djava.security.policy=/app/oracle/bea/weblogic92/server/lib/weblogic.policy weblogic.Server
    <Mar 2, 2010 5:26:16 PM EST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /app/oracle/bea/weblogic92/platform/lib/p13n/p13n-schemas.jar:/app/oracle/bea/weblogic92/platform/lib/p13n/p13n_common.jar:/app/oracle/bea/weblogic92/platform/lib/p13n/p13n_system.jar:/app/oracle/bea/weblogic92/platform/lib/wlp/netuix_common.jar:/app/oracle/bea/weblogic92/platform/lib/wlp/netuix_schemas.jar:/app/oracle/bea/weblogic92/platform/lib/wlp/netuix_system.jar:/app/oracle/bea/weblogic92/platform/lib/wlp/wsrp-common.jar>
    <Mar 2, 2010 5:26:17 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-linux-ia32 from BEA Systems, Inc.>
    <Mar 2, 2010 5:26:18 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP3 Mon Mar 10 08:28:41 EDT 2008 1096261 >
    <Mar 2, 2010 5:26:19 PM EST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /app/oracle/bea/license.bea>
    <Mar 2, 2010 5:26:19 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 2, 2010 5:26:19 PM EST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Mar 2, 2010 5:26:20 PM EST> <Notice> <Log Management> <BEA-170019> <The server log file /app/oracle/hyperion/deployments/WebLogic9/servers/HyperionPlanning/logs/HyperionPlanning.log is opened. All server side log events will be written to this file.>
    <Mar 2, 2010 5:26:22 PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 2, 2010 5:26:24 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Mar 2, 2010 5:26:24 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    /app/oracle/hyperion/common/config/9.5.0.0/product/planning/9.5.0.0/planning_1.xml
    displayName = Planning
    componentTypes =
    priority = 50
    version = 9.5.0.0
    build = 1
    location = /app/oracle/hyperion/products/Planning
    taskSequence =
    task =
    *******/app/oracle/hyperion/common/config/9.5.0.0/registry.properties
    Creating rebind thread to RMI
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 111.168.16.111:8300 for protocols iiop, t3, ldap, http.>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:8300 for protocols iiop, t3, ldap, http.>
    <Mar 2, 2010 5:26:27 PM EST> <Warning> <Server> <BEA-002611> <Hostname "localhost.localdomain", maps to multiple IP addresses: 111.168.16.111, 127.0.0.1>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "HyperionPlanning" for domain "WebLogic9" running in Production Mode>
    <Mar 2, 2010 5:26:27 PM EST> <Warning> <Server> <BEA-002611> <Hostname "linux50.xxx.com", maps to multiple IP addresses: 111.168.16.111, 127.0.0.1>
    <Mar 2, 2010 5:26:27 PM EST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    <Mar 2, 2010 5:26:28 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Mar 2, 2010 5:26:28 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    using Java property for Hyperion Home /app/oracle/hyperion
    Setting Arbor path to: /app/oracle/hyperion/common/EssbaseRTC/9.5.0.0
    Setting HBR Mode to: 2
    =2010-03-02 17:27:02,522 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    d{ISO8601} WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Embedded HBR initialized.
    Reaquired task list lease: Tue Mar 02 17:27:02 EST 2010: 1267568822784
    d{ISO8601} INFO [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.audit.client.runtime.AuditRuntime - Audit Client has been created for the server http://linux50.xxx.com:28080/interop/Audit
    d{ISO8601} INFO pinging com.hyperion.audit.client.cache.AuditConfigFilter - Client Enable Status true
    d{ISO8601} INFO filterConfig com.hyperion.audit.client.cache.AuditConfigFilter - Client Enable Status true
    [Tue Mar 02 17:27:27 EST 2010] Planning successfully notified HBR repository.
    Exception in thread "Thread-26" Exception in thread "RMI ConnectionExpiration-[111.168.16.111:40272]" Exception in thread "Timer-1" Exception in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" Exception in thread "RMI ConnectionExpiration-[111.168.16.111:11333]" Exception in thread "Thread-13" java/lang/OutOfMemoryError:
    --- End of stack trace
    java/lang/OutOfMemoryError:
    --- End of stack trace
    Exception in thread "weblogic.timers.TimerThread" Exception in thread "filterConfig" java/lang/OutOfMemoryError:
    --- End of stack trace
    Exception in thread "Timer-2" Exception in thread "Timer-4" Exception in thread "ExecuteThread: '7' for queue: 'weblogic.socket.Muxer'" Exception in thread "DoSManager" Exception in thread "RMI LeaseChecker" Exception in thread "weblogic.time.TimeEventGenerator" [WARN ] Exception occured in registered Java signal handler:
    Exception in thread "(Signal Handler)"
    Exception in thread "GC Daemon" Exception in thread "Timer-5" Killed
    [oraas13@linux50 bin]$ /app/oracle/hyperion/deployments/WebLogic9/bin/startWebLogic.sh: line 184: 25736 Killed ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}
    Edited by: user9208793 on Mar 4, 2010 2:59 PM
    Edited by: user9208793 on Mar 4, 2010 3:01 PM

    Guess not, huh.
    Seems like such an obvious feature?
    C.

  • RMI Registry leaves thread running

    I've searched the postings about this topic and none of them have been helpful. I create an RMI registry at port 1099 in my app, use it, and then try to shut it down, but it leaves a thread running.
    The following sample code shows what my code does (in a condensed form):
    Registry registry = LocateRegistry.createRegistry(1099);
    Communicator c = new CommunicatorImpl();
    registry.rebind("//localhost/remoteserver", c );
    Naming.rebind("rmi://localhost:1099/TriggerService", c);
    registry.unbind("//localhost/remoteserver");
    Naming.unbind("rmi://localhost:1099/TriggerService");
    boolean b = UnicastRemoteObject.unexportObject(registry, true);
    System.err.println( "unexported: "+b );When I run this code in Eclipse and the code exits, I still have a process running that was spawned by "LocateRegistry.createRegistry(1099)", but I can't figure out how to get a handle for it within my program, so that I can kill it. I've read that it will end when the JVM ends, but the RMI portion of my app is only a small part and I need the rest of it to keep running. Is there a way to stop this thread?
    Thanks,
    Tony

    Well I only see 'createRegistry' and 'getRegistry' I don't see any 'destroyRegistry' methods. So I don't know.
    What I used to do back in the day was to use Runtime to start an external process for processes that I needed to kill later on. So perhaps you can use the runtime to start the registry from the command line so to speak. Then hold a reference to the returned process. Then you can kill that process when you want the registry to die. In this case you will for sure be creating a new 'jvm' for the registry to run within. (if the registry is a java program)
    Otherwise I have no idea why you would be seeing an extra java process. If you run the eclipse debugger, the debugger should not exit until the whole process is done. Even when the program is done, the debugger will still be 'live' and you can push the stop button to stop the whole launched process.

  • Adobe Creative Suite Design CS6 - PhotoShop, InDesign and Illustrator immediately shuts down after startup

    I'm troubleshooting for a customer who have Adobe Creative Suite Design CS6.
    His programs suddenly wont start, they launches and starts to read plug-ins and open up a workspace, but then without warning/error it shuts down. no log, error message or anything...
    It's the same for PhotoShop, InDesign and Illustrator both in 32 bit and 64.
    He is running the suit on a Hp EliteBook 8560p with Windows 7 Pro x64 sp1.
    He also have had a Wacom Bamboo CTE 650 penpad installed before.
    This is what I've done so far:
    * Uninstall the whole suit and reinstalled it again (Done this 3-4 times, manually deleted regestry-files, used CClean and other cleaning tools)
    * Deleted the wacom-drivers with controlpanel tool, Windows driver Clean tool, CClean and manually deleted registry-keys and files.
    * Uninstall Anti-Virus software and replaced it with another, inactivated AV and Windows Firewall.
    * Deleted register-files for the suits and "reregister" them again.
    * Full patch both for windows and adobe softwares.
    * Reboot between each step
    Any suggestions?
    I have to add that adobe support for this $2000 software really sucks...
    Thanks!
    // Rikard

    Problem solved!
    I went through all the folders associated with adobe cs6 and renamed them (one by one) so they would be recreated.
    I did this before but seems like I missed this specific one.
    Anyway, when I renamed the folder "SLCache" in C:\Program Files (x86)\Common Files\Adobe\ and then ran the applications one by one as administrator I was prompted to enter a serial-key again and log in to my Adobe-ID.

  • CS3 shuts down after wierd error

    I'm guessing this problem can be solved by uninstalling/installing my printer driver but thought I'd check here to see if anyone's seen an error this strange anyway.
    If I try to open either a large number of photos or a few large ones, I can sometimes end up with CS3 closing and telling me that a faulting module, e_fuicaia.dll, caused the program to shut down.
    Just what this has to do with anything, I don't know. It is a driver for an old epson 220 cd printer. Why loading photoshop causes the printer driver to crash it seems quite odd.
    As I said, hopefully reinstalling the printer driver will have an effect, although the printer itself works just fine. hmmmm

    Is the Epson 220 set as your default printer? I'd set another, even if its say the "Generic PS Printer," or the Acrobat Printer. You should be able to use the CD printer, by selecting it in the Print dialog box. If that doesn't work, then maybe an uninstall/re-install would work. Personally, I'd do a Registry cleaning, after uninstall, and prior to re-install.
    Hunt

  • Why won't my G5 shut down after upgrading to OS 10.4?

    Hey guys. I have a problem with upgrading my OS to 10.4.
    I am running a Late 2004 Dual 2 GHz PowerPC G5 with two internal drives. About a month ago, I upgraded the OS to 10.4.3. It was great having spotlight, but the comptuer would refuse to shut itself down. Instead, it closes all the apps and windows, and gives me a spinning ball. After about 10 minutes, the hard-drives stop clicking, after which the fans kick on and stay on full blast until I manually unplug the comptuer. I have upgraded to 10.4.6, reset PRAM, reset SMU (PMU?), verified and repaired...
    In thinking that this was a problem with the OS on the previous system, I installed 10.4.3 (my install disc) onto my second drive, which was happily running 10.3 (this was my backup). If running on this other drive, with 10.4.3, it also fails to shut down! I have done the same suite of resets and upgrades to 10.4.6, but it still doesn't shut down. Is there an incompatibility between my G5 and 10.4? Any advice about what I can do? Help!

    Contributed by Fumiaki Kawashima a Level 4 here;
    There are many reasons to become unable shutting down or restarting from Apple Menu. Some were explained by other posters.
    Most importantly, loginwindow (the parent process is launchd.) close out the user session, continue to set the device permissions and user preferences to their defaults in a restart action, or the process power off the system in a shutdown action. However, the issue proves that somewhere in those routines cannot be performed.
    Users authentication system seems to be intact because you can restart or shutdown from the login window. However, the admin account authenticated by the Tiger security systems could confuse somehow and affect loginwindow process for setting up the user environment. This may result in interfering with the process for the shutdown and restart mentioned above.
    Test if you can shutdown from the keyboard-- Holding down controloptioncommand keys, and then press the eject key.
    Check if the loginwindow plists are corrupted. To do this test, remove the followings to temporary folders on the desktop, and shutdown from the keyboard shortcut combination. Restart the computer to test the recurrence.
    /Library/Preferences/com.apple.loginwindow.plist
    /Users/HOME/Library/Preferences/com.apple.loginwindow.plist
    Try disabling Login Items for third-party applications via the Accounts system preference, if any.
    Verify whether any third-party kernel extensions (including device drivers) interfere with the loginwindow hooks process-- Start up with a Safe-mode, then test the Restart from Apple Menu to see whether it works. Also, boot into a Single-user mode, and test if "reboot" command is available from the BSD layer. The I/O Kit API for software developers provides a shutdown hook so that ".kext" troubleshooting may need to be considered. Besides, some bad programmed extension may not be unloaded automatically at a shutdown or restart.
    If the computer is configured with Irish language Input method and/or third-party Irish keyboard, try disabling them to test.
    A third-party application or custom script may interfere with the loginwindow hooks for the Shut Down or Restart. For example, if you install an application that prevents casually powering down a system, the Shut Down and Restart buttons may not work. Also, if you install a P2P file sharing application, try uninstalling it.
    As last resorts, troubleshoot a bad RAM and consider "Erase and Install" solution.
    OPTION:
    Post a part of system.log that indicates events from "localhost kernel[0]: standard timeslicing quantum is 10000 us" to the next same line.
    This may help to narrow down because restarting or shutting down the system process can initiate the procedure programmatically by sending an appropriate Apple event to Mac OS X Tiger's system process (loginwindow).
    Likewise, check console.log whether any failures is reported.
    Corrections:
    Most importantly, the loginwindow (the parent process is launchd.) close out the user session, continue to set the device permissions and user preferences to their defaults in a restart action, or the process power off the system in a shutdown action.
    However, the admin account authenticated by the Tiger security systems could confuse somehow and it may impact on the loginwindow process for setting up the user environment. This may result in interfering with the process for the shutdown and restart as mentioned above.
    Addendum:
    If you post a copy of system.log, consider to edit the Ethernet interface ID to a fake value.
    API = Application Programming Interface
    Cheers!
    DALE

  • Shutdown? How do I get windoze 10 to SHUT DOWN and TURN OFF?

    I have a ThinkPad T60, with an Intel T7200 CPU, 4GB memory, ATI Fire graphics, 320GB hdd. Windoze (no not a typo) 10 as the ONLY operationg system on the machine. When I shut down the computer, it does NOT fully shut down, it goes into hyper sleep mode?
    Whatever. I have NEVER in all my years of using laptops (my first was a ThinkPad 380XD with Win 95) used sleep mode or hibernate. I have found those methods of shutting down to be buggy. Windoze 10 is STILL buggy on sleep mode. Why can I NOT shut down the
    comptuer properly without doing a hard shutdown? When Windoze 10 (this is why I call it windoze) restarts from its hybrid sleep mode the computer takes more than 10 minutes to boot and load into the logon screen. This happens EVERY time I use the normal shutdown
    method of Start, clidking the little circle i button and choosing shutdown. It puts the computer to sleep. When recovering from this moronic sleep mode it seriously takes 10 minutes or more to eventually load the logon screen. I can turn the laptop on, go
    grind coffee beans, change out the Mr Coffee filter and put in fresh grind, fill the water reservoir and start the brewing process and BREW a full 12 cup pot of coffee BEFORE Windoze 10 is ready with the logon screen! I have not been able to find settings
    to select what the power button and shutdown command does. I have set the computers Power Options to NEVER SLEEP and NEVER HIBERNATE. When I shut my computer off, I want it OFF. Not going to some craptacular hybrid sleep mode that doesn't do what it's supposed
    to. Keep my drivers in stasis so the computer boots faster. BULLDUST! 10 minutes is NOT faster. I can hold the power button 4 seconds and do a hard shutdown and Windoze 10 boots and loads in less than one minute with NO error message about not shutting down
    correctly. What gives?
    My TP 380XD (yes it still runs) with 266mhz cpu and 96MB memory running Windows 2000 runs circles around Windoze 10 on the T60!
    Oh and Cortana and Bing are about the most useless search feature I've ever had the aggravation to try.

    BJB
    Suspect it has "dozed" off.  Can we get your event viewer logs
    Please provide us with your Event Viewer administrative logs by following these steps:
    Click Start Menu
    Type eventvwr into Search programs and files (do not hit enter)
    Right click eventvwr.exe and click Run as administrator
    Expand Custom Views
    Click Administrative Events
    Right click Administrative Events
    Save all Events in Custom View As...
    Save them in a folder where you will remember which folder and save as Errors.evtx
    Go to where you saved Errors.evtx
    Right click Errors.evtx -> send to -> compressed (zipped) folder
    Upload the .zip file to Onedrive or a file sharing service and put a link to it in your next post
    If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem.
     The work around is to edit the registry.  If you are not comfortable doing this DONT.  If you are, backup the key before you do
    Press Win+"R" and input regedit
    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"
    Wanikiya and Dyami--Team Zigzag

  • CAN NO LONGER SHUT DOWN REPORTS BACKGROUND ENGINE

    Hello all...
    We are in the process of upgrading our apps to Developer 6.0.
    Come to find out that the old method of shutting down the Reports
    Background Engine programmatically no longer works. (i.e.
    ORACLE_SHUTDOWN=Yes).
    Any info would be very much appreciated.
    Thanks
    null

    The mDNSResponser error has been reported as a problem with "Back To My Mac" and sometimes with Bonjour. There are probably other causes as well, but that's a place to start. You could make sure those services are disabled and check the logs to see if the errors go away.
    I suppose that activity like this could stall a shutdown also, but I usually see the shutdown problem with devices not behaving and allowing the system to do an orderly shutdown.
    Another test method that could point you directly to the OS or a 3rd party application would be to create another user on your machine and see if that user has the same issues.
    Just because something worked before doesn't mean that a recent update or other change hasn't caused a problem. Are you using a wireless connection or hardwired? If you are wireless then you could also stop or turn off the wireless connection before trying to shutdown to see if it could be part of the problem.
    The trick to begin troubleshooting a problem is to remove the variables, see if something changes, and then decide what to do about it or look for help with that particular system or sub-system.

  • My Macbook Pro won't shut down or restart without forcing shut down. Hangs on grey screen. iTunes not recognizing iPod.

    HELP!!!
    Here are the specs of my machine:
    2011 13.3" MacBook Pro
    4 GB Ram/320 GB HD
    For the past several months my MacBook Pro refuses to shut down or restart without holding down the power button. Whenever I choose to restart or shut down the computer, it will hang on a grey screen. I have even tried letting it hang for an hour, and it still won't shut down. I notice that once in a while it will retart or shut down correctly if I had not used opened iTunes since turning it on. However, even manually closing iTunes before shutting down or restarting does not solve the problem. It seems as though it only shuts down if iTunes was not used since restarting the computer. Is this a registry error? Do I need to reinstall iTunes? I noticed this problem began happening after I uninstalled Kaspersky Virus Scanner, could that be the problem as well? Also, I cannot guarantee that the problem is only associated with iTunes. I just noticed that one of the few times it shut down or restarted correctly, iTunes coincidentally had not been used. Also, this problem started happening while I was still using Lion and has continued despite upgrading to Mountain Lion.
    Also, whenever I update my iPod through iTunes, it won't eject properly, and a transparent icon of the iPod displays on the screen even after I have removed it from the USB port. Furthermore, the iPod will only be recognized by iTunes and will only be updated the first time I plug it in. After removing it and plugging it back in, it won't recognize or update the device unless I shut down and restart the computer. I have the latest addition of iTunes. I also have two iPods, one 80 GB Classic, and one 8 GB Nano, and I have the same problem with both.
    I have AppleCare. Should I take my macbook to the genius bar?
    Applications I normally use are Word, Safari, FireFox, iTunes, FinalDraft, Photo Booth, Notes, Mail, App Store, etc. No real heavy lifting.
    Any feedback would be very much appreciated. :-)
    Thank you everyone!!

    I have this question too.

  • HP Pavilion p7-1102 Desktop PC Windows 8 64 bit unable to shut down

    I have an  HP Pavilion p7-1102 Desktop PC, which I purchased with Windows 7. After upgrading to Windows 8, the computer will no longer shut down under any circumstances, it seems. I am currently running Windows 8 64-bit, and previously I was running Windows 7 64-bit. I did not do a clean install, I upgraded to Windows 8 using an upgrade disc. Here's what I've tried so far to try and get the computer to shut down:
    "Shut Down" in the charms menu
    "Restart" in the charms menu
    Holding shift and pressing "Shut Down" in the charms menu
    Holding shift and pressing "Restart" in the charms menu
    Using command prompt "shutdown /s /t 00"
    Disabling hybrid startup and trying all of these again
    None of this has caused the computer to shut down at all. I've also gotten no error messages, the computer simply does nothing whenever I try to shut it down. All I can get the computer to do is hibernate. Everywhere I've searched, I've seen these options and they haven't helped me get my computer to shut down. There is nothing else wrong with my PC, I keep up with Windows updates, have anti-virus protection, and have had no other problems with Windows 8. This problem began happening immediately after I upgraded from Windows 7 to Windows 8. 
    Does anyone know of any other methods that might help the computer shut down? I'm at a loss!
    This question was solved.
    View Solution.

    Hi,
    If you have tried all fast boot and hybrid boot options then try this:
    Make sure to create a restore point before performing this step...
    Press Win+R and type Regedit => Click OK to open the registry editor
    Go to the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager
    Once opened, on the right side , check for "BootExecute" entry. Double-Click on it.
    Delete all of its "Value Data" part and write the following into it:
    autocheck autochk * and press OK.
    Now, "RESTART" (Do Not Click SHUTDOWN) your computer
    After it restarts, press SHUTDOWN button and check if it works..
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • My browser suddenly always opens on the page it was on when it was shut down last and uses tabs even though I have them turned off. I have tried reinstalling.

    I have my browser set to open on comcast.net webpage and to never use tabs. I have been using firefox for years and am very familiar with it. Suddenly it has started opening on the last page it was on when shut down, and has started using tabs. When I delete Firefox from my computer, it still remembers all my settings. I had this problem once before years ago and ended up having to wipe my entire drive to fix it. I would like to avoid a drive wipe this time. I need to know how to get ALL of the browsers information deleted from the registry so I can get a truly fresh install. And yes, I have tried all the normal avenues and am pretty computer savvy. Please help before I go nuts. I am running the most recent version, but going back to older versions didn't help either. Thanks.
    Bob Smith

    Another possibility is that Firefox keeps crashing during shutdown, and so Firefox is recovering from a crash every time. To diagnose this, you can change how Firefox recovers from a crash: instead of restoring the previous session, it will show a list of what you had open so you can be selective or bypass it altogether.
    Here's where you change that:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered
    (3) Double-click the '''browser.sessionstore.max_resumed_crashes''' preference and change the value from 1 to 0 and OK that.
    ''Note: Please don't change any other sessionstore preferences without researching them first.''

  • Firefox become in Offline mode and unable to open any page and when shut down it remains in processes and freez up, blocking another to be run

    When I on my Laptop, Acer Aspire 5735 with Windows 7 Ultimate run Firefox all runs perfectly smooth, all is working as expected, but when I go to Sleep mode or Hibernate (Firefox remains open) after turning on Firefox is not active any more, all open tabs are there but surfing is unavailable. Firefox reports message that it is in Offline mode (but menu File > Work Offline is not checked and if I check it and uncheck it again it doesn't have any impact). Which means If I open new tab and write web address it wont open, if I click any link in opened tabs from before, it wont open anything and it will show message that Firefox is in offline mode. After that I shut down Firefox by using Close(x) button and it disappears from desktop but it remains in memory and active processes not allowing any other instance of Firefox to be run. Finally I shut it down on force (End process) and start another instance and all works perfect. I am not sure is this only my problem with hardware/software configuration so I wanted to share this.

    This is a pain but I have resolved it. This is instructions for Windows 7 but it may be the same on other Operating systems.
    Note: "''YOUR USERNAME''" relates to the account you log on to Windows with.
    # First go to control '''panel / folder options''' and ''uncheck'' ''''Hide extensions for known file types'''', ''check'' ''''Show hidden files and folders'''' and ''check'' ''''Show hidden operating system files'''' then click ''apply'' and ''OK''.
    # Go here :''' C:\Users\"YOUR USERNAME"\AppData\Roaming\Mozilla\Firefox\''' and copy the '''Profiles''' folder to your desktop.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Local\Mozilla\Firefox\''' and copy the '''Profiles''' folder to your desktop. You will need to rename this as you already have a Profiles folder so name it '''Profiles2'''.
    # Uninstall Firefox (''selecting to remove all user settings'') then go here: '''C:\Program Files\''' and delete the ''Mozilla Firefox'' folder.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Roaming''' and delete the ''Mozilla'' folder
    # Go here: '''C:\Users\"YOUR USERNAME"\AppData\Local\ '''delete the ''Mozilla'' folder.
    # Open another browser (i.e.'' Internet Explorer'') and download and install ''C-Cleaner'' here: [http://www.piriform.com/ccleaner/download/standard]
    # Once installed run the ''''Registry cleaner'''' over and over until no problems are detected and exit the application. You may now uninstall it but it is probably one of the best free apps available as it has a better uninstaller than Windows does and controls which programs run when Windows starts without using the 'msconfig' command.
    # Now download the latest version of Firefox with your other browser and install it then run the application once and close it down.
    # Open the ''Profiles'' folder on your desktop and inside you will find one or more folders with a name ending in '''.default''' (i.e. ''uomifhku.default''). Right click each folder and select '''Properties''' to see which contains the highest amount of data or the bigger file size. Once you have done that open the largest folder and make sure there is nothing in there with '''... @security.compass''' written on it. If there is then delete it. Hold your ''left'' mouse button and move your mouse pointer over all of the files to highlight in blue. Put your mouse cursor on any one of the files, ''right click'' and select 'Copy' to copy them all to system memory and then close the folder.
    # Go here: '''C:\Users\"YOUR USERNAME"\AppData\Local\Mozilla\Firefox\Profiles''' and find the folder ending in '''.default''' then open it. Now ''right click'' anywhere on the background in the main Payne containing the files and select 'paste'. When prompted to '''Overwrite Files''' and '''Merge Folders''' always accept and proceed. Once done, close the window.
    # Open the '''Profiles2''' folder on your desktop and inside you will find one or more folders with a name ending in '''.default''' (i.e. ''uomifhku.default''). Right click each folder and select '''Properties''' to see which contains the highest amount of data or the bigger file size. Once you have done that open the largest folder and make sure there is nothing in there with '''... @security.compass''' written on it. If there is then delete it. Hold your'' left'' mouse button and move your mouse pointer over all of the files to highlight in blue. Put your mouse cursor on any one of the files, ''right click'' and select '''Copy''' to copy them all to system memory and then close the folder.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Roaming\Mozilla\Firefox\Profiles''' and find the folder ending in '''.default''' then open it. Now right click anywhere on the background in the main Payne containing the files and select '''paste'''. When prompted to '''Overwrite Files''' and '''Merge Folders''' always accept and proceed. Once done, close the window.
    Start Firefox and if all is well you should be working again and it back in the state you left it last without the bug.
    Many thanks, sparkyuiop

  • No Response messages & computer shutting down, plus adapter driver missing (HP Pavilion m9400t)

    My desktop computer (HP Pavilion m9400t, Vista 64-bit, SP2) has slowed to a grind in recent months, and programs keep locking up, giving me a "No Response" message. This started with IE 9 tabs, then MS Outlook, and now it's every program. I often reboot to get it going again, but run into the same problem in a few minutes.
    I leave the computer on overnight to run automatic back-ups, and now, the last two nights, it has shut down and won't start up by pushing the power button. The light stays on under the power cord. I followed the instructions on HP.com to get it going again, and it starts back up. How do I get the computer working smoothly again?
    I just ran a registry cleanup and cut back on start-up processes. Virus definitions are up to date. I ran Malwarebytes and deleted one threat that was quarantined. I also ran hardware diagnostics, which detected a Toshiba RNDIS Adapter that is missing a driver, but I can't find the driver on the HP site. The details under Device Manager say the adapter is at Port_#0002. Hub_#0001. What is this adapter--a USB port?--and where can I find the driver?
    Thanks for your help!

    Hello lcafarel,
    Let's do this.
    1. Unhook everything from your computer but the bare minimum. This is just the keyboard and mouse
    2. Unhook the internet modem if you are connected to a modem, if you are wireless, disable your wireless adapter.
    3. Put the computer in a clean boot state, starting only the bare minimum services for the computer to run
    a. Click start and then type msconfig.exe
    b. Under General tab choose the option Selective Startup
    c. Uncheck Load startup items
    d. Navigate to the Services tab
    e. Check Hide all Microsoft Services
    f. Choose disable all
    4. Reboot
    5. Monitor for 24 hours.
    I would assume in this amount of time you would be able to affectively reproduce the issue of the computer locking up and shutting down.
    If it continues to lock up then we can start looking at the computer on an OS level.
    If it doesn't continue we have to start ruling things out. 
    First try plugging the internet back in, does the problem persist. Then start adding other peripherals back to the computer, e.g printers.
    Continue to turn items on and add items to the computer until the lock ups and freezes occur. It's the best way to effectively isolate the cause.
    As for the Adapter that is missing, it's something connected to your computer. Is it possible that you have a Toshiba modem that you are connected to for the internet?
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

Maybe you are looking for

  • How do i download itunes to a secondary drive on my computer?  My C drive is full and that's where itunes wants to automatically download

    How can I download Itunes to a secondary drive on my computer?  My C drive is full but that's where ITunes wants to automatically download.  I can't figure out how to download it to a K drive.

  • Grant system views to app user

    Hi all, 11.2.0.1 Tha batch process at night encounters lock problem hence their report generations affected and delayed. I give the operators this command, so that they will kill or stop the process holding the lock: SELECT TO_CHAR(sysdate,'DD-MON-YY

  • I-Web 1.1.2

    I recently started posting on my blog again. The comments link no longer appears, although it shows up within the program. My .mac account is running out in January and I am thinking about dropping it. What is a blog without comments??? I am told thi

  • ACE Load balancing with different source IP

      Dear All ,              I am very much new to ACE . We are deploying it on our enterprise infrastructure (10.x.x.x/8) . I have a setup like this, we have 5 Proxy server which is supporting for our enteprise internet needs . Load balancing to this 5

  • I can't open adobe muse

    send a error, please help me a0255b42-e015-4f4a-beb2-c5b5b77aa075 tnks