Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback plugin not inizialized #63

Open
minotogna opened this issue Jan 23, 2015 · 0 comments
Open

Feedback plugin not inizialized #63

minotogna opened this issue Jan 23, 2015 · 0 comments
Labels

Comments

@minotogna
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant