Hello,
I want to build a standalone debian server able to create Jasper
reports. I do not need tomcat or other stuff. I install php-java-bridge
and a java machine:
> # java -Djava.awt.headless=true -jar
> /usr/lib/php5/20060613+lfs/JavaBridge.jar INET:8080 3
Next, in a remote php application I try to include :
> $java_inc_filename = "http://$host:$port/JavaBridge/java/Java.inc";
> require_once($java_inc_filename);
This throw an exception in the "jasper Server" and the remote php
application failed to fetch the file. Did we miss something ?
Thanks in advance,
Benjamin.
Server log :
@8080
Sep 18 10:33:07 VMBridge INFO : VM :
1.6.0_07@http://java.sun.com/
Sep 18 10:33:07 VMBridge INFO : VMBridge version : 5.2.2
Sep 18 10:33:07 VMBridge INFO : logFile :
Sep 18 10:33:07 VMBridge INFO : default logLevel : 3
Sep 18 10:33:07 VMBridge INFO : socket : INET:8080
Sep 18 10:33:07 VMBridge INFO : java.ext.dirs :
/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/ext:/usr/java/packages/lib/ext
Sep 18 10:33:07 VMBridge INFO : php.java.bridge.base: /root
Sep 18 10:33:07 VMBridge INFO : thread pool size : 20
Sep 18 10:33:53 VMBridge ERROR: An exception occured:
java.lang.IllegalArgumentException: Standard header not supported
anymore. Use the extended header.
java.lang.IllegalArgumentException: Standard header not supported
anymore. Use the extended header.
at php.java.bridge.Parser.initOptions(Parser.java:68)
at php.java.bridge.Request.init(Request.java:181)
at php.java.bridge.JavaBridge.run(JavaBridge.java:206)
at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60)
|