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
|
3
(9) |
4
(1) |
5
(6) |
6
|
|
7
(1) |
8
(2) |
9
(2) |
10
(7) |
11
(12) |
12
(8) |
13
|
|
14
(4) |
15
(3) |
16
(1) |
17
(5) |
18
(4) |
19
|
20
(2) |
|
21
(4) |
22
|
23
(2) |
24
(2) |
25
(2) |
26
(1) |
27
|
|
28
(1) |
29
(3) |
30
(9) |
31
(2) |
|
|
|
|
From: <php...@li...> - 2008-12-30 23:02:08
|
It seems that trying
$string = new Java("java.lang.String", "HelloWorld");
Causes the max script execution time to timeout before it get a response
from tomcat.
Jeff
On Tue, 2008-12-30 at 15:37 -0700,
php...@li... wrote:
> Thanks Peter. I found that information in the /JavaBridge/settings.php
> and was just trying to figure out where to turn it on. That was a big
> help. The PHP side is fine I was missing that on the tomcat side.
>
> Jeff
>
>
>
> On Tue, 2008-12-30 at 14:30 -0800,
> php...@li... wrote:
> > IBM has had a good introduction: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/index.html#resources
> >
> >
> > >From their article:
> >
> > Listing 6. Uncommenting the block to allow remote access to Java classes
> > <init-param>
> > <param-name>promiscuous</param-name>
> > <param-value>On</param-value>
> > </init-param>...
> >
> > Your PHP Java Bridge installation works by importing a PHP include file directly
> > from the remote Java application server. Unfortunately, just as the PHP Java
> > Bridge wouldn't allow remote access, default PHP installations ban the remote
> > inclusion of files, as it is a potential security risk.
> >
> > You need to enable two PHP configuration parameters,
> > allow_url_fopen, which allows you to open a remote file
> > as if it were a local one, and allow_url_include, which
> > enables you to include remote PHP files to import code.
> > ;;;;;;;;;;;;;;;;;;
> > ; Fopen wrappers ;
> > ;;;;;;;;;;;;;;;;;;
> >
> > ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
> > allow_url_fopen = On
> > allow_url_include = On
> > ...
> >
> > Listing 9. Creating a file on your Web server
> >
> > <?
> > require_once("http://sulaco.mcslp.pri:8080/JavaBridge/java/Java.inc");
> > $System = new Java("java.lang.System");
> > print_r($System->getProperties());
> > ?>
> >
> >
> > Peter
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > php-java-bridge-users mailing list
> > php...@li...
> > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-30 22:37:17
|
Thanks Peter. I found that information in the /JavaBridge/settings.php and was just trying to figure out where to turn it on. That was a big help. The PHP side is fine I was missing that on the tomcat side. Jeff On Tue, 2008-12-30 at 14:30 -0800, php...@li... wrote: > IBM has had a good introduction: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/index.html#resources > > > >From their article: > > Listing 6. Uncommenting the block to allow remote access to Java classes > <init-param> > <param-name>promiscuous</param-name> > <param-value>On</param-value> > </init-param>... > > Your PHP Java Bridge installation works by importing a PHP include file directly > from the remote Java application server. Unfortunately, just as the PHP Java > Bridge wouldn't allow remote access, default PHP installations ban the remote > inclusion of files, as it is a potential security risk. > > You need to enable two PHP configuration parameters, > allow_url_fopen, which allows you to open a remote file > as if it were a local one, and allow_url_include, which > enables you to include remote PHP files to import code. > ;;;;;;;;;;;;;;;;;; > ; Fopen wrappers ; > ;;;;;;;;;;;;;;;;;; > > ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. > allow_url_fopen = On > allow_url_include = On > ... > > Listing 9. Creating a file on your Web server > > <? > require_once("http://sulaco.mcslp.pri:8080/JavaBridge/java/Java.inc"); > $System = new Java("java.lang.System"); > print_r($System->getProperties()); > ?> > > > Peter > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2008-12-30 22:30:45
|
IBM has had a good introduction: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/index.html#resources >From their article: Listing 6. Uncommenting the block to allow remote access to Java classes <init-param> <param-name>promiscuous</param-name> <param-value>On</param-value> </init-param>... Your PHP Java Bridge installation works by importing a PHP include file directly from the remote Java application server. Unfortunately, just as the PHP Java Bridge wouldn't allow remote access, default PHP installations ban the remote inclusion of files, as it is a potential security risk. You need to enable two PHP configuration parameters, allow_url_fopen, which allows you to open a remote file as if it were a local one, and allow_url_include, which enables you to include remote PHP files to import code. ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On allow_url_include = On ... Listing 9. Creating a file on your Web server <? require_once("http://sulaco.mcslp.pri:8080/JavaBridge/java/Java.inc"); $System = new Java("java.lang.System"); print_r($System->getProperties()); ?> Peter |
|
From: <php...@li...> - 2008-12-30 22:10:51
|
I have the PHP-Java bridge working fine on a single server with the JAVA
Standalone config.
I am trying to get the communication working between my PHP server and my
remote Tomcat. I have copied the war file into the webapps and when
starting tomcat it created it's folder.
In the Java.inc on the tomcat box I have an echo"got to tomcat" so I know
that I am getting to the include. I can't get any of the demos or the code
provided in the readme working.
<?php
ini_set("allow_url_include", 1);
require_once("http://my_remote_tomcat:8080/JavaBridge/java/Java.inc");
$string = new Java("java.lang.String", "HelloWorld");
echo $string;
?>
The only entries in the tomcat logs are:
67.244.244.204 - - [30/Dec/2008:16:19:44 -0500] "GET
/JavaBridge/java/Java.inc HTTP/1.0" 200 66991
67.244.244.204 - - [30/Dec/2008:16:20:00 -0500] "PUT
/JavaBridge/JavaBridge.phpjavabridge HTTP/1.0" 200 43
When I startup the JavaBridge.jar I get the same results as when I'm using
Tomcat.
TIA, Jeff
|
|
From: <php...@li...> - 2008-12-30 16:13:25
|
Thnks a lot. It Works!
/*CORRECT CODE*/
$exportManager = new
Java("net.sf.jasperreports.engine.export.JRRtfExporter");
$file = new Java("java.io.File",realpath(".")."/"."informe.rtf");
$pr = new
JavaClass("net.sf.jasperreports.engine.JRExporterParameter");
$exportManager->setParameter($pr->JASPER_PRINT,$jasperPrint);
$exportManager->setParameter($pr->OUTPUT_FILE,$file);
$exportManager->exportReport();
2008/12/30 <php...@li...>
> Try this
>
> $exportManager = new
> Java ("net.sf.jasperreports.engine.export.JRRtfExporter");
>
> // note that it is not JavaClass but Java
>
> The following code that you have in PHP
> $exportManager = new
> JavaClass("net.sf.jasperreports.engine.export.JRRtfExporter");
>
> is equivalent to the following Java Code
> exportManager = JRRtfExporter.class;
>
> Use new JavaClass("classname) to access static methods and variables and
> new
> Java("classname") to use instance method and variables.
>
> -Ajit
>
> -----Original Message-----
> From: php...@li...
> [mailto:php...@li...]
> Sent: Monday, December 29, 2008 5:29 PM
> To: php...@li...
> Subject: [Php-java-bridge-users] Urgent: Jasper report problem
>
> Im trying to get that in php:
>
> /*JAVA CODE*/
>
> JRRtfExporter exporter = new JRRtfExporter();
> exporter.setParameter(JRExporterParameter.JASPER_PRINT, masterPrint);
> exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, sPathRTF);
> exporter.exportReport();
>
> /*MY PHP JAVA BRIDGE IMPLEMENTATION*/
>
> $exportManager = new
> JavaClass("net.sf.jasperreports.engine.export.JRRtfExporter");
> $exportManagerParam = new
> JavaClass("net.sf.jasperreports.engine.JRExporterParameter");
> $outputPath = realpath(".")."/"."informe.rtf";
>
> $exportManager->setParameter($exportManagerParam->JASPER_PRINT,$jasperPrint)
> ;
>
> $exportManager->setParameter($exportManagerParam->OUPUT_FILE_NAME,$outputPat
> h);
> $exportManager->exportReport();
>
> /*output*/
> *Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed:
> [[c:JRRtfExporter]]->setParameter([o:JRExporterParameter],
> [o:JasperPrint]).
> Cause: java.lang.NoSuchMethodException:
> setParameter([o:JRExporterParameter], [o:JasperPrint]). Candidates: [] VM:
> 1.6.0_07@http://java.sun.com/" at: #-5
> php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1059) #-4
> php.java.bridge.Request.handleRequest(Request.java:405) #-3
> php.java.bridge.Request.handleRequests(Request.java:481) #0
> C:\wamp\www\pruebas\jasper\java\Java.inc(337):
> java_ThrowExceptionProxyFactory->getProxy(24, 'net.sf.jasperre...',
> 'setParameter([o...', true) #1
> C:\wamp\www\pruebas\jasper\java\Java.inc(494): java_Arg->getResult(true) #2
> C:\wamp\www\pruebas\jasper\java\Java.inc(500):
> java_Client->getWrappedResult(true) #3
> C:\wamp\www\pruebas\jasper\java\Java.inc(704): java_Client->getResult() #4
> C:\wamp\www\pruebas\jasper\java\Java.inc(1889):
> java_Client->invokeMethod(21, 'setParameter', Array) #5
> C:\wamp\www\pruebas\jasper\java\Java.inc(2007): java_JavaProxy->_ in
> C:\wamp\www\pruebas\jasper\java\Java.inc on line 300*
>
> *¿¿HOW TO IMPLEMENT JRExporterParameter.JASPER_PRINT STATIC ATTRIBUTE IN
> PHP
> JAVA BRIDGE???*
>
> Thanks for your guide and help
>
> ----------------------------------------------------------------------------
> --
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Saludos afectuosos,
Israel González S
---------------
Gerente General Better Choice Ltda - Software Estratégico a Medida
Ingenieria Civil Industrial en Tecnologias de Información UC.
------------------------
Office: (56-2) 551 59 04
Cel: (56- 099) 381 40 58
skype: igonzals
http://www.betterchoice.cl
|
|
From: <php...@li...> - 2008-12-30 16:09:52
|
Hi,
> Sorry but Class has method.
I am sorry, but I don't understand this sentence. According to the link you have posted there is no such procedure, it's a method, not a procedure. So you must call it as accordingly.
> The method is inherited from another class
Methods can be inherited, procedures can't.
> I found some people with this error in Google and with no
> success in solution.
Too bad. They should have looked at the PHP/Java Bridge documentation first.
Please use the official API, the constructors you've used are helper routines and are not even documented, so I wonder how you figured out they exist.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-12-30 04:13:00
|
Try this
$exportManager = new
Java ("net.sf.jasperreports.engine.export.JRRtfExporter");
// note that it is not JavaClass but Java
The following code that you have in PHP
$exportManager = new
JavaClass("net.sf.jasperreports.engine.export.JRRtfExporter");
is equivalent to the following Java Code
exportManager = JRRtfExporter.class;
Use new JavaClass("classname) to access static methods and variables and new
Java("classname") to use instance method and variables.
-Ajit
-----Original Message-----
From: php...@li...
[mailto:php...@li...]
Sent: Monday, December 29, 2008 5:29 PM
To: php...@li...
Subject: [Php-java-bridge-users] Urgent: Jasper report problem
Im trying to get that in php:
/*JAVA CODE*/
JRRtfExporter exporter = new JRRtfExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, masterPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, sPathRTF);
exporter.exportReport();
/*MY PHP JAVA BRIDGE IMPLEMENTATION*/
$exportManager = new
JavaClass("net.sf.jasperreports.engine.export.JRRtfExporter");
$exportManagerParam = new
JavaClass("net.sf.jasperreports.engine.JRExporterParameter");
$outputPath = realpath(".")."/"."informe.rtf";
$exportManager->setParameter($exportManagerParam->JASPER_PRINT,$jasperPrint)
;
$exportManager->setParameter($exportManagerParam->OUPUT_FILE_NAME,$outputPat
h);
$exportManager->exportReport();
/*output*/
*Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed:
[[c:JRRtfExporter]]->setParameter([o:JRExporterParameter], [o:JasperPrint]).
Cause: java.lang.NoSuchMethodException:
setParameter([o:JRExporterParameter], [o:JasperPrint]). Candidates: [] VM:
1.6.0_07@http://java.sun.com/" at: #-5
php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1059) #-4
php.java.bridge.Request.handleRequest(Request.java:405) #-3
php.java.bridge.Request.handleRequests(Request.java:481) #0
C:\wamp\www\pruebas\jasper\java\Java.inc(337):
java_ThrowExceptionProxyFactory->getProxy(24, 'net.sf.jasperre...',
'setParameter([o...', true) #1
C:\wamp\www\pruebas\jasper\java\Java.inc(494): java_Arg->getResult(true) #2
C:\wamp\www\pruebas\jasper\java\Java.inc(500):
java_Client->getWrappedResult(true) #3
C:\wamp\www\pruebas\jasper\java\Java.inc(704): java_Client->getResult() #4
C:\wamp\www\pruebas\jasper\java\Java.inc(1889):
java_Client->invokeMethod(21, 'setParameter', Array) #5
C:\wamp\www\pruebas\jasper\java\Java.inc(2007): java_JavaProxy->_ in
C:\wamp\www\pruebas\jasper\java\Java.inc on line 300*
*¿¿HOW TO IMPLEMENT JRExporterParameter.JASPER_PRINT STATIC ATTRIBUTE IN PHP
JAVA BRIDGE???*
Thanks for your guide and help
----------------------------------------------------------------------------
--
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-30 02:03:43
|
Try with new JavaClass and not new Java -Ajit Sent via BlackBerry by AT&T -----Original Message----- From: php...@li... Date: Mon, 29 Dec 2008 22:41:52 To: <php...@li...> Subject: Re: [Php-java-bridge-users] Urgent: Jasper report problem Sorry but Class has method. See in http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/JRRtfExporter.html The method is inherited from another class I try with to java("your.class.com")->ATTRIBUTE And it still error persist and it's the same :( I found some people with this error in Google and with no success in solution. 2008/12/29 <php...@li...> > > > *¿¿HOW TO IMPLEMENT JRExporterParameter.JASPER_PRINT > > STATIC ATTRIBUTE IN PHP > > JAVA BRIDGE???* > > With: > > java("your.class.com")->ATTRIBUTE > > > Please see the PHP/Java Bridge documentation for details. > > > > > > > ------------------------------------------------------------------------------ >_______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Saludos afectuosos, Israel González S --------------- Gerente General Better Choice Ltda - Software Estratégico a Medida Ingenieria Civil Industrial en Tecnologias de Información UC. ------------------------ Office: (56-2) 551 59 04 Cel: (56- 099) 381 40 58 skype: igonzals http://www.betterchoice.cl ------------------------------------------------------------------------------ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2008-12-30 01:53:54
|
Sorry but Class has method. See in http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/JRRtfExporter.html The method is inherited from another class I try with to java("your.class.com")->ATTRIBUTE And it still error persist and it's the same :( I found some people with this error in Google and with no success in solution. 2008/12/29 <php...@li...> > > > *¿¿HOW TO IMPLEMENT JRExporterParameter.JASPER_PRINT > > STATIC ATTRIBUTE IN PHP > > JAVA BRIDGE???* > > With: > > java("your.class.com")->ATTRIBUTE > > > Please see the PHP/Java Bridge documentation for details. > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Saludos afectuosos, Israel González S --------------- Gerente General Better Choice Ltda - Software Estratégico a Medida Ingenieria Civil Industrial en Tecnologias de Información UC. ------------------------ Office: (56-2) 551 59 04 Cel: (56- 099) 381 40 58 skype: igonzals http://www.betterchoice.cl |