Results 1 to 2 of 2

Thread: Programatic admin deployment

  1. #1
    Join Date
    Sep 2009
    Posts
    21

    Default Programatic admin deployment

    Hi,
    I want to write a client program which will perform an Admin deployment of a bundle through the admin console. Basically I want to perform the same HTTP POST that the admin console deploy.htm web page does, except I want to do it from my client program. I have not been successful in figuring out how I should invoke this and have not found any documentation. What do I write out to the POST output?

    Any pointer to documentation or guidance would be greatly appreciated.

    Thanks in advance!

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    Rather than trying to simulate what the admin console does, which is likely to be quite brittle as it's not a defined interface, I would consider using the Deployer MBean and a JMX client instead. Starting dm Server and attaching JConsole to it is probably the easiest way to see what operations this MBean has to offer.
    Andy Wilkinson
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •