juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex O'Ree (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Assigned] (JUDDI-943) WebHelper class: Client name not set in servletContext after getUDDIClient is called
Date Mon, 09 Oct 2017 16:07:00 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex O'Ree reassigned JUDDI-943:
--------------------------------

    Assignee: Alex O'Ree

> WebHelper class: Client name not set in servletContext after getUDDIClient is called
> ------------------------------------------------------------------------------------
>
>                 Key: JUDDI-943
>                 URL: https://issues.apache.org/jira/browse/JUDDI-943
>             Project: jUDDI
>          Issue Type: Bug
>          Components: juddi-client
>    Affects Versions: 3.3.1
>            Reporter: Matthieu Ghilain
>            Assignee: Alex O'Ree
>
> 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):
> {code}
> 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.");
> 			}
> {code}
> it should be according to me:
> {code}
> 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.");
> 			}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message