SourceForge has been redesigned. Learn more.
Close

#4 RAR Instance Deployer for jbosscx

closed-fixed
None
5
2001-04-15
2001-04-11
No

I finally got tired of complaining about and
experiencing the inconvenience of deloying my RARs
through the web after starting jboss...

This is a RAR instance deployer service. It has one
attribute, the RARUrl indicating what and where the RAR
is, just like you would type into the RARDeployer
Deploy field.

I put this in jbosscx partly in the hopes that if
everyone is looking at it someone will come up with a
better deployment solution sooner.

The jcml entries for this mbean should go AFTER all the
connection factories using JCA.

ALSO the autodeploy mbean jcml entry MUST be after the
RARInstance deployer mbean entries... or your beans
won't find their datasources.

Example jboss.jcml entry, including new location of
Autodeployer:

<!-- Mbean that deploys an instance of a RAR-->
<mbean code="org.jboss.resource.RARInstanceDeployer"
name="JCA:service=RARInstanceDeployer1">
<attribute
name="RARUrl">file:///usr/java/jboss/dev/jboss/dist/lib/ext/blackbox-tx.rar</attribute>
</mbean>

<!--Autodeployer needs to be after JCA datasources
are set up!!! -->
<mbean code="org.jboss.ejb.AutoDeployer"
name="EJB:service=AutoDeployer">
<attribute
name="Deployer">J2EE:service=J2eeDeployer</attribute>
<attribute name="URLs">../deploy</attribute>
</mbean>

Note that multiple instances of this mbean need
different names.

Since these are new files, I'm not worrying too much
about not suppplying a diff.

Thanks

David Jencks
davidjencks@earthlink.net

Discussion

  • David Jencks

    David Jencks - 2001-04-11

    zip of RARInstanceDeployer files

     
  • Toby Allsopp

    Toby Allsopp - 2001-04-11
    • assigned_to: nobody --> tobyallsopp
     
  • Toby Allsopp

    Toby Allsopp - 2001-04-15
    • status: open --> closed-fixed
     
  • Toby Allsopp

    Toby Allsopp - 2001-04-15

    Logged In: YES
    user_id=140871

    Instead of doing this, I've enhanced AutoDeployer to do the
    same thing.

     

Log in to post a comment.