DX Application Performance Management

 View Only
  • 1.  What port does WebView use to communicate with the CA Behavior Analytics Server

    Posted Aug 26, 2014 10:46 AM


    I just installed the CA APM Application Behavior Analytics Engine.   WebView shows an error that CA Analysis Server is currently unreachable.  Documentation does not specify what port to use to communicate to the Analysis server.   Need the port number that WebView uses to communicate with the Analysis server.



  • 2.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Broadcom Employee
    Posted Aug 26, 2014 11:13 AM

    Hi,

     

    As per my understanding Webview uses port 8080 by default (introscope.webview.tcp.port=8080). The error "The CA Analysis Server is currently unreachable." seems to happen when the URL specified in Analytics.properties is wrong. Can you check if the URL is pointing to the correct host/port for CA Analysis server?

     

     

    Thanks,

    Jose



  • 3.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Broadcom Employee
    Posted Aug 26, 2014 11:20 AM

    Property you need to look at:

     

    analytics.server.uri = http://<analysis-server-host-or-IP>:<port>/prelertApi/prelert.svc/



  • 4.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Posted Aug 26, 2014 11:55 AM

    I'm using port 49995.



  • 5.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Broadcom Employee
    Posted Aug 26, 2014 12:08 PM

    Open <EM_Home>/config/Analytics.properties file and update below property to use port 49995 and the host or ip of the CA Analysis server:

     

    analytics.server.uri = http://<HERE the Analisys server Host or IP>:49995/prelertApi/prelert.svc/

     

    Then restart the EM and check if the problem persists.

     

    Thanks

    Jose



  • 6.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Posted Aug 26, 2014 12:12 PM

    Did that and am getting the same message.



  • 7.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server
    Best Answer

    Broadcom Employee
    Posted Aug 26, 2014 04:16 PM

    If the Analysis Server is running under Linux could this be a firewall problem i.e. port 49995 is blocked between the EM running WebView & the Analysis server?

    https://support.ca.com/cadocs/0/CA%20Application%20Performance%20Management%209%206-ENU/Bookshelf_Files/HTML/APM--Application%20Behavior%20Analytics%20Guide/install_analysis_server.html

     

    You can check with the telnet command from the EM i.e.

    telnet analysis_server_host 49995

    If it fails to get a connection then try running "iptables -F" on the Analysis Server to flush the firewall

     

    Hope this helps



  • 8.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Posted Aug 26, 2014 04:24 PM

    Chris analysis server by default listens on port 8080(http) and 8443(https) for data requests, port 49995 is not correct.

    Also it's EM which talks to the analysis server not Webview directly, Webview is simply interacting with EM to display the data.

    Please change port to 8080 if URL specified is http or port 8443 if https and let us know if EM is still unable to talk to the Analysis Server.

    For e.g analytics.server.uri = http://<analysis-server-host-or-IP>:8080/prelertApi/prelert.svc/

    Note:It's important that there is no firewall or other configuration on Analysis Server box which would prevent EM from connecting to Analysis Server on above ports.

     

    Regards,

    Kulbir.



  • 9.  Re: What port does WebView use to communicate with the CA Behavior Analytics Server

    Posted Aug 28, 2014 08:59 AM

    Here's the list of ports on ABA for your reference:

    PostgreSQL port 5432

    Java Remote Method Invocation port 1099

    Apache Tomcat HTTP port 8080

    Apache Tomcat HTTPS port 8443

    Apache Tomcat shut down port 8005

    Apache Log4J socket logging port 4560

    Activity Manager port 49995

    Engine port 49997

    Rate Monitor port 49998

    Evidence Gatherer port 50000

    Time Series Feature Detector port 49996

    Time Series Point Writer port 49999

     

    you may also clear webview cache,

    rm –rf [APM_DIR]/product/webview/configuration/org.eclipse.osgi

    and restart the EM to see if that helps.