Patches item #415321, was updated on 2001-04-10 22:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=415321&group_id=22866

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: David Jencks (d_jencks)
Assigned to: Nobody/Anonymous (nobody)
Summary: RAR Instance Deployer for jbosscx

Initial Comment:
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
[EMAIL PROTECTED]

  


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=415321&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to