You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by thiru_neela <tn...@adroitent.net> on 2009/08/07 11:14:33 UTC

How to configure mail/Session details for MS-SQL Server?

Hi!
I just downloaded roller. And it is working fine except sending email
notifications.
I am using the following softwares.
My database configuration file as below.

<datasources>
   <local-tx-datasource>
      <jndi-name>jdbc/rollerdb</jndi-name>
     
<connection-url>jdbc:sqlserver://localhost:1433;databaseName=ROLLER</connection-url>
     
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
      <user-name>abc</user-name>
      <password>abc</password>
   </local-tx-datasource>
</datasources>

When I run the roller I got the following trace.
INFO  2009-08-07 12:37:53,758 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JNDI_NAME
INFO  2009-08-07 12:37:53,774 DatabaseProvider:successMessage - -- Using
JNDI datasource name: java:comp/env/jdbc/rollerdb
INFO  2009-08-07 12:37:53,790 DatabaseProvider:successMessage - SUCCESS:
located JNDI DataSource [java:comp/env/jdbc/rollerdb]
WARN  2009-08-07 12:37:54,865 WebloggerStartup:prepare - Failed to setup
mail provider, continuing anways.
Reason: ERROR connecting to mail server
org.apache.roller.weblogger.business.startup.StartupException: ERROR
connecting to mail server

My question is where do I need to add mail configuration details and how?
Can anyone provide piece of code to configure mail details.
I am using 

Roller 4.0.1
MS-SQL Server 2005.
JDK 1.6 
JBoss 4.2.3.GA

regards
Thiru
-- 
View this message in context: http://www.nabble.com/How-to-configure-mail-Session-details-for-MS-SQL-Server--tp24861429s12275p24861429.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: How to configure mail/Session details for MS-SQL Server?

Posted by Dave <sn...@gmail.com>.
Mail configuration is covered in the Install Guide Sections 6 and 9.3.

Have you followed those directions?

- Dave



On Fri, Aug 7, 2009 at 5:14 AM, thiru_neela<tn...@adroitent.net> wrote:
>
> Hi!
> I just downloaded roller. And it is working fine except sending email
> notifications.
> I am using the following softwares.
> My database configuration file as below.
>
> <datasources>
>   <local-tx-datasource>
>      <jndi-name>jdbc/rollerdb</jndi-name>
>
> <connection-url>jdbc:sqlserver://localhost:1433;databaseName=ROLLER</connection-url>
>
> <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
>      <user-name>abc</user-name>
>      <password>abc</password>
>   </local-tx-datasource>
> </datasources>
>
> When I run the roller I got the following trace.
> INFO  2009-08-07 12:37:53,758 DatabaseProvider:successMessage - SUCCESS: Got
> parameters. Using configuration type JNDI_NAME
> INFO  2009-08-07 12:37:53,774 DatabaseProvider:successMessage - -- Using
> JNDI datasource name: java:comp/env/jdbc/rollerdb
> INFO  2009-08-07 12:37:53,790 DatabaseProvider:successMessage - SUCCESS:
> located JNDI DataSource [java:comp/env/jdbc/rollerdb]
> WARN  2009-08-07 12:37:54,865 WebloggerStartup:prepare - Failed to setup
> mail provider, continuing anways.
> Reason: ERROR connecting to mail server
> org.apache.roller.weblogger.business.startup.StartupException: ERROR
> connecting to mail server
>
> My question is where do I need to add mail configuration details and how?
> Can anyone provide piece of code to configure mail details.
> I am using
>
> Roller 4.0.1
> MS-SQL Server 2005.
> JDK 1.6
> JBoss 4.2.3.GA
>
> regards
> Thiru
> --
> View this message in context: http://www.nabble.com/How-to-configure-mail-Session-details-for-MS-SQL-Server--tp24861429s12275p24861429.html
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>