|
From: <php...@li...> - 2008-11-05 14:05:31
|
David Pradier a écrit :
> Thanks Jost,
> i'm currently trying to use tomcat, as there are more tutorials. I'll
> come back to the list when I've succeeded, if only to point my errors.
Hi,
I've finally managed to have a working debian etch PhpJavaBridge tomcat
jasperreports install :-)
For the record, here are some things i needed to do :
- to enable the servlet : it is necessary to configure or disable the
TOMCAT5_SECURITY in /etc/default/tomcat5,
- to access the servlet : the tomcat port on debian is 8180, not 8080,
- to include the Java.inc file coming from the servlet : put
"allow_url_include = On" in /etc/php5/apache2/php.ini,
- to have the PhpJavaBridge tests working : put "define("JAVA_HOSTS",
"127.0.0.1:8180");" instead of "define("JAVA_HOSTS", "127.0.0.1:8080");"
in /var/lib/tomcat5/webapps/JavaBridge/java/Java.inc
- to load all my java libraries at the same time : put all my
/usr/share/java/*.jar and generally each and every .jar i use in
/var/lib/tomcat5/webapps/JavaBridge/WEB-INF/lib/
I hope this helps somebody.
Regards,
David
|