The full exception message would be useful.
One thing to check is this. In the required jars package downloaded from
the support site are two jars: mail.jar and activation.jar. These jars
should be placed in the Tomcat's common/lib directory (and should be removed
from the roller WEB-INF/lib directory if you have them there).
----- Original Message -----
From: "Shaun Longhurst" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 01, 2006 3:31 AM
Subject: email notification problems
I am trying to set up email notifications and am having issues. The error
given in the logs is this
ERROR 2006-12-01 11:22:55,339 CommentServlet:sendEmailNotification -
Unable
to lookup mail session. Check configuration. NamingException: Could not
create resource factory instance
My roller.xml file looks like this
<!-- If you want e-mail features, un-comment the section below -->
<Resource name="mail/Session" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.host="localhost" />
My web.xml file looks like this
<!-- Uncomment this for email notification of comments -->
<resource-ref>
<res-ref-name>mail/Session</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
I have sendmail configured on the local server, i have also tried
configuring to use a mail server externally and get the same errors, so i
think that roller isnt even getting as far as trying to pass
authentication
to the server.
Any help greatly appreciated