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...> - 2007-05-18 12:32:19
|
Hello, Thanks for your reply but i install java-php bridge version 1.x and java and php working fine, but now I am again facing problem to use keytool to make trusted a certificate, while keytool command is not available.so what i do in next.. Regards Sharad > Hi, > >> I want to install php-java bridge for gcj-3.2.3 >> or below. > > you can't. The PHP/Java Bridge needs java >= 1.4, for > example GNU GCJ version 4.0 or above. > > If you want to compile Java to native code, you must > use GCC >= 4.0. > > If you have an old GNU compiler, you must install a > real Java VM, for example from Sun or IBM. You can use > a) the pure PHP/Java implementation of the bridge or > b) disable back end compilation (configure > --disable-backend). A precompiled back end > ("JavaBridge.jar") is contained in the pure PHP/Java > "j2ee/binary" download. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Thanks and Regards Sharad Singh Sr. Project Associate EE, IIT Kanpur Mob:+91- 9450 328 117 website: http://www.brihaspatisolutions.co.in Accessing Brihaspati: http://202.141.40.217:8080/brihaspati/servlet/brihaspati Login:guest Password: guest |
From: <php...@li...> - 2007-05-18 11:29:27
|
Hi, > I want to install php-java bridge for gcj-3.2.3 > or below. you can't. The PHP/Java Bridge needs java >= 1.4, for example GNU GCJ version 4.0 or above. If you want to compile Java to native code, you must use GCC >= 4.0. If you have an old GNU compiler, you must install a real Java VM, for example from Sun or IBM. You can use a) the pure PHP/Java implementation of the bridge or b) disable back end compilation (configure --disable-backend). A precompiled back end ("JavaBridge.jar") is contained in the pure PHP/Java "j2ee/binary" download. 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...> - 2007-05-18 11:24:09
|
Hi, > java -jar JavaBridge.jar INET:9090 3 jb1.log & > java -jar JavaBridge.jar INET:9091 3 jb2.log & > > Suppose I want to start two clients as you suggested > and alternate > invoking the client on port 9090 and then 9091, How > do I config the > bridge to achieve this? sorry, I misunderstood your question. The PHP/Java Bridge supports load balancing when you run the back end(s) in a J2EE server or Servlet engine. internet clients...-->..apache+PHP/Java Bridge...->..Tomcat1 ........................................->..Tomcat2 ........................................->..Tomcat3 Please see our documentation at php-java-bridge.sf.net for details how to enable load balancing in Apache/Tomcat. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever |
From: <php...@li...> - 2007-05-17 09:40:24
|
Hello all, I want to install php-java bridge for gcj-3.2.3 or below.Can Any body Guide from where I can download exact php-java bridge for the gcj-3.2.3 or below version. Thanks to you all. -- Thanks and Regards Sharad Singh Sr. Project Associate EE, IIT Kanpur Mob:+91- 9450 328 117 website: http://www.brihaspatisolutions.co.in Accessing Brihaspati: http://202.141.40.217:8080/brihaspati/servlet/brihaspati Login:guest Password: guest |
From: <php...@li...> - 2007-05-16 17:05:45
|
you can run as many clients as you want. For example: java -jar JavaBridge.jar INET:9090 3 jb1.log & java -jar JavaBridge.jar INET:9091 3 jb2.log & Suppose I want to start two clients as you suggested and alternate invoking the client on port 9090 and then 9091, How do I config the bridge to achieve this? -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Sunday, May 13, 2007 5:34 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Running standalone client twice tochange java status to running Hi, > On the linux platform, I need to start the > standalone client twice to > change java status. you can run as many clients as you want. For example: java -jar JavaBridge.jar INET:9090 3 jb1.log & java -jar JavaBridge.jar INET:9091 3 jb2.log & Your php.ini should look like: java.hosts=3D"127.0.0.1:9090 127.0.0.1:9091" java.servlet=3DOff Please see the java.hosts description for details. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-05-15 18:06:15
|
Jost, You're quite right. Thanks for replying to my question. =20 Regards, Joe -----Original Message----- From: php...@li... = [mailto:php...@li...] On Behalf = Of php...@li... Sent: Tuesday, May 15, 2007 4:02 AM To: php...@li... Subject: Re: [Php-java-bridge-users] setting php max_execution_time Hi, > After recompiling and install java bridge on my > linux box, I no longer > find the entry max_execution_time in the php.ini > file. =20 well, the PHP/Java Bridge doesn't change your php.ini file.=20 If entries have changed, you must have changed them yourself (probably through some scripts). -- The source distribution contains a install.sh script, which checks if your PHP installation supports a config scan dir, and if it doesn't, it asks you if it should write a new config file. It saves the old one of course. In any case, this isn't a problem with the PHP/Java Bridge or its setup. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? = Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-05-15 11:02:16
|
Hi, > After recompiling and install java bridge on my > linux box, I no longer > find the entry max_execution_time in the php.ini > file. well, the PHP/Java Bridge doesn't change your php.ini file. If entries have changed, you must have changed them yourself (probably through some scripts). -- The source distribution contains a install.sh script, which checks if your PHP installation supports a config scan dir, and if it doesn't, it asks you if it should write a new config file. It saves the old one of course. In any case, this isn't a problem with the PHP/Java Bridge or its setup. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
From: <php...@li...> - 2007-05-15 10:23:13
|
Hi Gilbert, > FSDirectory fsd1 = > FSDirectory.getDirectory("e:/Index1"); $fsd1=java('org.apache.lucene.store.FSDirectory')->getDirectory("e:/Index1"); > writer.addIndexes(new Directory[] { fsd1, fsd2}); $writer->addIndexes(array($fsd1, $fsd2)); > I really need the array type directory or my code > throws an exception. The tests.php5 directory contains a test for the above case. A PhpArray can and will be coerced into the target array type. It cannot do this, if you pass different element types, of course. This seems to be the problem with the PHP code you've given. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
From: <php...@li...> - 2007-05-14 14:39:09
|
Anyone got a clue how to rewrite this to PHP5? FSDirectory fsd1 = FSDirectory.getDirectory("e:/Index1"); FSDirectory fsd2 = FSDirectory.getDirectory("e:/Index2"); writer.addIndexes(new Directory[] { fsd1, fsd2}); Would be something like: $oDir =new Java( 'org.apache.lucene.store.FSDirectory'); $myDir = $oDir->getDirectory($sCurrentIndexPath,false); but then 'writer.addIndexes(new Directory[] { fsd1, fsd2});' I really need the array type directory or my code throws an exception. Thanks in advance Gilbert |
From: <php...@li...> - 2007-05-14 01:08:27
|
After recompiling and install java bridge on my linux box, I no longer find the entry max_execution_time in the php.ini file. When visiting phpinfo.php, I do see the value of max_execution_time, default to 30 seconds, which meant phpinfo.php has picked up this value somewhere. Which file should I use to set value for max_execution_time? =20 |
From: <php...@li...> - 2007-05-13 17:07:22
|
I found System.out.close() in the Standalone.java. It explained why I = could not see my own System.out.println(). I also found my log file :-) = hidden under the ../ext -----Original Message----- From: php...@li... = [mailto:php...@li...] On Behalf = Of php...@li... Sent: Sunday, May 13, 2007 8:03 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Log4j.properties setting = andeclipsedebugging I am running standalone backend on an XP platform. This is how I start = the standalone bridge C:\wamp\php\ext>java -Dconfig.file=3Doc25app.conf = -Djava.library.path=3Dc:/wamp/php/ext/ = -Djava.class.path=3Dc:/wamp/php/ext/JavaBridge.jar -Djav a.awt.headless=3Dtrue -Dphp.java.bridge.base=3Dc:/wamp/php/ext/ = php.java.bridge.Standalone INET_LOCAL:0 5 C:\wamp\logs\bridge.log and This is what I see in the console @9267 JavaBridge log: C:\wamp\logs\bridge.log My log4j.properties was in in the classpath, but I still did not see any = log in the console. I also coded System.out.println() and did not see = any msg in the console. I searched and found one of your post in the archive mail, I wonder = whether this is the same case. Thanks ------------------------------------------------------- > Also, once deploying the package it seems that > logging from that point > becomes disabled, e.g. no further server messages > are shown - is this a > default behaviour within the app itself? The JavaBridge.war contains a log4j.jar library. This library is responsible for this behaviour. I will remove log4j from the war file. Regards, Jost Boekemeier -------------------------------------------------------- =20 -----Original Message----- From: php...@li... = [mailto:php...@li...] On Behalf = Of php...@li... Sent: Sunday, May 13, 2007 5:40 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Log4j.properties setting and = eclipsedebugging Hi, [please excuse the delay] > What is a proper way to set (incoporate) my > application > log4j.properties file in java bridge? As I know I assume "log4j.properties" is some kind of configuration file for the "log4j" java library. Such config files belong to a dedicated config directory (please see your J2EE server for details) or into the classpath, for example php.java.bridge.base/lib (usually: $HOME/lib). > Could I use eclipse to debug my code and inspect the > values at the point > where the bridge invoking a method in my app? Yes. The PHP/Java Bridge has been developed this way. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? = Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-05-13 15:02:59
|
I am running standalone backend on an XP platform. This is how I start = the standalone bridge C:\wamp\php\ext>java -Dconfig.file=3Doc25app.conf = -Djava.library.path=3Dc:/wamp/php/ext/ = -Djava.class.path=3Dc:/wamp/php/ext/JavaBridge.jar -Djav a.awt.headless=3Dtrue -Dphp.java.bridge.base=3Dc:/wamp/php/ext/ = php.java.bridge.Standalone INET_LOCAL:0 5 C:\wamp\logs\bridge.log and This is what I see in the console @9267 JavaBridge log: C:\wamp\logs\bridge.log My log4j.properties was in in the classpath, but I still did not see any = log in the console. I also coded System.out.println() and did not see = any msg in the console. I searched and found one of your post in the archive mail, I wonder = whether this is the same case. Thanks ------------------------------------------------------- > Also, once deploying the package it seems that > logging from that point > becomes disabled, e.g. no further server messages > are shown - is this a > default behaviour within the app itself? The JavaBridge.war contains a log4j.jar library. This library is responsible for this behaviour. I will remove log4j from the war file. Regards, Jost Boekemeier -------------------------------------------------------- =20 -----Original Message----- From: php...@li... = [mailto:php...@li...] On Behalf = Of php...@li... Sent: Sunday, May 13, 2007 5:40 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Log4j.properties setting and = eclipsedebugging Hi, [please excuse the delay] > What is a proper way to set (incoporate) my > application > log4j.properties file in java bridge? As I know I assume "log4j.properties" is some kind of configuration file for the "log4j" java library. Such config files belong to a dedicated config directory (please see your J2EE server for details) or into the classpath, for example php.java.bridge.base/lib (usually: $HOME/lib). > Could I use eclipse to debug my code and inspect the > values at the point > where the bridge invoking a method in my app? Yes. The PHP/Java Bridge has been developed this way. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? = Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-05-13 12:39:46
|
Hi, [please excuse the delay] > What is a proper way to set (incoporate) my > application > log4j.properties file in java bridge? As I know I assume "log4j.properties" is some kind of configuration file for the "log4j" java library. Such config files belong to a dedicated config directory (please see your J2EE server for details) or into the classpath, for example php.java.bridge.base/lib (usually: $HOME/lib). > Could I use eclipse to debug my code and inspect the > values at the point > where the bridge invoking a method in my app? Yes. The PHP/Java Bridge has been developed this way. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
From: <php...@li...> - 2007-05-13 12:34:07
|
Hi, > On the linux platform, I need to start the > standalone client twice to > change java status. you can run as many clients as you want. For example: java -jar JavaBridge.jar INET:9090 3 jb1.log & java -jar JavaBridge.jar INET:9091 3 jb2.log & Your php.ini should look like: java.hosts="127.0.0.1:9090 127.0.0.1:9091" java.servlet=Off Please see the java.hosts description for details. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever |
From: <php...@li...> - 2007-05-12 21:48:37
|
Jost, On the linux platform, I need to start the standalone client twice to change java status. The first time, I started it. java -Djava.library.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-2005= 0 922 -Djava.class.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-200509= 2 2/JavaBridge.jar -Djava.awt.headless=3Dtrue -Dphp.java.bridge.base=3D/usr/local/lib/php/extensions/no-debug-non-zts-2= 0 050922 php.java.bridge.Standalone LOCAL:@java-bridge-50ab 5 /usr/local/log/bridge.log @@java-bridge-50ab JavaBridge log: /usr/local/log/bridge.log I checked the java status, it was 'not running' I then, start standalone client the second time,=20 java -Djava.library.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-2005= 0 922 -Djava.class.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-200509= 2 2/JavaBridge.jar -Djava.awt.headless=3Dtrue -Dphp.java.bridge.base=3D/usr/local/lib/php/extensions/no-debug-non-zts-2= 0 050922 php.java.bridge.Standalone LOCAL:@java-bridge-50ab 5 /usr/local/log/bridge.log system error: could not bind socket: Address already in use @9267 JavaBridge log: /usr/local/log/bridge.log=20 On the second time, although I got system error: Address already in use, the java status changed to 'running' Ps -ef | grep java --> I saw two identical standalone clients were running. Also, I deployed my app jars under /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ and also log4j.properties under the same directory. In my app jars, I had codes logging and tracing data, but I could not find these logging data. Could you let me know how to I log data to the file bridge.log. Best regards, Joe |
From: <php...@li...> - 2007-05-12 20:39:17
|
Thanks for the prompt reply, Jost. The issue I am facing with is that time() or gmmktime() returns unix timestamp with just 10 digits e.g. 1178999783 whereas, java timestamp is expecting 13 digits. Assume time() returned 1178999783, I believe this php line=20 Java('java.sql.Timestamp', time()); Is equivalent to this line in java new Timestamp(0001178999783); As the result, the timestamp became incorrect on my back end server. My temporary resolution was to multiply whatever returned by php time() by 1000. What is your suggestion? Thanks=20 -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Saturday, May 12, 2007 10:30 AM To: php...@li... Subject: Re: [Php-java-bridge-users] php to java timestamp Hi, > $startDate =3D new Java('java.sql.Timestamp', > gmmktime(0,0,0,10,3,2007)); > $endDate =3D new Java('java.sql.Timestamp', time()); > 1970-01-14 10:56:09.6 > 1970-01-14 07:29:12.32 depending on what gmmktime() and time() return, the above results are correct. Both, time() and gmmktime() must return a java.lang.long, a 64bit value representing the seconds since some time in the history. Please see the sql.Timestamp API documentation for details. Regards, Jost Boekemeier __________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-05-12 17:45:13
|
> must return a java.lang.long, a 64bit value One can create such a java.lang.long value with e.g.: new java("java.lang.Long", "14098922"); or java("java.lang.System")->currentTimeMillis(); Regards, Jost Boekemeier __________________________________ Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever |
From: <php...@li...> - 2007-05-12 17:30:03
|
Hi, > $startDate = new Java('java.sql.Timestamp', > gmmktime(0,0,0,10,3,2007)); > $endDate = new Java('java.sql.Timestamp', time()); > 1970-01-14 10:56:09.6 > 1970-01-14 07:29:12.32 depending on what gmmktime() and time() return, the above results are correct. Both, time() and gmmktime() must return a java.lang.long, a 64bit value representing the seconds since some time in the history. Please see the sql.Timestamp API documentation for details. Regards, Jost Boekemeier __________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever |
From: <php...@li...> - 2007-05-12 07:18:44
|
Could someone suggest how to convert php timestamp to java timestamp? This was how I created timestamp on php page $startDate =3D new Java('java.sql.Timestamp', = gmmktime(0,0,0,10,3,2007)); echo (String) $startDate; $endDate =3D new Java('java.sql.Timestamp', time()); echo "<br>"; echo (String) $endDate; The following timestamps displayed on the browser 1970-01-14 10:56:09.6 1970-01-14 07:29:12.32 And on the server sides, java stimestamp displayed=20 1970-01-14 10:56:09.6 1970-01-14 07:29:13.872 The year was 1970. =20 |
From: <php...@li...> - 2007-05-08 17:52:18
|
> Well is there an issue with the java wrapper and PHP > 5.2? If you can compile C code, you can compile a php_java.dll yourself. See the FAQ for details. > tried to downgrade the PHP to 5.1.6, seems that the Isn't that backwards? Why don't you use php 5.2.x instead? If you use a modern PHP implementation, the old C crap~--~err, sorry C-code~--~isn't needed anymore. The pure PHP/Java implementation works on all architectures and operating systems. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-05-08 14:54:41
|
Well is there an issue with the java wrapper and PHP 5.2? I just tried to downgrade the PHP to 5.1.6, seems that the PHP archives dont have the Window binary download for anything archived. On 5/8/07, php...@li... <php...@li...> wrote: > > however there seems to be one piece missing, and > > that piece is the > > java-x86-windows.dll file. > > the legacy php-java.dll files for PHP versions <= > 5.1.4 are available from the dowload area: > > => > http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=switch&filename=php-java-bridge-legacy.zip&35771915 > > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2007-05-08 14:41:20
|
> however there seems to be one piece missing, and > that piece is the > java-x86-windows.dll file. the legacy php-java.dll files for PHP versions <= 5.1.4 are available from the dowload area: => http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=switch&filename=php-java-bridge-legacy.zip&35771915 ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-05-08 14:32:34
|
I have looked at several examples of how to install PHP-JavaBridge, however there seems to be one piece missing, and that piece is the java-x86-windows.dll file. From what I have been told the java-x86-windows.dll is located in the JavaBridge.war file, along with the jar. I have found everything else except that last file. Can someone point me in the correct direction of where that file is hiding. Thanks |
From: <php...@li...> - 2007-05-08 07:32:42
|
Hi Andrè, most of the *.java files are licensed under the MIT license, except javax/script/* and 3 files in php/java/bridge. Sanka's open-source javax.script implementation is licensed under the Apache License (unspecified version). Base64EncodingOutputBuffer.java was taken from the Apache "Geronimo" application server, licensed under Apache Software License 2. CGIServlet.java was written by Martin Dengler and is licensed under the Apache Software License (unspecified version). DynamicClassLoader.java was written by Kai Londenberg and is licensed under the PHP license, which is similar in spirit to the Apache Software License. > php-java-bridge/examples/php+jsp/numberguess.jsp This file is obsolete. > Base64EncodingOutputBuffer.java ASL 2.0 There are certainly other implementations. I think the classpath project contains one licensed under the lesser GPL. But I prefer to keep the *.java files under the MIT or Apache license. > CGIServlet.java ASL 1.1 We could ask Martin if he is willing to distribute it under a different license. > As noted at > http://www.ohloh.net/projects/4800/factoids/122875 > ASL and GPL are incompatible. I don't see how the lesser GPL is incompatible to the Apache or PHP license. > Could they be moved to GPL? The Base64 encoder could be replaced. But I don't know if the other authors are willing to distribute their code under a different license. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever |
From: <php...@li...> - 2007-05-07 23:39:23
|
Hello, I found at http://www.ohloh.net/projects/4800 (interesting page for php-java-bridge) that php-java-bridge has 3 files using Apache License. Searched the sources and found: php-java-bridge/examples/php+jsp/numberguess.jsp ASL 2.0 php-java-bridge/server/php/java/bridge/Base64EncodingOutputBuffer.java ASL 2.0 php-java-bridge/server/php/java/servlet/CGIServlet.java ASL 1.1 As noted at http://www.ohloh.net/projects/4800/factoids/122875 ASL and GPL are incompatible. http://www.apache.org/licenses/GPL-compatibility.html http://www.gnu.org/philosophy/license-list.html Maybe some long forgotten files in the tree, but the issue should be clarified. Please, will these files continue to be licensed under ASL? Could they be moved to GPL? Regards. Andre Felipe Machado http://www.techforce.com.br |