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-03-17 10:27:45
|
Hi Jost, I am not sure if my previous e-mail arrived. Its about the error on line 1943, which does not seem to be missing initialization but rather a wrong object name: ---------- Forwarded message ---------- From: Antonio Ruiz Zwollo <zw...@gm...> Date: Thu, Mar 13, 2008 at 2:40 PM Subject: Re: [Php-java-bridge-users] Strict Standards: warning on line 1943 To: php...@li... Hi Jost, I set public $__cancelProxyCreationTag = 0; on line 1824; but it did not fix the error. I still see: -------------- Strict Standards: Creating default object from empty value in lib\Java.inc on line 1943 -------------- I think the problem is $result. Shouldn't line 1943: $result->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag; be: 1943: $this->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag; ? Regards, Antonio On Wed, Mar 12, 2008 at 11:37 AM, <php...@li...> wrote: > Hi, > > thank you very much for your suggestions. In the next release we'll initialize > > $__cancelProxyCreationTag > > to 0. > > Regards, > Jost Boekemeier > > > > > Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. > www.yahoo.de/go > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-03-17 10:03:16
|
Hi Jost,
>the PHP/Java Bridge web application is marked distributable. Therefore all value objects >must
>implement the java.io.Serializable interface.
Do you mean that each Java class that is instantiated in PHP should implements Serializable
class MyClass implements java.io.Serializable{...}
or it is necessary only for those classes that are used across two scripts (i.e. that are used in session)?
Regards
Zoran
php...@li... wrote:
Hi Zoran,
> [[o:HttpSessionFacade]]->put((o:Object)[o:String], (o:Object)[o:EventFactory]). Cause:
> java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
the PHP/Java Bridge web application is marked distributable. Therefore all value objects must
implement the java.io.Serializable interface.
Please consult your Java documentation for details.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
|
|
From: <php...@li...> - 2008-03-17 09:27:26
|
Hi Zoran,
> [[o:HttpSessionFacade]]->put((o:Object)[o:String], (o:Object)[o:EventFactory]). Cause:
> java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
the PHP/Java Bridge web application is marked distributable. Therefore all value objects must
implement the java.io.Serializable interface.
Please consult your Java documentation for details.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-16 21:23:57
|
Hi,
I have the problem to create put an instance of java object in session variable. The code is as follow, and the exception message is bellow it.
I hope that you can indicate what causes the problem here.
Thanks
Zoran
try{
$session->put("eventF", new Java("depths.moodle.EventFactory", $sesame));
if(is_null(java_values($session->get("eventF")))){
throw new Exception("Could not create EventFactory!");
}
}catch(Exception $e){
print_message("session EventF exception: ".$e->getTrace());
print_message("session EventF exception: ".$e->__toString());
}
session EventF exception: Array
session EventF exception: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:HttpSessionFacade]]->put((o:Object)[o:String], (o:Object)[o:EventFactory]). Cause: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute VM: 1.6.0_04@http://java.sun.com/" at:
#-13 org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1293)
#-12 org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1254)
#-11 org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130)
#0 http://localhost:8080/JavaBridge/java/Java.inc(259): java_ThrowExceptionProxyFactory->getProxy(12, 'depths.moodle.E...', true)
#1 http://localhost:8080/JavaBridge/java/Java.inc(411): java_Arg->getResult(true)
#2 http://localhost:8080/JavaBridge/java/Java.inc(417): java_Client->getWrappedResult(true)
#3 http://localhost:8080/JavaBridge/java/Java.inc(621): java_Client->getResult()
#4 http://localhost:8080/JavaBridge/java/Java.inc(1744): java_Client->invokeMethod(4, 'put', Array)
#5 http://localhost:8080/JavaBridge/java/Java.inc(1857): java_JavaProxy->__call('put', Array)
#6 http://localhost:8080/JavaBridge/java/Java.inc(2032): java_AbstractJava->__call('put', Array)
#7 [internal function]: Java->__call('put', Array)
#8 C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\moodleDEPTHS\depths\mapper\depths_insert.php(119): java_InternalJava->put('eventF', Object(Java))
#9 C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\moodleDEPTHS\depths\mapper\depths_insert.php(41): create_event_session_variable()
#10 C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\moodleDEPTHS\lib\dmllib.php(1513): depths_insert_record('user', Object(stdClass), '73', 'INSERT INTO mdl...')
#11 C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\moodleDEPTHS\user\editadvanced.php(85): insert_record('user', Object(stdClass))
#12 {main}]
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|
|
From: <php...@li...> - 2008-03-15 12:54:10
|
Hi,
I was able to reproduce this problem with Apache .2.8 (.2.6 doesn't have this problem).
Since Apache 2.2.8 the PHP MINIT() is called exactly once and the MSHUTDOWN() function is called
more than once, violating the PHP module contract.
In other words: PHP does not work anymore with Apache 2.2.8. Please use some other HTTP server or
some other SAPI, for example FastCGI.
I have the gut feeling that this is a long-time PHP bug; they've probably implemented the wrong
callback. PHP's MSHUTDOWN() shouldn't be called for each child, it should be called when the whole
HTTP server terminates.
A quick workaround is to store the PID in the MINIT() function (see java.c) and ignore any
MSHUTDOWN() where getpid() != pid. Something like this:
In java.c:
int pid;
MINIT()
{
pid = getpid();
...
}
MSHUTDOWN()
{
if (getpid() != pid) return SUCCESS; // work around for a Apache 2.2.8 or PHP bug.
...
}
Note that all PHP modules have the same problem, so I suggest to file a bug report to either the
PHP or the Apache team.
Regards,
Jost Boekemeier
E-Mails jetzt auf Ihrem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-15 11:21:40
|
On Fri, 2008-03-14 at 18:11 +0100,
php...@li... wrote:
> Hi,
>
> the patch is invalid, and I doubt that this is a PHP or PHP/Java Bridge issue.
>
> Apache, when configured to use the prefork MPM, starts one Java process from the PHP MINIT() hook
> and terminates it in the PHP MSHUTDOWN() hook.
>
> The MINIT() hook must be called *before* any worker child is spawned. And the MSHUTDOWN() hook
> must be called *after* all childs have been terminated.
>
> Any stress test, which might kill childs at various levels, must not touch the Java child spawned
> from the MINIT() hook.
>
> This means that either:
>
> a) you have found a bug in Apache
>
> b) this is a misconfiguration: for example java.so loaded from the PHP dl() function
>
> c) this is a misconfiguration: for example mod_php.so running in a non PREFORK MPM.
>
>
> Regards,
> Jost Boekemeier
hi,
ok, you are right whith the patch. this is probalbe bougous..
but look this code (bind.c)
static void wait_for_daemon(void) {
....removed...
for(i=0; i<2; i++) {
struct timeval timeval = {2l, 0};
if(select(1+EXT_GLOBAL(cfg)->err, &rfds, 0, 0, &timeval) > 0)
break;
kill(EXT_GLOBAL(cfg)->cid, sig[i]);
}
if((read(EXT_GLOBAL(cfg)->err, &err, sizeof err))!=sizeof err) err=0;
//printf("VM terminated with code: %ld\n", err);
close(EXT_GLOBAL(cfg)->err);
EXT_GLOBAL(cfg)->err=0;
#else
s_kill(0); /* always -9 on windows */
#endif
}
what if select returns an error? you exit from loop and go ahead to
read, and this blocks if there are nothing to read. or?
anyway, i will make some test with debugging enabled...
some info:
java.so is loaded from php.ini with extension=java.so
i have only prefork mpm compiled, the apache configuration is a default
config with the following changes:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
Include conf/extra/httpd-info.conf is switched on with ExtendedStatus On
Attaching to program: `/usr/local/bin/httpd', process 58895.
Reading symbols for shared libraries +++++++++.................... done
0x00007fff82976384 in read ()
(gdb) whe
#0 0x00007fff82976384 in read ()
#1 0x00000001006e90d6 in java_shutdown_library ()
#2 0x00000001006de925 in zm_shutdown_java ()
#3 0x000000010128abfb in module_destructor ()
#4 0x0000000101292621 in zend_hash_apply_deleter ()
#5 0x0000000101292778 in zend_hash_graceful_reverse_destroy ()
#6 0x0000000101287397 in zend_shutdown ()
#7 0x0000000101241fdf in php_module_shutdown ()
#8 0x0000000101242089 in php_module_shutdown_wrapper ()
#9 0x000000010131e7f1 in php_apache_child_shutdown ()
#10 0x000000010022d299 in apr_pool_destroy ()
#11 0x0000000100057eb6 in clean_child_exit ()
#12 0x00000001000584d2 in child_main ()
#13 0x000000010005869a in make_child ()
#14 0x000000010005874b in startup_children ()
#15 0x0000000100059900 in ap_mpm_run ()
#16 0x0000000100007b68 in main ()
Server version: Apache/2.2.8 (Unix)
Server built: Mar 11 2008 16:13:40
Server's Module Magic Number: 20051115:11
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
unique_id_module (static)
setenvif_module (static)
ssl_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
info_module (shared)
php5_module (shared)
php 5.2.5 configuration:
'./configure' '--prefix=/usr/local'
'--with-apxs2=/usr/local/bin/apxs'
'--with-pgsql=/usr/local'
'--enable-ftp'
'--with-zlib'
'--enable-mbstring'
'--enable-sockets'
'--with-iconv'
Best regards,
Attila Soki
|
|
From: <php...@li...> - 2008-03-14 17:11:56
|
Hi,
the patch is invalid, and I doubt that this is a PHP or PHP/Java Bridge issue.
Apache, when configured to use the prefork MPM, starts one Java process from the PHP MINIT() hook
and terminates it in the PHP MSHUTDOWN() hook.
The MINIT() hook must be called *before* any worker child is spawned. And the MSHUTDOWN() hook
must be called *after* all childs have been terminated.
Any stress test, which might kill childs at various levels, must not touch the Java child spawned
from the MINIT() hook.
This means that either:
a) you have found a bug in Apache
b) this is a misconfiguration: for example java.so loaded from the PHP dl() function
c) this is a misconfiguration: for example mod_php.so running in a non PREFORK MPM.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-03-14 11:13:59
|
Hi,
> But serving PHP through tomcat could be much slower.
I don't think so. I've seen web server tests which suggest that running PHP through FastCGI is
almost as efficient as through mod_php.
> I also don't understand why mod_php and mod_jk both can not work? PHP requests go through
> mod_php and JSP/servlet request goes through mod_jk to Tomcat. Where is the conflict?
Depends on how you configure it. If you configure mod_jk to serve .jsp files only, your Java
classes may not be able to find their resources. If you configure it so serve anything except
.php, your PHP files may not be able to find their include (.inc) files anymore.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-14 10:13:00
|
I guess you are refering "I want to use Apache/IIS as a front-end and tomcat as a back end. How do I enable PHP and JSP for all my applications?" section from FAQ. But serving PHP through tomcat could be much slower. Can someone tell me impact of performance for serving PHP through Apache or Tomcat? I also don't understand why mod_php and mod_jk both can not work? PHP requests go through mod_php and JSP/servlet request goes through mod_jk to Tomcat. Where is the conflict? I hope to hear soon from someone. Thanks Nimesh php...@li... wrote: Hi, what I meant was, that you cannot have both, PHP running within Apache and a forward rule which forward all requests to the Tomcat back end. The easiest setup is to remove or to ignore mod_jk and mod_php and to forward all requests to the back end using a mod_proxy rule, please see the "Load Balancing" and "Cluster" entries from our FAQ. The other option: Apache/PHP front-end, Tomcat or J2EE back end is described in the INSTALL.J2EE document. Again, you can ignore or remove mod_jk and use a mod_proxy rule instead. Regards, Jost Boekemeier Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users --------------------------------- Why delete messages? Unlimited storage is just a click away. |
|
From: <php...@li...> - 2008-03-13 22:48:25
|
Hi,
>PHP automatically terminates after 30 seconds. Please
consult your PHP
>documentation for details.
Thank you. You save me much work.
Regards,
Zoran
= = = Original message = = =
Hi,
> repository. As it is slow performance process it
takes a while to
execute this method (at least
> 1 minute). I have checked many times, this method is
executed to the
last line of code in Java
PHP automatically terminates after 30 seconds. Please
consult your PHP
documentation for details.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los
geht's:
http://de.yahoo.com/set
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
___________________________________________________________
Sent by ePrompter, the premier email notification
software.
Free download at http://www.ePrompter.com.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
|
|
From: <php...@li...> - 2008-03-13 19:10:42
|
hmm.. where is the attachment...
so the patch again:
diff -Nuar php-java-bridge-5.1.2-original/bind.c
php-java-bridge-5.1.2/bind.c
--- php-java-bridge-5.1.2-original/bind.c 2008-02-10
12:22:02.000000000 +0100
+++ php-java-bridge-5.1.2/bind.c 2008-03-13 17:43:05.000000000
+0100
@@ -1225,7 +1225,7 @@
kill(EXT_GLOBAL(cfg)->cid, sig[i]);
}
- if((read(EXT_GLOBAL(cfg)->err, &err, sizeof err))!=sizeof err) err=0;
+ //if((read(EXT_GLOBAL(cfg)->err, &err, sizeof err))!=sizeof err)
err=0;
//printf("VM terminated with code: %ld\n", err);
close(EXT_GLOBAL(cfg)->err);
EXT_GLOBAL(cfg)->err=0;
On Thu, 2008-03-13 at 20:06 +0100, php...@li... wrote:
> hi,
>
> since a few days i reported a bug to apache httpd.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=43966
>
> after a backtrace seems this issue to be php-java-bridge related.
>
> how to repeat:
> install apache >=2.2.6 (i tested with 2.2.8)
> install php 5.2.5 as module
> install php-java-bridge >=4.0.1
> enable php, javabridge
> enable the apache server-status module
> start apache
>
> make a webserver stress wit ab
> ab -c 100 -n 20000 http://yourserver/some.jpg
> (some.jpg is any non php file)
>
> open the server-status in your browser and reload it often.
> after 4-5 seconds you will see many connections in
> "C" Closing connetion status... (see apache bugreport)
>
> The solution:
> Please look at the attached patch.
> i dont know what this line do, but if i remove it, everything works
> fine. no more sticking "C" processes..
>
> please analyze this patch.
>
>
> thanks,
>
> Attila Soki
|
|
From: <php...@li...> - 2008-03-13 19:05:25
|
hi, since a few days i reported a bug to apache httpd. https://issues.apache.org/bugzilla/show_bug.cgi?id=43966 after a backtrace seems this issue to be php-java-bridge related. how to repeat: install apache >=2.2.6 (i tested with 2.2.8) install php 5.2.5 as module install php-java-bridge >=4.0.1 enable php, javabridge enable the apache server-status module start apache make a webserver stress wit ab ab -c 100 -n 20000 http://yourserver/some.jpg (some.jpg is any non php file) open the server-status in your browser and reload it often. after 4-5 seconds you will see many connections in "C" Closing connetion status... (see apache bugreport) The solution: Please look at the attached patch. i dont know what this line do, but if i remove it, everything works fine. no more sticking "C" processes.. please analyze this patch. thanks, Attila Soki |
|
From: <php...@li...> - 2008-03-13 17:42:10
|
Hi,
> repository. As it is slow performance process it takes a while to execute this method (at least
> 1 minute). I have checked many times, this method is executed to the last line of code in Java
PHP automatically terminates after 30 seconds. Please consult your PHP documentation for details.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-03-13 17:38:42
|
Hi,
I have the problem when executing the following two lines of code:
$d2rq->mapAllMoodleData();
redirect("start_here_page.php");
mapAllMoodleData() is Java method that performs mapping of Moodle database to Sesame repository. As it is slow performance process it takes a while to execute this method (at least 1 minute). I have checked many times, this method is executed to the last line of code in Java application and there is no exceptions. However, the second line of code is never executed.
Could you suggest me where should I look for the problem?
Regards
Zoran
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
|
|
From: <php...@li...> - 2008-03-13 17:36:46
|
Hi,
what I meant was, that you cannot have both, PHP running within Apache and a forward rule which
forward all requests to the Tomcat back end.
The easiest setup is to remove or to ignore mod_jk and mod_php and to forward all requests to the
back end using a mod_proxy rule, please see the "Load Balancing" and "Cluster" entries from our
FAQ.
The other option: Apache/PHP front-end, Tomcat or J2EE back end is described in the INSTALL.J2EE
document. Again, you can ignore or remove mod_jk and use a mod_proxy rule instead.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-13 17:27:23
|
Hi,
> So it seems it is failing because of memory issues, right? Is there a
> way to configure the amount of memory for the JavaBridge?
No. :)
The JavaBridge is a normal J2EE application, which cannot control the amount of memory available
to Java. But the J2EE server or servlet engine can.
For tomcat the option is (example for Linux):
export JAVA_OPTS="-Xmx512M"
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-13 16:03:13
|
Hi, I have been doing some stress-testing, sending simultaneously some large files (2MB) to our Back-End through the JavaBridge, but they are failing. Some of the errors I get back are: protocol error: , Invalid document end at col 4. Check the back end log for details. or protocol error: , Invalid document end at col 10. Check the back end log for details. In other cases it shows various errors like: --------- Notice: fwrite() [function.fwrite]: send of 8192 bytes failed with errno=10053 An established connection was aborted by the software in your host machine. in Java.inc on line 815 protocol error: , Invalid document end at col 4. Check the back end log for details. Notice: fwrite() [function.fwrite]: send of 11 bytes failed with errno=10053 An established connection was aborted by the software in your host machine. in Java.inc on line 815 --------- Looking at the JavaBridge log file, it shows: -------- Mar 13 15:54:37 VMBridge FATAL: An error occured: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding$StringEncoder.encode(Unknown Source) at java.lang.StringCoding.encode(Unknown Source) at java.lang.String.getBytes(Unknown Source) at php.java.bridge.FileLogger.log(FileLogger.java:70) at php.java.bridge.FileLogger.log(FileLogger.java:109) at php.java.bridge.Util.println(Util.java:358) at php.java.bridge.JavaBridge.logDebug(JavaBridge.java:360) at php.java.bridge.Parser.CALL_BEGIN(Parser.java:132) at php.java.bridge.Parser.parse(Parser.java:195) at php.java.bridge.Request.handleRequest(Request.java:377) 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) -------- So it seems it is failing because of memory issues, right? Is there a way to configure the amount of memory for the JavaBridge? Thanks! Antonio |
|
From: <php...@li...> - 2008-03-13 15:29:01
|
How do I find out if I have mode_php or not? In my apache's httpd.conf file I found only the following reference about PHP:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
My hosting provider's control mentioned following applications installed:
jre Java(TM) 2 Runtime Environment for CentOs 4 (for AMD64/Intel EM64T) EZ Template jsdk Java 2 SDK for CentOs 4 (for AMD64/Intel EM64T) EZ Template mod_perl Mod_perl for CentOs 4 (for AMD64/Intel EM64T) EZ Template mod_ssl Mod_ssl for CentOs 4 (for AMD64/Intel EM64T) template php PHP for CentOs 4 (for AMD64/Intel EM64T) EZ Template plesk8 plesk8 for centos-4-x86_64 Virtuozzo template plesk8-api plesk8-api for centos-4-x86_64 Virtuozzo template plesk8-backup plesk8-backup for centos-4-x86_64 Virtuozzo template plesk8-battlefield plesk8-battlefield for centos-4-x86_64 Virtuozzo template plesk8-bf2 plesk8-bf2 for centos-4-x86_64 Virtuozzo template plesk8-cs-gs plesk8-cs-gs for centos-4-x86_64 Virtuozzo template plesk8-de-DE-locale plesk8-de-DE-locale for centos-4-x86_64 Virtuozzo template plesk8-fcgid plesk8-fcgid for centos-4-x86_64 Virtuozzo template plesk8-ja-JP-locale plesk8-ja-JP-locale for centos-4-x86_64
Virtuozzo template plesk8-mailman plesk8-mailman for centos-4-x86_64 Virtuozzo template plesk8-miva plesk8-miva for centos-4-x86_64 Virtuozzo template plesk8-modules plesk8-modules for centos-4-x86_64 Virtuozzo template plesk8-ppwse plesk8-ppwse for centos-4-x86_64 Virtuozzo template plesk8-psa-fileserver plesk8-psa-fileserver for centos-4-x86_64 Virtuozzo template plesk8-psa-firewall plesk8-psa-firewall for centos-4-x86_64 Virtuozzo template plesk8-psa-vpn plesk8-psa-vpn for centos-4-x86_64 Virtuozzo template plesk8-spamassassin plesk8-spamassassin for centos-4-x86_64 Virtuozzo template plesk8-vault plesk8-vault for centos-4-x86_64 Virtuozzo template yum YUM for CentOS template
Do I have mod_php?
Nimesh
php...@li... wrote:
Hi,
> I have apache HTTPD sever that serve static HTML and PHP.
> I have Tomcat that serve Servlet Request (Java Application).
=> INSTALL.J2EE
> Apache talks to Tomcat through JK Connector.
Either remove mod_php or remove mod_jk. You cannot have both.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Forgot the famous last words? Access your message archive online. Click here.
|
|
From: <php...@li...> - 2008-03-13 14:41:55
|
Hi Jost, I set public $__cancelProxyCreationTag = 0; on line 1824; but it did not fix the error. I still see: -------------- Strict Standards: Creating default object from empty value in lib\Java.inc on line 1943 -------------- I think the problem is $result. Shouldn't line 1943: $result->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag; rather be: 1943: $this->__cancelProxyCreationTag = ++$client->cancelProxyCreationTag; ? Regards, Antonio On Wed, Mar 12, 2008 at 11:37 AM, <php...@li...> wrote: > Hi, > > thank you very much for your suggestions. In the next release we'll initialize > > $__cancelProxyCreationTag > > to 0. > > Regards, > Jost Boekemeier > > > > > Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. > www.yahoo.de/go > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-03-13 09:21:21
|
Hi,
> $d2rqF=$session->get("d2rq");
> if(!$d2rqF)
the !$varName works only for PHP values. Please see your PHP documentation for details.
According to the PHP documentation you should use is_null().
Note that is_null() cannot test whether or not the containing object is the Java NULL object or
not. You must convert the Java object into a PHP value first, for example with java_values() or
with a (string) cast.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-12 20:39:14
|
Hi,
How can I check if instance of java object as java session variable exists.
I have tried something like this:
$session=java_session();
$d2rqF=$session->get("d2rq");
if(!$d2rqF)
{
$message=" d2rqFact does not exists";
print_test_string($message, $table, $id);
}else{
$message="d2rqFact already exists";
print_test_string($message, $table, $id);
}
But, I'm always get message "d2rqFact already exists" even if this variable is never created.
d2rq is an instance of Java object and I want to check if it is already created. If yes I will use it otherwise I will create it.
Thanks,
Zoran
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|
|
From: <php...@li...> - 2008-03-12 17:48:45
|
Hi,
> I have apache HTTPD sever that serve static HTML and PHP.
> I have Tomcat that serve Servlet Request (Java Application).
=> INSTALL.J2EE
> Apache talks to Tomcat through JK Connector.
Either remove mod_php or remove mod_jk. You cannot have both.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-03-12 16:17:59
|
I have apache HTTPD sever that serve static HTML and PHP.
I have Tomcat that serve Servlet Request (Java Application).
Apache talks to Tomcat through JK Connector.
I want to share Java session in PHP code.
I have RH Linux OS.
How should I set up my JavaBridge. What document do I need to refere from INSTALL.J2EE, INSTALL.J2SE, INSTALL.LINUX, JAVA.STANDALONE, and MONO.STANDALONE.
Please help me.
Thanks
Nimesh
---------------------------------
Forgot the famous last words? Access your message archive online. Click here.
|
|
From: <php...@li...> - 2008-03-12 11:42:46
|
Hi, according to php.net, support for PHP4 has been discontinued. Altough PHP/Java Bridge version 4.x is still available for download, we cannot support this anymore. What about using some other software instead, for example XML-RPC? Regards, Jost Boekemeier Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go |
|
From: <php...@li...> - 2008-03-12 11:37:28
|
Hi,
thank you very much for your suggestions. In the next release we'll initialize
$__cancelProxyCreationTag
to 0.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|