On 2002.09.17 02:11:21 -0400 rahul ganjoo wrote:
> In this context i have a few basic questions...
> My deploy directory has many plain jars(just class files) and
> other jars having EJB components. I have observed that Jboss
> deploys these jars alphabetically and if a bean Jar needs a class file
> thats in a jar which has not been deployed yet(coz name starts with a
> letter
> that comes later in the alphabet)...it gives a problem..consequently
> i have to change the names of the jars so that jars with no dependencies
> are
> deployed first.Is there a way to force Jboss to deploy certain jars
> before
> others.

There are some ways by using nested packages, but it is probably easier to
alphabetize or prefix numbers 10jar.jar 20jar.jar... to your names.

> 
> And whats the difference between putting a plain jar file in the deploy
> and putting the same in the lib folder of Jboss?is there any?

You can hot-redeploy things in deploy, something loaded from lib is staying
until the server shuts down.

david jencks
> 
> 
> "Kim, Yong" wrote:
> 
> > Flase alarm.
> >
> > It works.
> >
> > -----Original Message-----
> > From: Kim, Yong [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 16, 2002 3:30 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [JBoss-user] Adding jar files to \server\all\lib directory
> >
> > I have a utility jar file that I have been putting in the lib
> directory...
> > Now, I am trying to put all of my jars, ears, sars, etc. into the
> deploy
> > directory... however, I ran into a problem when deploying the sar file.
> > This sar file depends on the utility jar file which gets deployed after
> the
> > sar file...  So, I switched to PrefixDeploymentSorter mechanism and put
> the
> > digit "1" in front of the jar file wishing that it get's deployed
> before the
> > sar file... However, it's not working...  Does the
> PrefixDeploymentSorter
> > applies to any type Xar files?
> >
> > Mitchell
> >
> > -----Original Message-----
> > From: David Jencks [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 16, 2002 2:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] Adding jar files to \server\all\lib directory
> >
> > no.  If you need to redeploy something put it in deploy in the first
> place.
> >  Just about anything is deployable, including plain jars.
> >
> > david jencks
> >
> > On 2002.09.16 14:08:12 -0400 "Kim, Yong" wrote:
> > > I have a simple question.
> > >
> > > When I add/remove jar files into deploy directory, the hot deploy
> > > works...
> > > Is there any way I can do the same thing for the lib directory
> without
> > > restarting the JBoss instance?
> > >
> > > Thanks.
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> >
> > -------------------------------------------------------
> > 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
> 
> 
> 
> -------------------------------------------------------
> Sponsored by: AMD - Your access to the experts on Hammer Technology! 
> Open Source & Linux Developers, register now for the AMD Developer 
> Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to