Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web application fails to start with tomcat v > 7.0.47 #15

Open
gAmUssA opened this issue Apr 17, 2014 · 2 comments
Open

Web application fails to start with tomcat v > 7.0.47 #15

gAmUssA opened this issue Apr 17, 2014 · 2 comments
Labels

Comments

@gAmUssA
Copy link
Contributor

gAmUssA commented Apr 17, 2014

Generated web application fails to start with tomcat version above 7.0.47.
Application works fine with tomcat 7.0.47

Apr 17, 2014 5:46:48 PM org.apache.catalina.startup.ContextConfig parseWebXml
SEVERE: Parse error in application web.xml file at jndi:/localhost/MyApp/WEB-INF/web.xml
java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID [generated/djn-settings.inc] and base URI [jndi:/localhost/MyApp/WEB-INF/web.xml] to a known, local entity.
    at org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity(LocalResolver.java:136)

Thanks

@gAmUssA gAmUssA added the bug label Apr 17, 2014
@gAmUssA
Copy link
Contributor Author

gAmUssA commented Apr 22, 2014

FYI, thread in users@tomcat mail list

http://markmail.org/thread/fcfg73mf3nsmd4x4

@gAmUssA
Copy link
Contributor Author

gAmUssA commented Apr 22, 2014

As per discussion with Tomcat developers, xmlBlockExternal="true" attribute of Tomcat's Context (context.xml) was set true by default starting from 7.0.52. With xmlBlockExternal="false" generated/djn-settings.conf can be included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant