Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3986

Enhance message WFLYEJB0463 with the name of the defining class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 9.0.0.Beta1
    • 9.0.0.Beta1
    • EJB
    • None

    Description

      When deploying my ear package now I get messages about wrong transaction attribute for lifecycle methods (see below).
      Unfortunately the name of the class where these methods are in is not given.
      This should be added to the message for easier locating the problems.

      16.10. 22:20:28,180 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method afterActivation(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,183 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method beforePassivate(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,185 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method afterActivation(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,190 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method init(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,191 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method preDestroy(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,193 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method prePassivate(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.
      16.10. 22:20:28,194 WARN org.jboss.as.ejb3#create WFLYEJB0463: Invalid transaction attribute type REQUIRED on SFSB lifecycle method Method init(), valid types are REQUIRES_NEW and NOT_SUPPORTED. Method will be treated as NOT_SUPPORTED.

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            franklangelage Frank Langelage (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: