Uploaded image for project: 'jUDDI'
  1. jUDDI
  2. JUDDI-943

WebHelper class: Client name not set in servletContext after getUDDIClient is called

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.5
    • Component/s: juddi-client
    • Labels:
      None

      Description

      The client name is not set after the method: WebHelper.getUDDIClient(servletContext) is called and it seems it should be. Because the client name is not set a new UDDI client is returned each time the method is called despite the same servletContext is passed.

      The problem is here (from WebHelper class):

      if (client.getName()!=null) {
      				logger.info("Starting Client " + client.getName() + "...");
      			} else {
      				throw new ConfigurationException("A client name needs to be specified in the client config file.");
      			}
      

      it should be according to me:

      if (client.getName()!=null) {
          logger.info("Starting Client " + client.getName() + "...");
          clientName = client.getName();
      } else {
          throw new ConfigurationException("A client name needs to be specified in the client config file.");
      			}
      

        Attachments

          Activity

            People

            • Assignee:
              spyhunter99 Alex O'Ree
              Reporter:
              ghilainm@gmail.com Matthieu Ghilain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: