You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <php...@li...> - 2008-04-14 20:02:25
|
Hi all,
I'm getting an OutOfMemory exception when executing a number of commands over the same PHP/Java Bridge connection....
We are running Java as a standalone process (simply run with "java -jar JavaBridge.jar SERVLET:9090 3 JavaBridge.log") and are accessing from PHP running inside Apache. All on Windows, although we'll be testing on Linux once we get past this issue.
The code on the PHP side is:
$obj = new Java("our.java.Object");
$obj->returnMyArrayResult($arg1, $arg2);
@java_reset();
which gets called repeatedly within a loop.
The error is:
Apr 14 15:52:25 VMBridge FATAL: OutOfMemoryError
Apr 14 15:52:25 VMBridge FATAL: An error occured: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$StringDecoder.decode(Unknown Source)
at java.lang.StringCoding.decode(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at php.java.bridge.JavaBridge.getString(JavaBridge.java:2009)
at php.java.bridge.PhpParserString.newString(PhpParserString.java:50)
at php.java.bridge.PhpParserString.getString(PhpParserString.java:58)
at php.java.bridge.JavaBridge.coerce(JavaBridge.java:688)
at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1052)
at php.java.bridge.Request.handleRequest(Request.java:410)
at php.java.bridge.Request.handleRequests(Request.java:485)
at php.java.bridge.http.ContextRunner.run(ContextRunner.java:140)
at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60)
I've seen a number of threads talk about OutOfMemory problems, but no solution... I also saw the "How does the bridge handle OutOfMemoryErrors?" section in the docs, but no help.
My guess is that the JavaBridge class is holding onto all of the Java objects returned to PHP (even though java_release() is called in PHP) and that's what is causing the problem? Also, looks like maybe JavaBridge.recycle() is the function we eventually want to get called?? Just guesses, though.
A few questions too:
1. Any way to release an object after finished with it on the PHP side?
2. Any ini flags (java.persistent_connections=Off, for example) that could help clear the JavaBridge cache?
Thanks for any thoughts/comments!
Orion Richardson
|
|
From: <php...@li...> - 2008-04-14 19:16:10
|
Hi,
> Caused by: java.io.IOException: /ressources/ldap.properties not found
create a jar file which contains "resources/ldap.properties" and copy the jar file into the
library path (either ~/lib or ...jre/lib/ext).
Regards,
Jost Boekemeier
__________________________________________________________
Gesendet von Yahoo! Mail.
Der Lieblings-Mailbox der Welt.
http://de.overview.mail.yahoo.com
|
|
From: <php...@li...> - 2008-04-11 15:07:05
|
Le vendredi 11 avril 2008 à 13:02 +0200, php...@li... a écrit : > hello, > > where to set the log4j.properties ? I can't use log4j with > php-java-bridge because I can't redefine the classpath > Ok I've found a solution alone : I'm running on redhat 5: mkdir /root/lib/ cp log4j.properties /root/lib/ But now I've quite the same probleme whith a jndi property file: ldap.properties stack trace ; ; ; ; Caused by: java.io.IOException: /ressources/ldap.properties not found And naturraly I've set the file in /root/lib/ressources/ldap.properties -- Arnaud Tisset - CECURITY.COM - http://www.cecurity.com Protection des données, Archivage Légal et Traçabilité arn...@ce... Ligne directe : 01 56 43 37 33 |
|
From: <php...@li...> - 2008-04-11 11:02:12
|
hello, where to set the log4j.properties ? I can't use log4j with php-java-bridge because I can't redefine the classpath -- Arnaud Tisset - CECURITY.COM - http://www.cecurity.com Protection des données, Archivage Légal et Traçabilité arn...@ce... Ligne directe : 01 56 43 37 33 |
|
From: <php...@li...> - 2008-04-08 17:38:37
|
Hi, > > I'll take a look at JPersistenceAdapter.php tmw, the code is here: http://php-java-bridge.cvs.sourceforge.net/*checkout*/php-java-bridge/php-java-bridge/php_java_lib/JPersistence.php Regards, Jost Boekemeier __________________________________________________________ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com |
|
From: <php...@li...> - 2008-04-08 13:40:53
|
Hi, Cache_Lite has integrated serialize function, and I guess it's basically a wrapper of the php serialize function. I can cache and retrieve the object without problem. The issue is if I leave some java objects in the cache without using for a while, they become invalid or expired or sth, as you could see from the error message. I'll take a look at JPersistenceAdapter.php tmw, but please let me know if I was wrong, thanks. Regards, Rong On Tue, Apr 8, 2008 at 9:14 PM, <php...@li...> wrote: > Hi, > > > > and I cached (using PEAR Cache_Lite) the Java object > > You cannot cache java objects this way. Please serialize it. > > Please see the JPersistenceAdapter.php and the serialize php test from the php5 test folder for an > example. > > > Regards, > Jost Boekemeier > > > > > > > Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: > http://de.yahoo.com/set > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-04-08 11:14:11
|
Hi,
> and I cached (using PEAR Cache_Lite) the Java object
You cannot cache java objects this way. Please serialize it.
Please see the JPersistenceAdapter.php and the serialize php test from the php5 test folder for an
example.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-04-08 01:53:35
|
Hi, I'm wondering whether the connection between PHP scripts/Apache and the Java bridge has a timeout? I'm using the standalone mode and I cached (using PEAR Cache_Lite) the Java object created with the "new Java(...)" call, so the object can be used to serve more than one request. It worked well initially, until after some time (probably some idle time), the cached object seemed no longer valid, and yielded the following error: Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->deserialize((o:String)[o:String], (o:int)[o:Integer]). Cause: java.lang.IllegalArgumentException: Session serialID 1 expired. Responsible VM: 1.6.0_04@http://java.sun.com/" at: #-9 php.java.bridge.JavaBridge.deserialize(JavaBridge.java:1744) #-8 sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) #0 java.inc(259): java_ThrowExceptionProxyFactory->getProxy(1, NULL, true) #1 java.inc(409): java_Arg->getResult(true) #2 java.inc(415): java_Client->getWrappedResult(true) #3 java.inc(619): java_Client->getResult() #4 java.inc(1717): java_Client->invokeMethod(0, 'deserialize', Array) #5 [internal function]: java_JavaProxy->__wakeup() #6 /usr/share/php/Cache/Lite.php(347): unserialize('O:4:"Java":1:{s...') #7 /home/rong/trunk/lib/fts.php(15): Cache_Lite->get('BESearcher-cour...') #8 /home/rong/trunk/lib/modules/search.php(2 in java.inc on line 222 Any idea about how to make this timeout unlimited? or is this (caching java object) a good way to maintain persistent object across the bridge? thanks. Regards, Rong |
|
From: <php...@li...> - 2008-04-07 18:43:07
|
I will see if I can follow the instructions there. A lot of this is completely alien to me at the moment! Thanks, graham On Sun, Apr 6, 2008 at 6:28 PM, <php...@li...> wrote: > Hi, > > > > http://php-java-bridge.sourceforge.net/pjb/generic_readme.php?banner=banner10&title=Pure%20PHP%20Implementation&filepath=java/README)--orcan<http://php-java-bridge.sourceforge.net/pjb/generic_readme.php?banner=banner10&title=Pure%20PHP%20Implementation&filepath=java/README%29--orcan> > > the information on the web site is outdated. Please ignore it. > > > The relevant information is contained in the binary download archive. > > > Regards, > Jost Boekemeier > > > > Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. > www.yahoo.de/go > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-04-07 12:12:34
|
Hi, can you please create a ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and set the log level to 4 or above and attach the log to your ticket? Regards, Jost Boekemeier __________________________________________________________ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com |
|
From: <php...@li...> - 2008-04-07 11:19:06
|
Hello
I have some third party code that I can manipulate in Eclipse.
An array returned from a function inside Eclipse will return the expected information.
However, the same function called via the bridge from PHP will return the correct number of elements to the array, but they are empty (i.e. NULL). Hard coded values can be read ok, so it appears that everything is working. Any ideas would be appreciated.
I am running:
Apache 2.2.6
PHP 5.2.5
MS Windows server 2003 enterprise edition SP2
Using JavaBridge back-end version: 3.2.1b
Put the JavaBridge.war into the autodeploy folder for the J2EE application server
Copied the php-5.0-java-x86-windows.dll to my PHP/Ext directory and renamed it php_java.dll
Copied my third party .jar files to the JavaBridge.war.
Compiled and added extra jars to the JavaBridge.war
Put require ("java/java.php"); at the start of my script.
Many thanks
Martin
|
|
From: <php...@li...> - 2008-04-06 17:29:28
|
Hi, >http://php-java-bridge.sourceforge.net/pjb/generic_readme.php?banner=banner10&title=Pure%20PHP%20Implementation&filepath=java/README)--orcan the information on the web site is outdated. Please ignore it. The relevant information is contained in the binary download archive. Regards, Jost Boekemeier Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go |
|
From: <php...@li...> - 2008-04-06 13:40:19
|
Hi, I am using windows XP and php 5.2.5.x and would like to use the bridge in a project I am working on. Is my only option now to use the php version--I was a bit concerned by the 10 times slower than the native C version comment on the website ( http://php-java-bridge.sourceforge.net/pjb/generic_readme.php?banner=banner10&title=Pure%20PHP%20Implementation&filepath=java/README)--orcan I still get hold of .dll files? As far as I can tell the java-x86-windows.dll (which is what the tutorials I have found are using) was last included in the 3.1.8 distribution which doesn't seem to be on sourceforge. Thanks in advance for any time. graham |
|
From: <php...@li...> - 2008-04-02 12:50:35
|
Hi,
[java_require]
> PHP request, are they loaded only once by the JavaBridge or are they
> loaded every time?
They are checked each time the php script is invoked. Usually they're loaded only once.
> Follow-up question: if they are loaded only once, is it possible to
> 'unload' them
This is neither necessary nor possible.
However, Java class loading is outside of the PHP/Java Bridge scope, please use the class loading
mechanism provided by your J2EE server or servlet engine.
Regards,
Jost Boekemeier
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
|
|
From: <php...@li...> - 2008-04-02 09:44:14
|
Hi: If I call java_require() and include about 6 or 7 .jar files with each PHP request, are they loaded only once by the JavaBridge or are they loaded every time? Follow-up question: if they are loaded only once, is it possible to 'unload' them from the JavaBridge memory? I imagine with java_reset(), right? Cheers, Antonio |
|
From: <php...@li...> - 2008-03-28 11:39:19
|
Hi Andres,
isn't it possible to use one php.ini file for the cli SAPI and another one for apache?
I think this is the default on Debian/Ubuntu. Even standard PHP binaries search for a SAPI
specific ini file, and revert to the standard php.ini, if the specific file is not found (see
truss php or strace php).
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-27 14:50:02
|
Hi: I'm running PHP/Java Bridge with PHP 5.2.1 on a SunOS 5.10 - sun4u sparc JavaBridge log: Mar 27 09:33:43 JavaBridge INFO : JavaBridge version : 4.0.1 Mar 27 09:33:43 JavaBridge INFO : JavaBridge logFile : Mar 27 09:33:43 JavaBridge INFO : JavaBridge default logLevel : 4 Mar 27 09:33:43 JavaBridge INFO : JavaBridge socket : INET_LOCAL:9269 Mar 27 09:33:43 JavaBridge INFO : JavaBridge java.ext.dirs : /usr/jdk/instances/jdk1.5.0/jre/lib/ext Mar 27 09:33:43 JavaBridge INFO : JavaBridge php.java.bridge.base: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/ Mar 27 09:33:43 JavaBridge INFO : JavaBridge thread pool size: 20 I need the bridge only when PHP is running with Apache. I have some classes that are used by a Web Service which interacts with a Java API. However, I have some PHP scripts which I run with cronjobs that do not operate using Apache and do not need the bridge. I call them via CLI using "php myfile.php". I would like to prevent the bridge from running on those cases because I do not want to create another Java process each time I run those scripts (each Java process uses at least 150Mb of RAM memory!!). Is this possible? Can I configure PHP (or Apache) in a way that the extension is only loaded by Apache, but not by default when I run php via CLI? Thanks in advance, Regards, Andrés Gattinoni |
|
From: <php...@li...> - 2008-03-22 12:07:17
|
Hi Ely,
> I downloaded de lastest version of sourceforge php-java-bridge_5.2.0_j2ee.zip but I missed the
> extension module for php5 windows (a dll file). The one inside cgi directory of javabridge.war
> is about php4.
The dll (or java.so) is obsolete. We'll keep it, but you have to compile the C code yourself.
I have updated the FAQ:
-------------
Do I have to require Java.inc in each of my scripts? Isn't that very slow?
In order to communicate with Java, a PHP "Java" class definition is needed. Here's a simple PHP
"Java" class definition which fits into one line:
<?php
// The following is the "Java" class definition, stripped down to fit into one line
// To use this sample start Java with: java -jar JavaBridge.jar INET:9267
// Or enable java.so or php_java.dll, which automatically start the above
// process Then type: php sample.php
//
class P {const Pc="<C v=\"%s\" p=\"I\">", PC="</C>"; const Pi="<I v=\"%d\" m=\"%s\" p=\"I\">",
PI="</I>"; const Ps="<S v=\"%s\"/>", Pl="<L v=\"%d\" p=\"%s\"/>", Po="<O v=\"%d\"/>"; private $c;
function str($s){fwrite($this->c, sprintf(self::Ps, $s));} function obj($s){fwrite($this->c,
sprintf(self::Po, $s->java));} function __construct(){$this->c=fsockopen("127.0.0.1",9267);}
function cBeg($s){fwrite($this->c, sprintf(self::Pc, $s));} function cEnd(){fwrite($this->c,
self::PC);} function iBeg($o, $m){fwrite($this->c, sprintf(self::Pi, $o, $m));} function
iEnd(){fwrite($this->c, self::PI);} function val($s){if(is_object($s))$this->obj($s);else
$this->str((string)$s);} function res(){$r=sscanf(fread($this->c, 8192),"%s v=\"%[^\"]\"");return
$r[1];}} class Java {var $java, $p; function __construct() {if(!func_num_args()) return;
$this->p=new P(); $ar=func_get_args(); $this->p->cBeg(array_shift($ar)); foreach($ar as $arg)
$this->p->val($arg); $this->p->cEnd(); $ar = sscanf($this->p->res(), "%d"); $this->java=$ar[0];}
function __call($meth, $args) {$this->p->iBeg($this->java, $meth); foreach($args as $arg)
$this->p->val($arg); $this->p->iEnd(); $proxy = new Java(); $ar = sscanf($this->p->res(), "%d");
$proxy->java=$ar[0]; $proxy->p=$this->p; return $proxy;} function toString() {$this->p->iBeg("",
"castToString"); $this->p->val($this); $this->p->iEnd(); return base64_decode($this->p->res());}}
// Test
$i1 = new Java("java.math.BigInteger", "1");
$i2 = new Java("java.math.BigInteger", "2");
$i3 = $i1->add($i2);
echo $i3->toString() . "\n";
?>
The above simple "Java" class assumes that some Java VM has been started on host "127.0.0.1", port
"9267". And it cannot handle values larger than 8192 bytes. Therefore the PHP/Java Bridge library
Java.inc should be used. Scripts should contain the statement
require_once("...java/Java.inc");
at the beginning of each script. PHP compiles and caches PHP scripts, the Java.inc library is
loaded only once.
--------------
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-22 11:57:26
|
Hi Antonio,
> I think the problem is $result. Shouldn't line
> 1943: $result->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
> rather be:
> 1943: $this->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
yes, I've committed the change to the CVS (for release 5.2.1).
Thank you very much for reporting this!
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-22 11:38:37
|
Hi,
> protected final Log logger = LogFactory.getLog(getClass());
> ....
> logger.info("ClientManager::construct");
your logger definition may be incomplete. Please see our FAQ and the log4j classes from the
JavaBridge for details.
However, logging is outside of the scope of the PHP/Java Bridge. :)
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-21 16:07:51
|
Hello,
I'm testing pjb, using Tomcat as backend and PHP 5.2.5 FastCGI. My doubt is
about log files. I can't find them anywhere.
I have put log4j and common-logging in the library path, by I can't see
neither pjb log files nor my own classes log files.
My classes (reused from another project) handler logs as:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
....
protected final Log logger = LogFactory.getLog(getClass());
....
logger.info("ClientManager::construct");
...
In web.xml:
<init-param>
<param-name>servlet_log_level</param-name>
<param-value>3</param-value>
</init-param>
Running my project from inside Eclipse, I saw my log messages in console
window, but now, nothing appears...
I thank for some help.
Ely Matos
|
|
From: <php...@li...> - 2008-03-21 14:02:18
|
Hello!
you can find a dll file here in the pecl-5.2.5 win32 zip file, I think.
Peter
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
|
|
From: <php...@li...> - 2008-03-20 21:34:13
|
Hello, I've tested previous version of pjb. After a time working in another project, I came back to tests of pjb. I downloaded de lastest version of sourceforge php-java-bridge_5.2.0_j2ee.zip but I missed the extension module for php5 windows (a dll file). The one inside cgi directory of javabridge.war is about php4. Do this dll exists yet, or the only implementation is a pure java code in java directory? Thanks for help, and I'm sorry by such a newbie question... Ely Matos |
|
From: <php...@li...> - 2008-03-20 17:59:02
|
Hi:
I have my PHP box setup with STRICT error reporting, and it came up
with some errors and warnings. To fix it, I had to change these 4
lines:
Line 380:
$this->protocol->keepAlive();
to
if (isset($this->protocol)) $this->protocol->keepAlive();
(The warning is only noticeable when the fsockopen from line 916 was
not successful)
Line 916:
$socket = @fsockopen("{$this->ssl}{$this->host}", $this->port,
$errno, $errstr, 15);
to:
$socket = fsockopen("{$this->ssl}{$this->host}", $this->port, $errno,
$errstr, 30);
(Without the @, fsockopen displays a warning. And I lowered the
timeout to 15 seconds as 30 is way too much to wait for a socket
connection in my opinion).
Line 1824:
public $__cancelProxyCreationTag;
to
public $__cancelProxyCreationTag = 0;
(Required initialization)
Line 1943:
$result->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
to:
$this->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag;
(Not sure if this is right but $result->__cancelProxyCreationTag seems
out of place there so I guessed it should have been
$this->__cancelProxyCreationTag).
Have a nice Easter holiday.
Antonio
|
|
From: <php...@li...> - 2008-03-17 12:27:00
|
Hi Zoran,
> Do you mean that each Java class that is instantiated in PHP should implements Serializable
*if* your web application has the "distributable" attribute (see your WEB-INF/web.xml), the
session store accepts only those objects which implement the java.io.Serializable interface.
Please either remove the "distributable" attribute or modify those classes which instances are
intended to carry values between your J2EE servers.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|