<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">thanks for your answer. but i already tried all your suggestions and nothing seems to help...</font>
<br><font size=2 face="sans-serif">i tried different java versions (sun and blackdown, stable and beta)</font>
<br><font size=2 face="sans-serif">i also installed different php versions (4.3.2 and 4.3.3)</font>
<br>
<br><font size=2 face="sans-serif">i give up now. i think the best idea would be to install tomcat and write a servlet to generate my pdfs...</font>
<br>
<br>
<br><font size=2 face="sans-serif">greetings</font>
<br><font size=2 face="sans-serif">Thomas</font>
<br>
<br>
<br>
<br>
<br><font size=2 face="Courier New">Thomas,<br>
<br>
 &nbsp; &nbsp; &nbsp; Thanks for your message. As your dump indicates, this problem<br>
is related to interoperability of Java VM with PHP and your local<br>
operating system, or is an issue with your particular Java VM. Simply<br>
put, your Java VM crashes in libc and this problem is not related to<br>
XEP.<br>
 &nbsp; &nbsp; &nbsp; In order to fix this, I suggest that you try the following:<br>
<br>
 &nbsp; &nbsp; &nbsp; 1) Examine Java VM version requirements of your PHP<br>
 &nbsp; &nbsp; &nbsp; implementation and use stable Java VM version for your platform<br>
 &nbsp; &nbsp; &nbsp; (1.4.2-b28 is a beta version)<br>
 &nbsp; &nbsp; &nbsp; 2) If problem persists, try installing latest stable release of<br>
 &nbsp; &nbsp; &nbsp; PHP environment and test with that using simple java<br>
 &nbsp; &nbsp; &nbsp; applications as well as XEP.<br>
 &nbsp; &nbsp; &nbsp; 3) Also pay attention to some serious issues with php_java<br>
 &nbsp; &nbsp; &nbsp; module that are described here: http://tjw.org/php_java/<br>
<br>
Sincerely yours,<br>
Nick Filimonov<br>
<br>
<br>
Wednesday, September 24, 2003, 11:34:26 AM, you wrote:<br>
<br>
TBid&gt; Hi,<br>
<br>
TBid&gt; i found out that it's possible to embed java application into php with the <br>
TBid&gt; php_java module. so i coded an application that uses renderx to <br>
TBid&gt; dynamically render pdfs to the browser or filesystem.<br>
<br>
TBid&gt; all worked fine except some HUGE problems i ran into: the java vm <br>
TBid&gt; sometimes crashes when running my application. this really just happens <br>
TBid&gt; sometimes. just every 5th run... sometimes more or less often...<br>
<br>
TBid&gt; after adding a lot of debug messages to my scripts and java classes i <br>
TBid&gt; realized that the crash happens while calling <br>
TBid&gt; &quot;com.renderx.xep.Driver.init()&quot;.<br>
<br>
TBid&gt; has anyone any idea?<br>
<br>
<br>
TBid&gt; greetings<br>
TBid&gt; Thomas<br>
<br>
<br>
TBid&gt; these are the exceptions i get from java:<br>
<br>
TBid&gt; --------------------------------------------------------------<br>
<br>
TBid&gt; ****************<br>
TBid&gt; Another exception has been detected while we were handling last error.<br>
TBid&gt; Dumping information about last error:<br>
TBid&gt; ERROR REPORT FILE = (N/A)<br>
TBid&gt; PC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x405db26b<br>
TBid&gt; SIGNAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 11<br>
TBid&gt; FUNCTION NAME &nbsp; &nbsp; = (N/A)<br>
TBid&gt; OFFSET &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0xFFFFFFFF<br>
TBid&gt; LIBRARY NAME &nbsp; &nbsp; &nbsp;= (N/A)<br>
TBid&gt; Please check ERROR REPORT FILE for further information, if there is any.<br>
TBid&gt; Good bye.<br>
TBid&gt; pure virtual method called<br>
TBid&gt; Aborted<br>
<br>
TBid&gt; --------------------------------------------------------------<br>
<br>
TBid&gt; An unexpected exception has been detected in native code outside the VM.<br>
TBid&gt; Unexpected Signal : 11 occurred at PC=0x405DB433<br>
TBid&gt; Function=(null)+0x405DB433<br>
TBid&gt; Library=/lib/i686/libc.so.6<br>
<br>
TBid&gt; NOTE: We are unable to locate the function name symbol for the error<br>
TBid&gt; &nbsp; &nbsp; &nbsp; just occurred. Please refer to release documentation for possible<br>
TBid&gt; &nbsp; &nbsp; &nbsp; reason and solutions.<br>
<br>
<br>
TBid&gt; Current Java thread:<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at com.renderx.util.License.check(License.java:11)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at com.renderx.xep.lib.Conf.checks(Conf.java:409)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at com.renderx.xep.lib.Conf.init(Conf.java:163)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at com.renderx.xep.Driver.init(Driver.java:29)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; - locked &lt;0x48f6be40&gt; (a java.lang.Class)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at xepdriver.XEPDriver.initialize(XEPDriver.java:60)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at xepdriver.XEPDriver.generatePDF(XEPDriver.java:80)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at <br>
TBid&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at <br>
TBid&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:324)<br>
TBid&gt; &nbsp; &nbsp; &nbsp; &nbsp; at net.php.reflect.Invoke(reflect.java:347)<br>
<br>
TBid&gt; Dynamic libraries:<br>
TBid&gt; 08048000-081db000 r-xp 00000000 03:03 8503311 &nbsp; &nbsp;/usr/local/bin/php<br>
TBid&gt; 081db000-0820f000 rw-p 00193000 03:03 8503311 &nbsp; &nbsp;/usr/local/bin/php<br>
TBid&gt; 40000000-40013000 r-xp 00000000 03:03 2080770 &nbsp; &nbsp;/lib/ld-2.2.5.so<br>
TBid&gt; 40013000-40014000 rw-p 00013000 03:03 2080770 &nbsp; &nbsp;/lib/ld-2.2.5.so</font>
<br><font size=2 face="Courier New">TBid&gt; 40014000-40017000 r-xp 00000000 03:03 12861467 <br>
TBid&gt; /usr/local/lib/php/extensions/no-debug-non-zts-20020429/java.so<br>
TBid&gt; 40017000-40018000 rw-p 00002000 03:03 12861467 <br>
TBid&gt; /usr/local/lib/php/extensions/no-debug-non-zts-20020429/java.so<br>
TBid&gt; 40018000-4001a000 r--s 00000000 03:03 8159243 <br>
TBid&gt; /usr/local/lib/php/php_java.jar<br>
TBid&gt; 4001a000-40022000 r-xp 00000000 03:03 2080777 &nbsp; &nbsp;/lib/libcrypt.so.1<br>
TBid&gt; 40022000-40024000 rw-p 00008000 03:03 2080777 &nbsp; &nbsp;/lib/libcrypt.so.1<br>
TBid&gt; 4004c000-40157000 r-xp 00000000 03:03 11124750 /usr/lib/librecode.so.0.0.0<br>
TBid&gt; 40157000-40185000 rw-p 0010b000 03:03 11124750 /usr/lib/librecode.so.0.0.0<br>
TBid&gt; 40185000-401a6000 r-xp 00000000 03:03 11125152 /usr/lib/libmhash.so.2.0.0<br>
TBid&gt; 401a6000-401a7000 rw-p 00021000 03:03 11125152 /usr/lib/libmhash.so.2.0.0<br>
TBid&gt; 401a7000-401d4000 r-xp 00000000 03:03 11124853 /usr/lib/libldap.so.2.0.104<br>
TBid&gt; 401d4000-401d5000 rw-p 0002d000 03:03 11124853 /usr/lib/libldap.so.2.0.104<br>
TBid&gt; 401d5000-401e4000 r-xp 00000000 03:03 2080793 &nbsp; &nbsp;/lib/libresolv.so.2<br>
TBid&gt; 401e4000-401e5000 rw-p 0000e000 03:03 2080793 &nbsp; &nbsp;/lib/libresolv.so.2<br>
TBid&gt; 401e7000-401f9000 r-xp 00000000 03:03 11124841 /usr/lib/libsasl.so.7.1.10<br>
TBid&gt; 401f9000-401fa000 rw-p 00012000 03:03 11124841 /usr/lib/libsasl.so.7.1.10<br>
TBid&gt; 401fa000-40201000 r-xp 00000000 03:03 2080823 &nbsp; &nbsp;/lib/libpam.so.0.76<br>
TBid&gt; 40201000-40202000 rw-p 00006000 03:03 2080823 &nbsp; &nbsp;/lib/libpam.so.0.76<br>
TBid&gt; 40202000-4020c000 r-xp 00000000 03:03 11124823 /usr/lib/libgssapi.so.1.2.4<br>
TBid&gt; 4020c000-4020d000 rw-p 0000a000 03:03 11124823 /usr/lib/libgssapi.so.1.2.4<br>
TBid&gt; 4020d000-40241000 r-xp 00000000 03:03 11124831 /usr/lib/libkrb5.so.17.1.2<br>
TBid&gt; 40241000-40243000 rw-p 00034000 03:03 11124831 /usr/lib/libkrb5.so.17.1.2<br>
TBid&gt; 40245000-40266000 r-xp 00000000 03:03 11124819 &nbsp; /usr/lib/libasn1.so.5.0.0<br>
TBid&gt; 40266000-40267000 rw-p 00020000 03:03 11124819 &nbsp; /usr/lib/libasn1.so.5.0.0<br>
TBid&gt; 40267000-40278000 r-xp 00000000 03:03 11124835 /usr/lib/libroken.so.9.5.3<br>
TBid&gt; 40278000-40279000 rw-p 00010000 03:03 11124835 /usr/lib/libroken.so.9.5.3<br>
TBid&gt; 40279000-4031d000 r-xp 00000000 03:03 11124778 &nbsp; /usr/lib/libdb-4.0.so<br>
TBid&gt; 4031d000-4031f000 rw-p 000a4000 03:03 11124778 &nbsp; /usr/lib/libdb-4.0.so<br>
TBid&gt; 4031f000-40321000 r-xp 00000000 03:03 11124821 <br>
TBid&gt; /usr/lib/libcom_err.so.1.1.0<br>
TBid&gt; 40321000-40322000 rw-p 00001000 03:03 11124821 <br>
TBid&gt; /usr/lib/libcom_err.so.1.1.0<br>
TBid&gt; 40322000-40328000 r-xp 00000000 03:03 11124746 &nbsp; /usr/lib/libgdbm.so.2.0.0<br>
TBid&gt; 40328000-40329000 rw-p 00005000 03:03 11124746 &nbsp; /usr/lib/libgdbm.so.2.0.0<br>
TBid&gt; 40329000-40356000 r-xp 00000000 03:03 11124814 &nbsp; /usr/lib/libssl.so.0.9.6<br>
TBid&gt; 40356000-40359000 rw-p 0002c000 03:03 11124814 &nbsp; /usr/lib/libssl.so.0.9.6<br>
TBid&gt; 40359000-40420000 r-xp 00000000 03:03 11124812 /usr/lib/libcrypto.so.0.9.6<br>
TBid&gt; 40420000-4042c000 rw-p 000c6000 03:03 11124812 /usr/lib/libcrypto.so.0.9.6<br>
TBid&gt; 4042f000-4043a000 r-xp 00000000 03:03 11124851 /usr/lib/liblber.so.2.0.104<br>
TBid&gt; 4043a000-4043b000 rw-p 0000a000 03:03 11124851 /usr/lib/liblber.so.2.0.104<br>
TBid&gt; 4043c000-4046b000 r-xp 00000000 03:03 11124945 <br>
TBid&gt; /usr/lib/libpng12.so.0.1.2.4<br>
TBid&gt; 4046b000-4046c000 rw-p 0002f000 03:03 11124945 <br>
TBid&gt; /usr/lib/libpng12.so.0.1.2.4<br>
TBid&gt; 4046c000-40489000 r-xp 00000000 03:03 11124755 /usr/lib/libjpeg.so.62.0.0<br>
TBid&gt; 40489000-4048a000 rw-p 0001d000 03:03 11124755 /usr/lib/libjpeg.so.62.0.0<br>
TBid&gt; 4048a000-404ac000 r-xp 00000000 03:03 8110083 &nbsp; &nbsp;/lib/i686/libm.so.6<br>
TBid&gt; 404ac000-404ad000 rw-p 00021000 03:03 8110083 &nbsp; &nbsp;/lib/i686/libm.so.6<br>
TBid&gt; 404ad000-404af000 r-xp 00000000 03:03 2080780 &nbsp; &nbsp;/lib/libdl.so.2<br>
TBid&gt; 404af000-404b0000 rw-p 00001000 03:03 2080780 &nbsp; &nbsp;/lib/libdl.so.2<br>
TBid&gt; 404b0000-404c2000 r-xp 00000000 03:03 2080783 &nbsp; &nbsp;/lib/libnsl.so.1<br>
TBid&gt; 404c2000-404c3000 rw-p 00011000 03:03 2080783 &nbsp; &nbsp;/lib/libnsl.so.1<br>
TBid&gt; 404c5000-40563000 r-xp 00000000 03:03 11124798 /usr/lib/libxml2.so.2.4.23<br>
TBid&gt; 40563000-4056c000 rw-p 0009e000 03:03 11124798 /usr/lib/libxml2.so.2.4.23<br>
TBid&gt; 4056d000-40681000 r-xp 00000000 03:03 8110082 &nbsp; &nbsp;/lib/i686/libc.so.6<br>
TBid&gt; 40681000-40687000 rw-p 00113000 03:03 8110082 &nbsp; &nbsp;/lib/i686/libc.so.6<br>
TBid&gt; 4068c000-40699000 r-xp 00000000 03:03 2080816 &nbsp; &nbsp;/lib/libz.so.1.1.4<br>
TBid&gt; 40699000-4069b000 rw-p 0000c000 03:03 2080816 &nbsp; &nbsp;/lib/libz.so.1.1.4<br>
TBid&gt; 4069b000-406c6000 r--p 00000000 03:03 8011779 <br>
TBid&gt; /usr/lib/locale/en_US/LC_CTYPE<br>
TBid&gt; 406c6000-406cf000 r-xp 00000000 03:03 2080787 &nbsp; &nbsp;/lib/libnss_files.so.2<br>
TBid&gt; 406cf000-406d0000 rw-p 00008000 03:03 2080787 &nbsp; &nbsp;/lib/libnss_files.so.2<br>
TBid&gt; 406d0000-406f0000 r-xp 00000000 03:03 5423133 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libjava.so<br>
TBid&gt; 406f0000-406f2000 rw-p 0001f000 03:03 5423133 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libjava.so<br>
TBid&gt; 406f2000-40c9e000 r-xp 00000000 03:03 7307273 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/server/libjvm.so<br>
TBid&gt; 40c9e000-40cf8000 rw-p 005ab000 03:03 7307273 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/server/libjvm.so<br>
TBid&gt; 40d0b000-40d1b000 r-xp 00000000 03:03 5423147 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libverify.so<br>
TBid&gt; 40d1b000-40d1d000 rw-p 0000f000 03:03 5423147 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libverify.so<br>
TBid&gt; 40d1d000-40d21000 rw-s 00000000 03:03 10436636 /tmp/hsperfdata_root/20610<br>
TBid&gt; 40d23000-40d30000 r-xp 00000000 03:03 8110084 &nbsp; &nbsp;/lib/i686/libpthread.so.0<br>
TBid&gt; 40d30000-40d37000 rw-p 0000d000 03:03 8110084 &nbsp; &nbsp;/lib/i686/libpthread.so.0<br>
TBid&gt; 40d37000-40d3f000 r-xp 00000000 03:03 7208986 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/native_threads/libhpi.so<br>
TBid&gt; 40d3f000-40d40000 rw-p 00007000 03:03 7208986 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/native_threads/libhpi.so<br>
TBid&gt; 40d40000-40d54000 r-xp 00000000 03:03 5423148 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libzip.so<br>
TBid&gt; 40d54000-40d57000 rw-p 00013000 03:03 5423148 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/i386/libzip.so</font>
<br><font size=2 face="Courier New">TBid&gt; 40d57000-426e2000 r--s 00000000 03:03 3768355 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/rt.jar<br>
TBid&gt; 4272c000-42742000 r--s 00000000 03:03 3768354 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/sunrsasign.jar<br>
TBid&gt; 42742000-4281d000 r--s 00000000 03:03 3768353 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/jsse.jar<br>
TBid&gt; 4281d000-4282e000 r--s 00000000 03:03 3768345 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/jce.jar<br>
TBid&gt; 4282e000-42d87000 r--s 00000000 03:03 3768346 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/charsets.jar<br>
TBid&gt; 4d7b8000-4d7bb000 r--s 00000000 03:03 5242890 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/ext/dnsns.jar<br>
TBid&gt; 4d7bb000-4d7c8000 r--s 00000000 03:03 5242891 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/ext/ldapsec.jar<br>
TBid&gt; 4d7c8000-4d7e4000 r--s 00000000 03:03 5242893 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/ext/sunjce_provider.jar<br>
TBid&gt; 4d7e4000-4d8a0000 r--s 00000000 03:03 5242894 <br>
TBid&gt; /usr/java/j2sdk1.4.2-orig/jre/lib/ext/localedata.jar<br>
TBid&gt; 4d8a0000-4d8a3000 r--s 00000000 03:03 606257 <br>
TBid&gt; /usr/java/classes/xepdriver.jar<br>
TBid&gt; 4d8a3000-4d8c6000 r--s 00000000 03:03 10502158 <br>
TBid&gt; /home/www/renderx/lib/cryptix32-pgp.jar<br>
TBid&gt; 4d8c6000-4d93d000 r--s 00000000 03:03 10502157 <br>
TBid&gt; /home/www/renderx/lib/cryptix32.jar<br>
TBid&gt; 4d93d000-4d9d6000 r--s 00000000 03:03 10502175 <br>
TBid&gt; /home/www/renderx/lib/saxon.jar<br>
TBid&gt; 4d9d6000-4dac1000 r--s 00000000 03:03 10502176 <br>
TBid&gt; /home/www/renderx/lib/xep352_developer_stamped.jar<br>
TBid&gt; 4dac1000-4db16000 r--s 00000000 03:03 10502177 <br>
TBid&gt; /home/www/renderx/lib/xt.jar<br>
<br>
TBid&gt; Heap at VM Abort:<br>
TBid&gt; Heap<br>
TBid&gt; &nbsp;def new generation &nbsp; total 576K, used 466K [0x44e30000, 0x44ed0000, <br>
TBid&gt; 0x45540000)<br>
TBid&gt; &nbsp; eden space 512K, &nbsp;78% used [0x44e30000, 0x44e94af0, 0x44eb0000)<br>
TBid&gt; &nbsp; from space 64K, 100% used [0x44ec0000, 0x44ed0000, 0x44ed0000)<br>
TBid&gt; &nbsp; to &nbsp; space 64K, &nbsp; 0% used [0x44eb0000, 0x44eb0000, 0x44ec0000)<br>
TBid&gt; &nbsp;tenured generation &nbsp; total 1408K, used 55K [0x45540000, 0x456a0000, <br>
TBid&gt; 0x48e30000)<br>
TBid&gt; &nbsp; &nbsp;the space 1408K, &nbsp; 3% used [0x45540000, 0x4554df90, 0x4554e000, <br>
TBid&gt; 0x456a0000)<br>
TBid&gt; &nbsp;compacting perm gen &nbsp;total 16384K, used 1500K [0x48e30000, 0x49e30000, <br>
TBid&gt; 0x4ce30000)<br>
TBid&gt; &nbsp; &nbsp;the space 16384K, &nbsp; 9% used [0x48e30000, 0x48fa7338, 0x48fa7400, <br>
TBid&gt; 0x49e30000)<br>
<br>
TBid&gt; Local Time = Wed Sep 24 09:14:25 2003<br>
TBid&gt; Elapsed Time = 0<br>
TBid&gt; #<br>
TBid&gt; # The exception above was detected in native code outside the VM<br>
TBid&gt; #<br>
TBid&gt; # Java VM: Java HotSpot(TM) Server VM (1.4.2-b28 mixed mode)<br>
TBid&gt; #<br>
TBid&gt; # An error report file has been saved as hs_err_pid20610.log.<br>
TBid&gt; # Please refer to the file for further information.<br>
TBid&gt; #<br>
TBid&gt; Aborted<br>
<br>
-------------------<br>
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<br>
in the body of the message to majordomo@renderx.com from the address<br>
you are subscribed from.<br>
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html<br>
</font>
<br>
<br>