Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2 final
    • Fix Version/s: 1.3.6, 1.4-M1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP SP3

      Description

      1) grails create-app test
      2) grails war
      3) copy test-0.1.war to jboss deploy directory
      4) run jboss

      JBoss Startup with lots of error message

      ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework. beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)

      ......

      trying to fix with jboss-web.xml as described in http://www.grails.org/FAQ but no luck

      in grails 1.2-M4 it works!

        Issue Links

          Activity

          Hide
          Pedro Herrera added a comment - - edited

          It´s not working jboss 5.1.0 + grails 1.3.5.

          Show
          Pedro Herrera added a comment - - edited It´s not working jboss 5.1.0 + grails 1.3.5.
          Show
          Graeme Rocher added a comment - Fixed: https://github.com/grails-plugins/grails-hibernate-plugin/commit/847b99e49232b60cf9eb38ee308a463237e51e00
          Hide
          Xu Wenjing added a comment -

          It´s not working jboss 6.0.0 finnal + grails 1.3.7.

          Show
          Xu Wenjing added a comment - It´s not working jboss 6.0.0 finnal + grails 1.3.7.
          Hide
          Graeme Rocher added a comment -

          what is the error on JBoss 6 + Grails 1.3.7? This issue relates to JBoss 5 so if you're having problems raise a separate JIRA

          Show
          Graeme Rocher added a comment - what is the error on JBoss 6 + Grails 1.3.7? This issue relates to JBoss 5 so if you're having problems raise a separate JIRA
          Hide
          alexey added a comment -

          JBOSS 7.1.1 doesnt work with grails.Nor with 1.3.7 nor with 2.0.1.
          It just doesnt create a context for the WAR

          Show
          alexey added a comment - JBOSS 7.1.1 doesnt work with grails.Nor with 1.3.7 nor with 2.0.1. It just doesnt create a context for the WAR

            People

            • Assignee:
              Graeme Rocher
              Reporter:
              Ezio Caffi
            • Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development