#22 Order deploying ear-files

v2.2.1 (stable)
closed-fixed
5
2001-05-24
2001-05-07
No

When deploying ear-files the web modules are started before the ejb modules.
Autostart servlets then receive javax.naming.NameNotFoundException.
When undeploying ear-files ear modules are stopped before web modules.
Servlets that want to clear their state on undeploy receive the same exception.

It seems to be more natural to change the order of deployment and undeployment
in org.jboss.deployment.J2eeDeployer (startApplication and stopApplication).

Discussion

  • Scott M Stark

    Scott M Stark - 2001-05-07
    • assigned_to: nobody --> starksm
     
  • Scott M Stark

    Scott M Stark - 2001-05-21
    • status: open --> open-fixed
     
  • Scott M Stark

    Scott M Stark - 2001-05-21

    Logged In: YES
    user_id=175228

    The order of deployment of wars/ejbs has been switched
    in the startApplication/stopApplication methods so that
    servlets loaded on startup can access ejbs in init and
    destroy. This has been committed to the 2.3 main branch.

     
  • Scott M Stark

    Scott M Stark - 2001-05-24

    Logged In: YES
    user_id=175228

    Also submitted to the 2.2.2 branch.

     
  • Scott M Stark

    Scott M Stark - 2001-05-24
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.