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

Marvin Fröhlich <m.froehl...@infolog.de> changed:

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

--- Comment #10 from Marvin Fröhlich <m.froehl...@infolog.de> ---
I'm trying to get this to work. But none of my attempts was successful.

$CATALINA_BASE points to "/opt/tomcat/current"

<!ENTITY myentity SYSTEM "${catalina.base}/foo/bar/myentity.xml">

The above leads to a MalformedURLException:
java.net.MalformedURLException: no protocol:
${catalina.base}/foo/bar/myentity.xml

<!ENTITY myentity SYSTEM "file://${catalina.base}/foo/bar/myentity.xml">

The above leads to:
java.net.UnknownHostException: ${catalina.base}

<!ENTITY myentity SYSTEM "${CATALINA_BASE}/foo/bar/myentity.xml">

And this one leads to:
Parse error in application web.xml file at
[file:/path/to/webapp/WEB-INF/web.xml]

I'm on Tomcat 9.0.31. What am I doing wrong?

I should mention, that still my webapp folders under catalina-base/webapps are
all symlinks.

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

Reply via email to