| 1 | ==== Problems in Molgenis update ==== |
| 2 | * After last update from molgenis3_3 , compilation errors: |
| 3 | * Revealed an error in model : |
| 4 | * Entity patient contained a field : Syndrome_id , from the old table Syndrome ,which now is User . user_id xref already exists . |
| 5 | * Changed it in * <field name="PatientID" type="autoid" /> |
| 6 | * since there wasn't any primary key in the table(!) . |
| 7 | * Also delete database , delete generated folder , Molgenis Generate again.... |
| 8 | * Open mysql as root : |
| 9 | * mysql> create database hvp_pilot; |
| 10 | * * mysql> grant all privileges on hvp_pilot.* to molgenis@localhost identified by 'molgenis'; flush privileges; |
| 11 | * Clear & delete tomcat, run --> |
| 12 | * Error : |
| 13 | * "The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: !.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java" |
| 14 | * Solution : http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Tomcat+Native+Library |
| 15 | * Install tomcat native : sudo port install tomcat-native & |
| 16 | * From the '''Terminal''' program, make symbolic links from the /opt/local/lib/libtcnative-1.* to /usr/lib/!java:sudo ln -s /opt/local/lib/libtcnative-1.* /usr/lib/java |
| 17 | * Delete & restart : |
| 18 | * * SEVERE: An incompatible version 1.1.14 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17 |
| 19 | * http://old.nabble.com/Tomcat-5.5.16---Error-configuring-application-listener-of-class-listeners.ContextListener-to3440834.html#a3487618 |
| 20 | * Another revealed error : |
| 21 | * java.io.IOException: Cannot run program "dot": error=2, No such file or directory |
| 22 | * later : install graphviz |
| 23 | * Created a new project in workspace in order to debug . potential problem in lucene code ?? |
| 24 | * the problem is the naming of fields in DB ? |