When i execute the portal from eclipse, the feedback plugin doesn't have all necessary configuration set up by default and there's an exception (at the end of this issue) in the log file. Is this a normal behavior ?
2015-01-22 17:26:51 ERROR FeedbackContextListener:40 - Could not create feedback table. Feedback function will not work properly.
org.fao.unredd.portal.PersistenceException: Database error
at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:41)
at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:14)
at org.fao.unredd.feedback.DBFeedbackPersistence.createTable(DBFeedbackPersistence.java:78)
at org.fao.unredd.feedback.Feedback.createTable(Feedback.java:101)
at org.fao.unredd.feedback.servlet.FeedbackContextListener.contextInitialized(FeedbackContextListener.java:37)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1452)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:37)
... 13 more
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
... 16 more
2015-01-22 17:26:51 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
Jan 22, 2015 5:26:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 22, 2015 5:26:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 22, 2015 5:26:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 998 ms
2015-01-22 17:26:52 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:53 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:54 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:55 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:56 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:57 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
2015-01-22 17:26:58 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification
When i execute the portal from eclipse, the feedback plugin doesn't have all necessary configuration set up by default and there's an exception (at the end of this issue) in the log file. Is this a normal behavior ?
2015-01-22 17:26:51 ERROR FeedbackContextListener:40 - Could not create feedback table. Feedback function will not work properly. org.fao.unredd.portal.PersistenceException: Database error at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:41) at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:14) at org.fao.unredd.feedback.DBFeedbackPersistence.createTable(DBFeedbackPersistence.java:78) at org.fao.unredd.feedback.Feedback.createTable(Feedback.java:101) at org.fao.unredd.feedback.servlet.FeedbackContextListener.contextInitialized(FeedbackContextListener.java:37) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1452) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.fao.unredd.portal.DBUtils.processConnection(DBUtils.java:37) ... 13 more Caused by: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(Unknown Source) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437) ... 16 more 2015-01-22 17:26:51 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification Jan 22, 2015 5:26:51 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Jan 22, 2015 5:26:51 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Jan 22, 2015 5:26:51 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 998 ms 2015-01-22 17:26:52 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:53 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:54 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:55 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:56 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:57 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification 2015-01-22 17:26:58 ERROR FeedbackContextListener:68 - No feedback instance skipping author notification