Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3414

Symbolic links inside deployed ear/war are not followed by web server

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      create a symbolic link inside a deployed application and attempt to access it from the web.

      Show
      create a symbolic link inside a deployed application and attempt to access it from the web.

      Description

      when creating a symbolic link inside a deployed ear/war the symbolic link's target is not followed when
      accessing it from a web browser
      i.e.
      in jboss-as/standalone/deplyoment/somedomain.ear/files we created a symbolic link named "version.js"
      which points to /usr/share/something/version.js
      the target file (/usr/share/...) is accessible by all (chmod'd to 777) and is readable by the jboss-as user which runs
      the Jboss application server.

      when accessing http://domain:8080/something/files/version.js we get an 404 error, seems like the file is not found by
      the server.

      when placing the file instead of symbolic link, the file is accessible and all is well

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  navssurtani Navin Surtani
                  Reporter:
                  ranglust Ronen Angluster
                • Votes:
                  11 Vote for this issue
                  Watchers:
                  16 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: