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 2017/01/05 17:36:51 UTC

[Bug 60557] New: Tomcat does not resolve symlinks for conf/server.xml

https://bz.apache.org/bugzilla/show_bug.cgi?id=60557

            Bug ID: 60557
           Summary: Tomcat does not resolve symlinks for conf/server.xml
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: axel@boxfuse.com
  Target Milestone: ----

Tomcat fails to start when server.xml is a symlink (resolving to a valid file)
instead of an actual file.

This is the message:

WARNING: Unable to load server configuration from [/tomcat/conf/server.xml]
SEVERE: Cannot start server. Server instance is not configured.

Copying the file to the symlink location fixes the issue, but in the Linux
world that really shouldn't have to be the case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60557] Tomcat does not resolve symlinks for conf/server.xml

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60557

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Tomcat starts quite happily for me if server.xml is a symlink.

It looks like you are using a 3rd-party re-packaged version of Tomcat. You
probably need to contact the packagers. To be sure it is a packaging issue, I
recommend downloading a Tomcat distribution from the ASF and confirming
symlinks work correctly. If you still see an issue with the ASF distibution,
feel free to re-open this bug but you'll need to provide the exact steps to
reproduce from a clean install of the latest stable 8.5.x release.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org