CA Service Management

Expand all | Collapse all

Mobility

  • 1.  Mobility

    Posted Apr 26, 2017 04:54 AM

    Hi team,

     

    We have 1 primary server and we have configured a secondary server for mobility.

    We don't connect to service desk from the secondary server. As of now, when trying to connect the mobile URL it say page cannot be displayed. I can see the casdm folder under the CATALINARest folder under bopcfg, which I believe means the .war files are deployed. I ran a pdm_configure as well but we are not able to connect the URL.

     

    Do we have to

    1. Explicitly add a configuration from the Administration tab for the primary server

    2. In the additional process tab, for secondary hostname, include the RESTWEBService?

    3. Run pdm_configure on primary

     

    Or can we Add new configuration for secondary hostname with additional Restwebservice and run pdm_configure on secondary?

     

    if we have to follow the first scenario, then will the webservice URL i.e. USD_R11_WebService?wsdl will it work on primary or will it get moved onto the secondary server?



  • 2.  Re: Mobility

    Posted Apr 26, 2017 05:53 AM

    Raghu.Rudraraju your inputs please



  • 3.  Re: Mobility

    Posted Apr 27, 2017 06:00 PM

    Jon_Israel any input 



  • 4.  Re: Mobility

    Broadcom Employee
    Posted Apr 27, 2017 09:12 PM

    Hi Pushpith,

     

    You will need to run pdm_configure on the secondary server and select the 'Configure REST Web Services' option.

     

    Regards,

    Gordon.



  • 5.  Re: Mobility

    Posted Apr 27, 2017 10:03 PM

    Hi Gordon, 

     

    I have tried it.. that doesnt help  



  • 6.  Re: Mobility

    Broadcom Employee
    Posted Apr 27, 2017 10:09 PM

    Pushpith,

     

    Try the following steps:

     

    1. Create a configuration under Administration-> System-> Configurations.

    2. In this new configuration under Additional Processes add a RESTful Web Services Tomcat Server to the secondary server and save.

    3. Run pdm_configure on both primary and secondary servers selecting the 'Configure REST Web Services' option

     

    pdm_status should now show a Restful Services pdm_tomcat running on both primary and secondary servers.

     

    Hope that this helps.

    Gordon



  • 7.  Re: Mobility

    Posted Apr 27, 2017 11:07 PM

    Hi Gordon,

     

    I met with these errors while running pdm_configure. Any idea what could be the issue and how to resolve the same?

    04/28 08:28:25.588 INFO  Task.java              214 Running: Configure web service(s)
    04/28 08:28:25.963 INFO  ConfigWebServicesTask.java   163 ## deployWebServices :true; hasVisualizer :true
    Apr 28, 2017 8:28:26 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    04/28 08:28:26.150 INFO  TomcatUtilities.java   536 Stopping tomcat
    04/28 08:28:27.541 INFO  ConfigWebServicesTask.java   420 renaming file E:\PROGRA~1\CA\SERVIC~1\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\web.xml to E:\PROGRA~1\CA\SERVIC~1\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\web.xml_1828.
    04/28 08:28:27.541 INFO  TomcatUtilities.java   524 Starting tomcat
    04/28 08:28:42.994 INFO  ConfigWebServicesTask.java   433 Deploying Web Service: E:\PROGRA~1\CA\SERVIC~1/sdk/websvc/R11/deploy.wsdd
    04/28 08:28:42.994 INFO  ConfigWebServicesTask.java   522 Executing deployment command: AdminClient E:\PROGRA~1\CA\SERVIC~1\sdk\websvc\R11\deploy.wsdd -8080 -hHJISDEVAPP
    Processing file E:\PROGRA~1\CA\SERVIC~1\sdk\websvc\R11\deploy.wsdd
    04/28 08:28:43.119 ERROR ConfigWebServicesTask.java   554 null class java.lang.reflect.InvocationTargetException (404)Not Found
    04/28 08:28:43.119 INFO  ConfigWebServicesTask.java   454 Deploying CMDB Web Service: E:\PROGRA~1\CA\SERVIC~1/sdk/websvc/CMDBF/deploy.wsdd
    04/28 08:28:43.119 INFO  ConfigWebServicesTask.java   522 Executing deployment command: AdminClient E:\PROGRA~1\CA\SERVIC~1\sdk\websvc\CMDBF\deploy.wsdd -8080 -hHJISDEVAPP
    Processing file E:\PROGRA~1\CA\SERVIC~1\sdk\websvc\CMDBF\deploy.wsdd
    04/28 08:28:43.135 ERROR ConfigWebServicesTask.java   554 null class java.lang.reflect.InvocationTargetException (404)Not Found
    04/28 08:28:43.135 INFO  TomcatUtilities.java   536 Stopping tomcat
    04/28 08:28:45.963 INFO  ConfigThread.java      589 Configuration progress : 13 out of 25 tasks completed.

     

     

     



  • 8.  Re: Mobility

    Broadcom Employee
    Posted Apr 28, 2017 12:09 AM

    Pushpith,

     

    I've seen a couple of things cause this error:

     

    1. Check that the file NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\axis\WEB-INF\web.xml file actually exists. If it doesn't, copy it from another installation.

    2. Check that nothing else is listening on port 8080 (netstat -abno | find /i "listening" | find "8080"). It's possible that the tomcat port is in use by another process.

     

    If that doesn't help, run pdm_configure with the -z flag which will give verbose output and may help pinpoint the reason for the error.

     

    Regards,

    Gordon. 



  • 9.  Re: Mobility

    Posted Apr 28, 2017 12:26 AM

    Hi Gordon,

     

    1. The web.xml exists and I compared the contents with other server's web.xml, both files match.

    2. Output of netstat given below:

    3. I'll try pdm_configure -z

     

    Also, I would like to if the same websrv is supposed to work on secondary server or not? As of now it is not working, do we have to enable it ?

    >netstat -abno | find /i "listening" | find "8080"
    TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       79700
    TCP    [::]:8080              [::]:0                 LISTENING       79700

     

     

     

     



  • 10.  Re: Mobility

    Posted Apr 28, 2017 06:43 AM

    The issue got resolved post changing the web.xml present in the conf folder of CATALINA_BASE, we had changed this file for enabling SSO on tomcat. Post reverting the same, took a restart of tomcat and the webservice was accessible.

     

    Now I would like to understand if we add the restful webservice process on the secondary server then, would the above webservice be accessible from primary server?



  • 11.  Re: Mobility

    Broadcom Employee
    Posted Apr 28, 2017 07:13 AM

    Hi Pushpith,

    You may try to run this URL to check if webservices are accessible

      http://<secondary server >:8050/CAISD-REST/?_wadl

     

    ~Vinod.



  • 12.  Re: Mobility

    Posted Apr 28, 2017 07:44 AM

    Hi Vinod, m aware of the URL..but will it be accessible from the primary server if above configurations are done..is my question  .



  • 13.  Re: Mobility

    Broadcom Employee
    Posted Apr 28, 2017 10:23 AM

    Pushpith,

     

    Unless you were to disable Restful web services on the primary server it should still work. Enabling it on a secondary wouldn't disable the daemon on the primary server.