From: <php...@li...> - 2010-06-17 22:04:37
|
Hi, java_session()->put("key", $jVal) > where $jVal is a java object implementing java.io.Serializable. > Looks like PGConnection and its derivatives cannot be serialized (without changing the API). The only serializable interface is PGConnectionPoolDataSource. Unless there are any other ways to persist the JDBC connection, it looks like I'm going to have to abandon this optimization for now. Of course not. Your other PHP script might be running on a different > server. Even if there's only one server, you may have more than one > java back end (see option <distributable/> in your web.xml. > One web server running Apache2 -- no web.xml files, no j2ee. Thank you for your suggestions. Dave |