Putting my Chainsaw hat on, +1. This would mean that I would actually need the Plugin classloader inside Chainsaw. *-jms.jar and *-db.jar could then be placed in the plugin lib area with the drivers/impl classes and it will work from Webstart.

I too don't buy the "size is too big" argument unless we're talking PDA's or something with minimal RAM, but even then the amount of RAM these things have is going up. If people want to strip the jar down, they can do it themselves in minutes.

+1 to creating distro's like this as long as we also continue to output a log4j.jar complete jar.

cheers,

Paul Smith

Ceki Gülcü wrote:


Hello all,

While performing some tests with Tomcat, I noticed that if log4j.jar
is placed in ./common/lib/, then for example an instance of
SMTAppender cannot be created without placing 'mail.jar' also in
./common/lib/, placing 'mail.jar' in WEB-INF/lib is not enough.

To circumvent this problem, I propose to split log4j.jar by
dependency. For example,

log4j.jar (core classes depending only on JDK 1.2)
log4j-smtp.jar
log4j-jms.jar
log4j-db.jar
log4j-oro.jar
log4j-...

This way, the user wishing to use SMTPAppender in her application can
place log4j-smtp.jar and mail.jar in her application's WEB-INF/lib
directory without the need to add any new jar files in ./common/lib.

Apache Ant has adopted the same approach for similar reasons [1, 2].

[1] http://marc.theaimsgroup.com/?l=ant-dev&m=102689870118435&w=2
[2] http://ant.apache.org/faq.html#delegating-classloader

What do you think?



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to