damn i don't believe i left the entire digest in my response.  apologies to
all who had to scan past all that stuff.


my James mail server is running on my local machine.  It seems to have
clobbered my other smtp client, so now i can't send or receive e-mail unless
James is running (egad!).

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 ;)

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
        at
org.apache.turbine.util.Configurations.getString(Configurations.java:232)
        at
org.apache.turbine.util.Configurations.getString(Configurations.java:197)
        at
org.apache.turbine.services.resources.GenericResources.getString(GenericReso
urces.java:326)
        at
org.apache.turbine.services.resources.TurbineResourceService.getString(Turbi
neResourceService.java:433)
        at
org.apache.jetspeed.services.resources.VariableResourcesService.getString(Va
riableResourcesService.java:216)
        at
org.apache.turbine.services.resources.TurbineResources.getString(TurbineReso
urces.java:302)
        at
org.apache.jetspeed.modules.actions.SendConfirmationEmail.doPerform(SendConf
irmationEmail.java:115)
        at org.apache.turbine.modules.Action.perform(Action.java:91)
        at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:121)
        at
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(Create
NewUserAndConfirm.java:161)
        at org.apache.turbine.modules.Action.perform(Action.java:91)
        at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:121)
        at
org.apache.jetspeed.modules.pages.JetspeedJspPage.doBuild(JetspeedJspPage.ja
va:95)
        at org.apache.turbine.modules.Page.build(Page.java:92)
        at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
        at org.apache.turbine.Turbine.doGet(Turbine.java:391)
        at org.apache.turbine.Turbine.doPost(Turbine.java:478)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)
<end>

clearly "[EMAIL PROTECTED]" maps to a String Object.  So I'm
not sure what's really going on here.

Are there any dox on what the TurbineResources.properties is supposed to
look like?  Can someone send me a sample of one that works?

Thanks in advance,
-bml



[David Taylor wrote:]

Subject: RE: setting up the mail server
From: "David Sean Taylor" <[EMAIL PROTECTED]>
Date: Tue, 30 Jan 2001 12:22:15 -0800

Try adding this to your JetspeedResources.properties or
TurbineResources.properties:

mail.server=localhost
[EMAIL PROTECTED]
confirm.email.name=YOURSERVER Postmaster
confirm.email.subject=Jetspeed Registration

make sure that James is running
I have never been able to get this to work on anything but the localhost
from a servlet.
(From the command line it works fine)
Is your mail server on a different host?

What is this?: rfc822

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brian M. Long
> Sent: Tuesday, January 30, 2001 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: setting up the mail server
>
>
>
> in the installation doc it says:
>
> < begin >
>
> 7a. When signing up a new user in Jetspeed, the registration process
> includes a step where an email is sent to the new user. In order for this
> process to work on Windows NT or 2000, you will need to have a local SMTP
> server running. The Apaches James Mail Enterprise Server is
> available from:
> http://java.apache.org/james/
> The mail host settings will need to be modified:
> <tomcat_home>/webapps/jetspeed/WEB-INF/conf/TurbineResources.properties
>
> < end >
>
> ok, now i'm looking at the TurbineResources.properties file.  What exactly
> needs to be modified?  JAMES' install says just update the DNS
> and the root
> password, which I've done.  Still getting the following exception when
> attempting to add a new user:
>
> < begin >
>
> Error=Error sending email: javax.mail.NoSuchProviderException: No provider
> for A
> ddress type: rfc822
>
> < end >
>
> wazzup?
> -bml



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

Reply via email to