Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Railo 4.1.2 with Tomcat (A child container failed during start)  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just uninstalled all previous Railo servers, and re-installed this version, and am getting the following error when running catalina.bat run from the command line. I don't know where to go from here or what the problem may be as it is a completely fresh installation on Windows 8.
I have tried adding metadata-complete="true" to the web.xml to no avail - the same problem still persists.
Thank you for any help at all!

 
Pete Corshaw
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So it seems the main error is in this line:



However, this doesn't exist in my web.xml...

 
Saloon Keeper
Posts: 19267
85
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message is correct in that there's a limit to the allowable complexity of a URL pattern.

If the offending pattern is not in web.xml and you're using Tomcat7, it's possible that the pattern is coming in via an annotation instead of from web.xml itself. What I would do is unzip the WAR file and scan for the pattern like so:



You might have to escape the "*" and "." characters in order to avoid them being mis-interpreted by the grep regex processor.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!