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
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(1) |
2
(3) |
3
|
4
|
5
(2) |
6
(7) |
7
|
|
8
|
9
(1) |
10
|
11
|
12
|
13
(1) |
14
(2) |
|
15
(1) |
16
|
17
|
18
(12) |
19
(4) |
20
|
21
|
|
22
|
23
(2) |
24
|
25
(4) |
26
(3) |
27
(3) |
28
|
|
29
(1) |
30
(5) |
|
|
|
|
|
|
From: <php...@li...> - 2009-11-18 17:38:47
|
Hi, > It seems the __autoload function in php 5.X does not > seem to be invokedwhenever a class has not been > loaded. In turn, it c yes, this is the correct behaviour. Please see the PHP documentation for details. Or please see this PHP bug report #49618 To sumarize: PHP Libraries should never ever use __autoload. Regards, Jost Boekemeier On 18 Nov 2009 18:24, <php...@li...> wrote: Hello, I came across a class loading issue which I have been able to reproduce with a small example (see attachment). It seems the __autoload function in php 5.X does not seem to be invokedwhenever a class has not been loaded. In turn, it causes a lot of"Class 'XX' not Found" exceptions in our test application. The example has been run against: tomcat 6.0.X (classes failed to load) glassfish 2.1.X (classes failed to load) apache 2.2.X (classes loaded as expected) The following is the test environment setup: Apache: v2.2.12 PHP: v5.2.10 Tomcat: 6.0.20 Glassfish: v2.1 (9.1.1) (build b60e-fcs) Using your release: JavaBridgeTemplate554.war The example follows a minimal directory staging as of our application, and it was tested as follows: mkdir stage cp <attachement_home>loader_test.tar stage/ cp <java_bridge_home>JavaBridgeTemplate554.war stage/ cd stage/ mkdir extract/ cd extract/ jar xvf ../JavaBridgeTemplate554.war tar xvf ../loader_test.tar jar cvf loader.war * Deploy the loader.war onto Tomcat/Glassfish and access the server URL (ex. http://<server>:<port>/loader) if the classes loaded successfully there should be a couple of hello message from 2 different classes (Base & Level1). If the classes did not load successfully, then a message indicating the fact for each class is displayed. I searched your site to find anyone having similar problems, but wasnot able to find any. I also checked your FAQ's and there was nomention of __autoload. Hope this info helps. Thanks for your time, G ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-11-18 17:31:21
|
Sorry. It does not look like I can add attachments to the post. If you are unable to reproduce the problem, let me know and I can post the example which reproduces the problem. thanks for your time, G -----Original Message----- From: php...@li... To: php...@li... Sent: Wed, Nov 18, 2009 9:23 am Subject: [Php-java-bridge-users] classloading using __autoload with php v5.2.X not working with JavaBridge v5.5.4 Hello, I came across a class loading issue which I have been able to reproduce with a small example (see attachment). It seems the __autoload function in php 5.X does not seem to be invokedwhenever a class has not been loaded. In turn, it causes a lot of"Class 'XX' not Found" exceptions in our test application. The example has been run against: tomcat 6.0.X (classes failed to load) glassfish 2.1.X (classes failed to load) apache 2.2.X (classes loaded as expected) The following is the test environment setup: Apache: v2.2.12 PHP: v5.2.10 Tomcat: 6.0.20 Glassfish: v2.1 (9.1.1) (build b60e-fcs) Using your release: JavaBridgeTemplate554.war The example follows a minimal directory staging as of our application, and it was tested as follows: mkdir stage cp <attachement_home>loader_test.tar stage/ cp <java_bridge_home>JavaBridgeTemplate554.war stage/ cd stage/ mkdir extract/ cd extract/ jar xvf ../JavaBridgeTemplate554.war tar xvf ../loader_test.tar jar cvf loader.war * Deploy the loader.war onto Tomcat/Glassfish and access the server URL (ex. http://<server>:<port>/loader) if the classes loaded successfully there should be a couple of hello message from 2 different classes (Base & Level1). If the classes did not load successfully, then a message indicating the fact for each class is displayed. I searched your site to find anyone having similar problems, but wasnot able to find any. I also checked your FAQ's and there was nomention of __autoload. Hope this info helps. Thanks for your time, G ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-11-18 17:23:56
|
Hello, I came across a class loading issue which I have been able to reproduce with a small example (see attachment). It seems the __autoload function in php 5.X does not seem to be invokedwhenever a class has not been loaded. In turn, it causes a lot of"Class 'XX' not Found" exceptions in our test application. The example has been run against: tomcat 6.0.X (classes failed to load) glassfish 2.1.X (classes failed to load) apache 2.2.X (classes loaded as expected) The following is the test environment setup: Apache: v2.2.12 PHP: v5.2.10 Tomcat: 6.0.20 Glassfish: v2.1 (9.1.1) (build b60e-fcs) Using your release: JavaBridgeTemplate554.war The example follows a minimal directory staging as of our application, and it was tested as follows: mkdir stage cp <attachement_home>loader_test.tar stage/ cp <java_bridge_home>JavaBridgeTemplate554.war stage/ cd stage/ mkdir extract/ cd extract/ jar xvf ../JavaBridgeTemplate554.war tar xvf ../loader_test.tar jar cvf loader.war * Deploy the loader.war onto Tomcat/Glassfish and access the server URL (ex. http://<server>:<port>/loader) if the classes loaded successfully there should be a couple of hello message from 2 different classes (Base & Level1). If the classes did not load successfully, then a message indicating the fact for each class is displayed. I searched your site to find anyone having similar problems, but wasnot able to find any. I also checked your FAQ's and there was nomention of __autoload. Hope this info helps. Thanks for your time, G |
|
From: <php...@li...> - 2009-11-18 16:36:36
|
> I am using 5.5.4 Unlikely. Java.inc line 1160/1161 contain a var assignment, which cannot throw the error you have reported. Regards, Jost Boekemeier On 18 Nov 2009 17:02, <php...@li...> wrote: I am using 5.5.4 ~jim On Wed, Nov 18, 2009 at 10:54 AM, <php...@li...> wrote: > Hi Jim, > > which version of the bridge do yo... |
|
From: <php...@li...> - 2009-11-18 16:02:08
|
I am using 5.5.4 ~jim On Wed, Nov 18, 2009 at 10:54 AM, <php...@li...> wrote: > Hi Jim, > > which version of the bridge do you use? > > In PHP/JavaBridge < 5.5.4 you can set the promiscuous option in the > WEB-INF/web.xml or in the System.properties (use: > JAVA_OPTS="-Dphp.java.bridge.promiscuous=true" bin/catalina.sh run). > > Please see the INSTALL.J2EE document from your version's documentation > download for details. > > Since version 5.5.4 the promiscuous option is obsolete, the bridge uses a > HTTP/1.1 tunnel instead (chunked encoding). > > Please either set the promiscuous option or upgrade Java.inc and > JavaBridge.war to version 5.5.4. > > Regards, > Jost Bökemeier > > On 18 Nov 2009 16:29, <php...@li...> wrote: > > Just started using the JavaBridge this week and everything works when > the applications are on the same server. I would like to move the PHP > application to a different server but I am running into this error: > > Warning: pfsockopen() [function.pfsockopen]: unable to connect to > webdev.mchs.com:9267 (Connection refused) in > /web/htdocs/JavaBridge/java/Java.inc on line 1160 > > and > > java_RuntimeException: Could not connect to the context server > webdev.mchs.com:9267. Error message: Connection refused (111) in > /web/htdocs/JavaBridge/java/Java.inc on line 1161 > > What should I be looking for in troubleshooting this error? Is this > just a "port" issue across the network? > > My setup is: > Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 > Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 > > thanks > ~ jim > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2009-11-18 15:54:44
|
Hi Jim, which version of the bridge do you use? In PHP/JavaBridge < 5.5.4 you can set the promiscuous option in the WEB-INF/web.xml or in the System.properties (use: JAVA_OPTS="-Dphp.java.bridge.promiscuous=true" bin/catalina.sh run). Please see the INSTALL.J2EE document from your version's documentation download for details. Since version 5.5.4 the promiscuous option is obsolete, the bridge uses a HTTP/1.1 tunnel instead (chunked encoding). Please either set the promiscuous option or upgrade Java.inc and JavaBridge.war to version 5.5.4. Regards, Jost Bökemeier On 18 Nov 2009 16:29, <php...@li...> wrote: Just started using the JavaBridge this week and everything works when the applications are on the same server. I would like to move the PHP application to a different server but I am running into this error: Warning: pfsockopen() [function.pfsockopen]: unable to connect to webdev.mchs.com:9267 (Connection refused) in /web/htdocs/JavaBridge/java/Java.inc on line 1160 and java_RuntimeException: Could not connect to the context server webdev.mchs.com:9267. Error message: Connection refused (111) in /web/htdocs/JavaBridge/java/Java.inc on line 1161 What should I be looking for in troubleshooting this error? Is this just a "port" issue across the network? My setup is: Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 thanks ~ jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-11-18 15:54:07
|
I'm using the JavaBridge to manage/organize reports from a BIRT server. From this post on the Birt-Exchange it is reported to be possible. http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/15906-php-java-bridge.html So I am NOT able to access BIRT on a separate server using the JavaBridge ? ~jim On Wed, Nov 18, 2009 at 10:32 AM, <php...@li...> wrote: > afaik does the bridge only allow local access through 127.0.0.1 as > after the first contact > a local socket connection (pipes and that stuff) is established and > all communication is > done over this. > > Meaning: PHP + the Bridge (either directly with the jar or as > tomcat-webapp) must be > on the same server). > > Kind regards, > Dominik > > On Wed, Nov 18, 2009 at 4:28 PM, > <php...@li...> wrote: >> Just started using the JavaBridge this week and everything works when >> the applications are on the same server. I would like to move the PHP >> application to a different server but I am running into this error: >> >> Warning: pfsockopen() [function.pfsockopen]: unable to connect to >> webdev.mchs.com:9267 (Connection refused) in >> /web/htdocs/JavaBridge/java/Java.inc on line 1160 >> >> and >> >> java_RuntimeException: Could not connect to the context server >> webdev.mchs.com:9267. Error message: Connection refused (111) in >> /web/htdocs/JavaBridge/java/Java.inc on line 1161 >> >> What should I be looking for in troubleshooting this error? Is this >> just a "port" issue across the network? >> >> My setup is: >> Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 >> Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 >> >> thanks >> ~ jim >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> php-java-bridge-users mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2009-11-18 15:32:48
|
afaik does the bridge only allow local access through 127.0.0.1 as after the first contact a local socket connection (pipes and that stuff) is established and all communication is done over this. Meaning: PHP + the Bridge (either directly with the jar or as tomcat-webapp) must be on the same server). Kind regards, Dominik On Wed, Nov 18, 2009 at 4:28 PM, <php...@li...> wrote: > Just started using the JavaBridge this week and everything works when > the applications are on the same server. I would like to move the PHP > application to a different server but I am running into this error: > > Warning: pfsockopen() [function.pfsockopen]: unable to connect to > webdev.mchs.com:9267 (Connection refused) in > /web/htdocs/JavaBridge/java/Java.inc on line 1160 > > and > > java_RuntimeException: Could not connect to the context server > webdev.mchs.com:9267. Error message: Connection refused (111) in > /web/htdocs/JavaBridge/java/Java.inc on line 1161 > > What should I be looking for in troubleshooting this error? Is this > just a "port" issue across the network? > > My setup is: > Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 > Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 > > thanks > ~ jim > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2009-11-18 15:28:12
|
Just started using the JavaBridge this week and everything works when the applications are on the same server. I would like to move the PHP application to a different server but I am running into this error: Warning: pfsockopen() [function.pfsockopen]: unable to connect to webdev.mchs.com:9267 (Connection refused) in /web/htdocs/JavaBridge/java/Java.inc on line 1160 and java_RuntimeException: Could not connect to the context server webdev.mchs.com:9267. Error message: Connection refused (111) in /web/htdocs/JavaBridge/java/Java.inc on line 1161 What should I be looking for in troubleshooting this error? Is this just a "port" issue across the network? My setup is: Windows 2003 Server with Tomcat6 using Java 1.6.0_16 and PHP5.3 Kubuntu 9.10 with Tomcat6 using Java 1.6.0_16 and PHP5.3 thanks ~ jim |
|
From: <php...@li...> - 2009-11-15 16:04:38
|
Hi Fyodor,
[please excuse the delay]
> I 've seen this behavior before when 'require'
> statement was inside function.
Thank you very much for the bug report. I will fix this for the next version
5.5.5.
As a workaround please use the JavaBridge.war instead. Or please add the
following to your JavaBridgeTemplate's web-inf/web.xml:
<!-- Automatically include java/JavaProxy.php -->
<!-- Switch this off if you don't use Java in all of your scripts
-->
<!-- Default is On. -->
<init-param>
<param-name>php_include_java</param-name>
<param-value>Off</param-value>
</init-param>
Please see the web.xml from the JavaBridge.war from the documentation
download for details.
I think we should also change php_include_java's default value to Off.
Regards,
Jost Boekemeier
On 13 Nov 2009 13:41, <php...@li...> wrote:
Hello,
I tried to install phpMyAdmin 3.2.3 to Tomcat 6.0.20 using php-java-bridge
(JavaBridgeTemplate554).
On setup page I got empty buttons and no text. I've investigated the issue
and found that language pack (./langs/english-utf-8.inc.php) writes into
global variables like this:
$strZip = '"zipped"'
but content of these variables is used like this
$GLOBALS['strZip']
And after setting the variable it does not appear in $GLOBALS array.
I've seen this behavior before when 'require' statement was inside
function. So "default" variables become "not global".
In JavaProxy.php there is call to java_call_with_continuation, and in this
function 'require' performed.
I've replaced call to java_call_with_continuation in JavaProxy.php by the
method body - and the issue was solved.
Fyodor Menshikov
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-11-14 07:07:44
|
Hi, what exactly is not working on sun solaris 10, Java or PHP? The bridge is a Java application, which can be started by double-clicking on JavaBridge.jar or through a JEE container and JavaBridge.war. The bridge runs on any OS, provided that Java and PHP is installed. > how to configure php-java bridge in sun solaris You can't configure the bridge for an OS. Regards, Jost Boekemeier On 14 Nov 2009 05:07, <php...@li...> wrote: hi, Pls. help me, how to configure php-java bridge in sun solaris 10 regards, jay _________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-11-14 04:07:05
|
hi, Pls. help me, how to configure php-java bridge in sun solaris 10 regards, jay _________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop |
|
From: <php...@li...> - 2009-11-13 12:40:15
|
Hello, I tried to install phpMyAdmin 3.2.3 to Tomcat 6.0.20 using php-java-bridge (JavaBridgeTemplate554). On setup page I got empty buttons and no text. I've investigated the issue and found that language pack (./langs/english-utf-8.inc.php) writes into global variables like this: $strZip = '"zipped"' but content of these variables is used like this $GLOBALS['strZip'] And after setting the variable it does not appear in $GLOBALS array. I've seen this behavior before when 'require' statement was inside function. So "default" variables become "not global". In JavaProxy.php there is call to java_call_with_continuation, and in this function 'require' performed. I've replaced call to java_call_with_continuation in JavaProxy.php by the method body - and the issue was solved. Fyodor Menshikov |
|
From: <php...@li...> - 2009-11-09 21:43:58
|
>> Does the phpdebugger rely on or _need_ the > PHP-Java- Bridge? >No Correction: If your setup includes an IP-based load-balancer, the PHPDebugger *does* need a back end. The standalone PHPDebugger GUI is written in JavaScript. It uses Ajax to set breakpoints, step through the script, etc. An Ajax request is handled by a new PHP instance, which doesn't necessarily run on the same server as the PHP script being debugged, so we can't use shared memory. Both scripts must communicate via a well-defined service instead. This service or common resource may be: a database table, electronic mail or a FIFO in the PHP/JavaBridge back end. I don't think we can consider sending e-mail from one PHP script to another or a database table as a viable alternative to a Java-based FIFO. So yes, the JavaScript-based PHPDebugger GUI will depend on a PHP/JavaBridge back end. Regards, Jost Boekemeier > > On 30 Oct 2009 18:50, <php...@li...> wrote: > > On Fri, Oct 30, 2... > Alan, > > I don't understand your argumentation. > > The phpdebugger does not replace existing deb... > > Does the phpdebugger rely on or _need_ the PHP-Java-Bridge ? > If not, the only common thing be... > Regards, > Jost Boekemeier > > On 29 Oct 2009 20:35, <php...@li....n... > ------------------------------------------------------------------------------ > Come build with u... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-jav... ------------------------------------------------------------------------------ Come build with us! T... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-br... |
|
From: <php...@li...> - 2009-11-06 20:51:14
|
All, thanks for all the replies. Peter - this was just what I needed.
I think the php/java bridge module for Drupal is basically still designed to
check for the extension even though it's no longer needed. I commented out
the check for the extension, and now it loads properly. Everything looks
good from php/java bridge point of view. My xls spreadsheets aren't getting
imported, but looks like that's a different issue.
Thanks for all the help everybody!
On Fri, Nov 6, 2009 at 2:33 AM, <php...@li...
> wrote:
> hello,
>
> php...@li... schrieb:
> [...]
> > Isn't it possible to simply search and remove the above check? An
> > "extension" is obsolete since bridge version 3.2.1, published 3 years
> ago.
>
> ooopps, nice to know, din't catch that either. ;)
>
> > But since I don't know Drupal, I can't help either.
>
> Fot the OP:
> I had a quick look at the code of the mentioned drupal extension. Please
> try to change the following lines in php_java_bridge.install from the
> drupal extension:
>
> // $extension = extension_loaded('java');
> $extension = TRUE;
>
> That could do the trick.
>
> [...]
>
> Greets,
> Peter
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2009-11-06 08:41:52
|
> but then why does "make install" ... still put java.so, RunJavaBridge, ... I was too lazy to remove them. I will clean up the CVS when I have some time. > these are not needed in the php installation where I > want to use java Exactly. All you need to access java libraries from PHP is a Java web application containing JavaBridge.jar and php-servlet.jar deployed on some server on the intranet (or even the internet). -- You can even start a local Java daemon from your php script by setting JAVA_HOSTS to some integer and JAVA_SERVLET to false. But such a standalone daemon is difficult to log unless you set up log4j. > with back end you refer to the php application here? The Java container running the JavaBridge.war application. -- In a typical n-tier setup PHP is the front-end, handling client requests. > s however requires "allow-url- fopen". Would t If I have some time I will fix fopen so that it can fetch and cache scripts from a local URL by default. In the meantime please adjust JAVA_HOSTS and JAVA_SERVLET, if necessary (they default to localhost:8080 and /JavaBridge/JavaBridge.phpjavabridge) and include Java.inc from the file system. Regards, Jost Boekemeier On 6 Nov 2009 08:54, <php...@li...> wrote: Hello Jost, first of all, thx for clarification and all the great work you have put into this. php...@li... schrieb: > Hi, [...] > During this time some things changed; the new PHP/Zend object system became > stable, eliminating ... but then why does "make install" and/or "install.sh" from CVS sources still put 'JavaBridge.jar, JavaBridge.war, java.so, php-script.jar, RunJavaBridge and script-api.jar' into my PHP installations lib dir (/usr/lib/php5/20060613/)? Reading your comment and understanding more and more about the usage of pjb(php java bridge) it seems like all of these are not needed in the php installation where I want to use java. > The proposed PHP namespace separator has changed, too. Instead of [...] > To avoid the mentioned issues, please deploy JavaBridge.war or > JavaBridgeTemplate.war to a JEE s... with back end you refer to the php application here? >> I do have JavaBridge running. However, somehow >> Drupal doesn't seem to recognize that it exist... waow, I didn't spot this "autoconfiguration feature" yet. Seems like a very cool and nice idea! This however requires "allow-url-fopen". Would this be required anyway, or just here to include "Java.inc"? I have seen the "make install / install.sh" put Java.inc into my pear directory. So for me Java.inc is on the include path already. :-> > It's really that simple. Just get rid of the old php.ini cruft. :) At least in the source distribution/CVS there are quite a few files with peaces of documentation of all different scenarios and considering the evolving history of pjb it is just not that easy to understand what one has to do with the recent version to set it up properly. I am fully aware that using CVS/sources one has to expect trouble, so I am not complaining! ;) Thx and Greets, Peter ------------------------------------------------------------------------------ Let Crystal Reports ... |
|
From: <php...@li...> - 2009-11-06 07:54:19
|
Hello Jost,
first of all, thx for clarification and all the great work you have put
into this.
php...@li... schrieb:
> Hi,
[...]
> During this time some things changed; the new PHP/Zend object system became
> stable, eliminating the need for a dedicated java.so/php_java.dll and global
> java.ini file (or a php.ini file with java declarations in it).
but then why does "make install" and/or "install.sh" from CVS sources
still put 'JavaBridge.jar, JavaBridge.war, java.so, php-script.jar,
RunJavaBridge and script-api.jar' into my PHP installations lib dir
(/usr/lib/php5/20060613/)?
Reading your comment and understanding more and more about the usage of
pjb(php java bridge) it seems like all of these are not needed in the
php installation where I want to use java.
> The proposed PHP namespace separator has changed, too. Instead of
[...]
> To avoid the mentioned issues, please deploy JavaBridge.war or
> JavaBridgeTemplate.war to a JEE server or servlet engine, remove all legacy
> java.so/php_java.dll and php.ini, and then require() Java.inc directly from
> the back end.
with back end you refer to the php application here?
>> I do have JavaBridge running. However, somehow
>> Drupal doesn't seem to recognize that it exists.
>
> Well, the communication goes through the HTTP URL connection you have used
> to fetch the Java.inc. If your script uses
>
> <?php
> require("http://localhost:8080/JavaBridge/java/Java.inc");
> ...
>
> all further communication uses the back end at
>
> localhost:8080/JavaBridge.
waow, I didn't spot this "autoconfiguration feature" yet. Seems like a
very cool and nice idea! This however requires "allow-url-fopen". Would
this be required anyway, or just here to include "Java.inc"?
I have seen the "make install / install.sh" put Java.inc into my pear
directory. So for me Java.inc is on the include path already. :->
> It's really that simple. Just get rid of the old php.ini cruft. :)
At least in the source distribution/CVS there are quite a few files with
peaces of documentation of all different scenarios and considering the
evolving history of pjb it is just not that easy to understand what one
has to do with the recent version to set it up properly. I am fully
aware that using CVS/sources one has to expect trouble, so I am not
complaining! ;)
Thx and Greets,
Peter
|
|
From: <php...@li...> - 2009-11-06 07:49:19
|
hello,
php...@li... schrieb:
[...]
> Isn't it possible to simply search and remove the above check? An
> "extension" is obsolete since bridge version 3.2.1, published 3 years ago.
ooopps, nice to know, din't catch that either. ;)
> But since I don't know Drupal, I can't help either.
Fot the OP:
I had a quick look at the code of the mentioned drupal extension. Please
try to change the following lines in php_java_bridge.install from the
drupal extension:
// $extension = extension_loaded('java');
$extension = TRUE;
That could do the trick.
[...]
Greets,
Peter
|
|
From: <php...@li...> - 2009-11-06 06:11:19
|
> My message was getting moderated because I was > "not a member", and I thought it was because I > wasn't a sourceforge member, so I joined that, sent > the message again, still got moderated, and that's > when I realized I had to be a member of the list. > Sorry for the newbiness Can you please post the complete error message? This mailing list is run by sf.net staff. If an error message isn't precise, we should file a bug report. > supposed to use this include. I tried including it at > the top of drupal's index.php file and in the > php_java_bridge.module file, but still see the"PHP >/Java Bridge extension is not loaded" error So I'm not > really sure what to do... not sure if the include > should go s Isn't it possible to simply search and remove the above check? An "extension" is obsolete since bridge version 3.2.1, published 3 years ago. But since I don't know Drupal, I can't help either. Regards, Jost Boekemeier On 6 Nov 2009 01:07, <php...@li...> wrote: Thanks Jost. Sorry for the spam. My message was getting moderated because I was "not a member", and I thought it was because I wasn't a sourceforge member, so I joined that, sent the message again, still got moderated, and that's when I realized I had to be a member of the list. Sorry for the newbiness :) Just to clarify, I'm not writing an application in Java that I'm going to use in PHP, at least not explicitly. I suppose that that's essentially what Drupal does. To use sheetnode, I suppose I need Java functionality and that's why I need the php/java bridge and the php/java bridge drupal module. I understand that I'd need the include: require_once(" http://localhost:8080/JavaBridge/java/Java.inc"); if I were writing a php app that was using Java functionality, however, I'm not sure how Drupal is supposed to use this include. I tried including it at the top of drupal's index.php file and in the php_java_bridge.module file, but still see the "PHP/Java Bridge extension is not loaded" error. So I'm not really sure what to do... not sure if the include should go somewhere else, or if it's needed at all. Thanks On Thu, Nov 5, 2009 at 3:08 PM, <php...@li... > wrote: > Hi, > > yes, I saw it. > > The PHP/Java Bridge development process took more than 6 year... |
|
From: <php...@li...> - 2009-11-06 00:06:04
|
Thanks Jost.
Sorry for the spam. My message was getting moderated because I was "not a
member", and I thought it was because I wasn't a sourceforge member, so I
joined that, sent the message again, still got moderated, and that's when I
realized I had to be a member of the list. Sorry for the newbiness :)
Just to clarify, I'm not writing an application in Java that I'm going to
use in PHP, at least not explicitly. I suppose that that's essentially what
Drupal does. To use sheetnode, I suppose I need Java functionality and
that's why I need the php/java bridge and the php/java bridge drupal module.
I understand that I'd need the include: require_once("
http://localhost:8080/JavaBridge/java/Java.inc"); if I were writing a php
app that was using Java functionality, however, I'm not sure how Drupal is
supposed to use this include. I tried including it at the top of drupal's
index.php file and in the php_java_bridge.module file, but still see the
"PHP/Java Bridge extension is not loaded" error. So I'm not really sure
what to do... not sure if the include should go somewhere else, or if it's
needed at all.
Thanks
On Thu, Nov 5, 2009 at 3:08 PM, <php...@li...
> wrote:
> Hi,
>
> yes, I saw it.
>
> The PHP/Java Bridge development process took more than 6 years.
>
> During this time some things changed; the new PHP/Zend object system became
> stable, eliminating the need for a dedicated java.so/php_java.dll and
> global
> java.ini file (or a php.ini file with java declarations in it).
>
> The proposed PHP namespace separator has changed, too. Instead of
>
> new org_poi_something(...)
>
> PHP 5.3 wants you to use a backslash instead:
>
> java_autoload("poi.jar");
> new org\poi\something(...);
>
> The underscore syntax has been removed in bridge version 5.5.4. --
> Publishing poi and lucene examples using the underscore syntax and then
> silently removing it was certainly a mistake. I will revert this change.
> Your code with the underscore will work again in version 5.5.4.1.
>
> The third problem I see is that PHP developers don't understand Java's
> immature library handling. We have tried to solve this problem by
> introducing special java_require($libs) and java_autoload($libs)
> procedures.
> But these special procedures cannot fix Java's fundamental flaw, so we have
> removed them from the documentation and recommend Tomcat or some JEE
> container instead (so that the PermGenSpace and NoClassDefFound errors go
> to
> the JEE container developers, not to us).
>
> To avoid the mentioned issues, please deploy JavaBridge.war or
> JavaBridgeTemplate.war to a JEE server or servlet engine, remove all legacy
> java.so/php_java.dll and php.ini, and then require() Java.inc directly
> from
> the back end.
>
> > I do have JavaBridge running. However, somehow
> > Drupal doesn't seem to recognize that it exists.
>
> Well, the communication goes through the HTTP URL connection you have used
> to fetch the Java.inc. If your script uses
>
> <?php
> require("http://localhost:8080/JavaBridge/java/Java.inc");
> ...
>
> all further communication uses the back end at
>
> localhost:8080/JavaBridge.
>
> It's really that simple. Just get rid of the old php.ini cruft. :)
>
> Regards,
> Jost Boekemeier
>
> On 5 Nov 2009 19:45, <php...@li...> wrote:
>
> Hello,
>
> I've having some trouble with Drupal recognizing my php-java bridge. My
> goal is to install sheetnode w/ XLS import/export, and I've followed the
> instructions detailed here:
>
> http://drupal.org/project/sheetnode
>
> I'm using Java JRE6:
>
> $ java -version
> java version "1.6.0_16"
> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
>
> And using php version 5.2.6
>
>
> I've installed the php/java bridge using the instructions detailed here:
>
> http://php-java-bridge.sourceforge.net/pjb/installation.php
>
> I've installed Tomcat (version 5.5.27), and moved the war file into my
> webapps directory. I'm using virtualhosts, so I have a symlink from the
> virtual host's root to the JavaBridge webapp directory. I can run the
> examples on the page just fine, so it looks like the PHP/Java bridge works.
> It just seems that Drupal for some reason cannot recognize it.
>
> In Drupal, when I try to install the php/java bridge module I get this
> error
> message:
>
> (Currently using PHP/Java Bridge extension PHP/Java Bridge extension is NOT
> loaded in php.ini. Please install it.)
> This seems to indicate that I need to install some kind of php extension,
> like "java.so", but such a file is not included in the PHP/JavaBridge
> download. In fact the FAQs here
> http://php-java-bridge.sourceforge.net/pjb/FAQ.html say:
>
> > How do I enable the Java extension in my php.ini file?
> >
> > A Java extension does not exist, so you can't enable it.
> >
> > The VM Bridge is a network protocol, it requires a running Java VM, for
> > example the servlet container Apache/Tomcat. Or, if you want to call PHP
> > libraries from Java, a running PHP container, e.g. Apache or IIS.
> >
> So there's no extension, I just have to be running a Java Virtual Machine.
> As mentioned before, I am running Tomcat, and do have JavaBridge running.
> However, somehow Drupal doesn't seem to recognize that it exists.
>
> Wondering where to go from here. Please send me any recommendations.
>
> Thanks
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2009-11-05 20:08:24
|
Hi,
yes, I saw it.
The PHP/Java Bridge development process took more than 6 years.
During this time some things changed; the new PHP/Zend object system became
stable, eliminating the need for a dedicated java.so/php_java.dll and global
java.ini file (or a php.ini file with java declarations in it).
The proposed PHP namespace separator has changed, too. Instead of
new org_poi_something(...)
PHP 5.3 wants you to use a backslash instead:
java_autoload("poi.jar");
new org\poi\something(...);
The underscore syntax has been removed in bridge version 5.5.4. --
Publishing poi and lucene examples using the underscore syntax and then
silently removing it was certainly a mistake. I will revert this change.
Your code with the underscore will work again in version 5.5.4.1.
The third problem I see is that PHP developers don't understand Java's
immature library handling. We have tried to solve this problem by
introducing special java_require($libs) and java_autoload($libs) procedures.
But these special procedures cannot fix Java's fundamental flaw, so we have
removed them from the documentation and recommend Tomcat or some JEE
container instead (so that the PermGenSpace and NoClassDefFound errors go to
the JEE container developers, not to us).
To avoid the mentioned issues, please deploy JavaBridge.war or
JavaBridgeTemplate.war to a JEE server or servlet engine, remove all legacy
java.so/php_java.dll and php.ini, and then require() Java.inc directly from
the back end.
> I do have JavaBridge running. However, somehow
> Drupal doesn't seem to recognize that it exists.
Well, the communication goes through the HTTP URL connection you have used
to fetch the Java.inc. If your script uses
<?php
require("http://localhost:8080/JavaBridge/java/Java.inc");
...
all further communication uses the back end at
localhost:8080/JavaBridge.
It's really that simple. Just get rid of the old php.ini cruft. :)
Regards,
Jost Boekemeier
On 5 Nov 2009 19:45, <php...@li...> wrote:
Hello,
I've having some trouble with Drupal recognizing my php-java bridge. My
goal is to install sheetnode w/ XLS import/export, and I've followed the
instructions detailed here:
http://drupal.org/project/sheetnode
I'm using Java JRE6:
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
And using php version 5.2.6
I've installed the php/java bridge using the instructions detailed here:
http://php-java-bridge.sourceforge.net/pjb/installation.php
I've installed Tomcat (version 5.5.27), and moved the war file into my
webapps directory. I'm using virtualhosts, so I have a symlink from the
virtual host's root to the JavaBridge webapp directory. I can run the
examples on the page just fine, so it looks like the PHP/Java bridge works.
It just seems that Drupal for some reason cannot recognize it.
In Drupal, when I try to install the php/java bridge module I get this error
message:
(Currently using PHP/Java Bridge extension PHP/Java Bridge extension is NOT
loaded in php.ini. Please install it.)
This seems to indicate that I need to install some kind of php extension,
like "java.so", but such a file is not included in the PHP/JavaBridge
download. In fact the FAQs here
http://php-java-bridge.sourceforge.net/pjb/FAQ.html say:
> How do I enable the Java extension in my php.ini file?
>
> A Java extension does not exist, so you can't enable it.
>
> The VM Bridge is a network protocol, it requires a running Java VM, for
> example the servlet container Apache/Tomcat. Or, if you want to call PHP
> libraries from Java, a running PHP container, e.g. Apache or IIS.
>
So there's no extension, I just have to be running a Java Virtual Machine.
As mentioned before, I am running Tomcat, and do have JavaBridge running.
However, somehow Drupal doesn't seem to recognize that it exists.
Wondering where to go from here. Please send me any recommendations.
Thanks
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-11-05 18:44:07
|
Hello, I've having some trouble with Drupal recognizing my php-java bridge. My goal is to install sheetnode w/ XLS import/export, and I've followed the instructions detailed here: http://drupal.org/project/sheetnode I'm using Java JRE6: $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) And using php version 5.2.6 I've installed the php/java bridge using the instructions detailed here: http://php-java-bridge.sourceforge.net/pjb/installation.php I've installed Tomcat (version 5.5.27), and moved the war file into my webapps directory. I'm using virtualhosts, so I have a symlink from the virtual host's root to the JavaBridge webapp directory. I can run the examples on the page just fine, so it looks like the PHP/Java bridge works. It just seems that Drupal for some reason cannot recognize it. In Drupal, when I try to install the php/java bridge module I get this error message: (Currently using PHP/Java Bridge extension PHP/Java Bridge extension is NOT loaded in php.ini. Please install it.) This seems to indicate that I need to install some kind of php extension, like "java.so", but such a file is not included in the PHP/JavaBridge download. In fact the FAQs here http://php-java-bridge.sourceforge.net/pjb/FAQ.html say: > How do I enable the Java extension in my php.ini file? > > A Java extension does not exist, so you can't enable it. > > The VM Bridge is a network protocol, it requires a running Java VM, for > example the servlet container Apache/Tomcat. Or, if you want to call PHP > libraries from Java, a running PHP container, e.g. Apache or IIS. > So there's no extension, I just have to be running a Java Virtual Machine. As mentioned before, I am running Tomcat, and do have JavaBridge running. However, somehow Drupal doesn't seem to recognize that it exists. Wondering where to go from here. Please send me any recommendations. Thanks |
|
From: <php...@li...> - 2009-11-02 20:39:22
|
Oh, that sound reasonable, a couple of days ago I had some quote problems
on my virtual server, but I didn't bring this together.
Thanks a lot, cool if some people have a bit more oversight than oneself! :-))
Holger
2009/11/2 <php...@li...>:
> Hi,
>
> sounds as if tomcat ran out of resources.
>
> Which OS, which java version do you use? Which exceptions do you see in the
> tomcat log? Any OutOfMemory errors?
>
> Do you close all files you have opened for your lucene searches? Does the
> list returned by the linux/unix lsof command grow over time?
>
> Did you upgrade both, the Java.inc front- and the JavaBridge.war back end?
>
> Unless I made a serious mistake producing version 5.5.4, the PHP/Java Bridge
> doesn't leak resources.
>
> Regards,
> Jost Boekemeier
>
> On 2 Nov 2009 19:12, <php...@li...> wrote:
>
> Hi,
> I'm using the PHP-Java-Bridge to implement fulltext search
> capabilities with the help of Java Lucene for my web project. To index
> new documents, a script is run by a cronjob every hour or so. Since I
> switched to the new PJB Version 5.5.4, after some time (something
> between 1-3 days), the following internal server error from Tomcat
> occurs:
>
> HTTP Status 500 - The server encountered an internal error () that
> prevented it from fulfilling this request.
> javax.servlet.ServletException: Servlet execution threw an exception
> < in http://localhost:8080/JavaBridge/java/Java.inc on line 516
>
> This is pretty scary, because from that moment on, my site gets
> unusable and the error remains there. When I restart Tomcat (6.0)
> everything works fine again.
> Here are the lines from Java.inc for context:
>
> if (function_exists("error_get_last"))
> $error = error_get_last();
> else
> $error = array("message"=>"broken connection error");
> trigger_error ("${msg} ".$error["message"], E_USER_ERROR);} (Line 516)
>
>
> Anyone an idea what could be happening? Or alternatively some idea
> like: "I don't know whats happening exactly, but it probably has to do
> with ... and if you change this or that config param, it could get
> better". That would be really great. I've got absolutely no idea how
> to react on this (the best thing I though of is to restart tomcat
> every hour by cronjob to prevent the worst (namely several hours of
> site down), but that's probably not yet the optimal solution).
>
> Thanx
> Holger
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2009-11-02 20:06:00
|
Hi,
sounds as if tomcat ran out of resources.
Which OS, which java version do you use? Which exceptions do you see in the
tomcat log? Any OutOfMemory errors?
Do you close all files you have opened for your lucene searches? Does the
list returned by the linux/unix lsof command grow over time?
Did you upgrade both, the Java.inc front- and the JavaBridge.war back end?
Unless I made a serious mistake producing version 5.5.4, the PHP/Java Bridge
doesn't leak resources.
Regards,
Jost Boekemeier
On 2 Nov 2009 19:12, <php...@li...> wrote:
Hi,
I'm using the PHP-Java-Bridge to implement fulltext search
capabilities with the help of Java Lucene for my web project. To index
new documents, a script is run by a cronjob every hour or so. Since I
switched to the new PJB Version 5.5.4, after some time (something
between 1-3 days), the following internal server error from Tomcat
occurs:
HTTP Status 500 - The server encountered an internal error () that
prevented it from fulfilling this request.
javax.servlet.ServletException: Servlet execution threw an exception
< in http://localhost:8080/JavaBridge/java/Java.inc on line 516
This is pretty scary, because from that moment on, my site gets
unusable and the error remains there. When I restart Tomcat (6.0)
everything works fine again.
Here are the lines from Java.inc for context:
if (function_exists("error_get_last"))
$error = error_get_last();
else
$error = array("message"=>"broken connection error");
trigger_error ("${msg} ".$error["message"], E_USER_ERROR);} (Line 516)
Anyone an idea what could be happening? Or alternatively some idea
like: "I don't know whats happening exactly, but it probably has to do
with ... and if you change this or that config param, it could get
better". That would be really great. I've got absolutely no idea how
to react on this (the best thing I though of is to restart tomcat
every hour by cronjob to prevent the worst (namely several hours of
site down), but that's probably not yet the optimal solution).
Thanx
Holger
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-11-02 18:12:13
|
Hi,
I'm using the PHP-Java-Bridge to implement fulltext search
capabilities with the help of Java Lucene for my web project. To index
new documents, a script is run by a cronjob every hour or so. Since I
switched to the new PJB Version 5.5.4, after some time (something
between 1-3 days), the following internal server error from Tomcat
occurs:
HTTP Status 500 - The server encountered an internal error () that
prevented it from fulfilling this request.
javax.servlet.ServletException: Servlet execution threw an exception
< in http://localhost:8080/JavaBridge/java/Java.inc on line 516
This is pretty scary, because from that moment on, my site gets
unusable and the error remains there. When I restart Tomcat (6.0)
everything works fine again.
Here are the lines from Java.inc for context:
if (function_exists("error_get_last"))
$error = error_get_last();
else
$error = array("message"=>"broken connection error");
trigger_error ("${msg} ".$error["message"], E_USER_ERROR);} (Line 516)
Anyone an idea what could be happening? Or alternatively some idea
like: "I don't know whats happening exactly, but it probably has to do
with ... and if you change this or that config param, it could get
better". That would be really great. I've got absolutely no idea how
to react on this (the best thing I though of is to restart tomcat
every hour by cronjob to prevent the worst (namely several hours of
site down), but that's probably not yet the optimal solution).
Thanx
Holger
|