0 Replies Latest reply on May 7, 2010 9:49 PM by Matt Davis

    Doing things at startup without headaches

    Matt Davis Newbie

      Is there a surefire way to run some code when the application starts up that will behave like a normal request to the server?

      I'm trying to query my LDAP server using identityManager during a org.jboss.seam.postInitialization event.  It doesn't work for reasons I don't really care to try to fix.

      If I put a button in my application and clicked it, firing an event to a seam component, the exact same code would work just fine.

      How can I run this code at application startup without dealing with No session context and sundry other headaches?