CA Service Management

  • 1.  Attachments Issue

    Broadcom Employee
    Posted Mar 28, 2016 12:22 PM

    Hi All,

    Regarding attachments issue over Internet:

    1. In nx.env file have below data, and attachments are working good over Intranet

    @NX_WEB_CGI_URL=http://INTRA/CAisd/pdmweb.exe

    @NX_SERVLET_SERVER_URL=http://INTRA:8088

     

    2.but when trying to attach from  internet(using reverse proxy) getting below error

    Unable to connect to http://emssd:8080/CAisd/Uploadservlet. Please make sure that the servlet server is correct and tomcat is up and running.

    ------------------------

    8080 port is open for internet

    So tried to make changes to NX.ENV file as below (to URL being used over inetrnet) and restarted server

    @NX_WEB_CGI_URL=http://INETRNET/CAisd/pdmweb.exe

    @NX_SERVLET_SERVER_URL=http://INTERNET:8088

     

    In intranet it's working good. But over internet still getting same unable to connect error. Here in error unable to connect URL(URL is still pointing to old Intranet URL).

    EX: Unable to connect to http://INTRA/CAisd/Uploadservlet

     

    Here directly changed in NX.env file because, from front end SDM->admin tab-> Attachments-> repository: there is no field for servlet path

    Now were else to make changes to make attachments URL to redirect to Internet URL or have to check any thing else to check to make it work



  • 2.  Re: Attachments Issue

    Broadcom Employee
    Posted Mar 28, 2016 05:11 PM

    Swarna,

     

    Under the Administration tab go to "System" and "Servers" and check each server. The serlvet path option exists on each server.



  • 3.  Re: Attachments Issue

    Broadcom Employee
    Posted Mar 29, 2016 03:01 AM

    Hi Swarna,

    As attachment are working fine internally, and having problem on internet. you may use fiddler tool trace and try to access attachment using internet URL, and check if there are any errors. I suspect it could be port problem.

    ~vinod.



  • 4.  Re: Attachments Issue

    Posted Mar 29, 2016 03:26 AM

    HI,

    You will need to make sure that your address is accessible simultaneously from both intranet and internet.

    The practice (with or without reverse proxy) is to set the path to your external URL and to created an alias with that address in you internal DNS zone.

    Also please ensue that port 8088 is accessible from internet either if I recommend to use SSL (https) to ensure confidentiality of your data transiting over internet.

    /J



  • 5.  Re: Attachments Issue

    Posted Mar 29, 2016 04:10 AM

    me faces same issue with 14.1, ask CA Support they will provide you with the Test Fix.

    most probably this is due to ATTACHMENTS FAIL WHEN THE REMOTE REP_DAEMON DISCONECTED

    after the fix some post implementation steps are required to add on Web.xml

     

    Post installation steps:

      

      i.

      a. Take the backup of web.xml from

    $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\

      WEB-INF to your local directory if incase you want to do

    backout in future.

     

      b. Open the web.xml from

    $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\

      WEB-INF.

      c. Look for the statement

      <!-- Add filter here -->

      d. Copy and paste the configuration defined under this as

      

      <!-- Cross-origin support for Attachments Servlet -->

    <filter>

      <filter-name>CORS</filter-name>

      <filter-class>com.thetransactioncompany.cors.CORSFilter

      </filter-class>

      <init-param>

      <param-name>cors.supportedMethods</param-name>

      <param-value>POST, GET, OPTIONS</param-value>

      </init-param>

      <init-param>

      <param-name>cors.allowOrigin</param-name>

      <param-value>*</param-value>

      </init-param>

    </filter>

     

      e. Look for the statement

      <!-- Add filter-mapping here --> 

     

      f. Copy and paste the configuration under this statement as<filter-mapping>

      <filter-name>CORS</filter-name>

      <servlet-name>UploadServlet</servlet-name>

    </filter-mapping> 

      

      f. It looks like

     

      <!-- Add filter here -->

     

    <!-- Cross-origin support for Attachments Servlet -->

    <filter>

      <filter-name>CORS</filter-name>

      <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-clas

    s>

      <init-param>

      <param-name>cors.supportedMethods</param-name>

      <param-value>POST, GET, OPTIONS</param-value>

      </init-param>

      <init-param>

      <param-name>cors.allowOrigin</param-name>

      <param-value>*</param-value>

      </init-param>

    </filter>

     

      <!-- Add filter-mapping here -->

     

    <!-- Cross-origin support for Attachments Servlet -->

    <filter-mapping>

      <filter-name>CORS</filter-name>

      <servlet-name>UploadServlet</servlet-name>

    </filter-mapping>

      

      g. Then save the web.xml file and restart tomcat.

      

      h. Make the same changes indicated above in the web.xml.tpl file

      located in NX_ROOT/samples/pdmconf/web.xml.tpl in order to

      avoid losing these changes when pdm_configure is run.

     

      ii. Run pdm_configure

      <!-- Cross-origin support for Attachments Servlet -->


  • 6.  Re: Attachments Issue

    Broadcom Employee
    Posted Mar 29, 2016 04:13 AM

    Issue is in SDM 12.9



  • 7.  Re: Attachments Issue

    Posted Apr 03, 2016 01:45 AM

    try to edit the web.xml and add given filters. this applies on both versions