CA Service Management

  • 1.  problem to attach files, Tomcat (8090) in 14.1 CASDM

    Posted Oct 11, 2016 09:53 AM

    Good morning,

     

    Currently I am presenting a problem with the option to attach files to the ticket. No error code shows only says error loading file. All this is done by Tomcat (8090), in 14.1 CASDM



  • 2.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM

    Posted Oct 11, 2016 10:26 AM

    Hi Richard,

    Can you tell us what patch level you are on?  There were some fixes included in CP1, CP2 and CP3, and some post patch steps that were required to fix some attachment functionality.

    Thanks,

    Jon I.



  • 3.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM

    Posted Oct 11, 2016 10:56 AM

    Hi Ricard,

     

    Can you restart "pdm_tomcat_nxd" (tomcat service)? if not, you run the belowing code on CMD, then retry attach a file to ticket. 

     

    Also you can check the security policies of server, it may have effected any changes of policies.

     

    pdm_tomcat_nxd -c STOP

    pdm_tomcat_nxd -c START

     

    Regards,

    Türker



  • 4.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM

    Broadcom Employee
    Posted Oct 11, 2016 01:16 PM

    I'm also interested if the jsrvr.log or pdm_tomcat.log captures anything.



  • 5.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM

    Broadcom Employee
    Posted Oct 11, 2016 06:47 PM

    Can you access the CA SDM Tomcat web page (http://<server name>:8090)?



  • 6.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM

    Posted Oct 13, 2016 09:28 AM

    Yes, I can access. The problem was to attach files to the ticket.



  • 7.  Re: problem to attach files, Tomcat (8090) in 14.1 CASDM
    Best Answer

    Posted Oct 13, 2016 09:20 AM

    Good morning,

     

    Thank you very much for your answers, tell them that reading a bit on the CA site, managed to find the solution. Below I tell him what I did

     

     

    Copy and paste the configuration under this statement as

    <!-- Cross-origin support for Attachments Servlet -->
    <filter-mapping>
    <filter-name>CORS</filter-name>
    <servlet-name>UploadServlet</servlet-name>
    </filter-mapping>

     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-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>

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

    <!-- Cross-origin support for Attachments Servlet -->
    <filter-mapping>
    <filter-name>CORS</filter-name>
    <servlet-name>UploadServlet</servlet-name>
    </filter-mapping>

    Then save the web.xml file and restart tomcat.