Announcement Announcement Module
Collapse
No announcement yet.
Programatic admin deployment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X