I tried to use your recommendation, but perhaps my syntax is wrong. I have a directory 
cart_ear that
contains ejb jar, war and META-INF\application.xml. The file cartJ2ee.ear produced by 
jarring it worked
fine. But adding it as a deployment URL did not help. JBoss does not notice and does 
not deploy it after
restart.
--------------------------
  <mbean code="org.jboss.ejb.AutoDeployer" name="EJB:service=AutoDeployer">
    <attribute name="Deployer">J2EE:service=J2eeDeployer</attribute>
    <attribute name="URLs">../deploy</attribute>
    <!-- newly added -->
    <attribute name="URLs">../deploy/store/cartJ2ee/cart_ear</attribute>
  </mbean>
---------------------

>
> I think you can have many deploy directories specified in the
> jboss.jcml...unjar into ~jboss/deploy/MyApp and add ../deploy/MyApp to
> jboss.jcml
>
> Lewis
>
> ----------
> Unfortunately, files in the jar are flat, there is no folder in the path, so
> I can
> not unjar all that crap into deploy directory, I need to put into some
> context
> folder.
> --------------
> don't put it in another folder. simply unjar the file as is under deploy.
> the auto deployer should pick it up from there.
> --------------
> > I did not find anywhere a description how to deploy expanded structure of
> EJB or more - J2EE application. When I
> > unpack the interest.jar example (that works in archived form) into an
> interest directory and put it into deploy
> > directory, it is ignored by JBoss. Should I change some properties? Is it
> possible at all with JBoss?


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

Reply via email to