Changes between Version 1 and Version 2 of DespoinaLog/2012/05/10


Ignore:
Timestamp:
2012-05-10T14:37:21+02:00 (13 years ago)
Author:
antonak
Comment:

--

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 :
    25
    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
    49
    510org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
    611
    7         at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:157)
     12  at org.molgenis.framework.server.!MolgenisFrontController .getSecuredDatabase(!MolgenisFrontController.java:157 )
    813
    9         at org.molgenis.framework.server.!MolgenisFrontController.handleRequest(!MolgenisFrontController.java:115)
     14  at org.molgenis.framework.server.!MolgenisFrontController .handleRequest(!MolgenisFrontController.java:115 )
    1015
    11         at org.molgenis.framework.server.!MolgenisFrontController.service(!MolgenisFrontController.java:71)
     16  at org.molgenis.framework.server.!MolgenisFrontController .service(!MolgenisFrontController.java:71 )
    1217
    13         at javax.servlet.http.!HttpServlet.service(!HttpServlet.java:717)
     18  at javax.servlet.http.!HttpServlet .service(!HttpServlet.java:717 )
    1419
    15         at org.apache.catalina.core.!ApplicationFilterChain.internalDoFilter(!ApplicationFilterChain.java:290)
     20  at org.apache.catalina.core.!ApplicationFilterChain .internalDoFilter(!ApplicationFilterChain.java:290 )
    1621
    17         at org.apache.catalina.core.!ApplicationFilterChain.doFilter(!ApplicationFilterChain.java:206)
     22  at org.apache.catalina.core.!ApplicationFilterChain .doFilter(!ApplicationFilterChain.java:206 )
    1823
    19         at org.apache.catalina.core.!StandardWrapperValve.invoke(!StandardWrapperValve.java:233)
     24  at org.apache.catalina.core.!StandardWrapperValve .invoke(!StandardWrapperValve.java:233 )
    2025
    21         at org.apache.catalina.core.!StandardContextValve.invoke(!StandardContextValve.java:191)
     26  at org.apache.catalina.core.!StandardContextValve .invoke(!StandardContextValve.java:191 )
    2227
    23         at org.apache.catalina.core.!StandardHostValve.invoke(!StandardHostValve.java:127)
     28  at org.apache.catalina.core.!StandardHostValve .invoke(!StandardHostValve.java:127 )
    2429
    25         at org.apache.catalina.valves.!ErrorReportValve.invoke(!ErrorReportValve.java:102)
     30  at org.apache.catalina.valves.!ErrorReportValve .invoke(!ErrorReportValve.java:102 )
    2631
    27         at org.apache.catalina.core.!StandardEngineValve.invoke(!StandardEngineValve.java:109)
     32  at org.apache.catalina.core.!StandardEngineValve .invoke(!StandardEngineValve.java:109 )
    2833
    29         at org.apache.catalina.connector.!CoyoteAdapter.service(!CoyoteAdapter.java:298)
     34  at org.apache.catalina.connector.!CoyoteAdapter .service(!CoyoteAdapter.java:298 )
    3035
    31         at org.apache.coyote.http11.Http11Processor.process(!Http11Processor.java:852)
     36  at org.apache.coyote.http11.Http11Processor.process(!Http11Processor.java:852 )
    3237
    33         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(!Http11Protocol.java:588)
     38  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(!Http11Protocol.java:588 )
    3439
    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 )
    3641
    37         at java.lang.Thread.run(!Thread.java:680)
     42  at java.lang.Thread.run(!Thread.java:680 )
    3843
    3944Caused by: org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
    4045
    41         at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:45)
     46  at app.!DatabaseFactory .createJpaDatabase(!DatabaseFactory.java:45 )
    4247
    43         at app.!DatabaseFactory.create(!DatabaseFactory.java:84)
     48  at app.!DatabaseFactory .create(!DatabaseFactory.java:84 )
    4449
    45         at app.servlet.!FrontController.createDatabase(!FrontController.java:95)
     50  at app.servlet.!FrontController .createDatabase(!FrontController.java:95 )
    4651
    47         at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:147)
     52  at org.molgenis.framework.server.!MolgenisFrontController .getSecuredDatabase(!MolgenisFrontController.java:147 )
    4853
    49         ... 15 more
     54  ... 15 more
    5055
    5156Caused by: javax.persistence.!PersistenceException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
    5257
    53         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:915)
     58  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:915 )
    5459
    55         at org.hibernate.ejb.!HibernatePersistence.createEntityManagerFactory(!HibernatePersistence.java:57)
     60  at org.hibernate.ejb.!HibernatePersistence .createEntityManagerFactory(!HibernatePersistence.java:57 )
    5661
    57         at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:48)
     62  at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:48 )
    5863
    59         at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:32)
     64  at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:32 )
    6065
    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 )
    6267
    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 )
    6469
    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 )
    6671
    67         at app.!JpaDatabase.<init>(!JpaDatabase.java:84)
     72  at app.!JpaDatabase .<init>(!JpaDatabase.java:84 )
    6873
    69         at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:43)
     74  at app.!DatabaseFactory .createJpaDatabase(!DatabaseFactory.java:43 )
    7075
    71         ... 18 more
     76  ... 18 more
    7277
    7378Caused by: org.hibernate.!HibernateException: Wrong column type in LLcatalogue.Category for column description. Found: text, expected: longtext
    7479
    75         at org.hibernate.mapping.Table.validateColumns(!Table.java:283)
     80  at org.hibernate.mapping.Table.validateColumns(!Table.java:283 )
    7681
    77         at org.hibernate.cfg.Configuration.validateSchema(!Configuration.java:1343)
     82  at org.hibernate.cfg.Configuration.validateSchema(!Configuration.java:1343 )
    7883
    79         at org.hibernate.tool.hbm2ddl.!SchemaValidator.validate(!SchemaValidator.java:139)
     84  at org.hibernate.tool.hbm2ddl.!SchemaValidator .validate(!SchemaValidator.java:139 )
    8085
    81         at org.hibernate.impl.!SessionFactoryImpl.<init>(!SessionFactoryImpl.java:378)
     86  at org.hibernate.impl.!SessionFactoryImpl .<init>(!SessionFactoryImpl.java:378 )
    8287
    83         at org.hibernate.cfg.Configuration.buildSessionFactory(!Configuration.java:1872)
     88  at org.hibernate.cfg.Configuration.buildSessionFactory(!Configuration.java:1872 )
    8489
    85         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:906)
     90  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:906 )
    8691
    87         ... 26 more
     92  ... 26 more