Thanks Shal,

I have already tried that. Dosent work.
Infact MyMailet is in the same package as MyOther class. It picks up
MyMailet but fails on
getting MyOther class.
Is it a bug in the new version?
Is there a way I can get/print the exact error inside james so I know
exactly what is missing?
It justs gobbles up the Exception and just hangs on the service method.
My Conig.xml looks fine.

thanks.

kishan





"Shal Jain" <[EMAIL PROTECTED]> on 06/02/2002 04:00:33

Please respond to "James Users List" <[EMAIL PROTECTED]>

To:    "James Users List" <[EMAIL PROTECTED]>
cc:

Subject:    Re: MyMailet runs but cannot pick up MyOther class

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]
>









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

Reply via email to