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...> - 2006-11-16 11:57:42
|
The file SwingTest.php can't be downloaded, because the webserver always interprets the php code. Maybe you could rename it to SwingTest.phps? Regards, Verena |
From: <php...@li...> - 2006-11-16 09:31:12
|
Hi, thanks a lot for your help! > > Now I got a php-interactive> command prompt. > > Now I tried things like > > echo "test"; > > with and without the ;, with <? or <?php and so on, > > but always I got: > > php-interactive> echo "2"; > > script error: Could not evaluate script > > You should find the reason in the JavaBridge.log. Most > likely the java_closure() syntax is not available. It > is exported from both, the pure PHP implementation > "java/Java.php" and from the java.so extension. The problem was that I didn't had a php-cgi binary and so there was an IOException. I made a ln -s to the php5 binary. This solves the script error, but now there is the same error about the missing invoke method at interface javax.script.Invocable.invoke as when I tried to compile the test class. > jrunscript -l php testfile.php > > should work as it doesn't need java_closure(). actually nothing (visual) happens in that case. The file contains <?php echo "test"; ?> Neither any output to the console nor in the log file. Regards, Verena |
From: <php...@li...> - 2006-11-15 17:12:18
|
Greetings! How can I set up the runtime path when calling Java classes with php-java-bridge? My Java class loads some files from the filesystem using relative paths, but when I instantiate them with the bridge, they'll look for files from the "/" base uri (I'm under unix/linux system) How can I set the runtime path from where Java classes should resolve relative paths? It would be great if there could be a way to set it from the php-bridge... For now, I've resolved launching the Bridge.jar standalone in the java classes path, but there could be a more elegant solution... Thank you very much Michele |
From: <php...@li...> - 2006-11-15 17:03:43
|
Hi Verena, > Did you develop this class with the RC of JDK1.6? > Did the interface change? we've tested against the beta version of jdk1.6. There were some changes since then, so this might be the case, please see the ticket PR1597124 for details -> http://sourceforge.net/tracker/index.php?func=detail&aid=1597124&group_id=117793&atid=679233 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-15 16:51:32
|
Hi Verena, > > /opt/jdk1.6/bin/jrunscript -l php-intractive There are two ScriptEngines available, one is php-interactive and the other one is the "normal" php evaluator, which requires the "<?php" prefix. In any case, the log and error output appears in a file JavaBridge.log in the current directory. One can change this with the -Dphp.java.bridge.default_log_file="" option (empty string means log to stderr). The difference between "php-interactive" and php is that the former starts a Lisp/Scheme style repl, which in turn needs the java_closure() primitive to function properly. -- PHP was not designed for Lisp style evaluation, so "php-interactive" is pretty much experimental at the moment. > Now I got a php-interactive> command prompt. > Now I tried things like > echo "test"; > with and without the ;, with <? or <?php and so on, > but always I got: > php-interactive> echo "2"; > script error: Could not evaluate script You should find the reason in the JavaBridge.log. Most likely the java_closure() syntax is not available. It is exported from both, the pure PHP implementation "java/Java.php" and from the java.so extension. However, jrunscript -l php testfile.php should work as it doesn't need java_closure(). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-15 16:29:36
|
Am Dienstag, 14. November 2006 19:30 schrieb php...@li...: > The folder > http://php-java-bridge.sourceforge.net/server/test/ > contains a few tests. I tried http://php-java-bridge.sourceforge.net/server/test/HelloWorld.java: verena@dhcppc8:~/tmp> /usr/java/jdk1.6.0/bin/javac HelloWorld.java HelloWorld.java:27: cannot find symbol symbol : method invoke(java.lang.String,java.lang.Object[]) location: interface javax.script.Invocable String name = (String) ((Invocable)engine).invoke("java_get_server_name", new Object[]{}); ^ HelloWorld.java:32: cannot find symbol symbol : method invoke(java.lang.String,java.lang.Object[]) location: interface javax.script.Invocable name = (String) ((Invocable)engine).invoke("java_get_server_name", new Object[]{}); ^ 2 errors Did you develop this class with the RC of JDK1.6? Did the interface change? Regards, Verena |
From: <php...@li...> - 2006-11-15 15:39:49
|
Am Dienstag, 14. November 2006 19:30 schrieb php...@li...: > For example the command: > > /opt/jdk1.6/bin/jrunscript -l php-intractive OK, what I did: - compiling the php-java-bridge source on my Suse Linux 10.1 x64 box from the tar.bz2 file. The used JDK was SUN JDK 1.5.0_x. - downloading Java 1.6.0 RC from SUNs website and installed the rpm - copied JavaBridge.jar php-script.jar script-api.jar to the JRE 6 extension dir - started /usr/java/jdk1.6.0/bin/jrunscript -l php-interactive Now I got a php-interactive> command prompt. Now I tried things like echo "test"; with and without the ;, with <? or <?php and so on, but always I got: php-interactive> echo "2"; script error: Could not evaluate script Is the problem that I compiled the bridge with a JDK 1.5 instead of 1.6? I tried 1.6 but there were some errors. If this might be the problem I'll post the compile errors here. I tried jrunscript with JavaScript as scripting language and this worked, so I guess the JDK is ok. Is some additional information needed? What could I do now? Regards, Verena |
From: <php...@li...> - 2006-11-15 14:56:17
|
Am Mittwoch, 15. November 2006 15:27 schrieb > In the replay to one of my last post with the subject > "bridging from J2SE to PHP possible?" I got the hint to install the > php-java-bridge-devel.rpm to achieve what I was looking for. If I would > know how to get the bridge working without having the rpms installed but > compiled from plain source, this compilation problem wouldn't be important. Sorry, you've already written it. I was just looking at "On Linux" part and ignored the Windows/Solaris text, but there you wrote which jars are needed. OK, so this is solved. Regards, Verena |
From: <php...@li...> - 2006-11-15 14:26:12
|
Actually compiling the source rpm isn't so important, since compiling the plain source worked. The thing is, I tried to install the php-java-bridge-devel.rpm, what failed because of the failed dependency to php-java-bridge. In the replay to one of my last post with the subject "bridging from J2SE to PHP possible?" I got the hint to install the php-java-bridge-devel.rpm to achieve what I was looking for. If I would know how to get the bridge working without having the rpms installed but compiled from plain source, this compilation problem wouldn't be important. Regards, Verena |
From: <php...@li...> - 2006-11-15 14:12:06
|
Hello, I tried to install the php-java bridge on my Suse Linx 10.1 computer via the source rpm. dhcppc8:/home/verena/tmp # rpmbuild --rebuild php-java-bridge-3.1.8-1.src.rpm Installing php-java-bridge-3.1.8-1.src.rpm warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID be89e756 error: Failed build dependencies: php-devel >= 4.3.4 is needed by php-java-bridge-3.1.8-1.x86_64 dhcppc8:/home/verena/tmp # I have PHP devel package installed, but it is called php5-devel, so I tried rpmbuild --rebuild --nodeps php-java-bridge-3.1.8-1.src.rpm It seems the php-dev isn't the problem, since Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 seems pretty much like the output of phpize But later the compilation process quites with the following error: RPM build errors: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID be89e756 File not found: /var/tmp/php-java-bridge-root/usr/lib64/php/modules/RunJavaBridge Any ideas how to get rid of this? Any further information needed? Regards, Verena |
From: <php...@li...> - 2006-11-15 08:38:25
|
Hi Jost, this sounds great, I'll give it a try. Regards, Verena |
From: <php...@li...> - 2006-11-14 18:30:31
|
Hi Verena, sorry for the misunderstanding. J2SE 1.6.0 will contain the necessary interfaces. For example the command: /opt/jdk1.6/bin/jrunscript -l php-intractive will start a Java VM with a PHP interpreter attached. On Linux you need to install java 6 and the php-java-bridge-devel package: rpm -i jdk-6-linux-i586.rpm rpm -i rpm -i php-java-bridge-devel-x.y.z-1.i386.rpm On Windows or Solaris you need to copy the JavaBridge.jar and the php-script.jar to the java extension dir. On Solaris this is /usr/java/packages/lib/ext/JavaBridge.jar and /usr/java/packages/lib/ext/php-script.jar For Java < 1.6.0 you also need the script-api.jar which is built automatically, if autoconf doesn't detect Java 6. The folder http://php-java-bridge.sourceforge.net/server/test/ contains a few tests. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-11-14 16:19:42
|
Am Montag, 13. November 2006 19:30 schrieb php...@li...: > > I couldn't find any information about > > this on the php-java > > bridge website, it's all about web development. [...] > > If not, does somebody know any possibility for this? > > An old version (2.0.8) contained some MONO/NET GTK > examples. I had a look there. But all I found was the other way round: a PHP class instanciating some MONO or JAVA classes. I'd like to write a Java class wich instanciates a PHP class. Regards, Verena |
From: <php...@li...> - 2006-11-14 09:29:12
|
Am Montag, 13. November 2006 19:30 schrieb > > is it possible to instanciate a PHP class from > > within a J2SE standalone > > application? > > Yes, but that's deprecated. If you want to use Java we > recommend to use a J2EE application server or servlet > engine. For example Apache Geronimo or Sun's > "Glassfish". The problem with this solution is that in my opinion J2EE application don't scale well to the lower end. And the PHP application is ment for intranet use in small networks, so the overhead would be too much. > Well, PHP is all about web development. IMHO PHP > cannot be used in desktop applications; it has several > limitations. It doesn't support threads and it doesn't > have a real garbage collector. This means that > long-running php applications will consume huge > amounts of memory. The PHP reference counter cannot > reclaim cycles for example. I share your opinion here, too, maybe I should tell something about the background of my question. The PHP app has a strict object orientated design and a good separation of business logic, data access and presentation layer. We are thinking now about moving away from the web based model to a rich client. To speed things up we were hoping to reuse the PHP based business logic classes (at least for the first version, if the rich client proves its value, we would think about moving to Java completly for the long term). Since this actually would be a Java application which uses some PHP classes but runs inside the Java VM, the drawbacks of PHP you mentioned shouldn't be present in this solution. > I know that there are some (IMHO insane) attempts to > create desktop bindings, GTK bindings for example. But > in practice these bindings don't really work well due > to PHP's limitations. I had a look at those things and I share your opinion: not usable. > > If not, does somebody know any possibility for this? > > An old version (2.0.8) contained some MONO/NET GTK > examples. I'll have a look at this. Thanks for your answer, Verena |
From: <php...@li...> - 2006-11-13 18:30:43
|
Hi, > is it possible to instanciate a PHP class from > within a J2SE standalone > application? Yes, but that's deprecated. If you want to use Java we recommend to use a J2EE application server or servlet engine. For example Apache Geronimo or Sun's "Glassfish". > I couldn't find any information about > this on the php-java > bridge website, it's all about web development. Well, PHP is all about web development. IMHO PHP cannot be used in desktop applications; it has several limitations. It doesn't support threads and it doesn't have a real garbage collector. This means that long-running php applications will consume huge amounts of memory. The PHP reference counter cannot reclaim cycles for example. I know that there are some (IMHO insane) attempts to create desktop bindings, GTK bindings for example. But in practice these bindings don't really work well due to PHP's limitations. > If not, does somebody know any possibility for this? An old version (2.0.8) contained some MONO/NET GTK examples. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-13 10:14:13
|
Hi, is it possible to instanciate a PHP class from within a J2SE standalone application? I couldn't find any information about this on the php-java bridge website, it's all about web development. If not, does somebody know any possibility for this? regards, Verena |
From: <php...@li...> - 2006-11-11 21:34:03
|
Thanks very kindly for the advice -- I'll ask our sysadmins to execute the changes you suggested and see if that works! -- Marshall Levin mar...@ha... php...@li... wrote: > The php-java-bridge-3.1.8-1-FC4.rpm contains a php > 5.0.x binary. However, it needs the appropriate SEL > and unix permissions. > > su - > setenforce 0 > chmod 777 /usr/lib/php/modules/java.so > > should work. > > > Regards, > Jost Boekemeier |
From: <php...@li...> - 2006-11-10 15:13:37
|
Hi, for PHP < 5.1.4 you need to build an appropriate java.so, please see the INSTALL document for details. For newer php versions please use the generic implementation located in the java folder. It doesn't need java.so or php_java.dll anymore. > Downloaded php-java-bridge_3.1.8_j2ee and ran the > test.sh, which worked > fine. Took the java.so and JavaBridge.jar and put The java.so from the j2ee download is a php 5.1.x binary, which doesn't work with the old php 5.0.x ABI. > PHP Startup: Unable to load dynamic library > '/usr/lib/php/modules/java.so' - > /usr/lib/php/modules/java.so: cannot > open shared object file: Permission denied in The php-java-bridge-3.1.8-1-FC4.rpm contains a php 5.0.x binary. However, it needs the appropriate SEL and unix permissions. su - setenforce 0 chmod 777 /usr/lib/php/modules/java.so should work. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-09 21:04:18
|
Hi all, Running on Redhat "Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686" according to output of "uname -a" and I'm using PHP 5.0.4 with Apache 2.0.52. Downloaded php-java-bridge_3.1.8_j2ee and ran the test.sh, which worked fine. Took the java.so and JavaBridge.jar and put them into my /usr/lib/php/modules directory and created the appropriate entries in php.ini to enable java.so, set the java params, etc. Upon Apache restart, I got this error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/java.so' - /usr/lib/php/modules/java.so: undefined symbol: _zval_dtor_func in Unknown on line 0 Then downloaded the RPM and simply extracted the files (I don't have root access) and grabbed the java.so and other files that belong in /usr/lib/php/modules (I did notice that the java.so was much larger). This time, I got a different error: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/java.so' - /usr/lib/php/modules/java.so: cannot open shared object file: Permission denied in Unknown on line 0 Again, running it outside of Apache (using test.sh) worked fine. But for some reason I can't get java.so to work when loading it via Apache. Any ideas would be greatly appreciated! Thanks |
From: <php...@li...> - 2006-11-09 19:01:08
|
Hi JJ, until now there is no official PHP 5.2.0 RPM available for Linux. We will make an optimized PHP/Java Bridge implementation for Linux (RedHat) available -- the upcoming Linux distribution (Fedora Core 6) will ship with PHP 5.1.x, so you'll need to wait until Fedora Core 7 is available next year. Until then please use the generic PHP/Java Bridge implementation from the java folder, please see the ABOUT.HTM for details. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-09 05:08:03
|
Hi, My name is JJ. --env-- CentOS4.3 Apache2.0 PHP5.2.0 Java1.5.0_08 JRE1.5.0_08 Tomcat5.5 mod_jk1 ------- <installed PHP5.2.0> [root]> ./configure \ --enable-bcmath \ --enable-calendar \ --enable-dio \ --enable-exif \ --enable-ftp \ --enable-mbstring \ --enable-mbregex \ --enable-memory-limit \ --enable-shmop \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx \ --enable-yp \ --enable-zend-multibyte \ --with-zlib \ --with-pdo-mysql=/usr/local/mysql \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-bz2 \ --with-config-file-path=/etc \ --with-mcrypt \ --with-mime-magic \ --with-mod_charset \ --with-xml \ --with-xmlrpc \ --with-xsl \ --without-iconv \ --with-gd --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-freetype-dir= /usr \ --with-gettext \ --enable-gd-jis-conv \ --enable-gd-native-ttf \ --with-ttf \ --with-mysqli=/usr/local/mysql/bin/mysql_config \ --without-mysql \ --enable-fastcgi \ --prefix=/usr/php/php-5.2.0 [root]> make [root]> make install <installed PHP-Java-Bridge 3.1.8> [root]> phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root]> ./configure --with-java=/usr/local/jdk,/usr/local/jdk/jre [root]> make [root]> make install <modify php.ini> extension_dir= "/usr/php/php-5.2.0/lib/php/extensions/no-debug-zts- 20060613" java.home = "/usr/local/jdk" java.library.path = "/usr/php/php-5.2.0/lib/php/extensions/no-debug-zts- 20060613" extension = java.so ------------------------------------------- install complete. ------------------------------------------- [root]> php -r "phpinfo();"|grep java PHP Warning: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0 ------------------------------------------- phpinfo phpinfo does not is supported by java. And this Happened PHP Warning. Is Warning API modify? |
From: <php...@li...> - 2006-11-08 18:42:38
|
Hi, > php-java-bridge is not supported to PHP5.2.0. again; the PHP/Java Bridge works well with PHP 5.2.0 > The thing that zend-extension-API improved the > version seems to cause. The PHP/Java Bridge doesn't use the zend extension API. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-11-08 18:40:16
|
Hi, > PHP5.2.0 not sapported. says who? The PHP/Java Bridge works well with PHP 5.2.0. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-11-08 16:39:16
|
Please ignore - an Acegi security issue and an HTTP 302.=0A=0A----- Origina= l Message ----=0AFrom: Paul Feaviour <pa...@ya...>=0ATo: php-java-b= rid...@li...=0ASent: Wednesday, 8 November, 2006 3:33:= 20 PM=0ASubject: Cannot redeclare get_cookies()=0A=0AHi, =0A =0AI am develo= ping on a Windows box and things appear to be working as expected. =0A=0A= Our staging box, however, is a Linux box with all the same versions of Php,= Apache and mod_jk - deploying to this box I get the following errors when = I access a particular page: =0A =0A Fatal error: (previously declared = in cookies:1) in cookies on line 2 =0A =0A Warning: Cannot modify header = information - headers already sent in setResultWith_cookie on line 4 =0A = =0AThe Fatal error is because of the line =0A =0A$session =3D java_session(= ); =0A =0AThis is the first line in my php file after <?php. I have read t= he documentation on java_session and have made sure that in my php.ini file= the setting: output_buffering=3DOn.=0A=0AIf I login in to my application (= j2ee app) then try accessing this file again it works fine. I need to be a= ble to tell whether or not I have logged in via php into the j2ee app, one = of the reasons for me using this bridge.=0A=0AAny help much appreciated.=0A= =0APaul=0A=0A=0A=0A=0A =0A__________________________________________= _________________ =0ATry the all-new Yahoo! Mail. "The New Version is radic= ally easier to use" =96 The Wall Street Journal =0Ahttp://uk.docs.yahoo.com= /nowyoucan.html=0A=0A=0A=0A=0ASend instant messages to your online friends = http://uk.messenger.yahoo.com |
From: <php...@li...> - 2006-11-08 15:33:38
|
Hi, =0A =0AI am developing on a Windows box and things appear to be working= as expected. =0A=0AOur staging box, however, is a Linux box with all the= same versions of Php, Apache and mod_jk - deploying to this box I get the = following errors when I access a particular page: =0A =0A Fatal error: = (previously declared in cookies:1) in cookies on line 2 =0A =0A Warning: = Cannot modify header information - headers already sent in setResultWith_c= ookie on line 4 =0A =0AThe Fatal error is because of the line =0A =0A$sessi= on =3D java_session(); =0A =0AThis is the first line in my php file after <= ?php. I have read the documentation on java_session and have made sure tha= t in my php.ini file the setting: output_buffering=3DOn.=0A=0AIf I login in= to my application (j2ee app) then try accessing this file again it works f= ine. I need to be able to tell whether or not I have logged in via php int= o the j2ee app, one of the reasons for me using this bridge.=0A=0AAny help = much appreciated.=0A=0APaul=0A=0A=0A=0A=0A=09=09=0A________________________= ___________________________________ =0ATry the all-new Yahoo! Mail. "The Ne= w Version is radically easier to use" =96 The Wall Street Journal =0Ahttp:/= /uk.docs.yahoo.com/nowyoucan.html |