Hi,

I am trying to install a Mailet into JAMES.  It relies on numerous external
libraries.  What is the correct method of getting these libraries onto the
CLASSPATH so that they can be seen by my mailet?

I have tried the following:
   Set the CLASSPATH environment variable in JAMES's run.bat script.  This
   appears to have no effect.
   Add the required jars to the avalon lib directory.  This does not work,
   because the JAMES libs that the Mailet depends on seem to be loaded in a
   different classloader.
   Add the required jars to the JAMES lib directory.  This does not work.
   The extra jars seem to be completely ignored.
   Add the required jars to the JAMES lib directory AND add the JAMES lib
   directory to the ext.lib.dirs list in the run.bat script.  This works,
   but seems to be a ham-fisted approach to the problem.

TIA

ADK


-----------------------------------------------------------------------------------------------
Have you seen our website?.... http://www.vodafone.co.nz

CAUTION: This correspondence is confidential and intended for the named recipient(s) 
only.
If you are not the named recipient and receive this correspondence in error, you must 
not copy,
distribute or take any action in reliance on it and you should delete it from your 
system and
notify the sender immediately.  Thank you.

Unless otherwise stated, any views or opinions expressed are solely those of the 
author and do
not represent those of Vodafone New Zealand Limited.

Vodafone New Zealand Limited
21 Pitt Street, Private Bag 92161, Auckland, 1020, New Zealand
Telephone + 64 9 357 5100
Facsimile + 64 9 377 0962

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

Reply via email to