Maximo Open Forum

 View Only
  • 1.  Unable to view attachments

    Posted 04-14-2023 07:29

    Hello all,

    I just newly configure attachment on a newly deployed ICD version 7.6.1. 
    During the installation of the httpserver, i changed the default port 80 to 8080, because port 80 was not available.

    After setting up the doclink directory, i could attach the file, but viewing the file returns the error below.
    I also noticed the port when viewing the attachment is not 8080 but 9080.
    Please any idea on how to sort this.

    SRVE0255E: A WebGroup/Virtual Host to handle /DOCLINKS/ATTACHMENTS/Ticket.txt has not been defined


    #Administration

    ------------------------------
    ken ken
    Citi
    ------------------------------


  • 2.  RE: Unable to view attachments

    Posted 04-14-2023 09:43

    Unless you need the attachment to be directly accessible without authentication, I would recommend against configuring the doclinks virtual directory in IBM HTTP Server. We have a system property (mxe.doclink.securedAttachment) that you can enable which will have Maximo generate a one-time URL link to access the file when someone tries to open. It is more secure because you're now dependent on a user being authenticated into the Maximo system and to have access to a record that contains the attachment. 



    ------------------------------
    Steven Shull
    IBM
    ------------------------------



  • 3.  RE: Unable to view attachments

    Posted 04-17-2023 09:02

    Thanks so much Steven, and apologies for the late reply. I went for a brief break.
    I will try as you have suggested and feedback. However, is the current error i am having while viewing the attachment a familiar one?

    Thanks Steve.



    ------------------------------
    ken ken
    Citi
    ------------------------------



  • 4.  RE: Unable to view attachments

    Posted 04-17-2023 15:03

    In general terms, yes, it's something I've seen before. It's a misconfiguration at some level (either the virtual directory in the webserver or the Maximo mxe.doclink.path01 system property). Since you said it's trying to use 9080 I would check mxe.doclink.path01 and make sure that it has the correct port.

    A simple example:
    c:\DOCLINKS=http://mydomain.com:8080/doclinks

    The first part of that is supposed to correspond to mxe.doclink.doctypes.topLevelPaths system property. Then you say what protocol, domain, port, and context that is exposed on your webserver. Based on what you've shared the port is 8080 and the context for the webserver looks to be /doclinks. With a port of 8080 I assume it's not over https which is why the protocol I provided was http. 



    ------------------------------
    Steven Shull
    IBM
    ------------------------------