From: <php...@li...> - 2010-10-01 15:58:19
|
Hi, I'm getting a "No input file specified." error when using a custom Context Descriptor on Tomcat 6. This has been tested on: - Windows 7 - Tomcat 6.0.20 and 6.0.29 - JavaBridgeTemplate621rc4.war and JavaBridge.war from php-java-bridge_6.2.1rc4_documentation.zip How to reproduce: - Uncompress the war in $CATALINA_BASE/JavaBridge (same level of conf/ and webapps/) - Create the file $CATALINA_BASE/conf/[enginename]/[hostname]/JavaBridge.xml with this content: <?xml version="1.0" encoding="UTF-8"?> <Context docBase="../JavaBridge" /> - Start Tomcat There will be no errors in the logs but http://localhost:8080/JavaBridge will show the error "No input file specified" using Firefox. NB: - the attribute "path" in Context doesn't change the behavior - Context configuration is at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html - Uncompressing the files in webapps/ works correctly - Tomcat manager shows the app as correctly running - Static files are correctly loaded - This may be related to http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTi%3DS91TSFB4ba0szXn%2B-KJLSdHGGiFpZ-MGdVeQs%40mail.gmail.com&forum_name=php-java-bridge-users Thank you Francesco |