|
From: <php...@li...> - 2008-04-23 11:57:00
|
Hi, i'm a longtime PHP/Linux user and found php-java-bridge on my search for a good PDF solution in PHP: I'd like to use iText in one of my PHP projects. Therefore i tried to install the bridge V5.2.1. After some initial problems i finally managed to get the extension to work with default settings. My setup: PHP-5.2.6 Apache-2.0.58 JDK-1.6.0.05 Linux Kernel 2.6.22 on AMD Athlon 64 The test.php works fine, giving a Hello world from Java. But when i try the iText example (examples/office/itext_pdf.php) Apache segfaults. I activated Loglevel 7 in the bridge. You can find it's output below. The other thing i tried: The docs say, you can convert .jar's to native PHP. Not sure how this should work, but this feature doesn't seem to work at all (no matter which .jar i try to convert), i always get this: ------------------------------------------------------ [examples/]# java -jar /usr/lib64/php5/lib/php/extensions/no-debug-non-zts-20060613/JavaBridge.jar --convert /tmp/ /usr/share/itext/lib/iText.jar PHP/Java Bridge version 5.2.1 Copyright (C) 2003, 2006 Jost Boekemeier and others. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Usage: java -jar JavaBridge.jar [SOCKETNAME LOGLEVEL LOGFILE] SOCKETNAME is one of LOCAL, INET_LOCAL, INET, SERVLET_LOCAL, SERVLET Example: java -jar JavaBridge.jar Example: LD_LIBRARY_PATH=/usr/lib/php/modules/ java -jar JavaBridge.jar LOCAL:/tmp/javabridge_native.socket 3 /var/log/php-java-bridge.log Example: java -jar JavaBridge.jar SERVLET_LOCAL:8080 3 JavaBridge.log Influential system properties: threads, ext_java_compatibility, php_exec, default_log_file, default_log_level, base. Example: java -Djava.awt.headless="true" -Dphp.java.bridge.threads=50 -Dphp.java.bridge.base=/usr/lib/php/modules -Dphp.java.bridge.php_exec=/usr/local/bin/php-cgi -Dphp.java.bridge.default_log_file= -Dphp.java.bridge.default_log_level=5 -jar JavaBridge.jar ------------------------------------------------------ I also tried with "-convert" instead - also no luck. I'd apreciate any recommendation, on what is the best way to use iText.jar in PHP (i would need it only sporadic, so a slim solution would be great). Thanks! Mike Output of debug log when opening itext_pdf.php: ------------------------------------------------------ Apr 23 10:38:03 VMBridge DEBUG: Socket connection accepted Apr 23 10:38:03 VMBridge DEBUG: Starting bridge thread from thread pool Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 START: JavaBridge.run() Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 Request from client with uid/gid -1/-1 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="updateJarLibraryPath" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="/usr/share/itext/lib/iText.jar" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="/usr/lib64/php5/lib/php/extensions/no-debug-non-zts-20060613" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="/www/igor.emiga.de/htdocs" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v=".:/usr/share/php5:/usr/share/php" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].updateJarLibraryPath([Object 2040919865 - Class: java.lang.String:ID1295986757:LOADER-ID0],[Object 2131361171 - Class: java.lang.String:ID1295986757:LOADE R-ID0],[Object 1759969037 - Class: java.lang.String:ID1295986757:LOADER-ID0],[Object 359851081 - Class: java.lang.String:ID12 95986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).realAddURLs(";/usr/share/itext/lib/iText.jar",file:/usr/share/i text/lib/iText.jar) Apr 23 10:38:03 VMBridge DEBUG: Result [Object null] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <V n="T"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="com.lowagie.text.Document" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 549041464 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(com.lowagie.text.Document) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 2654289 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="1" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="1" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <K p="1" v="com.lowagie.text.Document" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </K> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 1660962283 - Class: com.lowagie.text.Document:ID569616903:LOADER-ID2091111631].com.lowagie.text.Document(); Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="2" m="com.lowagie.text.Document" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="java.io.ByteArrayOutputStream" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 653163028 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(java.io.ByteArrayOutputStream) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 1922091779 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="3" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="3" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <K p="1" v="java.io.ByteArrayOutputStream" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </K> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 27832 - Class: java.io.ByteArrayOutputStream:ID1517791225:LOADER-ID0].java.io.ByteArrayOutputStream(); Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="4" m="java.io.ByteArrayOutputStream" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="com.lowagie.text.pdf.PdfWriter" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 467772424 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(com.lowagie.text.pdf.PdfWriter) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 2060982148 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="5" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="5" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <H p="1" v="com.lowagie.text.pdf.PdfWriter" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </H> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="6" m="com.lowagie.text.pdf.PdfWriter" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="6" m="getInstance" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="2" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="4" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 1306606930 - Class: java.lang.Class:ID413536612:LOADER-ID0].getInstance([Object 1660962283 - Class: com.lowa gie.text.Document:ID569616903:LOADER-ID2091111631],[Object 27832 - Class: java.io.ByteArrayOutputStream:ID1517791225:LOADER-I D0]); Apr 23 10:38:03 VMBridge DEBUG: Result [Object 15735326 - Class: com.lowagie.text.pdf.PdfWriter:ID1306606930:LOADER-ID2091111631] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="7" m="com.lowagie.text.pdf.PdfWriter" p="O" n="T"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="2" m="open" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 1660962283 - Class: com.lowagie.text.Document:ID569616903:LOADER-ID2091111631].open(); Apr 23 10:38:03 VMBridge DEBUG: Result [Object null] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <V n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="com.lowagie.text.FontFactory" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 323135501 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(com.lowagie.text.FontFactory) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 2099705691 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="8" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="8" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <H p="1" v="com.lowagie.text.FontFactory" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </H> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="9" m="com.lowagie.text.FontFactory" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <G p="1" v="9" m="HELVETICA" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </G> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="a" m="java.lang.String" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="com.lowagie.text.Font" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 154777486 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(com.lowagie.text.Font) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 742510685 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="b" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="b" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <H p="1" v="com.lowagie.text.Font" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </H> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="c" m="com.lowagie.text.Font" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <G p="1" v="c" m="BOLDITALIC" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </G> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="d" m="java.lang.Integer" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="java.awt.Color" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 349610078 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(java.awt.Color) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 381322754 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="e" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="e" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <K p="1" v="java.awt.Color" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <L v="0" p="O" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <L v="0" p="O" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <L v="ff" p="O" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </K> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight int class php.java.bridge.PhpExactNumber: 1 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight int class php.java.bridge.PhpExactNumber: 1 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight int class php.java.bridge.PhpExactNumber: 1 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 best: public java.awt.Color(int,int,int) 3 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpExactNumber: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpExactNumber: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpExactNumber: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 skip: public java.awt.Color(float,float,float) 768 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.awt.color.ColorSpace class php.java.bridge.PhpExactNumber : 9999 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class [F class php.java.bridge.PhpExactNumber: 9999 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpExactNumber: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 skip: public java.awt.Color(java.awt.color.ColorSpace,float[],float) 20254 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 Selected: public java.awt.Color(int,int,int) 3 Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 800323830 - Class: java.awt.Color:ID10969598:LOADER-ID0].java.awt.Color([Object 1352529649 - Class: java.lan g.Integer:ID1412485250:LOADER-ID0],[Object 851407248 - Class: java.lang.Integer:ID1412485250:LOADER-ID0],[Object 918077175 - Class: java.lang.Integer:ID1412485250:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="f" m="java.awt.Color" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="9" m="getFont" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="a" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <L v="18" p="O" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="d" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="f" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class java.lang.String: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class php.java.bridge.PhpExactNumber: 8000 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight boolean class java.lang.Integer: 5 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class java.awt.Color: 9999 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 best: public static com.lowagie.text.Font com.lowagie.text.FontFactory.getF ont(java.lang.String,java.lang.String,boolean,float) 18004 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class java.lang.String: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class php.java.bridge.PhpExactNumber: 8000 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class java.lang.Integer: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight int class java.awt.Color: 9999 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 skip: public static com.lowagie.text.Font com.lowagie.text.FontFactory.getF ont(java.lang.String,java.lang.String,float,int) 18255 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class java.lang.String: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpExactNumber: 256 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight int class java.lang.Integer: 1 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.awt.Color class java.awt.Color: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 best: public static com.lowagie.text.Font com.lowagie.text.FontFactory.getF ont(java.lang.String,float,int,java.awt.Color) 257 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 Selected: public static com.lowagie.text.Font com.lowagie.text.FontFactory. getFont(java.lang.String,float,int,java.awt.Color) 257 Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 1145892402 - Class: java.lang.Class:ID413536612:LOADER-ID0].getFont([Object 906199566 - Class: java.lang.Str ing:ID1295986757:LOADER-ID0],[Object 453076530 - Class: java.lang.Float:ID1133736492:LOADER-ID0],[Object 2027711095 - Class: java.lang.Integer:ID1412485250:LOADER-ID0],[Object 800323830 - Class: java.awt.Color:ID10969598:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: Result [Object 1322379422 - Class: com.lowagie.text.Font:ID2064721795:LOADER-ID2091111631] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="10" m="com.lowagie.text.Font" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="f" /> Apr 23 10:38:03 VMBridge DEBUG: unref: java.awt.Color[r=0,g=0,b=255] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="d" /> Apr 23 10:38:03 VMBridge DEBUG: unref: 3 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="a" /> Apr 23 10:38:03 VMBridge DEBUG: unref: Helvetica Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="0" m="typeExists" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="com.lowagie.text.Paragraph" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 2066473405 - Class: php.java.bridge.JavaBridge:ID304933128:LOADER-ID685731021].typeExists([Object 922682751 - Class: java.lang.String:ID1295986757:LOADER-ID0]); Apr 23 10:38:03 VMBridge DEBUG: DynamicClassLoader(703168415).loadClass(com.lowagie.text.Paragraph) Apr 23 10:38:03 VMBridge DEBUG: Trying parent Apr 23 10:38:03 VMBridge DEBUG: Trying 2091111631 Apr 23 10:38:03 VMBridge DEBUG: Result [Object 1270708296 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="11" m="java.lang.Boolean" p="O" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <U v="11" /> Apr 23 10:38:03 VMBridge DEBUG: unref: true Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <K p="1" v="com.lowagie.text.Paragraph" > Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <S v="Hello World" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="10" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </K> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight float class php.java.bridge.PhpParserString: 64 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class com.lowagie.text.Chunk class com.lowagie.text.Font: 9999 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 best: public com.lowagie.text.Paragraph(float,com.lowagie.text.Chunk) 10063 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class java.lang.String class php.java.bridge.PhpParserString: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 weight class com.lowagie.text.Font class com.lowagie.text.Font: 0 Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 Selected: public com.lowagie.text.Paragraph(java.lang.String,com.lowagie.te xt.Font) 0 Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 69461457 - Class: com.lowagie.text.Paragraph:ID1362875764:LOADER-ID2091111631]: { [Object 1355087478 - Class: com.lowagie.text.Chunk:ID1096264275:LOADER-ID2091111631] }.com.lowagie.text.Paragraph([Object 891166311 - Class: java.lang.String:ID1295986757:LOADER-ID0],[Object 1322379422 - Class: com.lowagie.text.Font:ID2064721795:LOADER-ID2091111631]); Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="12" m="com.lowagie.text.Paragraph" p="A" n="F"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <Y p="1" v="2" m="add" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> <O v="12" /> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 --> </Y> Apr 23 10:38:03 VMBridge DEBUG: Invoking [Object 1660962283 - Class: com.lowagie.text.Document:ID569616903:LOADER-ID2091111631].add([Object 69461457 - Class: com.lowagie.text.Paragraph:ID1362875764:LOADER-ID2091111631]: { [Object 1355087478 - Class: com.lowagie.text.Chunk:ID1096264275:LOADER-ID2091111631] }); Apr 23 10:38:03 VMBridge DEBUG: Result [Object 1281234799 - Class: java.lang.Boolean:ID1144967167:LOADER-ID0] Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 <-- <O v="13" m="java.lang.Boolean" p="O" n="T"/> Apr 23 10:38:03 VMBridge DEBUG: 7b2be1bd@32c8f6f8 END: JavaBridge.run() Apr 23 10:38:03 VMBridge DEBUG: end (thread returned to pool): Thread[VMBridgeThreadPool#2,5,VMBridgeThreadPool#2] ------------------------------------------------------ |