This feature should work - if it does not, then it is a bug.
Can you please give us more information :
1. Are you trying with latest GlassFish-v1 or GlassFish-v2 ?
2. What kind of endpoint are you using - servlet or EJB ?
3. Is it possible to mail your sample WAR/JAR ?
Vijay
On Wed, 2006-09-20 at 12:02, Patel, Ronak (US SSA) wrote:
> Hello all,
>
> I just upgraded to the latest Glassfish Milestone build. I am looking for the container to call my no-arg constructor on container load time (i.e. when I start Glassfish).
>
> I tried the <load-on-startup> option in the web.xml file and the @postConstruct annotation, but the container fails to call the constructor when Glassfish starts.
>
> Is there some thing that I am not doing correctly? Is this feature currently supported in Glassfish?
>
> Any help would be greatly appreciated,
>
> Ronak Patel
>
> Software Engineer; BAE Systems
>
> ronak.patel_at_baesystems.com
>
>
> ______________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net