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...> - 2009-11-23 11:27:17
|
Hi, > My problem is that I can't increase the memory user by the thread running the javabridge What do you mean with this? If you want to increase the memory available to old JVM's, please see our FAQ section "How can I increase the memory available to Java?" >set the memory used by the thread on background. Which thread? >I try to use the php java bridge on an apache server. > I also edited the standalone.java I am sorry, but I don't understand what you mean. The PHP/Java Bridge doesn't contain a standalone.java file. -- There's only a php.java.bridge.Standalone java class, which may be used during development or by starting a background daemon during a eclipse editor/debug session, or if you want to run code which has been compiled to a native binary using GNU gcc. If you want to use the PHP/Java Bridge from Apache, please see our documentation at: http://php-java-bridge.sourceforge.net/pjb/installation.php Regards, Jost Boekemeier |
From: <php...@li...> - 2009-11-23 08:49:48
|
Hello, I try to use the php java bridge on an apache server. My problem is that I can't increase the memory user by the thread running the javabridge. I tried to use -Xmx option but when i passed this arg (in standalone.java) the thread doesn't run. Is there a way to define default JVM memory to use or is there a way to set the memory used by the thread on background. I also edited the standalone.java file to add to the classpath directories passed in parameter. Tell me if you want it. Thank you and sorry for my english. Mehdi |
From: <php...@li...> - 2009-11-19 17:00:38
|
Hi, the error message is interesting anyway. Our error routine has either triggered another error within PHP or this is a bug in PHP itself. error_get_last() should return the socket error, not some PHP-internal timezone problem. I will check this when I prepare version PHP/Java Bridge 5.5.4.1 next week. Regards, Jost Bökemeier On 19 Nov 2009 16:49, <php...@li...> wrote: Solved: The error message was misleading. I had to adjust the server port in java.inc to 8081. Thorsten Kummer schrieb: > I narrowed it down to line 517 in java.inc > > *Fatal error*: Error #10002 - Invalid server comman... |
From: <php...@li...> - 2009-11-19 15:48:58
|
Solved: The error message was misleading. I had to adjust the server port in java.inc to 8081. Thorsten Kummer schrieb: > I narrowed it down to line 517 in java.inc > > *Fatal error*: Error #10002 - Invalid server command. in > *C:\xampp\htdocs\javabridge\java\Java.inc* on line *517 > > tk > > > * > Thorsten Kummer schrieb: >> hi all, >> >> I have a strange problem installing the php-java interaction on my >> production server: >> >> I get the php error: >> >Error #10002 - Invalid server command. date_default_timezone_get() >> [<a >> href='function.date-default-timezone-get'>function.date-default-timezone-get</a>]: >> It is not safe to rely on the system's timezone settings. Please use >> the date.timezone setting, the TZ environment variable or the >> date_default_timezone_set() function. In case you used any of those >> methods and you are still getting this warning, you most likely >> misspelled the timezone identifier. We selected 'Europe/Paris' for >> '1.0/no DST' instead >> >> >> In my dev envoronment it does not happen. >> When I set the date.timezone in the php.ini the error remains, but >> without detailed message, only: >> Error #10002 - Invalid server command. >> >> The error happens to come when calling: >> java_autoload("lucene-core-2.9.1.jar;lucene-analyzers-2.9.1.jar"); >> in my php script >> >> What's wrong here? >> >> dev server: xampp 1.6.8 with php 5.2.6 >> prod server: 1.6.4 with php 5.2.4 (tried 5.2.6 as well) >> >> Best regards >> tk >> >> |
From: <php...@li...> - 2009-11-19 15:17:20
|
I narrowed it down to line 517 in java.inc *Fatal error*: Error #10002 - Invalid server command. in *C:\xampp\htdocs\javabridge\java\Java.inc* on line *517 tk * Thorsten Kummer schrieb: > hi all, > > I have a strange problem installing the php-java interaction on my > production server: > > I get the php error: > >Error #10002 - Invalid server command. date_default_timezone_get() > [<a > href='function.date-default-timezone-get'>function.date-default-timezone-get</a>]: > It is not safe to rely on the system's timezone settings. Please use > the date.timezone setting, the TZ environment variable or the > date_default_timezone_set() function. In case you used any of those > methods and you are still getting this warning, you most likely > misspelled the timezone identifier. We selected 'Europe/Paris' for > '1.0/no DST' instead > > > In my dev envoronment it does not happen. > When I set the date.timezone in the php.ini the error remains, but > without detailed message, only: > Error #10002 - Invalid server command. > > The error happens to come when calling: > java_autoload("lucene-core-2.9.1.jar;lucene-analyzers-2.9.1.jar"); > in my php script > > What's wrong here? > > dev server: xampp 1.6.8 with php 5.2.6 > prod server: 1.6.4 with php 5.2.4 (tried 5.2.6 as well) > > Best regards > tk > > |
From: <php...@li...> - 2009-11-19 14:55:07
|
hi all, I have a strange problem installing the php-java interaction on my production server: I get the php error: >Error #10002 - Invalid server command. date_default_timezone_get() [<a href='function.date-default-timezone-get'>function.date-default-timezone-get</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead In my dev envoronment it does not happen. When I set the date.timezone in the php.ini the error remains, but without detailed message, only: Error #10002 - Invalid server command. The error happens to come when calling: java_autoload("lucene-core-2.9.1.jar;lucene-analyzers-2.9.1.jar"); in my php script What's wrong here? dev server: xampp 1.6.8 with php 5.2.6 prod server: 1.6.4 with php 5.2.4 (tried 5.2.6 as well) Best regards tk |
From: <php...@li...> - 2009-11-18 18:32:50
|
... thank you for your patience, I cleaned up the demos and made sure the correct 5.5.4 versions were used on both the PHP and Tocat6 servers and the JavaBridge is working fine between two servers... thanks again! ~jim On Wed, Nov 18, 2009 at 12:46 PM, <php...@li...> wrote: >> D:\web\htdocs\javabridge\java\ Java.inc on line 115 > > Can you please fetch Java.inc directly from the back end > (require_once("http://...");) to make sure that the Java.inc version matches > the back end version? > > Regards, > Jost Boekemeier > > On 18 Nov 2009 18:40, <php...@li...> wrote: > > ...my bad on the version, I confused it with the 5.4.3.3 demo from the > BirtExchange. I'm running with 5.4.4 now and get this error: > > Warning: fread() [function.fread]: Length parameter must be greater > than 0 in D:\web\htdocs\javabridge\java\Java.inc on line 1154 > > ~jim > > > On Wed, Nov 18, 2009 at 11:36 AM, > > <php...@li...> wrote: >> I am using 5.5.4 > > > Unlikely. Java.inc line... > >> > ------------------------------------------------------------------------------ >> Let Crystal Repor... > >> php...@li... > >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > ----------------------------... > > 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 17:46:35
|
> D:\web\htdocs\javabridge\java\ Java.inc on line 115 Can you please fetch Java.inc directly from the back end (require_once("http://...");) to make sure that the Java.inc version matches the back end version? Regards, Jost Boekemeier On 18 Nov 2009 18:40, <php...@li...> wrote: ...my bad on the version, I confused it with the 5.4.3.3 demo from the BirtExchange. I'm running with 5.4.4 now and get this error: Warning: fread() [function.fread]: Length parameter must be greater than 0 in D:\web\htdocs\javabridge\java\Java.inc on line 1154 ~jim On Wed, Nov 18, 2009 at 11:36 AM, <php...@li...> wrote: >> I am using 5.5.4 > > Unlikely. Java.inc line... > ------------------------------------------------------------------------------ > Let Crystal Repor... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ----------------------------... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-11-18 17:39:30
|
...my bad on the version, I confused it with the 5.4.3.3 demo from the BirtExchange. I'm running with 5.4.4 now and get this error: Warning: fread() [function.fread]: Length parameter must be greater than 0 in D:\web\htdocs\javabridge\java\Java.inc on line 1154 ~jim On Wed, Nov 18, 2009 at 11:36 AM, <php...@li...> wrote: >> 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... > ------------------------------------------------------------------------------ > 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: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 ... |