CA Service Management

 View Only
  • 1.  Visualizer Not working

    Posted Jan 27, 2016 07:21 AM

    Hello All,

     

    CASD 12.7

     

    When user clicks on the visualizer button, message displayed in browser as  "This page can’t be displayed". Also, we are not able to logonto Viz using below link.

     

    http://appserver:9080/CMDBVisualizer/ . In the status check, visualizer is found to be in running state and tried to recycle the application service to make it work but still no go. Any inputs on this will be helpful.

     

     

    Regards,

    Mohan



  • 2.  Re: Visualizer Not working

    Posted Jan 27, 2016 09:01 AM

    Hi Mohan,

    Take a look at the tomcat VIZ log and make sure that tomact for visualizer is starting up.  When you get a "page cannot be displayed" message on a browser, that usually means the web server it is trying to access is not running - in this case that would be the tomcat instance for Visualizer.  Also you can run a netstat -ano and see if anything is listening on port 9080.

    Hope this helps,

    Jon I.



  • 3.  Re: Visualizer Not working

    Broadcom Employee
    Posted Jan 29, 2016 11:43 AM

    What is the exact url that opens when the "page cannot be displayed" is displayed? Perhaps the url is not formatted correctly for some specific reason or routing to the wrong place.



  • 4.  Re: Visualizer Not working

    Broadcom Employee
    Posted Jan 29, 2016 05:56 PM

    pdm_status does not show if the tomcat instance for VIZ is running or not. It simply lists if the Tomcat controller for VIZ

    is running or not so you can't tell if Tomcat instance for VIZ is running or

    not from pdm_status

    From what you said here it seems Tomcat instance for VIZ may

    not run or run on a different port. In the config.properties file

    do you see

    viz.tomcat_port=9080

    ? and what info in pdm_tomcat_VIZ.log file you see(this file is in /log folder)? and in stdlog, when SDM is recycled, do you see something like this?

    01/29 15:17:53.70 myhost pdm_tomcat           4132 SIGNIFICANT  pdm_tomcat.c          1211 Starting VIZ Tomcat: C:\sd126\CA\SC\JRE\1.6.0_23\bin\javaw -Xrs -Djava.net.preferIPv4Stack=false -Xms64M -Xmx1024M  -Djaas.config=C:\sd126\add-ons\caflow\jaas.config -Djava.security.auth.login.config=C:\sd126\add-ons\caflow\jaas.config -Djdbc.baseDriver=oracle.jdbc.OracleDriver -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Dsun.io.useCanonCaches=false -Djava.awt.headless=true -Djava.endorsed.dirs=C:\sd126\CA\SC\tomcat\6.0.30\common\endorsed -classpath C:\sd126\CA\SC\tomcat\6.0.30\common\lib\tools.jar;C:\sd126\CA\SC\JRE\1.6.0_23\java\lib\tools.jar;C:\sd126\java\lib\tools.jar;C:\sd126\CA\SC\tomcat\6.0.30\bin\bootstrap.jar;C:\sd126\java\lib\sqljdbc.jar;C:\sd126\java\lib\ojdbc14.jar -Dcatalina.base=C:\sd126\bopcfg\www\CATALINA_BASE_VIZ -Dcatalina.home=C:\sd126\CA\SC\tomcat\6.0.30 -Djava.io.tmpdir=C:\sd126\bopcfg\www\CATALINA_BASE_VIZ\temp org.apache.catalina.startup.Bootstrap start

    01/29 15:17:53.72 myhost pdm_tomcat           4132 SIGNIFICANT  pdm_tomcat.c          1222 VIZ Tomcat javaw process started (pid=4956)



  • 5.  Re: Visualizer Not working

    Posted Feb 10, 2016 05:11 AM

    Hi,

     

    I can able to see that the viz.tomcat_port=9080 in config.properties file. also, attached the logs for reference.

     

    Feb 9, 2016 6:08:07 AM org.apache.catalina.core.AprLifecycleListener init

    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\CA\SharedComponents\JRE\1.6.0_30\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\PROGRA~1\CA\SERVIC~1\bin;D:\PROGRA~1\CA\SERVIC~1\bin;;D:\PROGRA~1\CA\SERVIC~1\bin;D:\PROGRA~1\CA\SERVIC~1\bin;;D:\PROGRA~1\CA\SERVIC~1\bin;d:\PROGRA~1\CA\SERVIC~1\bin;d:\Perl\site\bin;d:\Perl\bin;d:\PROGRA~1\CA\SERVIC~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\CA\eTrust Directory\dxserver\bin;D:\Program Files\PSTools;D:\cygwin\bin;D:\PROGRA~1\CA\SERVIC~1\bin;d:\PROGRA~1\CA\SERVIC~1\bin;d:\Perl\site\bin;d:\Perl\bin;d:\PROGRA~1\CA\SERVIC~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\CA\eTrust Directory\dxserver\bin;D:\Program Files\PSTools;D:\cygwin\bin;D:\PROGRA~1\CA\SERVIC~1\bin;d:\PROGRA~1\CA\SERVIC~1\bin;d:\Perl\site\bin;d:\Perl\bin;d:\PROGRA~1\CA\SERVIC~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\CA\eTrust Directory\dxserver\bin;D:\Program Files\PSTools;D:\cygwin\bin;.

    Feb 9, 2016 6:08:09 AM org.apache.coyote.AbstractProtocol init

    INFO: Initializing ProtocolHandler ["http-bio-9080"]

    Feb 9, 2016 6:08:09 AM org.apache.catalina.startup.Catalina load

    INFO: Initialization processed in 5935 ms

    Feb 9, 2016 6:08:09 AM org.apache.catalina.core.StandardService startInternal

    INFO: Starting service Catalina

    Feb 9, 2016 6:08:09 AM org.apache.catalina.core.StandardEngine startInternal

    INFO: Starting Servlet Engine: Apache Tomcat/7.0.23

    Feb 9, 2016 6:08:09 AM org.apache.catalina.startup.HostConfig deployDirectory

    INFO: Deploying web application directory D:\Program Files\CA\Service Desk\bopcfg\www\CATALINA_BASE_VIZ\webapps\CMDBVisualizer

    Feb 9, 2016 6:08:12 AM org.apache.catalina.loader.WebappClassLoader validateJarFile

    INFO: validateJarFile(D:\PROGRA~1\CA\SERVIC~1\bopcfg\www\CATALINA_BASE_VIZ\webapps\CMDBVisualizer\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

    - Visualizer Application Listener - context initialized ...

    Feb 9, 2016 6:08:18 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom

    INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [266] milliseconds.

    - Created SLUMP on PNAMS884 at port 2100

    - Created standard port 2100 for PNAMS884 with id 1455019699861

    - logonHeader proc(viz_slump_PNAMS884) pid(517974147) logonTime(1455019699)

    - Got 41434b20 on port 4051 with id 1455019699861

    - NX_SLUMP_HEARTBEAT_TIMEOUT set to 900 seconds

    - SLUMP Log on is successful

    - Preparing fast channel to domsrvr...

    - Got 46434841 on port 4051 with id 1455019699861

    - Created fastchannel port 4227 for null with id 1455019699970 between -1407424396.viz_slump_PNAMS884 and 18005.domsrvr

    - Successfully established fast channel with DOMSrvr

    - Slump log on is successful

    l_fullpath :D:\PROGRA~1\CA\SERVIC~1\bopcfg\www\CATALINA_BASE_VIZ\webapps\CMDBVisualizer\WEB-INF/classes/cmdbvisualizerlogging.properties

    >>>>>>>>> Before Fetching Global Cache >>>>>>>>

    >>>>>>>>> After Fetching Global Cache  >>>>>>>>

    Feb 9, 2016 6:08:53 AM org.apache.coyote.AbstractProtocol start

    INFO: Starting ProtocolHandler ["http-bio-9080"]

    Feb 9, 2016 6:08:53 AM org.apache.catalina.startup.Catalina start

    INFO: Server startup in 44064 ms



  • 6.  Re: Visualizer Not working

    Posted Feb 10, 2016 07:40 AM

    Run pdm_configure and try to point to a different port for Visualizer. I've seen this work for me before ;-)



  • 7.  Re: Visualizer Not working

    Broadcom Employee
    Posted Feb 10, 2016 09:53 AM

    Hi Mohan,

     

    Looks like your visualizer Tomcat started fine.  Visualizer_log.log, jsrvr.log    and Tomcat's  localhost**.log (catalina_base_viz/logs) in conjunction might give a better along side.

     

    Is there a firewall on that host too?

     

    Does this work for other users?

     

    Does it work on the server itself ?

     

    Finally,  can the user resolve the hostname  'appserver'  ?  Maybe this is all a DNS issue if its working for other users ?

     

    _R



  • 8.  Re: Visualizer Not working

    Broadcom Employee
    Posted Feb 10, 2016 01:44 PM

    Are you using any load balancer?

    Can you launch it on the Server directly?



  • 9.  Re: Visualizer Not working

    Posted Feb 10, 2016 02:22 PM

    Is this a new error or has it never worked? If not, is this a browser with the proper support for Flash?

     

    Do you get a different error if you try to login via:  http://appserver:9080/CMDBVisualizer/externallaunch.do?

     

    J.W.



  • 10.  Re: Visualizer Not working

    Posted Feb 11, 2016 08:14 AM

    Hi J_w,

     

     

    Update:

     

    The same error am getting when trying  to access via http://appserver:9080/CMDBVisualizer/externallaunch.do? this link.Earlier, I tried using the Primary server, it woked fine but using the secondary it is getting failed.

     

    Regards,

    Mohan



  • 11.  Re: Visualizer Not working

    Posted Feb 11, 2016 12:15 PM

    Run pdm_configure on the Secondary and confirm the port numbers there and that it is not in conflict.

     

    J.W.