You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Jim Alateras (JIRA)" <ji...@apache.org> on 2007/06/03 23:52:15 UTC

[jira] Updated: (ODE-142) Restful Interface to Process Manager

     [ https://issues.apache.org/jira/browse/ODE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Alateras updated ODE-142:
-----------------------------

    Attachment: rest-procmgr-src.zip

I have attached the source, with a maven2 build file :-). It still a bit messy but at least you'll be able to examine the structure of the application and how it integrates with ODE. Firstly, you'll need to set some properties in your active mvn2 profile, which are shown below

                <!-- port embedded jetty runs on -->
                <webapp.server.port>6080</webapp.server.port>
                
                <!-- geronimo jmx server settings for deploy and undeploy-->
                <geronimo.jmx.host>localhost</geronimo.jmx.host>
                <geronimo.jmx.port>1099</geronimo.jmx.port>

jetty:run
======
This will execute the web service in place using the specified webapp.server.port. You will need to have ode running in another somewhere. Before executing this goal make sure you set the url to the jca connector in procmgr-context.xml file (located src/main/resources/spring directory) to the appropriate value. It defaults to rmi://localhost:2099/jcaServer.

Once up and running get to a web browser and enter one of the following urls

http://localhost:6080/procmgr/processes/models -  (get process models)
http://localhost:6080/procmgr/version  - (get the version of the web application)

geronimo:deploy-module or geronimo:undeploy-module
============================================
This will deploy/undeploy the application on a geronimo web server. The comments in the previous section also apply here.


If you have any issues or comments pls drop me a line.

I will look at moving across to buildr in the near future.

> Restful Interface to Process Manager
> ------------------------------------
>
>                 Key: ODE-142
>                 URL: https://issues.apache.org/jira/browse/ODE-142
>             Project: Ode
>          Issue Type: New Feature
>          Components: Management
>            Reporter: Jim Alateras
>         Attachments: rest-procmgr-src.zip
>
>
> Develop a restful interface to the process manager

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: JMX Support

Posted by Matthieu Riou <ma...@gmail.com>.
Hi Jim,

Sorry I just realized your e-mail hasn't found any reply. There's no real
doc but the management API is moslty 2 interfaces:
InstanceManagement<http://people.apache.org/%7Emriou/ode-site/javadoc/org/apache/ode/bpel/pmapi/InstanceManagement.html>and
ProcessManagement<http://people.apache.org/%7Emriou/ode-site/javadoc/org/apache/ode/bpel/pmapi/ProcessManagement.html>.
All the method listed there are exposed. There's also the deployment web
service but that's not really part of management.

Cheers,
Matthieu

On 6/5/07, Jim Alateras <ji...@comware.com.au> wrote:
>
> Is there any info describing the what management facilities ode exposes
> through JMX?
>
>
> cheers
> </jima>
>

JMX Support

Posted by Jim Alateras <ji...@comware.com.au>.
Is there any info describing the what management facilities ode exposes 
through JMX?


cheers
</jima>