I'm afraid you are wrong, only packages referenced from application.xml or
jboss-app.xml will be fully deployed, and only other jars referenced from
manifest classpaths will have their classes deployed.

The original behavior was to deploy everything and ignore application.xml,
but someone made it spec compliant before 3.0.0 and now we need the
explicit reference from jboss-app.xml.

If this is wrong... please let me know, the code is all there to only
deploy explicitly mentioned packages.

I don't know why the package wouldn't be getting deployed.  Does the log
show anything?

thanks
david jencks

On 2002.09.30 13:10:19 -0400 Sacha Labourey wrote:
> Hello,
> 
> just add you sar in your ear, it will be deployed. You don't need
> anything
> in jboss-app.xml for your sar.
> 
> Cheers,
> 
> sacha
> 
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de
> > Jonathan.O'[EMAIL PROTECTED]
> > Envoye : lundi, 30 septembre 2002 19:09
> > A : [EMAIL PROTECTED]
> > Objet : [JBoss-user] Deploying MBean SAR in an EAR
> >
> >
> > Folks,
> > I'm having great fun with MBeans. I now have an MBean which I use to
> > initialize my system session beans. It does two things in start(). 1.
> It
> > reads from the database using JDBC and a datasource. This always
> > works. 2.
> > It invokes a method on a local session bean. This works at initial
> > deployment but not during redeployment.
> >
> > I originally had my ear separate from the sar. But now I want to merge
> > these into one ear, with SAR inside it. I have added a jboss-app.xml to
> > my.ear/META-INF, but it does not get invoked. I have used the examples
> > from the JBoss 3.0 book as my guide.
> >
> >
> > Ciao,
> > Jonathan O'Connor
> > Ph: +353 1 872 3305
> > Mob: +353 86 824 9736
> > Fax: +353 1 873 3612
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to