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
(4) |
2
|
3
|
|
4
|
5
|
6
|
7
|
8
(2) |
9
|
10
(1) |
|
11
|
12
|
13
(3) |
14
(2) |
15
|
16
(1) |
17
(2) |
|
18
(5) |
19
(6) |
20
(6) |
21
(10) |
22
(4) |
23
|
24
|
|
25
|
26
(7) |
27
(6) |
28
(3) |
29
(5) |
30
(2) |
31
|
|
From: <php...@li...> - 2007-03-01 20:13:20
|
Hi Sky,
> Would you care to elaborate on the sandbox and on
> how i could possibly get
> the bridge to access the paths i require, btw i have
> disabled SEL so i
> assume the rules are not active...
I'd expect that a
chown root:root /usr/lib/php/modules/RunJavaBridge
chmod 111 /usr/lib/php/modules/RunJavaBridge
setenforce Permissive
should run Java as root with all permissions.
Or you start Java manually, for example with
java -jar JavaBridge.jar SERVLET:8080
or via tomcat for example. And use the pure PHP
implementation
(require_once("http://localhost:8080/JavaBridge/java/Java.inc")
or the following php.ini setting:
[java]
java.servlet=On
java.hosts=127.0.0.1:8080
If the problem persists please open a ticket (please
use
http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233)
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2007-03-01 20:06:17
|
Ho Wilfrid,
> $cb = $writer->getDirectContent();
> $bf = new Java("com.lowagie.text.pdf.BaseFont");
> $bf->createFont("Helvetica", "Cp1252", false);
> $cb->setFontAndSize( $bf , 12);
> ...
> I got this error:
> Fatal error: Uncaught
> [o(Exception):"java.lang.Exception: Invoke failed:
>
[o(PdfContentByte)]->setFontAndSize((BaseFont)c(BaseFont),
> (float)o(Float)).
> Cause: java.lang.IllegalArgumentException: argument
> type mismatch [...]
Shouldn't be BaseFont an instance? My guess is that
$bf = $bf->createFont(...) should correct this
problem.
BTW: For backward compatibility the bridge allows
sloppy coding:
new Java("com.lowagie.text.pdf.BaseFont");
is valid even though the above code should immediately
throw an exception. If you set the log level to 3
(which is default), you should see a warning message
in the JavaBridge.log file.
> It seems '12' is considerated as an Object Float and
> not a primitive type
> float.
It's more likely that the problem is the first
argument, not the second. float is autoconverted into
a Float, so this shouldn't be the problem.
But you're right, the "illegal argument exception"
should state which argument is illegal, and why! At
the moment we simply pass the exception we've obtained
from Java. In the next version, 4.0.2 we should change
this: wrap the obtained exception and pass more
information to the client.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2007-03-01 10:33:47
|
Hi Jost. I dont know if you had followed my previous post here http://sourceforge.net/mailarchive/forum.php?thread_id=3D31573703&forum_id= =3D42415, but i assume you would have. Would you care to elaborate on the sandbox and on how i could possibly get the bridge to access the paths i require, btw i have disabled SEL so i assume the rules are not active... Regards, Sky On 2/10/07, php...@li... < php...@li...> wrote: > > > > This leads me to believe that apache doesn't have > > rights to access certain > > paths on my box. > > It runs in a sand box (uid/gid: apache/apache). > > Furthermore, if you use RedHat Linux (or any > compatible Linux version, Fedora, Centos, ...), the > Security Enhanced Linux rules shipped with the > JavaBridge RPM deny all socket, file, ... access > except files tagged with tmp_t. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Ma= il: > http://mail.yahoo.de > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2007-03-01 08:28:35
|
Hi everyone,
I'd like to use com.lowagie.text.pdf.PdfContentByte setFontAndSize and
showTextAligned functions but I have a problem in passing them a float.
Here is my code:
...
$cb = $writer->getDirectContent();
$bf = new Java("com.lowagie.text.pdf.BaseFont");
$bf->createFont("Helvetica", "Cp1252", false);
$cb->setFontAndSize( $bf , 12);
...
I got this error:
Fatal error: Uncaught [o(Exception):"java.lang.Exception: Invoke failed:
[o(PdfContentByte)]->setFontAndSize((BaseFont)c(BaseFont), (float)o(Float)).
Cause: java.lang.IllegalArgumentException: argument type mismatch [...]
It seems '12' is considerated as an Object Float and not a primitive type
float.
I had try different things like making an instance of a Float and call the
floatValue() or parseFloat() functions in order to get the float type value
but can't make it works.
How could I get the real primitive float type value?
I use PHP 5.1.1, JRE 1.5.0 Update 11 and iText-1.3.1 jar on Windows XP.
Help would be greatly appreciated!
Wilfrid
|