with James 2.0a1 - modify your run script to include on the classpath where
all your dependant classes/jars are located
I don't know if 2.0a2 automatically looks in the james/lib directory ( a
convinient location to place your jars etc.)
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 1:05 AM
Subject: MyMailet runs but cannot pick up MyOther class
> Hi,
>
> Iam upgrading to version James 2.0a2 or James 2.0a1.
>
> My problem is that I cannot call another class from my mailet servlet.
> my code is like this
> MyMailet extends GenericMailet :: service(mail){
> file://get mime message
> myOtherClass = new MyOtherClass();//dosent work
> MyOtherClass.service(message);
> }
>
> I get this servlet running but when it comes to calling other class and
> delegating it fails or rather hangs up on the service thread.
> It seems it cant find the class in the same package (I come to this
> conclusion after using System.out.println to debug).
>
> Same code with earlier version of james is running fine
>
> I have tried everything from putting it in classpath, in lib or jre ext
> directory but mailet container cannot pick up this class.
>
> Any help would be great.
>
> cheers
>
> kishan
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ****************************************************************
> NOTICE - This message is intended only for the use of the
> addressee named above and may contain privileged and
> confidential information. If you are not the intended recipient
> of this message you are hereby notified that you must not
> disseminate, copy or take any action based upon it. If you
> received this message in error please notify HIC immediately.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of HIC.
> ****************************************************************
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>