Hello Richard,
 
We use JRUN as our J2EE Server and we startup and run Flex via the JMC or as a Windows service.  To add a server as a windows service in JRUN we use the jrunsvc tool.
 
From the JRUN Live docs (http://livedocs.macromedia.com/jrun/4/JRun_SDK_Guide/apis4.htm):
 
Using the jrunsvc tool

Use the jrunsvc tool to execute command on a JRun server that is a Windows service. With this tool, you can install, remove, start, and stop the JRun server's Windows service.

To install a JRun server as a Windows service, use the following syntax from the jrun_root/bin directory:

%> jrunsvc -install jrun_server [service_name [service_display_name [service_description]]]

To remove, start or stop a JRun server that is currently a Windows service, use the following syntax from the jrun_root/bin directory:

%> jrunsvc -[remove|start|stop service_name]
 
Hope this helps,
Allen
 
Allen Manning, Technical Director
Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com
 
 
 
 
 
 
 
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Butler
Sent: 20 May 2005 12:01
To: [flexcoders]
Subject: [flexcoders] Flex as a Windows Service?

Hi all,

This may be a dumb question, so forgive me, but is it possible to run
Flex as a Windows Service? The DOS window thing seems a nasty way of
running it, or maybe that's just us...

Cheers,
Rich


------------------------------------------------------

Richard Butler.
Monochrome.
Upper Floor 164a Portsmouth Road Cobham Surrey KT11 1HS.

Free: 08000 199 742
Tel: +44 (0) 1932 862 874
Fax: +44 (0) 1932 866 065

www.monochrome.co.uk



Yahoo! Groups Links

Reply via email to