Thanks for this.

I'm trying to turn an existing merlin based server application into a JMX
controlled component.. (simple control: start, stop etc)

The example is a great start however I'm a real newbie to avalon and could
do with a few pointers about environment variables:

      MAVEN_HOME
      MERLIN_HOME

And an example folder structure - a local repository?

Ideally I'd like everything to be self contained in a single deployable SAR
directory.

Regards

Simon T






> -----Original Message-----
> From: [EMAIL PROTECTED]
>
> I would like to deploy a merlin application under jboss.
>
> Is this possible?  There are obviously a great number of similar
> 'competing' features...
>
> Does anyone know where I can find some documentation or example
deployment
> skeletons?

How do you want to start it?  As a JMX component?  In a servlet?  Along
side
some EJB's?

Here's an example of how to start up Merlin:
  http://wiki.apache.org/avalon/MerlinStandaloneExample

Merlin uses the avalon-repository project to startup.  This means it uses a
"meta" file [1] placed in a maven-style repository to create the merlin
classloaders and use a factory class that does the dirty work of starting
merlin.  You could embed the code shown above into whatever component you
want to JBoss to start.  The next trick after that would be determining
how,
if at all, you want to access the Merlin kernel and any deployed Avalon
components.


J. Aaron Farr
  SONY ELECTRONICS
  DDP-CIM
  (724) 696-7653


[1]
http://www.ibiblio.org/maven/merlin/jars/merlin-impl-3.3-SNAPSHOT.jar.meta


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to