title: @PostConstruct called twice on simple @Singleton @Startup bean
body: <p>my problem is that the @PostConstruct is called twice even though it shouldn't. I searched a lot and found similiar problems with jersey <a href="https://java.net/jira/browse/JERSEY-1883?filter=-3" rel="nofollow">https://java.net/jira/browse/JERSEY-1883?filter=-3</a>. However I tried to make a small example which apparently still causes the problem even without any clatter.</p>
  
  <pre><code>import javax.annotation.PostConstruct;
  import javax.ejb.Singleton;
  import javax.ejb.Startup;
  
  @Singleton
  @Startup
  public class TestSingleton {
  
    @PostConstruct
    public void init() {
      System.out.println("How many times am I being called?");
    }
  }
  </code></pre>
  
  <p>Configuration</p>
  
  <ul>
  <li> Application server: Glassfish 3.1.2 
  <li> Java Version: JDK 1.7_17
  <li> Packaging: A war file within an ear
  </ul>
  
  <p>Any ideas?</p>