glassfish
  1. glassfish
  2. GLASSFISH-19978

public enum classes log severe messages in server log

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: future release
    • Component/s: cdi
    • Labels:
      None
    • Environment:

      GlassFish Server Open Source Edition 4.0 (build 80)

      Description

      Having two public enum types in my app leads to following log messages during deployment:

      public enum Role {
      JUNIOR,
      PRINCIPAL,
      SENIOR
      }

      INFO: Loading application [MissionControl] at [/MissionControl]
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.Role
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.Role
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.Role
      SEVERE: No valid EE environment for injection of net.eisele.mcontrl.entities.types.MissionState
      INFO: MissionControl was successfully deployed in 1.546 milliseconds.

        Activity

        Hide
        tlcksnyder added a comment -

        Please provide a test case, or explain further as to why you feel this is a CDI issue. We cannot investigate without more information and a test case.

        Show
        tlcksnyder added a comment - Please provide a test case, or explain further as to why you feel this is a CDI issue. We cannot investigate without more information and a test case.

          People

          • Assignee:
            jjsnyder83
            Reporter:
            myfear
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: