Hi all,

I feel that running a test case would not help me as I need Tuscany to run
continuously, to observe MBeans via the Jconsole. When the process exits it
is also disconnected from the Jconsole. Somehow my requirement is to
bootstrap tuscany along with the modules I have created.

On 28 June 2011 21:31, Amindri Udugala <amindriudug...@gmail.com> wrote:

> Hi ,
>
>  I have created two modules "tuscany-jmx-activator" and "tuscany-jmx".
> The core-spi module should have a dependency on the tuscany-jmx module. I
> have included this dependency in the pom file of core-spi as following
>
> <dependencies>
>         <dependency>
>             <groupId>org.apache.tuscany.sca</groupId>
>             <artifactId>tuscany-jmx</artifactId>
>             <version>2.0-SNAPSHOT</version>
>         </dependency>
> </dependencies>
>
>
> And this is how the content of the, tuscany-jmx pom looks like
>
> <project>
>     <modelVersion>4.0.0</modelVersion>
>     <parent>
>         <groupId>org.apache.tuscany.sca</groupId>
>         <artifactId>tuscany-modules</artifactId>
>         <version>2.0-SNAPSHOT</version>
>         <relativePath>../pom.xml</relativePath>
>     </parent>
>     <artifactId>tuscany-jmx</artifactId>
>     <name>Apache Tuscany SCA JMX integration</name>
> </project>
>
> I'm using a test case to bootstrap tuscany
> https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java,
> to check the consistency of the MXbeans I have created via the jconsole.
>
> The test case worked fine till I added the dependency. I wonder whether I
> did anything wrong in creating the pom of tuscany-jmx and adding the
> dependency to core-spi. Any suggestions are wellcome. (I have attached a
> path to JIRA)
>
> --
> Thanks
>
> Amindri Udugala
> University of Colombo School of Computing,
> Sri Lanka.
>
>


-- 
Thanks

Amindri Udugala
University of Colombo School of Computing,
Sri Lanka.

Reply via email to