Advertisement
Guest User

Roo and Glassfish woes

a guest
May 18th, 2012
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.96 KB | None | 0 0
  1. [#|2012-05-18T15:25:07.229+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Injection method name must start with "set"
  2. symbol: javax.persistence.PersistenceContext
  3. location: public static void com.readacted.trm.apps.userstore.domain.UserAccount_Roo_Jpa_ActiveRecord.ajc$interFieldInit$com_readacted_trm_apps_userstore_domain_UserAccount_Roo_Jpa_ActiveRecord$com_readacted_trm_apps_userstore_domain_UserAccount$entityManager(com.readacted.trm.apps.userstore.domain.UserAccount)|#]
  4.  
  5. [#|2012-05-18T15:25:07.247+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Injection method name must start with "set"
  6. symbol: javax.persistence.PersistenceContext
  7. location: public static void com.readacted.trm.apps.userstore.domain.AppPermission_Roo_Jpa_ActiveRecord.ajc$interFieldInit$com_readacted_trm_apps_userstore_domain_AppPermission_Roo_Jpa_ActiveRecord$com_readacted_trm_apps_userstore_domain_AppPermission$entityManager(com.readacted.trm.apps.userstore.domain.AppPermission)|#]
  8.  
  9. [#|2012-05-18T15:25:07.253+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Injection method name must start with "set"
  10. symbol: javax.persistence.PersistenceContext
  11. location: public static void com.readacted.trm.apps.userstore.domain.AppRole_Roo_Jpa_ActiveRecord.ajc$interFieldInit$com_readacted_trm_apps_userstore_domain_AppRole_Roo_Jpa_ActiveRecord$com_readacted_trm_apps_userstore_domain_AppRole$entityManager(com.readacted.trm.apps.userstore.domain.AppRole)|#]
  12.  
  13. [#|2012-05-18T15:25:07.255+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Injection method name must start with "set"
  14. symbol: javax.persistence.PersistenceContext
  15. location: public static void com.readacted.trm.apps.userstore.domain.App_Roo_Jpa_ActiveRecord.ajc$interFieldInit$com_readacted_trm_apps_userstore_domain_App_Roo_Jpa_ActiveRecord$com_readacted_trm_apps_userstore_domain_App$entityManager(com.readacted.trm.apps.userstore.domain.App)|#]
  16.  
  17. [#|2012-05-18T15:25:07.291+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Class [ com/mysema/query/dml/UpdateClause ] not found. Error while loading [ class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport ]|#]
  18.  
  19. [#|2012-05-18T15:25:07.322+0100|SEVERE|glassfish3.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=66;_ThreadName=Thread-1;|Annotations processing failed for file:/C:/repo/ddcea/user-store/target/userstore-0.1.0.BUILD-SNAPSHOT/|#]
  20.  
  21. [#|2012-05-18T15:25:07.367+0100|SEVERE|glassfish3.1|global|_ThreadID=17;_ThreadName=Thread-1;|Class [ com/mysema/query/dml/UpdateClause ] not found. Error while loading [ class org.springframework.data.jpa.repository.support.QueryDslRepositorySupport ]|#]
  22.  
  23. [#|2012-05-18T15:25:14.454+0100|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=Thread-1;|PWC1306: Startup of context /userstore failed due to previous errors|#]
  24.  
  25. [#|2012-05-18T15:25:14.454+0100|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=Thread-1;|PWC1305: Exception during cleanup after start failed
  26. org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
  27. at org.apache.catalina.session.StandardManager.stop(StandardManager.java:872)
  28. at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5509)
  29. at com.sun.enterprise.web.WebModule.stop(WebModule.java:529)
  30. at org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
  31. at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
  32. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
  33. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
  34. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
  35. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
  36. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
  37. at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
  38. at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
  39. org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  40. at org.apache.catalina.core.StandardContext.start(StandardContext.java:5328)
  41. at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
  42. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
  43. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
  44. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
  45. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
  46. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
  47. at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
  48. at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
  49. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  50. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
  51. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  52. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  53. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  54. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  55. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  56. at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:728)
  57. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
  58. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
  59. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  60. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  61. at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4690)
  62. at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:534)
  63. at org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)
  64. ... 38 more
  65. Caused by: java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  66. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:142)
  67. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79)
  68. at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
  69. at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
  70. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475)
  71. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443)
  72. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  73. ... 51 more
  74. |#]
  75.  
  76. [#|2012-05-18T15:25:14.456+0100|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=66;_ThreadName=Thread-1;|java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  77. java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  78. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
  79. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
  80. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
  81. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
  82. at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
  83. at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
  84. at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
  85. java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.
  86. at com.sun.enterprise.web.WebApplication.start(WebApplication.java:130)
  87. at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
  88. [#|2012-05-18T15:25:14.889+0100|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=66;_ThreadName=Thread-1;|Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is java.lang.IllegalStateException: No persistence exception translators found in bean factory. Cannot perform exception translation.|#]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement