Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7236

@PostConstruct is never called for @Service beans

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-5.1.0.GA
    • Fix Version/s: 6.0.0.M1
    • Component/s: EJB
    • Environment:

      JBoss 5.1.0 GA running of Fedora Core 11

      Description

      I have a @Service bean which defines initialization method and that method is marked with @PostConstruct.

      This method is never called by JBoss, not when the bean is first created and not when it is accessed.

      Same issue happens when testing with embedded jboss (beta3.sp9)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  wolfc Carlo de Wolf
                  Reporter:
                  gregory.mostizky1 Gregory Mostizky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: