WAC login doesn’t work after a fresh installation
search cancel

WAC login doesn’t work after a fresh installation

book

Article ID: 431632

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

When trying to login to Web Console using any credentials, the login is attempted, the page refreshes and then it shows again the login page, no error is shown:

Environment

Client Automation 14.5 and 14.6

Cause

Checking wac_log.log file (located under ..CA\DSM\logs), the following error is shown:

INFO c.c.w.u.WebServiceConnection [ajp-nio-0.0.0.0-8020-exec-1] wsdlFileUrl is http://<SERVER_FQDN>/DSM_WebService/wsdl/

ERROR c.c.w.u.WebServiceConnection [ajp-nio-0.0.0.0-8020-exec-1] The exception raised to create the session id is :

javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://<SERVER_FQDN>/DSM_WebService/wsdl/'.: java.io.IOException: Server returned HTTP response code: 400 for URL: http://<SERVER_FQDN>/DSM_WebService/wsdl/

Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://<SERVER_FQDN>/DSM_WebService/wsdl/

ERROR c.c.w.a.LoginAction [ajp-nio-0.0.0.0-8020-exec-1] The Exception raised to create the session with webservices

java.lang.NullPointerException: null

ERROR c.c.w.u.DSMWebServiceSessionBean [Finalizer] Logout failed:

java.lang.NullPointerException: null

And when trying to open the WSDL from the browser (using the one shown in the log above), the same error 400 is shown:

But when using the server name instead, the WSDL URL opens correctly:

Resolution

In order to solve this issue, it’s needed to change the WSDL URL from FQDN to server name, which is done by following these steps:

1.- Stop WAC services by running:

Caf stop tomcat

Iisreset /stop

2.- Navigate to ..\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config

3.- Take a backup of “WACConfig.properties” file.

4.- Open “WACConfig.properties” and update the following lines:

WEBSERVICE_URL=http://SERVER_FQDN/DSM_WebService/mod_gsoap_utf8.dll

to

WEBSERVICE_URL=http://SERVER_NAME/DSM_WebService/mod_gsoap_utf8.dll

 

WIN7SERVICE_URL=http://SERVER_FQDN/axis/services/automationService

To

WIN7SERVICE_URL=http://SERVER_NAME/axis/services/automationService

 

WAC_URL=http://SERVER_FQDN/wac

to

WAC_URL=http://SERVER_NAME/wac

5.- Start WAC services:

Iisreset /start

caf start tomcat

6.- After this, reload WAC’s URL and the login will be possible.