2 Replies Latest reply on Jan 8, 2010 5:38 AM by kconner

    What is meant by "incorrectly developed services"?

    lispnik

      In the Registry section of the Administration Guide http://www.jboss.org/jbossesb/docs/4.7/manuals/html/AdministrationGuide.html, there is a note:

       

      When services run they typically place the EPR through which they can be contacted within the registry. If they are correctly developed, then services should remove EPRs from the registry when they terminate. However, machine crashes, or incorrectly developed services, may leave stale entries      within the registry that prevent the correct execution of subsequent deployments.


      What exactly is meant by incorrectly developed services in this context?

        • 1. Re: What is meant by "incorrectly developed services"?
          rob.stryker
          Services are supposed to remove EPRs from the registry when the service terminates. Therefore, an "incorrectly developed service" is a service which terminates and does not clean up after itself.
          • 2. Re: What is meant by "incorrectly developed services"?
            kconner

            The EPRs should be registered and removed by the initialisation of the listener, in general you would not have to concern yourself with this.  It is one of the last areas of initialisation and is unlikely to fail at this point.

             

            The scenario that is more likely to cause issues is if the JVM crashes or has been killed indiscriminately (kill -9 for example) as this will not allow the listener to cleanup the reference.  As the UDDI entries are persistent, they will still exist when the server next starts.