DX Application Performance Management

 View Only
  • 1.  Unable to start WebView Whereas EM service is up & running

    Posted May 02, 2019 05:07 AM

    Hi Members,

     

    Unable to start WebView services whereas EM service is up & running.

    We are using APM 10.3 version on linux Rhel. 

     

    Kindly suggest to resolve the issue.

     

     

    Regards,

    AnuRanjan Kumar



  • 2.  Re: Unable to start WebView Whereas EM service is up & running
    Best Answer

    Broadcom Employee
    Posted May 02, 2019 08:58 AM

    Dear AnuRanjan:

      So you are using APM 10.3 in a 9.5 directory?  Did you check the logs or turn on DEBUG/VERBOSE to see what the issue is? Did you try clearing product cache?

     

    Did you review the various knowledge documents -- Enter in Google:  webview start site:comm.support.ca.com  

     

    Doing that should resolve the issue.

     

    We also hope you are upgrading to APM 10.7 soon since 10.3 is EOS in Dec this year 

     

    https://support.ca.com/us/product-content/status/support-life-cycle/indexes/ca-apm-release-and-support-lifecycle-dates.html



  • 3.  Re: Unable to start WebView Whereas EM service is up & running

    Broadcom Employee
    Posted May 07, 2019 02:05 AM

    We managed to resolve this one.

     

    There was an error seen in the IntroscopeWebViewConsole.log:

     

    Error: Could not find or load main class #-javaagent:..product.webview.agent.wily.Agent.jar

     

    It was referring to the following lines in the Introscope_WebView.lax file:

     

    lax.nl.java.option.additional=-Xms2048m -Xmx4096m -Djava.awt.headless=true -Dorg.owasp.esapi.resources=./config/esapi -Dsun.java2d.noddraw=true -XX:PermSize=128m -XX:MaxPermSize=256m
    #-javaagent:./product/webview/agent/wily/Agent.jar -Dcom.wily.introscope.agentProfile=./product/webview/agent/wily/core/config/IntroscopeAgent.profile -Dcom.wily.introscope.wilyForWilyPrefix=com.wily -Djetty.home=./

     

    We deleted the line starting with '#-javaagent' and the restarted WebView and it started successfully.



  • 4.  Re: Unable to start WebView Whereas EM service is up & running

    Posted May 10, 2019 02:08 PM

    Dear AnuRanjan,

     

    There is a few things that could cause this issue.  The section within the WVCtrl.sh script that failed might be " wvports=`check_process_for_port $PID_JVM`"

     

    Could you please post the lines from WVCtrl.sh script lines 460 - 490?

     

    There might be an issue with the call path or directory structure where WVCtrl.sh is started from.  The script assumes that the location it is being called from is <em home>/bin since there are relative links within the script such as ../jre and SCRIPTDIR=`cd "$PRGDIR" >/dev/null; pwd`.

     

    Second, check the <em home>/product/webview/agent/wily to insure that the Agent.jar is present.  If it isn't present, or it is a different file name, you have an issue with what is installed verses the version of the WVCtrl.sh script.

     

    The WVCtrl.sh script is very light on logging and turning on WebView debug more than likely won't help since WebView isn't starting.  When I had issues with WVCtrl.sh, I copied the script and within the copy anywhere there was an echo, I added " >> $LOGFILE" to the end of the line and also added a bunch of echo "markers"  >> $LOGFILE lines through out the file.

     

    Hopefully when you upgrade to 10.7, WebView will just work.

     

    Hope this helps,

     

    Billy