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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2012/05/10

    v1 v1  
     1Trying JPA on catalogue : 
     2
     3    14:24:05,985 ERROR !FrontController:76 - ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
     4
     5org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
     6
     7        at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:157)
     8
     9        at org.molgenis.framework.server.!MolgenisFrontController.handleRequest(!MolgenisFrontController.java:115)
     10
     11        at org.molgenis.framework.server.!MolgenisFrontController.service(!MolgenisFrontController.java:71)
     12
     13        at javax.servlet.http.!HttpServlet.service(!HttpServlet.java:717)
     14
     15        at org.apache.catalina.core.!ApplicationFilterChain.internalDoFilter(!ApplicationFilterChain.java:290)
     16
     17        at org.apache.catalina.core.!ApplicationFilterChain.doFilter(!ApplicationFilterChain.java:206)
     18
     19        at org.apache.catalina.core.!StandardWrapperValve.invoke(!StandardWrapperValve.java:233)
     20
     21        at org.apache.catalina.core.!StandardContextValve.invoke(!StandardContextValve.java:191)
     22
     23        at org.apache.catalina.core.!StandardHostValve.invoke(!StandardHostValve.java:127)
     24
     25        at org.apache.catalina.valves.!ErrorReportValve.invoke(!ErrorReportValve.java:102)
     26
     27        at org.apache.catalina.core.!StandardEngineValve.invoke(!StandardEngineValve.java:109)
     28
     29        at org.apache.catalina.connector.!CoyoteAdapter.service(!CoyoteAdapter.java:298)
     30
     31        at org.apache.coyote.http11.Http11Processor.process(!Http11Processor.java:852)
     32
     33        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(!Http11Protocol.java:588)
     34
     35        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(!JIoEndpoint.java:489)
     36
     37        at java.lang.Thread.run(!Thread.java:680)
     38
     39Caused by: org.molgenis.framework.db.!DatabaseException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
     40
     41        at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:45)
     42
     43        at app.!DatabaseFactory.create(!DatabaseFactory.java:84)
     44
     45        at app.servlet.!FrontController.createDatabase(!FrontController.java:95)
     46
     47        at org.molgenis.framework.server.!MolgenisFrontController.getSecuredDatabase(!MolgenisFrontController.java:147)
     48
     49        ... 15 more
     50
     51Caused by: javax.persistence.!PersistenceException: ![PersistenceUnit: molgenis] Unable to build !EntityManagerFactory
     52
     53        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:915)
     54
     55        at org.hibernate.ejb.!HibernatePersistence.createEntityManagerFactory(!HibernatePersistence.java:57)
     56
     57        at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:48)
     58
     59        at javax.persistence.Persistence.createEntityManagerFactory(!Persistence.java:32)
     60
     61        at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.addEntityManagerFactory(!JpaDatabase.java:58)
     62
     63        at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.<init>(!JpaDatabase.java:41)
     64
     65        at org.molgenis.framework.db.jpa.!JpaDatabase$EMFactory.createEntityManager(!JpaDatabase.java:83)
     66
     67        at app.!JpaDatabase.<init>(!JpaDatabase.java:84)
     68
     69        at app.!DatabaseFactory.createJpaDatabase(!DatabaseFactory.java:43)
     70
     71        ... 18 more
     72
     73Caused by: org.hibernate.!HibernateException: Wrong column type in LLcatalogue.Category for column description. Found: text, expected: longtext
     74
     75        at org.hibernate.mapping.Table.validateColumns(!Table.java:283)
     76
     77        at org.hibernate.cfg.Configuration.validateSchema(!Configuration.java:1343)
     78
     79        at org.hibernate.tool.hbm2ddl.!SchemaValidator.validate(!SchemaValidator.java:139)
     80
     81        at org.hibernate.impl.!SessionFactoryImpl.<init>(!SessionFactoryImpl.java:378)
     82
     83        at org.hibernate.cfg.Configuration.buildSessionFactory(!Configuration.java:1872)
     84
     85        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(!Ejb3Configuration.java:906)
     86
     87        ... 26 more