Changes between Version 1 and Version 2 of DespoinaLog/2012/05/10
- Timestamp:
- 2012-05-10T14:37:21+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DespoinaLog/2012/05/10
v1 v2 1 Trying JPA on catalogue : 1 * rendering ftl forms : selections from error : . When regenerating & first run ..ok . after db change problem reappears. 2 * Method public java.lang.String org.molgenis.framework.ui.!SimpleScreenModel.render() throws org.molgenis.framework.ui.html.!HtmlInputException threw an exception when invoked on org.molgenis.framework.ui.!FormModel@5515c974[[BR]]The problematic instruction: 3 * ==> ${screen.render()} [on line 15, column 17 in Layout.ftl][[BR]]in user-directive layout [on line 119, column 9 in !MenuView.ftl] 4 * Trying JPA on catalogue : 2 5 3 14:24:05,985 ERROR !FrontController:76 - ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory 6 7 8 14:24:05,985 ERROR !FrontController:76 - ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory 4 9 5 10 org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory 6 11 7 at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:157)12 at org.molgenis.framework.server.!MolgenisFrontController .getSecuredDatabase(!MolgenisFrontController.java:157 ) 8 13 9 at org.molgenis.framework.server.!MolgenisFrontController.handleRequest(!MolgenisFrontController.java:115)14 at org.molgenis.framework.server.!MolgenisFrontController .handleRequest(!MolgenisFrontController.java:115 ) 10 15 11 at org.molgenis.framework.server.!MolgenisFrontController.service(!MolgenisFrontController.java:71)16 at org.molgenis.framework.server.!MolgenisFrontController .service(!MolgenisFrontController.java:71 ) 12 17 13 at javax.servlet.http.!HttpServlet.service(!HttpServlet.java:717)18 at javax.servlet.http.!HttpServlet .service(!HttpServlet.java:717 ) 14 19 15 at org.apache.catalina.core.!ApplicationFilterChain.internalDoFilter(!ApplicationFilterChain.java:290)20 at org.apache.catalina.core.!ApplicationFilterChain .internalDoFilter(!ApplicationFilterChain.java:290 ) 16 21 17 at org.apache.catalina.core.!ApplicationFilterChain.doFilter(!ApplicationFilterChain.java:206)22 at org.apache.catalina.core.!ApplicationFilterChain .doFilter(!ApplicationFilterChain.java:206 ) 18 23 19 at org.apache.catalina.core.!StandardWrapperValve.invoke(!StandardWrapperValve.java:233)24 at org.apache.catalina.core.!StandardWrapperValve .invoke(!StandardWrapperValve.java:233 ) 20 25 21 at org.apache.catalina.core.!StandardContextValve.invoke(!StandardContextValve.java:191)26 at org.apache.catalina.core.!StandardContextValve .invoke(!StandardContextValve.java:191 ) 22 27 23 at org.apache.catalina.core.!StandardHostValve.invoke(!StandardHostValve.java:127)28 at org.apache.catalina.core.!StandardHostValve .invoke(!StandardHostValve.java:127 ) 24 29 25 at org.apache.catalina.valves.!ErrorReportValve.invoke(!ErrorReportValve.java:102)30 at org.apache.catalina.valves.!ErrorReportValve .invoke(!ErrorReportValve.java:102 ) 26 31 27 at org.apache.catalina.core.!StandardEngineValve.invoke(!StandardEngineValve.java:109)32 at org.apache.catalina.core.!StandardEngineValve .invoke(!StandardEngineValve.java:109 ) 28 33 29 at org.apache.catalina.connector.!CoyoteAdapter.service(!CoyoteAdapter.java:298)34 at org.apache.catalina.connector.!CoyoteAdapter .service(!CoyoteAdapter.java:298 ) 30 35 31 at org.apache.coyote.http11.Http11Processor.process(!Http11Processor.java:852)36 at org.apache.coyote.http11.Http11Processor.process(!Http11Processor.java:852 ) 32 37 33 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(!Http11Protocol.java:588)38 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(!Http11Protocol.java:588 ) 34 39 35 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(!JIoEndpoint.java:489)40 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(!JIoEndpoint.java:489 ) 36 41 37 at java.lang.Thread.run(!Thread.java:680)42 at java.lang.Thread.run(!Thread.java:680 ) 38 43 39 44 Caused by: org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory 40 45 41 at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:45)46 at app.!DatabaseFactory .createJpaDatabase(!DatabaseFactory.java:45 ) 42 47 43 at app.!DatabaseFactory.create(!DatabaseFactory.java:84)48 at app.!DatabaseFactory .create(!DatabaseFactory.java:84 ) 44 49 45 at app.servlet.!FrontController.createDatabase(!FrontController.java:95)50 at app.servlet.!FrontController .createDatabase(!FrontController.java:95 ) 46 51 47 at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:147)52 at org.molgenis.framework.server.!MolgenisFrontController .getSecuredDatabase(!MolgenisFrontController.java:147 ) 48 53 49 54 ... 15 more 50 55 51 56 Caused by: javax.persistence.!PersistenceException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory 52 57 53 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:915)58 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:915 ) 54 59 55 at org.hibernate.ejb.!HibernatePersistence.createEntityManagerFactory(!HibernatePersistence.java:57)60 at org.hibernate.ejb.!HibernatePersistence .createEntityManagerFactory(!HibernatePersistence.java:57 ) 56 61 57 at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:48)62 at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:48 ) 58 63 59 at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:32)64 at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:32 ) 60 65 61 at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.addEntityManagerFactory(!JpaDatabase.java:58)66 at org.molgenis.framework.db.jpa.!JpaDatabase $EMFactory.addEntityManagerFactory(!JpaDatabase.java:58 ) 62 67 63 at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.<init>(!JpaDatabase.java:41)68 at org.molgenis.framework.db.jpa.!JpaDatabase $EMFactory.<init>(!JpaDatabase.java:41 ) 64 69 65 at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.createEntityManager(!JpaDatabase.java:83)70 at org.molgenis.framework.db.jpa.!JpaDatabase $EMFactory.createEntityManager(!JpaDatabase.java:83 ) 66 71 67 at app.!JpaDatabase.<init>(!JpaDatabase.java:84)72 at app.!JpaDatabase .<init>(!JpaDatabase.java:84 ) 68 73 69 at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:43)74 at app.!DatabaseFactory .createJpaDatabase(!DatabaseFactory.java:43 ) 70 75 71 76 ... 18 more 72 77 73 78 Caused by: org.hibernate.!HibernateException: Wrong column type in LLcatalogue.Category for column description. Found: text, expected: longtext 74 79 75 at org.hibernate.mapping.Table.validateColumns(!Table.java:283)80 at org.hibernate.mapping.Table.validateColumns(!Table.java:283 ) 76 81 77 at org.hibernate.cfg.Configuration.validateSchema(!Configuration.java:1343)82 at org.hibernate.cfg.Configuration.validateSchema(!Configuration.java:1343 ) 78 83 79 at org.hibernate.tool.hbm2ddl.!SchemaValidator.validate(!SchemaValidator.java:139)84 at org.hibernate.tool.hbm2ddl.!SchemaValidator .validate(!SchemaValidator.java:139 ) 80 85 81 at org.hibernate.impl.!SessionFactoryImpl.<init>(!SessionFactoryImpl.java:378)86 at org.hibernate.impl.!SessionFactoryImpl .<init>(!SessionFactoryImpl.java:378 ) 82 87 83 at org.hibernate.cfg.Configuration.buildSessionFactory(!Configuration.java:1872)88 at org.hibernate.cfg.Configuration.buildSessionFactory(!Configuration.java:1872 ) 84 89 85 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:906)90 at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:906 ) 86 91 87 92 ... 26 more