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...> - 2012-05-24 03:34:23
|
Hi there! I'm a bit knowledgeable about PHP (PHP3 :), and I'm a Java advocate (read that as: "maintained the OS/2 Java FAQ in 1996 back in the Java 1.0 days, believes Java is the right way to develop software, and runs several desktop Java apps daily on both Linux and Windows"). Having made that introduction... I've been trying to explore if running the latest greatest Joomla 2.5 CMS coded in PHP is possible under a Java web server. A lot of searching (and a lot of reading about tweaks and quirks when trying to use Joomla 1.5 over Quercus) led me finally to this php-java-bridge project. However, from a quick glimpse it seems this only works if one accepts heavily tweaking the source PHP code. So, my $1M dollar question would be: is this technology just for developers, or can I, after some initial configuration, finally run Joomla 2.5 "as is" under a J2EE server like Caucho's Resin, for instance?. TIA FC -- During times of Universal Deceit, telling the truth becomes a revolutionary act Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto Revolucionario - George Orwell |
From: <php...@li...> - 2012-05-17 13:57:49
|
Please ask the sourceforge list operator. If the standard procedures described at http://sf.net do not work, simply block messages from the list. |
From: <php...@li...> - 2012-05-17 13:46:26
|
Hello php-java-bridge I've tried several times to be removed from your mail list using your procedure but to no avail. Please could you remove me from the list? Many thanks Martin Waterhouse ======================================== Message Received: May 17 2012, 01:39 PM From: php...@li... To: "'php...@li...'" Cc: Subject: Re: [Php-java-bridge-users] PHP and Java I only have a jar file. What lib directory ? -----Original Message----- From: php...@li... [mailto:php...@li...] Sent: Thursday, May 17, 2012 7:24 AM To: php...@li... Subject: Re: [Php-java-bridge-users] PHP and Java Put the jar and its dependencies into lib folder (within .war file) and re-deploy war file. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2012-05-17 12:43:00
|
Right click on JavaBridge.war -> "open with" WinRar and you'll see it. |
From: <php...@li...> - 2012-05-17 12:39:33
|
Hi. Servlet spec days that you can't use a writer and the Outputstream at the same time. So your code must check if one is available and possibly use the other as a fallback. Please solve the conflict as usual. Either use your own OutputStreamWriter or grab the writer early and force the library to use its own. Am 08.05.2012 09:18 schrieb <php...@li...>: > Dear Sir, > > I've implemented php-java bridge over eXo Portal as J2EE application and > some php application to provide share credential between two different > application. > > > The point is, > ctx.handleRequests(request.getInputStream(), > response.getOutputStream()); > > > There is conflict ( kind of IllegalStateException as both > getOutputStream()/getWriter() are invoked on httpResponse object) > > So, how could we handle this as eXo Portal is designed over calling > getWriter(). > > > Thanks > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2012-05-17 12:39:31
|
I only have a jar file. What lib directory ? -----Original Message----- From: php...@li... [mailto:php...@li...] Sent: Thursday, May 17, 2012 7:24 AM To: php...@li... Subject: Re: [Php-java-bridge-users] PHP and Java Put the jar and its dependencies into lib folder (within .war file) and re-deploy war file. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. |
From: <php...@li...> - 2012-05-17 12:28:53
|
Your setup is not supported. Use a servlet engine. Please see FAQ. Am 04.05.2012 09:34 schrieb <php...@li...>: > May 04 13:00:10 JavaBridge ERROR: An exception occured: > java.lang.IllegalStateException: read chunked packet length > java.lang.IllegalStateException: read chunked packet length > at > > php.java.bridge.http.ChunkedInputStream.readPacketLength(ChunkedInputStream.java:131) > at > php.java.bridge.http.ChunkedInputStream.read(ChunkedInputStream.java:99) > at php.java.bridge.Parser.read(Parser.java:94) > at php.java.bridge.Parser.parse(Parser.java:176) > at php.java.bridge.Request.handleRequest(Request.java:383) > at php.java.bridge.Request.handleRequests(Request.java:500) > at php.java.bridge.JavaBridge.handleRequests(JavaBridge.java:150) > at php.java.bridge.JavaBridgeRunner.doPut(JavaBridgeRunner.java:222) > at php.java.bridge.http.HttpServer.service(HttpServer.java:291) > at php.java.bridge.http.HttpServer$Runner.run(HttpServer.java:205) > at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2012-05-17 12:24:34
|
Put the jar and its dependencies into lib folder (within .war file) and re-deploy war file. |
From: <php...@li...> - 2012-05-17 12:18:30
|
Can someone provide insight into importing a Java jar into a PHP application ? I am trying to instantiate an object I developed called SubscriberTrace which is packed in a Java jar. I have the ST.jar file located in the JavaBridge/java directory. I get the following error: javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new com.ctl.mplslab.iptv.SubscriberTrace. Cause: java.lang.ClassNotFoundException: com.ctl.mplslab.iptv.SubscriberTrace VM: 1.6.0_22@http://java.sun.com/" at: #-10 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) <?php require_once("java/Java.inc"); use java\lang\String as JString; use java\util\ArrayList as JList; class String extends JString { function toString () { return "hello " . parent::toString(); } } $str = new String("Java"); $list = new JList(); $list->add (java_closure($str)); $list->add ("from PHP"); $ar = java_values ($list->toArray()); $channels = new Java("com.ctl.mplslab.iptv.SubscriberTrace"); #echo $channels->getChannels("6126643068"); foreach($ar as $entry) echo "$entry<br>\n" ?> ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. |
From: <php...@li...> - 2012-05-08 08:47:12
|
Also, I'm facing some problem as follows I've passed some hard-coded variables through filter rather than Servlet base and it's going OK, on other hand once I try send String variable its not. So, what is the main problem for this. Thanks ________________________________ From: khaldoon khashan <kha...@ya...> To: "php...@li..." <php...@li...> Sent: Tuesday, May 8, 2012 10:18 AM Subject: Re: php-java-bridge-users Digest, Vol 70, Issue 1 Dear Sir, I've implemented php-java bridge over eXo Portal as J2EE application and some php application to provide share credential between two different application. The point is, ctx.handleRequests(request.getInputStream(), response.getOutputStream()); There is conflict ( kind of IllegalStateException as both getOutputStream()/getWriter() are invoked on httpResponse object) So, how could we handle this as eXo Portal is designed over calling getWriter(). Thanks |
From: <php...@li...> - 2012-05-08 08:21:34
|
Thanks for the tips Wiadomość napisana przez <php...@li...<mailto:php...@li...>> <php...@li...<mailto:php...@li...>> w dniu 8 maj 2012, o godz. 08:58: Hi. Please see the Apache Tomcat documentation for details. You shouldn't change the value without adjusting Apache's MaxChilds, too. do you mean maxthreads in tomcat ? I have: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" maxThreads="200" redirectPort="8443" /> Again. Running the bridge outside a JEE environment ist NOT supported. Am 08.05.2012 08:37 schrieb <php...@li...<mailto:php...@li...>>: Hi, I would like to increase thread pool from default 20 to bigger value. According to FAQ: "How many threads does the bridge start? Request-handling threads are started from a thread pool, which limits the number of user requests to 20 (default), see system property php.java.bridge.threads. All further requests have to wait until one of the worker threads returns to the pool." I think that setting php.java.bridge.threads as system property is not working properly. I set this parameter in java opt and I see it in system processes: tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. Is this how I should set it up? Where else can I look for the cause that our application is not able to utilize the entire resources of the server? php 5.4 tomcat 7.0.23 php/JB 6.1.2.1 Regards Piotr ________________________________ Asseco Business Solutions S.A. ul. Konrada Wallenroda 4c 20-607 Lublin tel.: +48 81 535 30 00 fax: +48 81 535 30 05 Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku VI Wydział Gospodarczy Krajowego Rejestru Sądowego KRS 0000028257 NIP 522-26-12-717 kapitał zakładowy 167 090 965,00 zł (w całości opłacony) www.assecobs.pl<http://www.assecobs.pl> ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li...<mailto:php...@li...> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li...<mailto:php...@li...> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. |
From: <php...@li...> - 2012-05-08 07:18:14
|
Dear Sir, I've implemented php-java bridge over eXo Portal as J2EE application and some php application to provide share credential between two different application. The point is, ctx.handleRequests(request.getInputStream(), response.getOutputStream()); There is conflict ( kind of IllegalStateException as both getOutputStream()/getWriter() are invoked on httpResponse object) So, how could we handle this as eXo Portal is designed over calling getWriter(). Thanks |
From: <php...@li...> - 2012-05-08 06:58:56
|
Hi. Please see the Apache Tomcat documentation for details. You shouldn't change the value without adjusting Apache's MaxChilds, too. Again. Running the bridge outside a JEE environment ist NOT supported. Am 08.05.2012 08:37 schrieb <php...@li...>: > > Hi, > > I would like to increase thread pool from default 20 to bigger value. > According to FAQ: > > "How many threads does the bridge start? > > Request-handling threads are started from a thread pool, which limits the > number of user requests to 20 (default), see system property > php.java.bridge.threads. All further requests have to wait until one of the > worker threads returns to the pool." > > I think that setting php.java.bridge.threads as system property is not > working properly. > I set this parameter in java opt and I see it in system processes: > > tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 > /usr/lib/jvm/default-java/bin/java > -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties > -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. > > Is this how I should set it up? > > Where else can I look for the cause that our application is not able to > utilize the entire resources of the server? > > php 5.4 > tomcat 7.0.23 > php/JB 6.1.2.1 > > > Regards > Piotr > > ________________________________ > > Asseco Business Solutions S.A. > ul. Konrada Wallenroda 4c > 20-607 Lublin > tel.: +48 81 535 30 00 > fax: +48 81 535 30 05 > > Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku > VI Wydział Gospodarczy Krajowego Rejestru Sądowego > KRS 0000028257 > NIP 522-26-12-717 > kapitał zakładowy 167 090 965,00 zł (w całości opłacony) > www.assecobs.pl > > ________________________________ > > Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub > podmiotu, do którego jest adresowana i może zawierać informacje o > charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie > informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący > jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca > korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne > zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej > treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. > > ________________________________ > > Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. > > ________________________________ > > This information is intended only for the person or entity to which it is > addressed and may contain confidential and/or privileged material. > Unauthorized use of this information by person or entity other than the > intended recipient is prohibited by law. If you received this by mistake, > please immediately contact the sender by e-mail or by telephone and delete > this information from any computer. Thank you. Asseco Business Solutions > S.A. > > ________________________________ > > Please consider your environmental responsibility before printing this > e-mail. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2012-05-08 06:37:22
|
Hi, I would like to increase thread pool from default 20 to bigger value. According to FAQ: "How many threads does the bridge start? Request-handling threads are started from a thread pool, which limits the number of user requests to 20 (default), see system property php.java.bridge.threads. All further requests have to wait until one of the worker threads returns to the pool." I think that setting php.java.bridge.threads as system property is not working properly. I set this parameter in java opt and I see it in system processes: tomcat7 32469 0.7 13.5 5017868 3347932 ? Sl Apr30 69:19 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Dphp.java.bridge.threads=1024 -Xmx3072m ….. Is this how I should set it up? Where else can I look for the cause that our application is not able to utilize the entire resources of the server? php 5.4 tomcat 7.0.23 php/JB 6.1.2.1 Regards Piotr ________________________________ Asseco Business Solutions S.A. ul. Konrada Wallenroda 4c 20-607 Lublin tel.: +48 81 535 30 00 fax: +48 81 535 30 05 Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku VI Wydział Gospodarczy Krajowego Rejestru Sądowego KRS 0000028257 NIP 522-26-12-717 kapitał zakładowy 167 090 965,00 zł (w całości opłacony) www.assecobs.pl ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. |
From: <php...@li...> - 2012-05-04 07:33:44
|
May 04 13:00:10 JavaBridge ERROR: An exception occured: java.lang.IllegalStateException: read chunked packet length java.lang.IllegalStateException: read chunked packet length at php.java.bridge.http.ChunkedInputStream.readPacketLength(ChunkedInputStream.java:131) at php.java.bridge.http.ChunkedInputStream.read(ChunkedInputStream.java:99) at php.java.bridge.Parser.read(Parser.java:94) at php.java.bridge.Parser.parse(Parser.java:176) at php.java.bridge.Request.handleRequest(Request.java:383) at php.java.bridge.Request.handleRequests(Request.java:500) at php.java.bridge.JavaBridge.handleRequests(JavaBridge.java:150) at php.java.bridge.JavaBridgeRunner.doPut(JavaBridgeRunner.java:222) at php.java.bridge.http.HttpServer.service(HttpServer.java:291) at php.java.bridge.http.HttpServer$Runner.run(HttpServer.java:205) at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) |
From: <php...@li...> - 2012-05-02 06:41:04
|
When ever i run the my php program i got below exception, in my php code i called java classes it working but after some time it give me OutOfMemoryErrors exception to solve this problem i used this command "java -Xmx1000M -jar HelloWorld.jar SERVLET:8087 " but still getting below exception. Fatal error: protocol error: ,Invalid document end at col 28. Check the back end log for OutOfMemoryErrors. in http://localhost:8087/JavaBridge/java/Java.inc on line 869 |
From: <php...@li...> - 2012-04-28 12:53:12
|
i am trying to listen some listener from java(asterisk api to listen events) in php. i run the php program its working and catches some events but after few minute it will exit abnormally. *my source code<?php ini_set("dallow_url_include","On"); require_once("http://localhost:8087/JavaBridge/java/Java.inc"); class Listener { function onManagerEvent($managerEvent) { try{ $str="HangupEvent"; $str2="DialEvent"; $str1=trim($managerEvent->getClass()->getSimpleName()); if(java_cast($str1,"string")==$str) { $hang_up_event= new java("org.enjaysynapse.manager.event.HangupEvent"); $hang_up_event=$managerEvent; $number=java_cast($hang_up_event->getCallerIdNum(),"string"); $received_date=java_cast($hang_up_event->getDateReceived(),"string"); $unique_id=java_cast($hang_up_event->getUniqueId(),"string"); echo "HangupEvent Number=".$number."\tCallReceived Date=".$received_date."\tUniqueId=".$unique_id."\n"; } if(java_cast($str1,"string")==$str2) { $Dail_event= new java("org.enjaysynapse.manager.event.DialEvent"); $Dail_event=$managerEvent; $number=java_cast($Dail_event->getCallerIdNum(),"string"); $received_date=java_cast($Dail_event->getDateReceived(),"string"); $unique_id=java_cast($Dail_event->getUniqueId(),"string"); $scr_channel=java_cast($Dail_event->getChannel(),"string"); $destination=java_cast($Dail_event->getDestination(),"string"); echo "DialEvent Number=".$number."\tDestination=".$destination."\tCallReceived Date=".$received_date."\tUniqueId=".$unique_id."\tSRC=".$scr_channel."\n"; } } catch(JavaException $e){ echo "list.php onManagerEvent---error---->".$e; } } } function getListener() { try{ return java_closure(new Listener(), null, array(new Java("org.enjaysynapse.manager.ManagerEventListener"))); } catch(JavaException $e){ echo "list.php getListener---error---->".$e; } } ?>* *Error :-* *Fatal error:* Call to a member function getSimpleName() on a non-object in /var/www/list.php on line 14 Notice: Uninitialized string offset: 6 in http://localhost:8087/JavaBridge/java/Java.inc on line 786 Fatal error: An unchecked exception occured during script execution. Please check the server log files for details. in http://localhost:8087/JavaBridge/java/Java.inc on line 776 |
From: <php...@li...> - 2012-04-27 11:04:58
|
Hi I am using the bridge to communicate with Spring beans on the server side : public static function loadSpringBean($name) { $session = java_session(); $ctx= java("org.springframework.web.context.support.WebApplicationContextUtils")->getWebApplicationContext($session->getServletContext()); return $ctx->getBean($name); } and then I call methods on the bean - All works ok Now I want to pass on the name of the current user, so I added : $session->put("username", $username); Now how do I get at this on the server side - I have tried ServletRequestAttributes attr = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes(); HttpSession session=attr.getRequest().getSession(false); String username= session.getAttribute("username")); but this only leads to an Exception: No thread-bound request found: Are you referring to request attributes outside of an actual web request Is there any utility method in the bridge, where I can get at the current session/request Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DNB Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DNB Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
From: <php...@li...> - 2012-04-27 10:46:01
|
Hello , We are using the bridge however we are facing difficulty to implement it with event listeners. Any help will be appreciated. Thanks, -- *Sanjay Gund* H.O :-0260-6612977 |
From: <php...@li...> - 2012-04-24 21:04:55
|
> com.zend.javamw.a You seem to use a product called Zend Java Bridge. But this is the support forum of the PHP/JavaBridge. :) |
From: <php...@li...> - 2012-04-24 15:53:03
|
I've been building an app using the iText library for PDFs. So far so good. Except now I'm getting this error with the following code: public function sigAction() { $outfile = '/home/beau/pdf/public/pdfs/OUT.pdf'; $output = new java('java.io.FileOutputStream', $outfile); $pdffile = '/home/beau/pdf/public/pdfs/IN.pdf'; try { java_require('/home/beau/pdf/iText/itextpdf-5.2.1.jar'); $PdfReader = new java('com.itextpdf.text.pdf.PdfReader', $pdffile); $PdfStamper = new java('com.itextpdf.text.pdf.PdfStamper'); $version = new Java("java.lang.Character", '0'); $stamper = $PdfStamper->createSignature($PdfReader, $output, $version); //<-- error here $stamper->close(); } catch(Exception $e){ $e->getMessage(); } } The error that's getting thrown is when I call the $PdfStamper->createSignature( ... ) method. The $version (I guess) needs to be a char type, and I'm pretty sure it is, but it still throws the conversion exception: Java Exception com.zend.javamw.a: Cannot convert 0 of type [class java.lang.Character] to char com.zend.javamw.a: Cannot convert 0 of type [class java.lang.Character] to char at com.zend.javamw.n.b(Unknown Source) Any help would be appreciated. :D -Beau |
From: <php...@li...> - 2012-04-24 09:02:32
|
I am out of the office until 04/26/2012. Note: This is an automated response to your message "[Php-java-bridge-users] about Chinese parameter encode" sent on 04/23/2012 10:47:36 PM. This is the only notification you will receive while this person is away. |
From: <php...@li...> - 2012-04-24 06:33:31
|
Thanks. I use iconv function to the parameter and it works well. iconv('GBK','UTF-8',$parameter) ------------------ 原始邮件 ------------------ 发件人: "php-java-bridge-users"<php...@li...>; 发送时间: 2012年4月24日(星期二) 下午2:28 收件人: "php-java-bridge-users"<php...@li...>; 主题: Re: [Php-java-bridge-users] about Chinese parameter encode Hi. Please set the java back end to utf 8 (or 16) and save the php file in the same format. Use the java_set_file_encoding() function, if necessary. I think earlier versions contained a bug when getbytes(<enc>) was called. Please check the changelog and NEWS file of your version (part of the source download). However, using the same encoding at both ends should fix it. Regards, Jost B?kemeier ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2012-04-24 06:28:11
|
Hi. Please set the java back end to utf 8 (or 16) and save the php file in the same format. Use the java_set_file_encoding() function, if necessary. I think earlier versions contained a bug when getbytes(<enc>) was called. Please check the changelog and NEWS file of your version (part of the source download). However, using the same encoding at both ends should fix it. Regards, Jost Bökemeier |
From: <php...@li...> - 2012-04-24 03:47:56
|
I use php-java-bridge-4.0.7 to invoke java function in php program at linux system. but the parameter of Chinese string in php program is changed in java function. The code is at the below. $myj = new Java("PdfConvertor"); $myj->generatePDFWithWatermark('/tmp/08.pdf','/tmp/a.pdf','中国通信标准化协会','center'); The 3th parameter of the function generatePDFWithWatermark is Chinese. But the java class runs normally in terminal. I set parameters about encode to GBK in the file /etc/profile and php.ini.But it doesn't work. what's my problem? |