Apache Tomcat error

Try changing the Launch Link Script Policy setting to Direct and see if that works. That setting is located on the Gateway Settings page under the Web-Launch Settings section.