You just need to include the activation.jar that is
located in james-2.2.0/lib in your CLASSPATH when you
run this JavaMail client.

Hope this helps,
Carl


--- Michael McGonagle <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> I got James installed and running, and I started to
> go through the 
> article 
>
http://www-106.ibm.com/developerworks/java/library/j-james1.html
> to see 
> if I could get this to at least give me a clue about
> how James works.
> 
> I downloaded the JavaMail stuff and got it installed
> on my Mac OS X 
> 10.3.5 machine. I was then able to compile the
> example JamesConfigTest. 
> But, when I run the program, it clears out the
> INBOX's for each of the 
> users that I have created, but when it tries to send
> some test 
> messages, I get the following exception:
> 
> Exception in thread "main"
> java.lang.NoClassDefFoundError: 
> javax/activation/DataSource
>          at
> MailClient.sendMessage(MailClient.java:58)
>          at
> JamesConfigTest.main(JamesConfigTest.java:29)
> 
> It would appear that there is some other package
> that I am missing. 
> Does anyone know what I need?
> 
> Is there a better place to get a feel for how to
> configure James? I am 
> looking to replace an internal email system,
> hopefully sooner than 
> later, but at least not for the next couple of
> weeks.
> 
> Thanks,
> 
> Mike
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

Reply via email to