Verifying active processes under windows

Here is the situation. I have created a java application that will dial to a pager using the 56K modem. The application is for a mission critical process at an assembly line. The application is used to inform that the particular program required to operate the assembly line on the computer has been shut down or crashed.
Thus, the java application will continuously check for the status of the program (active/not responding etc). If found to be not present amongst the task list, it will dial the pager.
I am not sure as to whether i must check the registry for some kind of a value indicating the process is active or whether i should use win API.
I need some input from you all.
Thanks in advance.

Don't you think it's kind of a waste of time asking questions like this on a forum about Java Programming? I'll just point out that the Windows registry is used for storing permanent configuration information and suggest you look in MSDN for information about Windows programming.

Similar Messages

  • "Activity" information under "Window" in Safari menu bar

    In another thread a very helpful explanation was provided for the content of the information provided in the "Activity" window [or "pane"?] here:
    <http://discussions.apple.com/thread.jspa?threadID=345525&tstart=0>
    Now just for interest sake what is the purpose or usefulness of this information for the average non-geek user?
    Thanks
    TiPB 867   Mac OS X (10.4.4)  

    Most people can probably live their lives with never looking at the Activity window. However, it can be used in troubleshooting a web page and how Safari renders that page by tracking what has been downloaded, what couldn't be located, and what didn't download to the browser. You can force any item to refresh by Control-Double Clicking on it. This is similar to refreshing a web page, but only the selected object gets refreshed. You can also download any object to your selected download location by Option-Double Clicking on an object.
    Just last week, I had a problem with a web page. One of the developers asked to see the Activity list and was able to determine that an important item was not on the list and, therefore, it was not downloaded and it did not appear on the page, causing the problem I had. From there, a solution to the problem was reached.
    Some people have used Option-Double Clicking to capture flash animations or other parts of a web page.

  • Firefox does not "close" when closed under Windows 7; Task Manager must be used to "End Process." How do I close Firefox and reopen it without getting a "Still Running" error message?

    Even though Firefox has been updated multiple times (currently using Ver. 3.6.13) since I started using Windows 7, I am still unable to totally close it from the toolbar or taskbar. Firefox does closeout on the screen but apparently continues to run in the background. If I open Firefox at a later time, I get an error message stating that Firefox is still running. I then have to go Task Manager to "End Process." Electing to do so allows me to restart Firefox. I never had this problem with Firefox when using Windows XP and I never have this problem with any other software under Windows 7.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

  • Often, Firefox app will close, but the underlying Windows process will not and cannot be stopped via Task Manager. When this happens, Firefox can no longer be used...the system must be rebooted.

    Hello,
    Often, the Firefox app will close, but the underlying Windows process will not and cannot be stopped via Task Manager. When this happens, Firefox can no longer be used...the system must be rebooted. This happens especially when many apps are running but even though there are plenty of memory resources available.
    I have tried to find if something is using Firefox in the background, but have no way to know what that would be.
    Their are no apparent viruses detected.
    Firefox is version v5.0 and occurred in earlier release.
    System is Windows 7 (64bit).

    well, it's not the same hardware and it's a bit different.
    I managed to pass that stage somehow but I still have a problem
    I don't use the built-in creator tool that comes with Spyrus as it doesn't know how to append a pre-staged media that was created by SCCM that should apply the Windows file system to a second partition and the WinPE to the first partition.
    I managed to do everything. my only problem is that the WTGCreator that comes with SCCM 2012 R2 creates the 350MB partition with FAT32 file system.
    when I boot from the device I get the WinPE, I can choose a task sequence and then it fails when trying to apply the wim file. the error tells me that the 350MB partition is FAT32 which is not supported (even though it chooses the second partition, which
    is all the rest of the disk space)
    what I did was adding another task that converts the 32 Fat partition to an NTFS partition and then the process continues and finishes successfully! but that's a workaround.
    I'm trying to make this process as smooth as possible without having additional steps
    Tamir Levy

  • Step by step process to create domain name and active directory in windows 7 64 bit

    Step by step process to create domain and active directory in windows 7 64 bit
    I work in an organization
    I want to create a domain name SBBYDP and make it server for other computers
    I want that, all users’ have a personal account while they use any computer from this organization, even they use any computer from this network they use their own account to login to network.
    And this may be in Active directory option.
    I installed windows 7 professional edition 64 bit
    Can any person help me? Step by step process, I always thanks full all of you

    Hi,
    You must use the Windows Server platform system for the AD service, you can refer the following KB first:
    Active Directory
    http://technet.microsoft.com/en-us/library/bb742424.aspx
    AD DS Deployment Guide
    http://technet.microsoft.com/zh-cn/library/cc753963(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Adobe Photoshop CS3 Extended freezes on startup under Windows 7 Ultimate 64-bit - No splash screen

    I installed my licensed copy of Adobe Photoshop CS3 Extended today as part of my install a bunch of software after a reinstall of Windows (due to viruses).  I did a completely fresh install of Windows 7 Ultimate 64-bit.  I've used Photoshop CS3 Extended for quite a while now so I know what to expect on startup but it was previously installed under Windows XP Professional (32-bit). Figured I would give Windows 7 a chance this time around.
    Google searches aren't turning up anything.  When I attempt to start the application, I get a window with the title "Adobe Photoshop CS3" (no "Extended" - I seem to recall the title changes later) and the toolbar appears.  However, no splash screen appears and no Product Activation wizard appears - the application simply freezes on an empty frame and a toolbar.  I've tried running Photoshop as Administrator (right-click, "Run As Administrator"), but nothing changed there.  I tried uninstalling and reinstalling.  I tried upgrading to CS3 10.0.1.  Nothing works.  The application simply freezes before it gets anywhere.
    I tried calling Adobe Support since this technically falls under installation issues but their phone support systems are down today.  Go figure.
    Edit:  I hooked into Photoshop with the Visual Studio debugger and every single thread is executing some variation of WaitForSingleObject() or WaitForMultipleObjects().  The main thread is "executing" somewhere in AdobeLM_libFNP.dll (at address 09619d81 - if I had debugging symbols for CS3, I could provide a function).  There are nine threads "running" at the point the freeze occurs - but all of them are technically suspended due to the functions they are executing - and one thread is in a suspended state.

    Log Name:      Application
    Source:        Application Hang
    Date:          7/17/2010 6:16:25 PM
    Event ID:      1002
    Task Category: (101)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Description:
    The program Photoshop.exe version 10.0.1.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
    Process ID: d0c
    Start Time: 01cb2616be79e36f
    Termination Time: 2
    Application Path: C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\Photoshop.exe
    Report Id: 06f5fbff-920a-11df-9d69-001fd023417e
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Hang" />
        <EventID Qualifiers="0">1002</EventID>
        <Level>2</Level>
        <Task>101</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-07-18T01:16:25.000000000Z" />
        <EventRecordID>1615</EventRecordID>
        <Channel>Application</Channel>
        <Security />
      </System>
      <EventData>
        <Data>Photoshop.exe</Data>
        <Data>10.0.1.0</Data>
        <Data>d0c</Data>
        <Data>01cb2616be79e36f</Data>
        <Data>2</Data>
        <Data>C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\Photoshop.exe</Data>
        <Data>06f5fbff-920a-11df-9d69-001fd023417e</Data>
        <Binary>430072006F00730073002D0074006800720065006100640000000000</Binary>
      </EventData>
    </Event>
    And, according to the Event Viewer, the "Binary" data translates to a zero-terminated Unicode string of "Cross-thread".
    My Visual Studio analysis was far more informative.  All threads are hung inside of WaitForSingleObject() and WaitForMultipleObjects() calls and the DLL in question appears to be FlexNet-related.  I did forget to mention that I also even manually started the FlexNet service in case, for some strange reason, Photoshop was waiting for it to start.  That also did not work.
    (And there is nothing in the Action Center control panel either despite the message saying there might be more information there.)
    Edit:  The timestamp above might be a little odd-looking.  I didn't originally see anything in Event Viewer until I clicked the first button to send an Error Report.  Mostly I just skipped that part of killing a process.

  • HP OfficeJet J6410 won't install under Windows 8

    Hello to you all,
    Two days ago, I bought a new notebook for my daughter. She needs it for her study. It's the HP Pavilion TouchSmart 11-e000ed.
    Again, just like the situation I wrote about before in this topic over here (link: http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/Officet-J6410-won-t-install-under-Wind... the OfficeJet Printer J6410 won't install under Windows 8.
    Now this is what I've done before the problem occured:
    - I made a username and password for her,
    - I activated Windows 8,
    - I made a recovery-point,
    - I took my external DVD writer, installed Office 2007 Home and Student for her (o.k, I know it's old, but it's very o.k - and legal copy -. for her study, used it myself as well and still do, and never any complaints about that one), and activated it,
    After that and restarting the notebook;
    - the notebeek activated USB 2.0 (it does that automatically at first use),
    - installed XPS2OneNote (to use for Office OneNote 2007),
    - installed SaveAsPDF&XPS,
    - removed Norton Internet Security (I never use it, I use something else for that purpose, but was - and still am - planning to install that on a later moment),
    - I made sure the notebook can access the server we have here at home, and made a share for her.
    After that I used the OJ_AIO_J6400_Full_Win_WW_140_408.exe file (Dutch, but I'll translate the text in English).
    From this point on I will describe as precisely as possible what happened
    - - the program extracts some files, no problems there,
    - - when the first screen appears, I pressed 'Install',
    - -  a bar appears, and after that another pop-up that says tha you must allow all HP processes. I pressed 'Next',
    - - system is controlled, and after that one must agree with the licence agreements. I checked the box, and pressed 'Next',
    - - the system is prepared for installation and - yes! - there it comes... an error message.
    The error message says:
    C:\users\<username of my daughter.\AppData\Local\Temp\7zS0FF0\Setup\de..
    Please not that this is a different message than the one I got before, as I described in my posting before, (link again: http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/Officet-J6410-won-t-install-under-Wind...
    Nonehteless, I assumed that, as before, the problem was with the C+++, just like before. That is why I made the following steps:
    - I used the OJ_AIO_J6400_140_408_Scrubber program, run L4 4 times.
    - I looked for the KB2565063 update, but it isn't there anymore. So, instead, I ran all updates there are until the system said that there are no updates to be found,
    - After that I took the old installation disk that came with the OfficeJet J6410 printer, and (tried to) ran hpsetup.exe. It doesn't do a thing! Literally!!
    - after that I tried to run the the OJ_AIO_J6400_Full_Win_WW_140_408.exe file again. No success. I got the same error as before (see above, the ..\7zS0FF0\Setup\de.. thing again.
    So, what to do now?
    Anyone got some helpfull tips for me? I would really appreciate your feedback / help.
    Thank you in advance,

    Hi again,
    No, it didn't work. And, the solution you offered neither.
    This is what I've done.
    After downloading the  OJ_AIO_J6400_Full_Win_WW_140_408-4.exe file, I tried to install it.
    It failed. I got an error message similar to the one before. 
    'C:\users\<username of my daughter.\AppData\Local\Temp\7zS57DB\Setup\de.'
    I tried to ran the scrubber again, and the CCCUninstaller and tried again.
    Same error message occured.
    After that I tried to look for the KB2565063 file again. Found it this time and ran the vcredist_x64 file.
    I rebooted the system, tried to run the OJ_AIO_J6400_Full_Win_WW_140_408-4.exe file again.
    Same error message ocuured.
    So, after that, I followed the steps you proposed.
    Step 2 - searching for hpoins*.dat --> no results found.
    Step 3 - searching for hpwins*.dat --> no results found.
    Step 4 - I ran the Run Dialog box and typed MSIEXEC /REGSERVER (with AND without the extra space between ('MSIEXEC /REGSERVER') in the Dialog Box and pressed Ok. 
    Got an error message in Dutch:
    'Kan het bestand MSIEXEC /REGSERVER niet vinden. Controleer of u de naam juist hebt ingevoerd en probeer het daarna opnieuw.
    Translation: 'Can't find the file MSIEXEC /REGSERVER. Check if you typed the name correctly and try again'.
    Step 5 - I ran the Run Dialog box and typed MSIEXEC /UNREGISTER (with AND without the extra space between ('MSIEXEC /UNREGISTER') in the Dialog Box and pressed Ok. 
    Got an error message in Dutch:
    'Kan het bestand MSIEXEC /UNREGISTER niet vinden. Controleer of u de naam juist hebt ingevoerd en probeer het daarna opnieuw.
    Translation: 'Can't find the file MSIEXEC /UNREGISTER. Check if you typed the name correctly and try again'.
    So... conclusion: NOTHING worked.
    My ideas for a possible solution didn't work, and neither did your ideas for a possible solution.
    Reason why I want it to work is because of the HP Solution Center. If I can not install it with the software from the original installation disk, or the software that one can download from the HP site (the OJ_AIO_J6400_Full_Win_WW_140_408-4.exe file that is), than I have no HP Solution Center. That would be a pity, for I am sure my daughter would really love the use and ease of the program, and would really use it a lot for her study.
    What's next? What else can I try to solve the problem?
    Got any more idea's or helpful hints?
    Thanks in advance,

  • CS6 Bridge Under Windows 8 Slow Response

    When I use CS6 Bridge in Windows 8 (64 bit) it takes about 10 seconds to open a folder.  I select an image from the grid and press the spacebar to see it full size.  It takes another 10 seconds.  If I go to the Menu Bar and click on an item such as Window it takes about 10 seconds to get the drop down list, but if I then slide the cursor over to View and click on it, the menu appears right away and if I then click on Full Screen Preview, the  full size image appears immediately.  When I check the Widows Resource Monitor there is no unusual activity occurring during these 10 second intervals.  It is as if the program is in a wait state pending some event.
    When I was running CS6 under Windows 7 (32 bit) everything worked fine.  When I run CS4 Bridge on Windows 8 (64 bit) it also runs fine.  I have purged the cache, and increaed cache size but to no avail.  My system has lots of processing speed, memory and disk space.
    Does anyone know what I could do to get CS6 Bridge running correctly in my Windows 8 environment?   Is it possible that there is some kind of incompatibility with
    Bridge, Windows 8 and the GPU?

    Curt Y wrote:
    I discussed this "solution" with Adobe back in July.  Here is their response.
    "There really should be no reason that running in Vista compatability mode would change the behavior of the application. Vista and 7 are so similar at the fundamental level that there shouldn't be any advantage.   Really, this is likely pointing to a lack of OS updates being installed, or installed improperly. One person mentioned that a new user account fixed things. I have a feeling that would true of more folks who are willing to try it. I'll run this by my collegues though."
    But if it works it is better than the alternative.    curt
    Surprisingly the bit about trying it under a different or new user actually works here.  All the aggruvating 5 to 10 second long freezes disappear when used under a fresh account.
    Ok, so how can that be parlayed into being able to use Bridge CS6 under my own account?
    Does the fact that it works as expected under a new fresh account point to something particular that needs changing or adjustment under my regular account?
    The Adobe staff person seems to think it is most likely a problem of  (lack of) updates or incorrectly installed updates, but that would not have any bearing if changing to a new account fixes the problem would it?
    PS - How does one run in Vista compat mode?

  • Large JVM heap sizes under windows xp?

    I have a windows XP Pro SP1 box with 2 GB of physical RAM. I am using the latest jdk, 1.4.2_05.
    I understand that 32 bit windows by default allows 2 GB address space for each application, permanently reserving 2 GB for the OS. (There are also apparently special builds going back to win2k which have a special mode where applications can address 3 GB and the OS addresses 1 GB; if anyone knows how to turn this mode on under win xp please let me know.)
    So, I should be able to allocate ~2 GB to the JVM (the number is slightly less than 2 GB due to overhead associated with each process in windows) using something like
         -Xms1900m -Xmx1900m
    as command line args to the java command.
    But when I try the above it crashes with the error
         Error occurred during initialization of VM
         Could not reserve enough space for object heap
    Experimentally, I found that the maximum value which works on my box is
         -Xms1200m -Xmx1200m
    which seems way smaller than it ought to be.
    Doing a forum search, I found others who report similar issues, e.g.
         http://forum.java.sun.com/thread.jsp?forum=136&thread=522506
    But I did not find a decent solution or up to date discusssion.
    Does anyone know with windows xp pro what the jvm memory limit is?
    As part of my sun search, I came across the following old (circa 2000) but interesting bug report:
         http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4358809
    I have never heard of the rebase program before. Is it built into windows? Is it safe to use? Anyone ever try the command as described there?

    In addition to this forum posting, I got in email communication with Peter Kessler, the technical lead for the garbage collector in the HotSpot(TM) virtual machine). Below are snippets from some of his emails to me.
    #1:
    I haven't tried pushing Windohs XP to see how big I could get the
    heap. I'm pretty sure you don't want to get try to get it to 1.9GB,
    since that wouldn't leave much room for DLL's, JVM data structures
    outside the heap, thread stacks, I/O buffers, etc.
    I don't know what the library C:\WINDOWS\System32\LPK.DLL is, or if
    you could successfully rebase it closer to 0x76000000. The issue
    with rebasing DLL's is that people have sometimes given thought to
    where they should be, given other libraries they are typically used
    with. (If a DLL can't be loaded at its default base address, it
    gets relocated dynamically. That slows down program startup; and
    often means that the library can't be shared with other applications
    running on the same machine, increasing your need for swap file
    space.)
    It does seem weird that we would make the default base for jvm.dll
    be 0x08000000, but the base of hpi.dll at 0x10000000. [See email #3 below]
    The jvm.dll isn't going to get that much larger any time soon. I'll ask around
    about that one. (The library bases for JDK-1.4.2 are different
    from those reported in bug id 4358809 for because we periodically
    reconsider where to base the libraries, given the other libraries
    on a particular release of Windohs.)
    So, I don't have any great advice on how to squeeze another 400MB of
    heap out of your machine. I suppose it's fruitless to ask if you
    could squeeze 400MB of data structures out of your application?
    Have you run an allocation profiler on it?
    Since you are willing to switch operating systems, you can download
    a copy of Solaris 10 for x86 platforms (for free) from
    http://wwws.sun.com/software/solaris/10/
    I just tried a Solaris 10 x86 box, and could get a -Xmx2900m jvm to
    start. But without your application it's hard to know if it would
    run well with that size heap (e.g., if it would have room for thread
    stacks, file buffers, etc.), so your milage may vary, but 2.9GB is
    larger than you say you need. There are lots of other benefits of
    running Solaris. I don't know about making you a poster child, but
    I could ask about that, too.
    #2:
    I'm told that some of the popular distibutions of Linux ship with
    a "4GB" kernel, which allows one to get 3GB (2.4 kernels?) or almost
    4GB (2.6 kernels?) of address space for user processes. I haven't
    used those kernels myself. Among the reasons the 4GB kernel isn't
    the standard kernel is that some user programs are surprised (in a
    bad way) by finding their code or data in the "negative" part of
    the address space, or crossing the "sign-bit" boundary. (Of course,
    all addressing arithmetic should be done as unsigned quantities!)
    Our Java virtual machine shouldn't have those problems, so that
    kernel might work for you.
    #3:
    Ah. It looks like in JDK-1.4.2 (and earlier) we forgot to
    explicitly set the base for hpi.dll, so it got the default
    base of 0x10000000. (Don't we love learning these details
    about Windohs?) As I said, we periodically reconsider the
    bases for the libraries. We seem to have done that, more
    thoroughly, for JDK-1.5.0:
    Base Size Version Path
    0x00400000 0xc000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\bin\java.EXE
    0x77f80000 0x7d000 5.00.2195.6899 C:\WINNT\system32\ntdll.dll
    0x7c2d0000 0x62000 5.00.2195.6876 C:\WINNT\system32\ADVAPI32.dll
    0x7c570000 0xb8000 5.00.2195.6897 C:\WINNT\system32\KERNEL32.DLL
    0x77d30000 0x71000 5.00.2195.6904 C:\WINNT\system32\RPCRT4.DLL
    0x78000000 0x45000 6.01.9844.0000 C:\WINNT\system32\MSVCRT.dll
    0x6d6b0000 0x185000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\jre\bin\client\jvm.dll
    0x77e10000 0x65000 5.00.2195.6897 C:\WINNT\system32\USER32.dll
    0x77f40000 0x3e000 5.00.2195.6898 C:\WINNT\system32\GDI32.DLL
    0x77570000 0x30000 5.00.2161.0001 C:\WINNT\system32\WINMM.dll
    0x6d2f0000 0x8000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\jre\bin\hpi.dll
    0x690a0000 0xb000 5.00.2134.0001 C:\WINNT\system32\PSAPI.DLL
    0x6d680000 0xc000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\jre\bin\verify.dll
    0x6d370000 0x1d000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\jre\bin\java.dll
    0x6d6a0000 0xf000 1.05.0000.0000 C:\pbk\deployed\JDK-1.5.0\jre\bin\zip.dll
    You might want to try the "release candidate" (i.e., what we
    hope will be the final bits) of JDK-1.5.0 from
    http://java.sun.com/j2se/1.5.0/download.jsp
    and see if it helps.

  • Installing HP 5500 Designjet under Windows 7

      In Sept. 2004 I purchased a HP 5500 Designjet printer, Model Q1253V, for proprietary software development during my retirement. Well, that stopped abruptly shortly after, due to a health issue, and now I have this printer in our living room and wish to sell it.
      First, I suspect I need to have it running so prospective buyers can see that it works and what it can do.
    I've downloaded, several days ago, the latest driver from HP.  I'm trying to install it to my Win 7 desktop which, being modern, has no parallel port (one of the printer's ports is parallel). So for the install, I disconnected the router network cable from the machine and replaced that cable with the network cable to the printer.
      I next turned the printer on and allowed it to boot. I received the Ready display but, not surprising, there is a blinking message at the bottom -- Printheads Replace.
      I found the Printheads menu, drilled into each and learned the following:
         Lt Cyan, 95%, 04 (probably the age of the printhead)
         Lt Magen 92%, 04
         Yellow, 90%, 04
         Cyan, 96%, 04
         Magen, 92%, 03
         Black, 96%, 04
    Leaving the printer connected I next turned to the driver installation.  For reference, that file has following properties:      HPDesignjet5500Series.exe, 58,845,048 bytes.
    I cancelled that driver installation because I can't get beyond the following setup message:
    "HP Designjet 5500 Series Setup"
      "Printer not found. Verify that the printer is properly connected and turned on."
    I have a few questions before I proceed.
      I'm not very good at this network stuff. My notes from the original installation in 2004, under Windows 2000, shows an IP address of IP=192.168.1.101
    Should I be specifying something like IP address in lieu of letting the driver hunt for the printer?
    My internet network connection is like this:  A cable from the satellite dish is connected to its modem.  A router distributes those signals to the desktop computer and 3 other potential recipients.
    Instead of disconnecting my router from the desktop, can I simply put the printer's network cable into one of the router's 3 empty inputs?  That way, I can retain the desktop's internet connection during this process.
    Some time ago I attempted printing some test routine from the printer and it did fairly well for 6 of the 8 colors.  Is it possible that I can restore the "bad" printheads with, say, a wet (water) dishrag or a cloth with some type of solvent -- distilled alcohol, etc.?
    Any advice will be appreciated.
    Len Miller

    This forum is focused on consumer level products.  For the Designjet you may have better results posting in the HP Enterprise Designjet forum here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Problems with Tuxedo8.0 under Windows 2003 Server

    Hello All.
    Could you please help me?
    When we were choosing which OS to install on our Tuxedo developers server we
    decided
    to try Windows 2003 server. We did not suppose that we could have any
    problems
    with this choise. But we have!
    We use it with DB 7.2 workgroup edition and Tuxedo 8.0 (PatchLevel 172).
    When one of server processes crashes (for example by exit(1) or by
    exception)
    (it happend not so rarely, because this server is actively used in
    development
    and testing processes) we cannot restart this server process!
    When I write "restartsrv -i SrvId" in command line nothing happens.
    When I write "tmboot -i SrvId" it says "Duplicate server".
    When I write "tmshutdown -i SrvId" it just hangs and I have to wait for 10
    minutes
    while it says "CMDTUX_CAT:949: WARN: Shutdown failed. 0 processes stopped."
    Tuxedo WebAdministration conlsole says almost the same - "Failed to
    deactivate SRVGROUP/200
    (still in state ACTIVE)-10:CMDTUX_CAT:1689: ERROR: Could not shutdown any
    servers".
    As a result any server crash (including expected) leads to 15 minutes
    waiting!!!
    As you understand it cound not be accepted!... and it is very annoying. :-)
    This problem never happened under Windows 2000 server (a week before I
    returned from site
    installation where this software works fine under Windows 2000 server).
    How can we solve this problem?
    Or should we downgrade our OS to Windows 2000?
    With regards,
    Dmitry.

    Dmitry,
    Try a bbclean from the tmadmin command line to clean up the BBL so you will be
    able to restart the server using the tmboot command.
    In addition to this check the values for SCANUNIT and SANITYSCAN in the ubbconfig.
    The observation that it takes 15 minutes for TUXEDO to discover that your server
    has crashed suggests they have values that might be too high.
    Winfried Scheulderman
    "Dmitry Bond" <[email protected]> wrote:
    Hello All.
    Could you please help me?
    When we were choosing which OS to install on our Tuxedo developers server
    we
    decided
    to try Windows 2003 server. We did not suppose that we could have any
    problems
    with this choise. But we have!
    We use it with DB 7.2 workgroup edition and Tuxedo 8.0 (PatchLevel 172).
    When one of server processes crashes (for example by exit(1) or by
    exception)
    (it happend not so rarely, because this server is actively used in
    development
    and testing processes) we cannot restart this server process!
    When I write "restartsrv -i SrvId" in command line nothing happens.
    When I write "tmboot -i SrvId" it says "Duplicate server".
    When I write "tmshutdown -i SrvId" it just hangs and I have to wait for
    10
    minutes
    while it says "CMDTUX_CAT:949: WARN: Shutdown failed. 0 processes stopped."
    Tuxedo WebAdministration conlsole says almost the same - "Failed to
    deactivate SRVGROUP/200
    (still in state ACTIVE)-10:CMDTUX_CAT:1689: ERROR: Could not shutdown
    any
    servers".
    As a result any server crash (including expected) leads to 15 minutes
    waiting!!!
    As you understand it cound not be accepted!... and it is very annoying.
    This problem never happened under Windows 2000 server (a week before
    I
    returned from site
    installation where this software works fine under Windows 2000 server).
    How can we solve this problem?
    Or should we downgrade our OS to Windows 2000?
    With regards,
    Dmitry.

  • Installation problem under windows XP

    My PC runs under Windows XP. I want to install LabVIEW. The installer begins to copy files and displays the message "L'application n'a pa réussi à s'initialiser correctement (0xc0000142). Cliquez sur OK pour arrêter l'application). " (I've the french version). If I click on OK, the message appears again, ant the task is very difficult to kill. despite this message, the installation continues to run but never ends. After a moment, there was no more activity. The only thing I had to do was to reboot the PC.
    The anti virus was desactivated. I tryed again with the administrator profile but with no more succes.
    Could someboty give me some explanation?
    Thanks.

    Try copying the CD to your hard drive and installing from there. I have never received this exact error but have seen other installations repaired by this procedure. It's worth a try.
    J.R. Allen

  • Mini-DVI not supported under Windows XP?

    Hi all,
    I recently picked up a mini-DVI to VGA adapter and a 17" LCD from Lenovo (IBM). Under OSX, the dual displays works wonderfully well and easy. The OS picked it up right away and ran with it.
    Under Windows XP, however, no such luck. The display will mirror the iMac during the Windows boot-up process and then go black once XP is booted. The monitor claims nothing is attached to it.
    Windows will play the "ding-ding" sound whenever I unplug or plug the adapter and even claims to see the monitor via the Display settings panel.
    Google told me several people have voiced this complaint while logged into Windows on their Intel machines. Does anyone here know of a fix or workaround? Thanks!

    Any ideas? I am having the exact same problem. The funny thing is when I boot in XP the windows logo is displayed on my external monitor. But then disapears. I will try and update the ATI monitor drivers, and see if there is a bootcamp update. But anyone with info please let me know!!
    thanks

  • Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.

    Probably will never ever think of buying a locked phone from AT&T cause its one of the worst system integrations ever that these companies could think of.
    The entire problem started when I put in a request with at&t to unlock my iphone 4s (ios7) which did get approved. I performed the entire instructions they asked me to do, which is to backup and restore. After doing those instructions my iphone gave me an error message below
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Basically saying that at&t hasn't still unlocked the iphone which a really helpful apple executive was able to confirm. I initiated another unlock process from at&t in order to unlock the iphone, just to be sure that its not something wrong from my end. The nice at&t lady stayed on chat with me to unlock the iphone step my step while I was calling the apple tech too. And the apple tech confirmed again that the iphone is locked to at&t.
    Now, just a few minutes ago I tried another restore to see if any progress is being made and to my surprise I got an error message saying
    Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.
    I feel like I am just going around these two different "money hogger" companies which set certain rules and regulations to screw a regular phone buyer. I purchased this iphone in USA and trying to unlock in India, is it really this hard to simply unlock a device.
    For now I am going to try to call a apple office in india (apprently we don't have very many out here) and see if they can help me. But any other assistance regarding unlocking an iphone 4s would be helpful. I have however, tried checking IMEI.info, called up apple, talked to at&t (which always say go talk to apple) I do have a case number from apple as well in case an apple executive reads this discussion forum (case number: 566383594)
    Thanks

    You got a confirmation from AT&amp;T that it was authorized. Is this correct? - Yes i did get an email authorization on the 21st.
    Then you connected the phone to a computer with the latest version of iTunes installed. You clicked on the phone's name in iTunes, then clicked "Backup Now". - Yes
    When that finished you clicked "Restore iPhone" (NOT "Restore Backup") - Yes
    Are you with me so far? - Yes.
    And @ Varjak is right that after the 3rd restore I get the replacement error. 
    Plus I have NEVER jailbroken the iPhone. To give you another update, I spoke to a really nice apple tech in India who was atleast able to get me out of the replacement error by doing a recovery mode option. However, the lastest restore still gives me the same error
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Message was edited by: jabgars

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

Maybe you are looking for

  • Unable To Open .prel Project

    I'm running Premiere Elements 9.0.3 (PE9) on Windows 7. When I launch PE9, I get the "Welcome" window with the three options: "Organize", "New Project", and "Open Project". When I click on "Organize", I can see the ".avi" files that I've imported, an

  • ITunes quits when I refresh podcasts with iPod touch connected

    If I click the "refresh podcast" button in iTunes (version 11.3.1.2) while my iPod touch (32G capacity currently with 4.5G available; still running iOS 5.1.1) is connected, iTunes quits. If the iPod is not connected, the refresh runs just fine; any a

  • Trouble installing Adobe Muse

    Hello. I can't seem to install Adobe Muse on my computer. I keep getting this error message: The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author. I have tried un

  • Every incoming email is marked as junk

    Every new email that my wife receives is marked as junk. However, it doesn't send it to her junk folder. Also, it will not allow you to click "not junk" although you can manually click on the junk icon and it get rid of it. Any ideas would be greatly

  • Doubt in shopping cart

    Hi all, i am working on SRM 5.0 classical scenario...Can i create a shopping cart using materials in my backend system.(I havent replicated the material to ebp)..Is it possible to d o that. Thanks&Regards, Hari