[ https://forge.continuent.org/jira/browse/SEQUOIA-835?page=all ]
     
Emmanuel Cecchet reopened SEQUOIA-835:
--------------------------------------

     Assign To: Emmanuel Cecchet  (was: Mathieu Peltier)

Reopened to change fix version

> Inability to access recovery log database can throw NPE
> -------------------------------------------------------
>
>          Key: SEQUOIA-835
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-835
>      Project: Sequoia
>         Type: Bug
>   Components: Core
>     Versions: Sequoia 3.0 beta1, Sequoia 2.10.2
>     Reporter: Emmanuel Cecchet
>     Assignee: Emmanuel Cecchet
>      Fix For: Sequoia 3.0 beta 2

>
>
> Reported by Alfonso Olias Sanz:
> 18:20:39,211 ERROR controller.xml.DatabasesParser Failed to check JDBC
> Recovery log tables.
> java.lang.NullPointerException
>        at 
> org.continuent.sequoia.controller.recoverylog.RecoveryLog.intializeDatabase(RecoveryLog.java:364)
>        at 
> org.continuent.sequoia.controller.recoverylog.RecoveryLog.checkRecoveryLogTables(RecoveryLog.java:2835)
>        at 
> org.continuent.sequoia.controller.xml.DatabasesParser.endElement(DatabasesParser.java:1047)
>  
> This was due to a misconfigured RecoveryLog config (JDBC URL is wrong but 
> driver definition is ok) where DriverManager.getConnection returns null:
>             <RecoveryLog driver="org.continuent.sequoia.driver.Driver"
>                      url="jdbc:cjdbc://aolias.indra.es/ITECBAN_RECOVERY_DB"
>                      login="itecban"
>                      password="itecban">
>                 <RecoveryLogTable tableName="LogTable" sqlColumnName="ssql"/>
>                  <CheckpointTable tableName="CheckpointTable"/>
>                  <BackendTable tableName="BackendTable"/>
>                  <DumpTable tableName="DumpTable"/>
>              </RecoveryLog>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to