I researched a little more...
The ClassNotFoundException is raised when libraries are not in $PHOENIX_HOME/lib which are used in classes not directly used in the mailet, but in classes the mailet uses...
the same is true for libraries containing the ContextFactory for initializing a jndi context.
cheers,
Philipp
Steve Brewin wrote:
astrograph wrote:
thanks for the info - okay, in $PHOENIX_HOME/apps/james/SAR-INF/lib I can put the jar which contains the custom mailet - but where to put jars which contain libraries used by this mailet? If I put them in $PHOENIX_HOME/apps/james/SAR-INF/lib ClassNotFound Errors are thrown...
That isn't a problem I am experiencing. I have several dependant .jars here, in fact an entire implementation of jSieve invoked from a Mailet and it works fine. Perhaps there is some other problem?
-- Steve
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
