• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ANN: MonitorPatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: MonitorPatch


  • Subject: Re: ANN: MonitorPatch
  • From: Greg Hulands <email@hidden>
  • Date: Fri, 14 Oct 2005 10:59:49 +1000

Excellent work Christian. I had the same idea, but to patch it by adding a command line tool that talked to the patched version via rmi or sockets, so that you could add an ant task to restart the application automatically.

I wrote out what I wanted to achieve with it and have attached it below. Maybe once I get it done, it could be integrated.

Greg.

To start, stop, restart an instance of an existing application
webobjects [start|stop|restart|delete] -app app -instance [all|n] [- force]
app - name of the application deployment group
start - start the application if it is not started
stop - stop the application if it is running
restart - restart the application using the graceful termination
delete - remove an instance from the application deployment group
n - the instance number
-force - force quit the instance


Create a new Application Group to deploy.
webobjects new ApplicationName path
    ApplicationName - name of the application deployment group
    path - the path to the application launch script

Set application and instance configurations
webobjects config app -instance [all|n] option value
    app - name of the application deployment group
    n - the instance number
    option - The option key to configure. Available options are:
        Path
        AutoRecover
        MinimumActiveSessions
        CachingEnabled
        DebuggingEnabled
        OutputPath
        AutoOpenInBrowser
        LifebeatInterval
        Arguments
        Name
        Port
        StartupTime
        PhasedStartup
        Adaptor
        MinimumAdaptorThreads
        MaximumAdaptorThreads
        AdaptorThreads
        ListenQueueSize
        ProjectSearchPath
        SessionTimeout
        StatisticsPagePassword
        EnableEmailNotifications
        NotifyEmailAddress
        LoadBalance
        Retries
        RedirectionURL
        Dormant
        SendTimeout
        ReceiveTimeout
        ConnectTimeout
        SendBufferSize
        ReceiveBufferSize
        ConnectionPoolSize
        URLVersion
        StopNewSessions

    value - The value for the option

Create a new host for the deployment group
webobjects host [add|delete] hostname type
    hostname - either the dns or ip address of the host
    type - MacOSX | Windows | Unix

Set monitor sytstem properties
webobjects system option value
    option - available options are:
        Password
        AdaptorURL
        LoadBalance
        Retries
        RedirectionURL
        Dormant
        SendTimeout
        ReceiveTimeout
        ConnectTimeout
        SendBufferSize
        ReceiveBufferSize
        ConnectionPoolSize
        URLVersion
        SMTPHost
        SMTPReturnAddress


webobjects schedule [create|edit|delete] app schedule -instance [all| n] [option] [value]
app - name of the application deployment group
schedule - scheduling group name
option - available options are:
activate - activate the scheduling group
deactivate - deactivate the scheduling group
type [hourly|daily|weekly] - frequency the scheduler runs
hourly -freqency x -start y
x - an integer between 1 and 12
y - the time the schedule starts in 24 hour format 0300 for 3am
daily -start y
y - the time the schedule starts in 24 hour format 0300 for 3am
weekly -day x -start y
x - the day to start the schedule. [Sunday,Monday,Tuesday,...,Saturday]
y - the time the schedule starts in 24 hour format 0300 for 3am


On 14/10/2005, at 10:10 AM, Christian Pekeler wrote:

MonitorPatch adds some features to JavaMonitor. The most important one is a set of direct actions to allow for scripted control over your deployed WOApps.

In my environment, the development team deploys their latest build fairly often (sometimes twice a day) to the QA server for testing. Our build is a sizable set of frameworks and applications, and it requires us to restart about 25 applications in Monitor (that's a lot of repetitive mouse clicks per day). With the patched Monitor we were able to create a script for automated deployment - the script simply invokes the direct actions using curl.

Another feature we missed was the ability to sort all our configured apps (42) in Monitor. MonitorPatch adds a sorting feature plus a couple of other things. Check it out here:

http://pekeler.org/software/MonitorPatch


Christian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40framedphotographics.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ANN: MonitorPatch
      • From: Christian Pekeler <email@hidden>
References: 
 >ANN: MonitorPatch (From: Christian Pekeler <email@hidden>)

  • Prev by Date: ANN: MonitorPatch
  • Next by Date: Re: ANN: MonitorPatch
  • Previous by thread: ANN: MonitorPatch
  • Next by thread: Re: ANN: MonitorPatch
  • Index(es):
    • Date
    • Thread