You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/09/22 14:29:06 UTC

DO NOT REPLY [Bug 40581] New: - Symbolic links not (re)followed when application is reloaded

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40581

           Summary: Symbolic links not (re)followed when application is
                    reloaded
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mguillemot@yahoo.fr


When the path of the docBase of an application contains a symbolic link Tomcat
still consider the initial targeted folder after a reload.

Ex:
when file system first contains:
/foo/myApp_version1 (dir)
/foo/myApp -> /foo/myApp_version1 (symbolic link)

Tomcat is started and then application myApp is stopped. Symbolic link is
changed to point to myApp_version2:
/foo/myApp_version1 (dir)
/foo/myApp_version2 (dir)
/foo/myApp -> /foo/myApp_version2 (symbolic link)

and finally application myApp is started. The problem is that the displayed web
application is still the one contained in /foo/myApp_version1 (the initially
targeted folder)and not the one contained in /foo/myApp_version2.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 40581] - Symbolic links not (re)followed when application is reloaded

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40581


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From markt@apache.org  2006-11-25 13:23 -------
This behaviour is by design. You need to undeploy and redeploy your application
for the changes to take effect. I have updated the docs in SVN to make this
clear. The updated documentation will in included in 5.5.21 onwards.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org