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
(3) |
2
(9) |
3
(1) |
4
(3) |
|
5
|
6
(3) |
7
(2) |
8
(3) |
9
(2) |
10
(1) |
11
|
|
12
(1) |
13
(9) |
14
(6) |
15
(7) |
16
(8) |
17
|
18
|
|
19
|
20
(2) |
21
(2) |
22
(5) |
23
|
24
(6) |
25
(2) |
|
26
|
27
(3) |
28
|
29
(1) |
30
(4) |
31
(2) |
|
|
From: <php...@li...> - 2007-08-15 19:35:14
|
Hi Jost, thanks for your reply. I already made sure three times anything in the CLASSPATH is OK. Else I wouldn't have posted. Actually, please look at the sources you've deployed, and if they would compile. As for version 4.2.2, they will not - as there's that inconsistency between a distinct method call, and signature ( ContextServer.getCredentials()) , I've mentionend in my previous post. - The sources won't compile, and the binaries (don't know how they have been compiled) throw the appropriate error. Please take a deep breath and look into this. Thanks again, and best regards Robert php...@li... wrote: > Hi, > > [use of CLASSPATH results in NoClassDefFoundError and friends...] > >> - How should I proceed? >> > > Well, simply nuke the CLASSPATH and use a single repository. The PHP/Java Bridge offers this > as the default, please see the README 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: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > |
|
From: <php...@li...> - 2007-08-15 18:55:59
|
Hi,
> // trying to create 3-element String[] in PHP4
ah, PHP4. Sorry, but there's no way to do this in PHP4, as this PHP version destroys object
identity. -- It's a problem with PHP4's object system.
You must write a wrapper Java class that does what you want and call that.
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-08-15 18:52:00
|
Hi,
[use of CLASSPATH results in NoClassDefFoundError and friends...]
> - How should I proceed?
Well, simply nuke the CLASSPATH and use a single repository. The PHP/Java Bridge offers this
as the default, please see the README for details.
Regards,
Jost Boekemeier
__________________________________
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-15 16:21:13
|
Hi,
I'm trying to upgrade JavaBridge in existing web apps (though this fact
may not be a criteria for the problems arising).
I've downloaded the current 4.2, resp. 3.2, version, extracted
JavaBridge.war and copied its contents into the web app. Aditionally, I
copied JavaBridge.jar to the CLASSPATH (jre/lib/ext in this case, which
is the only CLASSPATH).
There is no JavaBridge.jar in Tomcat's /common/lib, and JavaBridge.jar
in ext and in /WEB-INF/lib are equal.
OK, with 4.2, I'm getting the follow error:
2007-08-15 17:55:03,257 [http-80-Processor23] ERROR
php.java.bridge.JavaBridge - JavaBridge exception
java.lang.NoSuchMethodError:
php.java.bridge.http.ContextServer.getCredentials(Ljava/lang/String;Ljava/lang/String;)Lphp/java/bridge/http/ContextFactory$ICredentials;
at
php.java.servlet.PhpJavaServlet.handleSocketConnection(PhpJavaServlet.java:270)
at php.java.servlet.PhpJavaServlet.doPut(PhpJavaServlet.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:730)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
...
Looking at the sources, the error occurs in PhpJavaServlet.java, in line
212. And right, ContextServer.java contains a different signature of
getCredentials().
With 3.2, there is another error: (BTW, JavaBridge.war, when deployed,
throws the same error on load.)
java.lang.NoClassDefFoundError: php/java/bridge/Util$Thread
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
php.java.servlet.fastcgi.FastCGIServlet.init(FastCGIServlet.java:248)
php.java.servlet.PhpCGIServlet.init(PhpCGIServlet.java:103)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
...
Looking at the classes contained by JavaBridge.jar, there is no such
class, indeed.
- How should I proceed?
Thanks
Robert
|
|
From: <php...@li...> - 2007-08-15 15:41:37
|
I tried that, but it doesn't work. $array will wind up as a php array with
$count elements:
// trying to create 3-element String[] in PHP4
$Array = new JavaClass("java.lang.reflect.Array");
$String = new JavaClass("java.lang.String");
$javaArr = $Array->newInstance($String, 3);
var_dump($javaArr);
Output:
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
Michael.
> -----Original Message-----
> From: php...@li... [mailto:php-
> jav...@li...] On Behalf Of php-java-
> bri...@li...
> Sent: Wednesday, August 15, 2007 5:00 AM
> To: php...@li...
> Subject: Re: [Php-java-bridge-users] coerce sub-array as Java array
>
> Why don't you create a string array explicitly, for example by using
> java.reflect.Array?
>
> The code would look like this:
>
> $array = java("java.reflect.Array")-
> >newInstance(java("java.lang.String"), $count);
>
> Please see the documentation for details: http://php-java-
> bridge.sourceforge.net/pjb/extension_mappings.php
>
>
> __________________________________
> Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN!
> www.yahoo.de/clever
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2007-08-15 13:27:43
|
Hello, I'm working on a project that needs pdfbox. I need to call a method which expects a subclass from abstract-class ProtectionPolicy. If i pass this object i get an IllegalArgumentException: Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:PDDocument]]->protect((o:ProtectionPolicy)[o:StandardProtectionPolicy]). Cause: java.lang.IllegalArgumentException Documentation: http://www.pdfbox.org/javadoc/org/pdfbox/pdmodel/encryption/StandardProtectionPolicy.html I believe i'm using it the right way. Anyone got an idea what i'm doing wrong? My code: $ap = new Java("org.pdfbox.pdmodel.encryption.AccessPermission"); $ap->setCanModify(false); $oDoc = new Java("org.pdfbox.pdmodel.PDDocument"); $oProtect = new Java("org.pdfbox.pdmodel.encryption.StandardProtectionPolicy ","test","test",$ap); $doc = $oDoc->load( "/home/www/testserver/webapp/upload/test.pdf"); $doc->protect($oProtect); $doc->save("/home/www/testserver/webapp/htdocs/testcases/out/testoutput.pdf"); Thanks in advance, Gilbert |
|
From: <php...@li...> - 2007-08-15 09:59:43
|
Why don't you create a string array explicitly, for example by using java.reflect.Array?
The code would look like this:
$array = java("java.reflect.Array")->newInstance(java("java.lang.String"), $count);
Please see the documentation for details: http://php-java-bridge.sourceforge.net/pjb/extension_mappings.php
__________________________________
Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
|