[kune-commits] r1611 - trunk

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Wed Nov 16 19:54:29 CET 2011


Author: vjrj_
Date: 2011-11-16 19:54:28 +0100 (Wed, 16 Nov 2011)
New Revision: 1611

Modified:
   trunk/TROUBLESHOOT
Log:
Doc fix

Modified: trunk/TROUBLESHOOT
===================================================================
--- trunk/TROUBLESHOOT	2011-11-16 13:18:31 UTC (rev 1610)
+++ trunk/TROUBLESHOOT	2011-11-16 18:54:28 UTC (rev 1611)
@@ -73,6 +73,30 @@
 
 If you have this problem with openfire it's not enough to change the password in openfire.xml because probably it's already stored in the ofProperty openfire table and you need to change the password there.
 
+== Other mysql errors ==
+
+If you get this warning, probably you have connection problems between kune and your database:
+
+WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
+
+A check list:
+- these files should be the same:
+  diff src/main/resources/META-INF/persistence.xml target/kune-0.1.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml
+if not "mvn compile -Dliquibase.should.run=false"
+- the persistence-unit you use, that is hardcoded (by now) in  
+src/main/java/cc/kune/core/server/KuneRackModule.java
+(...)
+  public KuneRackModule() {
+    this("production", "/ws", null);
+  }
+(...)
+find that name in persistence.xml (we are using production, but can be other). The db user/password configured in persistence.xml for that name should be the same to that one you used in the GRANT sentence of mysql database creation.
+
+To debug mysql logs, you can uncomment:
+#general_log_file        = /var/log/mysql/mysql.log
+#general_log             = 1
+in /etc/mysql/my.cnf
+
 == Eclipse & GWT ==
 
 If you have some tests with error like "can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly" and you have installed GWTDesigner, uncheck "client classpath": http://code.google.com/webtoolkit/tools/gwtdesigner/preferences/gwt/preferences_builder.html




More information about the kune-commits mailing list