NetOps Portal UI returns a 500 server error
search cancel

NetOps Portal UI returns a 500 server error

book

Article ID: 231430

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

After setting up HTTPS, when we try to access SsoConfig we see the following message:

Cannot connect the to DX NetOps SSO Web Service.
Check if DX NetOps is running and retry.

 

We see the following errors in the sso logging:

WARN  | qtp571155323-28          | DATE 11:53:48,609 | org.eclipse.jetty.server.HttpChannel                             
      | /sso/sign-in.jsp
javax.servlet.ServletException: org.apache.jasper.JasperException: An exception occurred processing [/sign-in.jsp] at line [142]

139:     URL urlSingleSignOnWS = new URL(urlUtility.constructUrl(scheme, "127.0.0.1", port, pathAndQuery));
140:     SingleSignOnWSSoap singleSignOnWSSoap = DynamicJaxWsProxyFactory.create(
141:             SingleSignOnWSSoap.class, urlSingleSignOnWS.toString(), Utils.getCookieURLEntry(urlSingleSignOnWS.toString()));
142:     LoginFailureTrackerConfig trackerconf=new LoginFailureTrackerSoapConfig(singleSignOnWSSoap);
143:     WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext( request.getServletContext() );
144:     LoginFailureTracker loginFailureTracker = (LoginFailureTracker)context.getBean( "loginFailureTracker" );
145:     NatProxyPath npp=new NatProxyPath(request);

 

Caused by: javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
 at org.apache.cxf.jaxws.JaxWsClientProxy.mapException(JaxWsClientProxy.java:195)
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
 at com.sun.proxy.$Proxy77.getProperty(Unknown Source)
 at common.sso.LoginFailureTrackerSoapConfig.<init>(LoginFailureTrackerSoapConfig.java:12)
 at org.apache.jsp.sign_002din_jsp._jspService(sign_002din_jsp.java:437)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
 ... 52 more

Environment

Release : 21.2

Component :

Cause

There may be a typo or alteration in the PathAndQuery line of the /opt/CA/PerformanceCenter/sso/webapps/sso/configuration/CAPerformanceCenter.xml file

Resolution

The /opt/CA/PerformanceCenter/sso/webapps/sso/configuration/CAPerformanceCenter.xml file should be as follows:

HTTP:

<?xml version="1.0" encoding="UTF-8"?><!--

        Copyright (c) 2012 CA.  All rights reserved.

        This software and all information contained therein is confidential and
        proprietary and shall not be duplicated, used, disclosed or disseminated in any
        way except as authorized by the applicable license agreement, without the
        express written permission of CA. All authorized reproductions must be marked
        with this language.

        EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE
        EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS SOFTWARE
        WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY
        IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
        PURPOSE.  IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY
        THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE
        USE OF THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS,
        BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS
        EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.

--><Configuration>
  <SingleSignOnEnabled>True</SingleSignOnEnabled>
  <SingleSignOnProductCode>pc</SingleSignOnProductCode>
  <SignInPageProductDefaultUrl>
    <Scheme>http</Scheme>
    <Port>8181</Port>
    <PathAndQuery>/pc/desktop/page</PathAndQuery>
  </SignInPageProductDefaultUrl>
  <SingleSignOnWebServiceUrl>
    <Scheme>http</Scheme>
    <Port>8181</Port>
    <PathAndQuery>/pc/center/webservice/sso</PathAndQuery>
  </SingleSignOnWebServiceUrl>
</Configuration>

 

HTTPS:

<?xml version="1.0" encoding="UTF-8"?><!--

        Copyright (c) 2012 CA.  All rights reserved.

        This software and all information contained therein is confidential and
        proprietary and shall not be duplicated, used, disclosed or disseminated in any
        way except as authorized by the applicable license agreement, without the
        express written permission of CA. All authorized reproductions must be marked
        with this language.

        EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE
        EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS SOFTWARE
        WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY
        IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
        PURPOSE.  IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY
        THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE
        USE OF THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS,
        BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS
        EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.

--><Configuration>
  <SingleSignOnEnabled>True</SingleSignOnEnabled>
  <SingleSignOnProductCode>pc</SingleSignOnProductCode>
  <SignInPageProductDefaultUrl>
    <Scheme>https</Scheme>
    <Port>8182</Port>
    <PathAndQuery>/pc/desktop/page</PathAndQuery>
  </SignInPageProductDefaultUrl>
  <SingleSignOnWebServiceUrl>
    <Scheme>https</Scheme>
    <Port>8182</Port>
    <PathAndQuery>/pc/center/webservice/sso</PathAndQuery>
  </SingleSignOnWebServiceUrl>
</Configuration>