2014-04-22 19:42 GMT+04:00 Viktor Gamov <viktor.ga...@gmail.com>: > Hello tomcat users, > Before I can submit formal bug to the issue tracker, I want to ask here. > I have web.xml and I include some text file in it using !ENTITY tag: >
As I already answered about a week a go, you have to enable this feature in Context configuration. See "xmlBlockExternal" attribute of Context. > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd" [ > *<!ENTITY remoteClasses SYSTEM "generated/djn-settings.inc">* > ]> > <web-app> > <servlet> > <servlet-name>MyServlet</servlet-name> > > <servlet-class>com.example.MyServlet</servlet-class> > <init-param> > <param-name>application.classes</param-name> > <param-value> > &remoteClasses; > </param-value> > </init-param> > </servlet> > </web-app> > > It worked fine until version 7.0.52. With 7.0.52, I'm getting following > error during application deployment > > https://gist.github.com/gAmUssA/11183618 > <https://gist.github.com/gAmUssA/11183618> > If you are not citing the error message, how to you expect others to find this discussion in the mailing list archives? > *p.s.* Doesn't work with v8 as well. > > Please, advise. > > Thanks > > -- > With Best Regards, > Vik Gamov --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org