[jboss-jira] [JBoss JIRA] (AS7-3414) Symbolic links inside deployed ear/war are not followed by web server

Ronen Angluster (JIRA) jira-events at lists.jboss.org
Mon Jan 23 08:30:18 EST 2012


Ronen Angluster created AS7-3414:
------------------------------------

             Summary: Symbolic links inside deployed ear/war are not followed by web server
                 Key: AS7-3414
                 URL: https://issues.jboss.org/browse/AS7-3414
             Project: Application Server 7
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 7.1.0.CR1, 7.1.0.Beta1
         Environment: Fedora 16
            Reporter: Ronen Angluster
            Assignee: Alessio Soldano


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list