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
(2) |
2
(1) |
3
(1) |
4
|
5
|
6
|
7
|
8
(2) |
9
(4) |
10
|
11
|
12
|
13
|
14
|
15
(3) |
16
|
17
(10) |
18
(1) |
19
|
20
(1) |
21
|
22
|
23
(1) |
24
|
25
|
26
(2) |
27
(2) |
28
|
29
|
30
|
31
(1) |
|
|
|
|
|
|
From: <php...@li...> - 2010-10-31 15:16:50
|
> It might be possible to work around this bug, I think we check the PHP > version during startup. Fixed in PHP/Java Bridge 6.2.1, which has been released today. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-27 17:34:24
|
Add this line before calling the method getBirtEngine java("org.eclipse.birt.php.birtengine.BirtEngine")->initBirtConfig(); That should take care of the log file if you added the properties to the BirtConfig.properties file As far as the error goes can you try adding this after you create the task $task = $birtReportEngine->createRunAndRenderTask($report); $mylocale = new java("java.util.Locale","en", "US"); $task->setLocale($mylocale); Jason ________________________________________ From: php...@li... [php...@li...] Sent: Wednesday, October 27, 2010 5:59 AM To: php...@li... Subject: [Php-java-bridge-users] Birt Report HTML rendering exception I get Exception while I try to render Birt report from PHP. Exception: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RunAndRenderTask]]->run. Cause: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report VM: 1.6.0_20@http://java.sun.com/" at: #-11 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:188) #-10 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75) #-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1028) #-4 php.java.bridge.Request.handleRequest(Request.java:417) #-3 php.java.bridge.Request.handleRequests(Request.java:500) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://127.0.0.1:8080/JavaBridge/java/Java.inc(232): java_ThrowExceptionProxyFactory->getProxy(12, '@V', 'T', true) #1 http://127.0.0.1:8080/JavaBridge/java/Java.inc(360): java_Arg->getResult(true) #2 http://127.0.0.1:8080/JavaBridge/java/Java.inc(366): java_Client->getWrappedResult(true) #3 http://127.0.0.1:8080/JavaBridge/java/Java.inc(560): java_Client->getResult() #4 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1752): java_Client->invokeMethod(7, 'run', Array) #5 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1851): java_JavaProxy->__call('run', Array) #6 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1999): java_AbstractJava->__call('run', Array) #7 [internal function]: Java->__call('run', Array) #8 C:\wamp\www\test\tst_birt.php(31): java_InternalJava->run() #9 {main}] PHP Code: <?php require_once("http://127.0.0.1:8080/JavaBridge/java/Java.inc"); session_start(); $here = getcwd(); $ctx = java_context()->getServletContext(); $birtReportEngine = java("org.eclipse.birt.php.birtengine.BirtEngine")->getBirtEngine($ctx); java_context()->onShutdown(java("org.eclipse.birt.php.birtengine.BirtEngine")->getShutdownHook()); try{ $report = $birtReportEngine->openReportDesign("${here}/ankieta.rptdesign"); $task = $birtReportEngine->createRunAndRenderTask($report); $taskOptions = new java("org.eclipse.birt.report.engine.api.HTMLRenderOption"); $outputStream = new java("java.io.ByteArrayOutputStream"); $taskOptions->setOutputStream($outputStream); $taskOptions->setOutputFormat("html"); $ih = new java( "org.eclipse.birt.report.engine.api.HTMLServerImageHandler"); $taskOptions->setImageHandler($ih); //$taskOptions->setBaseImageURL($imageURLPrefix . session_id()); $taskOptions->setImageDirectory($here . "/sessionChartImages/" . session_id()); $task->setRenderOption( $taskOptions ); //$task->setParameterValue("id_pracownik","85"); $task->run(); $task->close(); } catch (JavaException $e) { echo $e; //"Error Calling BIRT"; } echo java_values($outputStream->toByteArray()); Report renders to DOC, or PDF without any errors. I couldn't made it to log errors using properties file, so I have no idea how to made it to render it right. Report file enclosed to message, but it works fine in Birt Report Designer. |
From: <php...@li...> - 2010-10-27 10:00:04
|
I get Exception while I try to render Birt report from PHP. Exception: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RunAndRenderTask]]->run. Cause: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report VM: 1.6.0_20@http://java.sun.com/" at: #-11 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:188) #-10 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75) #-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) #-8 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1028) #-4 php.java.bridge.Request.handleRequest(Request.java:417) #-3 php.java.bridge.Request.handleRequests(Request.java:500) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://127.0.0.1:8080/JavaBridge/java/Java.inc(232): java_ThrowExceptionProxyFactory->getProxy(12, '@V', 'T', true) #1 http://127.0.0.1:8080/JavaBridge/java/Java.inc(360): java_Arg->getResult(true) #2 http://127.0.0.1:8080/JavaBridge/java/Java.inc(366): java_Client->getWrappedResult(true) #3 http://127.0.0.1:8080/JavaBridge/java/Java.inc(560): java_Client->getResult() #4 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1752): java_Client->invokeMethod(7, 'run', Array) #5 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1851): java_JavaProxy->__call('run', Array) #6 http://127.0.0.1:8080/JavaBridge/java/Java.inc(1999): java_AbstractJava->__call('run', Array) #7 [internal function]: Java->__call('run', Array) #8 C:\wamp\www\test\tst_birt.php(31): java_InternalJava->run() #9 {main}] PHP Code: <?php require_once("http://127.0.0.1:8080/JavaBridge/java/Java.inc"); session_start(); $here = getcwd(); $ctx = java_context()->getServletContext(); $birtReportEngine = java("org.eclipse.birt.php.birtengine.BirtEngine")->getBirtEngine($ctx); java_context()->onShutdown(java("org.eclipse.birt.php.birtengine.BirtEngine")->getShutdownHook()); try{ $report = $birtReportEngine->openReportDesign("${here}/ankieta.rptdesign"); $task = $birtReportEngine->createRunAndRenderTask($report); $taskOptions = new java("org.eclipse.birt.report.engine.api.HTMLRenderOption"); $outputStream = new java("java.io.ByteArrayOutputStream"); $taskOptions->setOutputStream($outputStream); $taskOptions->setOutputFormat("html"); $ih = new java( "org.eclipse.birt.report.engine.api.HTMLServerImageHandler"); $taskOptions->setImageHandler($ih); //$taskOptions->setBaseImageURL($imageURLPrefix . session_id()); $taskOptions->setImageDirectory($here . "/sessionChartImages/" . session_id()); $task->setRenderOption( $taskOptions ); //$task->setParameterValue("id_pracownik","85"); $task->run(); $task->close(); } catch (JavaException $e) { echo $e; //"Error Calling BIRT"; } echo java_values($outputStream->toByteArray()); Report renders to DOC, or PDF without any errors. I couldn't made it to log errors using properties file, so I have no idea how to made it to render it right. Report file enclosed to message, but it works fine in Birt Report Designer. |
From: <php...@li...> - 2010-10-26 17:00:57
|
Hi, Please re-read http://php-java-bridge.sourceforge.net/pjb/installation.php The --daemon option is not meant to be used by end users. Install a jee server to run the bridge back end. Otherwise you won't get any support from us. Regards, Jost Bökemeier Am 26.10.2010 02:15 schrieb <php...@li...>: Hi all, I'm hoping someone can help me out with a problem I've been having. My aim is as follows: 1) browse to a page generated by a php script. This script starts the javabridge in the background like this: $port = 9200; $javaHosts = "localhost:" . $port; define("JAVA_HOSTS", $javaHosts); // define engine scope define("ENGINE_SCOPE", 100); // require Java.inc for handling JAVA/PHP bridge related matters require_once ("Java.inc"); $basePath = dirname($_SERVER["SCRIPT_FILENAME"]); $port = 9200; // check if bridge is running already if (!$file = @fsockopen("127.0.0.1", $port, $errno, $errstr, 2)) { // not running, so start bridge $baseCmd = "java -Dphp.java.bridge.base=" . $basePath . "/lib/javabridge -jar " . $basePath . "/lib/javabridge/JavaBridge.jar SERVLET_LOCAL:"; $endCmd = " 3 " . $basePath . "/lib/javabridge/JavaBridge.log"; $cmd = $baseCmd . $port . $endCmd; } 2) create a java class object through the bridge, e.g: $myobject = new java("myclass"); 3) store this in the java context so I can access this object again after the script is renewed. For that I am trying this: define("ENGINE_SCOPE", 100); java_context()->setAttribute("myobject", $myobject, ENGINE_SCOPE); 4) and then getting the object out again in the new script with: $myobject = java_values(java_context()->getAttribute("myobject")); But trying to access the java context after I started up the bridge gives me: *Warning*: fread() [function.fread <http://localhost/mmic/function.fread>]: Length parameter must be greater than 0 in * C:\MyPrograms\wamp\www\mmic\java\Java.inc* on line *1157* protocol error: , Invalid document end at col 1. Check the back end log for OutOfMemoryErrors. fread() [function.fread<http://localhost/mmic/function.fread>]: Length parameter must be greater than 0 With the backend log stating: Oct 25 17:11:09 JavaBridge ERROR: An exception occured: java.lang.IllegalStateException: Please use a JEE server or servlet engine. java.lang.IllegalStateException: Please use a JEE server or servlet engine. at php.java.bridge.JavaBridgeRunner.doPut(JavaBridgeRunner.java:198) at php.java.bridge.http.HttpServer.service(HttpServer.java:289) at php.java.bridge.http.HttpServer$Runner.run(HttpServer.java:205) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) So clearly this is not the way for me to accomplish what I want to accomplish. So my question is, what would be the correct way to keep a java object created in php from one php script execution to another? Thanks a lot in advance for any insights, suggestions! Bart ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-10-26 00:15:19
|
Hi all, I'm hoping someone can help me out with a problem I've been having. My aim is as follows: 1) browse to a page generated by a php script. This script starts the javabridge in the background like this: $port = 9200; $javaHosts = "localhost:" . $port; define("JAVA_HOSTS", $javaHosts); // define engine scope define("ENGINE_SCOPE", 100); // require Java.inc for handling JAVA/PHP bridge related matters require_once ("Java.inc"); $basePath = dirname($_SERVER["SCRIPT_FILENAME"]); $port = 9200; // check if bridge is running already if (!$file = @fsockopen("127.0.0.1", $port, $errno, $errstr, 2)) { // not running, so start bridge $baseCmd = "java -Dphp.java.bridge.base=" . $basePath . "/lib/javabridge -jar " . $basePath . "/lib/javabridge/JavaBridge.jar SERVLET_LOCAL:"; $endCmd = " 3 " . $basePath . "/lib/javabridge/JavaBridge.log"; $cmd = $baseCmd . $port . $endCmd; } 2) create a java class object through the bridge, e.g: $myobject = new java("myclass"); 3) store this in the java context so I can access this object again after the script is renewed. For that I am trying this: define("ENGINE_SCOPE", 100); java_context()->setAttribute("myobject", $myobject, ENGINE_SCOPE); 4) and then getting the object out again in the new script with: $myobject = java_values(java_context()->getAttribute("myobject")); But trying to access the java context after I started up the bridge gives me: *Warning*: fread() [function.fread <http://localhost/mmic/function.fread>]: Length parameter must be greater than 0 in * C:\MyPrograms\wamp\www\mmic\java\Java.inc* on line *1157* protocol error: , Invalid document end at col 1. Check the back end log for OutOfMemoryErrors. fread() [function.fread<http://localhost/mmic/function.fread>]: Length parameter must be greater than 0 With the backend log stating: Oct 25 17:11:09 JavaBridge ERROR: An exception occured: java.lang.IllegalStateException: Please use a JEE server or servlet engine. java.lang.IllegalStateException: Please use a JEE server or servlet engine. at php.java.bridge.JavaBridgeRunner.doPut(JavaBridgeRunner.java:198) at php.java.bridge.http.HttpServer.service(HttpServer.java:289) at php.java.bridge.http.HttpServer$Runner.run(HttpServer.java:205) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) So clearly this is not the way for me to accomplish what I want to accomplish. So my question is, what would be the correct way to keep a java object created in php from one php script execution to another? Thanks a lot in advance for any insights, suggestions! Bart |
From: <php...@li...> - 2010-10-23 08:41:41
|
Hi, > We just need to be able to run their Java programs from a PHP script > that will be called from a web browser Please see http://php-java-bridge.sourceforge.net/pjb/installation.php > 1) . Can we just use JavaBridge for this purpose Sure. > 2) If yes, how do we do this exactly - Please see our FAQ entry "What do I need to communicate with Java?" and "Do I need a Java Application Server or Servlet Engine?" at http://php-java-bridge.sourceforge.net/pjb/FAQ.html > b) How do we run the JavaBridge app as a service/daemon in Linux that > can run in the background ? Both, Tomcat and Jetty run as a demon. Just type: yum install tomcat6 or yum install jetty to install it. > c) How do we call the java programs from PHP ? Use the PHP/Java Bridge protocol. Bindings for Python, Scheme, PHP 4 and higher are available. For PHP 5 just use the Java.inc class. Please see our FAQ entry "What do I need to communicate with Java?" and "Does it support PHP 4?" Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-20 07:14:06
|
We have a Linux / Apache 1.3 / PHP 5.3 web Server running multiple websites. We need to setup a Payment Gateway application that requires JavaBridge as it is coded in Java. We do have Java - with JDK 1.6 installed on the server. We just need to be able to run their Java programs from a PHP script that will be called from a web browser (Actually from WordPress - using the WP e-Commerce plugin) (there is no need to run PHP scripts from the Java app AFAIK) - So my questions are : 1) . Can we just use JavaBridge for this purpose - as the documentation shows that javabridge can be used as a servlet engine ? We do NOT want to install a separate Tomcat or other J2EE server. 2) If yes, how do we do this exactly - a) Which JavaBridge files do we need on the server and where do we copy these files ? To the Java /lib folder or to the Website's root (public_html) folder ? b) How do we run the JavaBridge app as a service/daemon in Linux that can run in the background ? ( We tried running it from a shell command but it runs in the foreground and would terminate once the shell was closed) c) How do we call the java programs from PHP ? Although I did go thru the documentation - it is quite confusing as there are so many options for the installation. Any help / advice or pointers to an existing document that describes this in detail would be great ! Thanks in advance for any help. - Ron |
From: <php...@li...> - 2010-10-18 18:38:29
|
> Any clue why 5.5.4.1 works in the same circumstances? The new code has been introduced in version 5.5.4 to prevent PHP from interpreting paths which contain special characters. Windows sometimes uses short paths which contain unusual characters. Since PHP/Java Bridge version 6.x we use it on Unix, too. > That's weird. It's hapenning in two different PHP versions, two different > Linux distribution and two different platforms (Intel and OS390-zLinux). I am sorry if this causes problems. But these issues appear as part of the "normal" PHP development process: It's a PHP problem, not a PHP/Java Bridge problem. It might be possible to work around this bug, I think we check the PHP version during startup. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-17 20:52:29
|
Hello! <quote> [jostb@localhost ~]$ php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path session.save_path => /tmp => /tmp </quote> According to http://www.php.net/manual/en/configuration.file.php session.save_path="something"; is okay, but session.save_path="something"; is not. However: [Customization] custom.mode = "development" session.save_path="${custom.mode}"; php 5.3: session.save_path => development => development php 5.2: session.save_path => ${custom.mode} => ${custom.mode} So I'd say that using ' quotes is correct. Peter |
From: <php...@li...> - 2010-10-17 17:46:19
|
Thanks for your inputs. That's weird. It's hapenning in two different PHP versions, two different Linux distribution and two different platforms (Intel and OS390-zLinux). Any clue why 5.5.4.1 works in the same circumstances? On Sun, Oct 17, 2010 at 3:12 PM, < php...@li...> wrote: > Hi, > > then you've found a PHP bug, I think. > > [jostb@localhost ~]$ php -n -d 'session.save_path='\''/tmp'\''' -i > |fgrep session.save_path > session.save_path => /tmp => /tmp > > > > Regards, > Jost Bökemeier > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Garcia |
From: <php...@li...> - 2010-10-17 17:13:00
|
Hi, then you've found a PHP bug, I think. [jostb@localhost ~]$ php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path session.save_path => /tmp => /tmp Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-17 16:56:18
|
Oh Sorry about it. sovm105:~# php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path session.save_path => '/tmp' => '/tmp' If you need something else please let me know. On Sun, Oct 17, 2010 at 2:35 PM, < php...@li...> wrote: > > Infact, I'm using WebSphere CE (Geronimo) and it has a setting that > override > > 'sesion.path' statement. > > Since I cannot reproduce it, I can't fix it. > > What does > > php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path > > display on your system? > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Garcia |
From: <php...@li...> - 2010-10-17 16:35:27
|
> Infact, I'm using WebSphere CE (Geronimo) and it has a setting that override > 'sesion.path' statement. Since I cannot reproduce it, I can't fix it. What does php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path display on your system? |
From: <php...@li...> - 2010-10-17 14:19:42
|
I already took a look on it. Infact, I'm using WebSphere CE (Geronimo) and it has a setting that override 'sesion.path' statement. session.path is fine, there is a bug in javabridge 6.1.5rc5 On Sun, Oct 17, 2010 at 12:10 PM, < php...@li...> wrote: > Then we have to look at PHP. > > What does > > php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path > > display on your system? > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Garcia |
From: <php...@li...> - 2010-10-17 14:10:30
|
Then we have to look at PHP. What does php -n -d 'session.save_path='\''/tmp'\''' -i |fgrep session.save_path display on your system? |
From: <php...@li...> - 2010-10-17 13:21:02
|
Confirmed. There is a bug in 6.2.1rc5 version. Worked fine with 5.5.4.1 version.\ Cheers. On Sun, Oct 17, 2010 at 10:04 AM, Garcia JR <gar...@gm...> wrote: > Here: > > ./test.sh 'arg 1' arg2 3 | od -c > 0000000 a r g 1 a r g 2 3 \n a r g > 0000020 1 a r g 2 3 \n > 0000032 > > > > On Sun, Oct 17, 2010 at 8:50 AM, < > php...@li...> wrote: > >> Hi, >> >> the argument appears to be quoted. >> >> The FastCGIServlet starts a FastCGI process pool through the operating >> system's /bin/sh, so I think we should find the bug there. >> >> What version of /bin/sh do you use, what does the following script: >> #!/bin/sh >> >> echo "$*" >> echo "$@" >> >> ./test.sh 'arg 1' arg2 3 | od -c >> >> display? >> >> >> >> Regards, >> Jost Bökemeier >> >> >> ------------------------------------------------------------------------------ >> Download new Adobe(R) Flash(R) Builder(TM) 4 >> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly >> Flex(R) Builder(TM)) enable the development of rich applications that run >> across multiple browsers and platforms. Download your free trials today! >> http://p.sf.net/sfu/adobe-dev2dev >> _______________________________________________ >> php-java-bridge-users mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >> > > > > -- > Garcia > -- Garcia |
From: <php...@li...> - 2010-10-17 12:05:07
|
Here: ./test.sh 'arg 1' arg2 3 | od -c 0000000 a r g 1 a r g 2 3 \n a r g 0000020 1 a r g 2 3 \n 0000032 On Sun, Oct 17, 2010 at 8:50 AM, < php...@li...> wrote: > Hi, > > the argument appears to be quoted. > > The FastCGIServlet starts a FastCGI process pool through the operating > system's /bin/sh, so I think we should find the bug there. > > What version of /bin/sh do you use, what does the following script: > #!/bin/sh > > echo "$*" > echo "$@" > > ./test.sh 'arg 1' arg2 3 | od -c > > display? > > > > Regards, > Jost Bökemeier > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Garcia |
From: <php...@li...> - 2010-10-17 10:50:57
|
Hi, the argument appears to be quoted. The FastCGIServlet starts a FastCGI process pool through the operating system's /bin/sh, so I think we should find the bug there. What version of /bin/sh do you use, what does the following script: #!/bin/sh echo "$*" echo "$@" ./test.sh 'arg 1' arg2 3 | od -c display? Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-15 18:47:10
|
Hi, php-java-bridge_6.2.1rc5 tested in PHP 5.2.6 and 5.2.14 Thanks! On Fri, Oct 15, 2010 at 2:40 PM, < php...@li...> wrote: > > open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, > O_RDWR) > > Which version of the PHP/Java Bridge do you use? > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Garcia |
From: <php...@li...> - 2010-10-15 17:40:29
|
> open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, O_RDWR) Which version of the PHP/Java Bridge do you use? |
From: <php...@li...> - 2010-10-15 09:40:18
|
Hello all. I'm getting this message when ever 'session_start()' runs: /root/wasce/var/log//server.out:PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, O_RDWR) failed: No such file or directory (2) in /root/wasce/repository/default/claim/1287058146236/claim-1287058146236.war/missing/config.php on line 3 /root/wasce/var/log//server.out:PHP Warning: Unknown: open('/root/wasce/var/temp'/sess_9695854ea31bcf9308a4b98d17830eb8, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 /root/wasce/var/log//server.out:PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ('/root/wasce/var/temp') in Unknown on line 0 Path exists, already tried to change to /tmp. File permission is good, since I'm running as root. Tried from different Linux platforms (i386 and s390) using Geronimo and Jetty, always getting result above. My code is pretty simple: <? include_once($_SERVER['DOCUMENT_ROOT']."/java/Java.inc"); session_start(); .. . ?> Can someone advise how to handle PHP standards sessions? Thanks for your time!! -- Garcia -- Garcia |
From: <php...@li...> - 2010-10-09 13:43:22
|
> Not a PHP/Java Bridge bug. Sorry for the confusion. It *is* a PHP/Java Bridge bug: The remote context doesn't need a ContextLoaderListener. Fixed in CVS head. Thanks again for reporting this bug! Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-09 13:35:29
|
Hi again, >> java.lang.NullPointerException >> php.java.servlet.RemoteHttpServletCont in /var/www/Java.inc on line 869 > Confirmed. Not a PHP/Java Bridge bug. Our tutorial is wrong. The PHP/Java Bridge needs a ContextLoaderListener declaration. Please see our FAQ for details: http://php-java-bridge.sourceforge.net/pjb/FAQ.html I will correct the tutorial for version 6.2.1. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-09 12:38:04
|
> java.lang.NullPointerException > php.java.servlet.RemoteHttpServletCont in /var/www/Java.inc on line 869 Confirmed. I will fix this bug for PHP/Java Bridge 6.2.1 and publish 6.2.1rc5 before making a final release. Furthermore: * php-servlet.jar is missing in the exploded folder * java -jar JavaBridge.jar does not work if HTTPS is selected in the GUI. We should use a self-signed certificate in this case. Thank you very much for this bug report! Regards, Jost Bökemeier |
From: <php...@li...> - 2010-10-09 12:15:01
|
> Because I am using PHP with FastCGI, can I put a php.ini file directly in > the same folder as my .php files, and that the parameters will be loaded > dynamically for this folder ? Yes, this feature has been introduced in php 5.2, I think. This is unrelated to the PHP/Java Bridge. Regards, Jost Bökemeier |