Hi,
I have updated standalone server to support multiple runtimes. Now, when the
server is started, it doesn't start any runtime. However, the server has a
management op called startRuntime(String bootPath) to start a runtime. Boot
path for the runtime is resolved relative to the installation path. It is
expected to have a file called runtime.properties in a directory named etc.
The file contains the JMX domain name under which the runtime instance is
registered. Once started the runtime instance is available for management.
Only management ops currently available are initialize and destroy.
This allows any number of runtimes to be started within a server
environment.
Ta
Meeraj
From: "Meeraj Kunnumpurath" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Standalone server
Date: Wed, 27 Dec 2006 00:02:31 +0000
Hi,
I have added server.start and server.shutdown modules in standalone to run
an instance of tuscany as a server. This is an extension of the existing
launcher. Rather tha running the specified application on the cli and
exiting, the server stays up running and listens on a JMX port for shutdown
requests. It boots up the standalone runtime as the launcher, however,
doesn't deploy any app scdls. I would assume the runtime will use something
like a directory scanner to search a specified location for the
applications to be deployed and deploy them using the deployment API.
Both server.start and server.shutdown produces executable JAR files.
Currently all configurable parameters are specified as system properties.
These include,
1. Install directory
2. Boot directory
3. System SCDL path
All these use the existing system props and defaults as with the launcher.
The default JMX remote connector port is 1099. This may be overridden using
the system property tuscany.adminPort.
Ta
Meeraj
_________________________________________________________________
MSN Hotmail is evolving check out the new Windows Live Mail
http://ideas.live.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN Hotmail is evolving check out the new Windows Live Mail
http://ideas.live.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]