12-05-2006
How to detect if a Windows app dies??
Hello All: I hope this is the right category...
I have a application (this app runs under java and jboss) that runs under Windows, it's started as a service. If that application should become disabled, crash or no longer function, what would be the best method for determining it is no longer running? If this was UNIX it would be a no-brainer I could simply watch for the pid or write a script to tickle the app. I don't think I have that luxury on Windows (Sever 2003,2000, XP)
Again Thanks all
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Discussion started by: benefactr
5 Replies
2. UNIX for Dummies Questions & Answers
Careful!!! This is a newbie question!
Hello Community
I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same.
Any suggestions about doing that? telnet, smbclient?????
It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies
3. UNIX for Dummies Questions & Answers
Strange one this...
One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21.
Changed the details in a Windows application using the username & password provided and it works no problem.
Tried to FTP through Unix and although I can connect to the... (2 Replies)
Discussion started by: macca74
2 Replies
4. Windows & DOS: Issues & Discussions
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.
My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies
5. Windows & DOS: Issues & Discussions
I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies
6. UNIX for Dummies Questions & Answers
Please, I have a professional application that run only over windows, but I have a Full Sun Fire 445 for that. Someone can sugest me about how to do? Wich S.O can be use. Thanks before hand.
Please read the forum rules again. Rule #9 should be in your focus. Thank you! (9 Replies)
Discussion started by: abelop
9 Replies
7. OS X (Apple)
hi,
i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies
8. OS X (Apple)
I've searched a number of sites but thought I'd post it here. I'm want to a detect certain usb device (external camera) that is actively being used by an app on a mac.
My search has led me through looking at the system events log to see if there is a ProductID indicator logged. The device is... (2 Replies)
Discussion started by: dallas88
2 Replies
9. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT DEBIAN
plack::runner
Plack::Runner(3pm) User Contributed Perl Documentation Plack::Runner(3pm)
NAME
Plack::Runner - plackup core
SYNOPSIS
# Your bootstrap script
use Plack::Runner;
my $app = sub { ... };
my $runner = Plack::Runner->new;
$runner->parse_options(@ARGV);
$runner->run($app);
DESCRIPTION
Plack::Runner is the core of plackup runner script. You can create your own frontend to run your application or framework, munge command
line options and pass that to "run" method of this class.
"run" method does exactly the same thing as the plackup script does, but one notable addition is that you can pass a PSGI application code
reference directly to the method, rather than via ".psgi" file path or with "-e" switch. This would be useful if you want to make an
installable PSGI application.
Also, when "-h" or "--help" switch is passed, the usage text is automatically extracted from your own script using Pod::Usage.
NOTES
Do not directly call this module from your ".psgi", since that makes your PSGI application unnecessarily depend on plackup and won't run
other backends like Plack::Handler::Apache2 or mod_psgi.
If you really want to make your ".psgi" runnable as a standalone script, you can do this:
my $app = sub { ... };
unless (caller) {
require Plack::Runner;
my $runner = Plack::Runner->new;
$runner->parse_options(@ARGV);
return $runner->run($app);
}
return $app;
WARNING: this section used to recommend "if (__FILE__ eq $0)" but it's known to be broken since Plack 0.9971, since $0 is now always set to
the .psgi file path even when you run it from plackup.
SEE ALSO
plackup
perl v5.14.2 2012-03-21 Plack::Runner(3pm)