Hi all,
I got some troubles trying to run Java within PHP using php-java-bridge_2.0.7.
Config :
PHP 4.3.10
Apache 2.0.53
Windows 2000
When navigating, this errors appear sometimes :
[client 127.0.0.1] PHP Fatal error: Unable to create Java Virtual Machine in D:\colbert\CD_SOURCES\php\pres\nat\gererdotation_acc.php on line 5, referer: http://localhost/colbert/
OR
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x5D7BF3
Function=zend_hash_index_update_or_next_insert+0x33
Library=C:\WINNT\system\php4ts.dll
Current Java thread:
at net.php.reflect.setResultFromObject(Native Method)
at net.php.reflect.setResult(reflect.java:105)
at net.php.reflect.setResult(reflect.java:85)
at net.php.reflect.Invoke(reflect.java:347)
In both CGI or module mode, I got one or more errors. Apache sometimes even stops in error.
Does someone has experienced the php / java bridge with success? Any link (other than sourceforge) to an example of using this?
I read that a JVM is launched for each request. Is it correct? Can we change this settings?
Thanx