glassfish
  1. glassfish
  2. GLASSFISH-20736

CLONE -@Singleton @Startup (EJB) , with an @Observes(notifyObserver = IF_EXISTS) wont Deploy,

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2_b23
    • Fix Version/s: None
    • Component/s: cdi, ejb_container
    • Labels:
      None
    • Environment:

      Glassfish 3.1.2. Windows 7, Java 1.6,

      Description

      You get this, but i think GF eat the real weld exception somewhere. This happens only with the notifyObserver parameter, without is working fine, but i want to listen to events only when all i say so!!

      I don't Implement any interface or something similar,...

      @Singleton
      @Startup
      @TransactionManagement(TransactionManagementType.BEAN)
      public class SubsystemConnectionMonitor {

      // stuff
      public void subsystemConnectionEventFired(
      @Observes(notifyObserver = IF_EXISTS) SubsystemConnectionEvent incomingEvent)

      { subsystemConnectionMonitor.subsystemConnectionEventFired(incomingEvent); }

      //other stuff

      }

      Then you get this,...
      2013-03-05 16:54:41.278 SEVERE 20 Exception while loading the app (javax.enterprise.system.core.com.sun.enterprise.v3.server)
      2013-03-05 16:54:42.963 SEVERE 20 Exception while shutting down application container (javax.enterprise.system.tools.admin.org.glassfish.deployment.admin)

        Activity

        Hide
        jjsnyder83 added a comment -

        Can you please test this against GF 4.0?

        Show
        jjsnyder83 added a comment - Can you please test this against GF 4.0?

          People

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

            Dates

            • Created:
              Updated: