james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astrograph <astrogr...@gmx.net>
Subject Re: other place than /lib for jars?
Date Tue, 06 Apr 2004 15:51:33 GMT
Hi Steve,

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: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message