"Brian M. Long" escribió:

> i have no idea what the rfc822 is.  it's just showing up at the end of the
> exception text in the monitor.  i was hoping that someone who wrote the code
> that throws the exception could tell me ;)
> 

rfc822 is the specification of SMTP. (try somethings like
http://www.google.com/search?q=rfc822 )
What James (I think it is the javax.mail extension) is saying is that
there is no mail provider for the mail protocol. Possibly because the
James classes are not accessible from tomcat. BTW, I have not written
any code related with this.

It means that you should change some settings in a mail.providers file
somewhere. Read the docs. It should be explained either in the
javax.mail docs or in James.


> my TurbineResources.properties now looks like this:
> 
> <begin>
> # -------------------------------------------------------------------
> #
> #  M A I L  S E R V E R
> #
> # -------------------------------------------------------------------
> # Your mail server for outgoing email.
> #
> # Default: null
> # -------------------------------------------------------------------
> 
> mail.server=localhost
> [EMAIL PROTECTED]
> confirm.email.name=gate.randomwalk Postmaster
> confirm.email.subject=Jetspeed Registration
> <end>
> 
> running jetspeed with this configuration causes a (different) exception to
> be thrown when attempting to confirm a new user:
> 
> <begin>
> java.lang.ClassCastException: confirm.email.from doesn't map to a String
> object

This is a very misleading error that means that there is a double
definition of the variable confirm.email in the configuration files. You
must have it both in TurbineResources and JetspeedResources. Turbine
reads double definitions into a Vector, and it is not compatible with
String. It should hint the user about the real cause.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to