From: <php...@li...> - 2010-10-01 16:10:24
|
I just found that using an absolute path in the Context Descriptor instead of the relative one solves the problem: <Context docBase="C:\Program Files\Apache Software Foundation\Tomcat 6.0\JavaBridge" /> Shouldn't it work with the relative path too? Thanks ________________________________ Da: "php...@li..." <php...@li...> A: php...@li... Inviato: Ven 1 ottobre 2010, 17:58:10 Oggetto: [Php-java-bridge-users] No input file specified 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 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |