You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Michael McGonagle <mi...@wpco.com> on 2004/10/26 01:53:16 UTC

Error running JamesConfigTest

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


Re: Error running JamesConfigTest

Posted by Carl Downs <ca...@yahoo.com>.
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 <mi...@wpco.com> 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:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 



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

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