On 2001.09.26 12:34:31 -0400 Scott M Stark wrote:
> 
> ----- Original Message -----
> From: "David Jencks" <[EMAIL PROTECTED]>
> To: "jboss-dev" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 26, 2001 9:03 AM
> Subject: [JBoss-dev] JBossFilesystemRoot mbean and sar local directories.
> (rh/3.0)
> 
> 
> >
> > 1. How does your program find its local directory?  I don't want to
> bind
> > anything in jndi, since jndi may not be started when these local
> > directories are copied.  I think it's time for the JBossFilesSystemRoot
> > mbean which anyone can use to find the jboss local directory structure.
> > I'm thinking this would be the first mbean loaded, and could be used by
> > everyone else to find where stuff is.  For instance, log4j can find its
> > config files, the ServiceDeployer can find where to put local
> directories,
> > and your app can find where to look for its local directory.  Is this
> OK
> > with everyone?
> No, as I may not have a usable local filesystem. Resources should be
> loaded
> from thread context class loader, not a filesystem.


??? Log4j can get its configuration from a classloader resource, so this
was a bad example, however you can't deploy anything without making a local
copy first... so you need some kind of usable local filesystem.  Marc
mentioned earlier that instead of relying on looking up system properites
like jboss.system.home it would be a good idea to put this info in an
mbean.  I'm suggesting putting the "copy of local directories" location in
the same mbean.  Are you against the idea of copying specific directories
out of a sar verbatim?

This whole local directory thing was not my idea, however as I understood
it David Maplesden, the Jetty guys, and Jason wanted to be able to put a
directory in a sar that would be copied literally into the local filesystem
for eg. pre-setup databases, config files, native libraries, and presumably
things I haven't heard of.  The idea is that they would then have a
predictable directory structure at a findable root, that they can write
stuff into.  If there is no local filesystem available, you won't be able
to use a feature like this, but I don't know how you can deploy anything
into jboss either.  I'm more than happy to take it out if you get marc to
agree.

thanks

david jencks
> 
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

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

Reply via email to