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
(1) |
4
|
5
|
6
(4) |
7
(1) |
|
8
(1) |
9
(2) |
10
(3) |
11
(1) |
12
(1) |
13
(5) |
14
(4) |
|
15
(1) |
16
(4) |
17
(3) |
18
(2) |
19
(2) |
20
|
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
(2) |
|
29
|
30
|
31
|
|
|
|
|
|
From: <php...@li...> - 2006-10-10 16:40:16
|
You think it's a bug vs. "pilot error" on this end? I'll try the backslashes and get right back to you Mike |
|
From: <php...@li...> - 2006-10-10 16:29:34
|
Hi Mike, thank you very much for this bug report. I haven't looked carefully enough at the error message you've given. The exception is caused by a bug in the CGIServlet, which requires a File.separator instead of a slash. I have created a ticket for this bug, please see http://sourceforge.net/tracker/index.php?func=detail&aid=1574648&group_id=117793&atid=679233 As a workaround please use a backslash to specify the path, e.g.: c:\windows\php.exe I will check this with the author of the CGIServlet so that we can publish an updated PHP/Java Bridge in december. 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...> - 2006-10-10 13:14:49
|
Hi, Jost. Thanks for your tremendous contributions to the PHP and Java user communities. Your reply actual gave me the answer to my problem. Lately I've gotten used to using PHP functions with pre-defined default values for arguments that are not specified when the function is called. The Java method I was trying to call had a few optional parameters, and I just left them off, foolishly thinking they would get filled in by default... and that was causing the error. Once I gave it all the parameters it expected, it worked fine. Silly mistake! Once I overcame that, I had another problem which I'll outline here for posterity: I couldn't get the "java.class.path" value defined properly until I came across these two bits you posted in 2005: "According to the README it is java.classpath" and "Please don't forget the double-quotes" http://www.thescripts.com/forum/thread11467.html "java.classpath" vs. "java.class.path" -- There's probably a lot of confusion about this since http://php.net/java states it as "java.class.path" but apparently JavaBridge requires "java.classpath" Leaving off the quotes might be another common problem since lots of settings in php.ini don't require them -- for example setting extension_dir. But java.classpath didn't work for me until I added the quotes. Thanks again. -Kevin |
|
From: <php...@li...> - 2006-10-09 18:23:03
|
>> I cannot find any file in the php release named 'php-cgi.exe'. >It is called php-cgi-x86-windows.exe. I've edited web.xml and added a path to php-cgi-x86-windows.exe within the php_exec params, restarted TC but still have the same 500 error > Are you sure that php.exe is a cgi binary? IMHO the cgi binary is called php-cgi.exe. Downloaded PHP 4.4.4 from php.net and there is no file inside the release named php-cgi.exe > However, I think it is best to download and to install the php integration kit for windows and use the launcher.exe so that the PHP/Java Bridge can use the FastCGI interface instead of CGI: http://www.alphaworks.ibm.com/tech/phpintwasce/download Ok, I've got the kit downloaded, copied only launcher.exe into the webapps/JavaBride/WEB-INF/cgi dirand have updated the php_exec param in webapps/JavaBridge/web.xml to point to launcher.exe, restarted TC and end up with the same 500 problem Is there a config parameter that I'm missing? Am I the only one trying to run the bridge within a TC/Win2k env? Mike |
|
From: <php...@li...> - 2006-10-09 15:44:56
|
Hi Kevin,
first of all thank you very much for the bug report.
There is something I don't understand, the prototype
definition you've given requires 6 arguments, but
you've passed only 3:
> public static ExampleResult execute(java.lang.String
> ID, java.lang.String
> Name, java.lang.String PW, java.lang.String
> extraParam1, java.lang.String
> extraParam2, java.lang.String extraParam3)
> ->execute('123', 'John Doe', 'myPassword')
However the error message lists the three param proc
as a candidate, so your code should work. Can you
please open a problem report (please use
http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233)
and set the java.log_level to 6, re-start the backend
and append the log at the end of the ticket?
The log will show the reason why the bridge has
discarded the potential candidate.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2006-10-08 17:35:56
|
Hello. I've been trying to figure this out for a few days now, and I'm so
totally stuck that I really need to ask for help before I go nuts.
I have a .jar file with the following information given in the
documentation:
-----------------------------------------
example.jar
java.lang.Object
|
+- example.client.ExampleRequest
Method:
public static ExampleResult execute(java.lang.String ID, java.lang.String
Name, java.lang.String PW, java.lang.String extraParam1, java.lang.String
extraParam2, java.lang.String extraParam3)
-----------------------------------------
... and the installation instructions say it needs to go here:
/opt/example/lib/
Question: How do I call the execute() method and pass it the parameters it
needs?
I always get "java.lang.NoSuchMethodException" even though the method
definitely exists. Is it because I'm not calling it correctly?
1) If my PHP code is this:
java_require("/opt/example/lib/example.jar");
$example = new Java("example.client.ExampleRequest");
$result = $example->execute('123', 'John Doe', 'myPassword');
I get this in the Error log:
java.lang.NoSuchMethodException: execute(o(Request$PhpParserString),
o(Request$PhpParserString), o(Request$PhpParserString)). Candidates [public
static
example.client.ExampleRequest.execute(java.lang.String,java.lang.String,java
.lang.String)]
at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1007)
at php.java.bridge.Request.handleRequest(Request.java:467)
at php.java.bridge.Request.handleRequests(Request.java:493)
at php.java.bridge.JavaBridge.run(JavaBridge.java:209)
at php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:29)
[client 123.456.789.012] PHP Warning: java.lang.Exception: Invoke failed:
[c(ExampleRequest)]->execute(o(Request$PhpParserString),
o(Request$PhpParserString), o(Request$PhpParserString)). Cause:
java.lang.NoSuchMethodException: execute(o(Request$PhpParserString),
o(Request$PhpParserString), o(Request$PhpParserString)). Candidates [public
static
example.client.ExampleRequest.execute(java.lang.String,java.lang.String,java
.lang.String)] in /var/www/html/test.php on line 3
2) Or if I try this in my PHP:
java_require("/opt/example/lib/example.jar");
$example = new Java("example.client.ExampleRequest");
$id = new Java('java.lang.String', '123');
$name = new Java('java.lang.String, 'John Doe');
$pw = new Java('java.lang.String', 'myPassword');
$result = $example->execute($id, $name, $pw);
This code gives the same error message, except that
o(Request$PhpParserString) is replaced with o(String).
Can anyone see what I'm doing wrong?
Thanks.
-Kevin
|
|
From: <php...@li...> - 2006-10-07 16:42:49
|
Hi, > I cannot find any file in the php release named > 'php-cgi.exe'. I It is called php-cgi-x86-windows.exe. > using a path to the cli Doesn't work. The command line interface only works on the command line. :) You need the php-cgi.exe. > version and the cgi > (c:/php/php.exe) version of > php.exe in the Are you sure that php.exe is a cgi binary? IMHO the cgi binary is called php-cgi.exe. However, I think it is best to download and to install the php integration kit for windows and use the launcher.exe so that the PHP/Java Bridge can use the FastCGI interface instead of CGI: http://www.alphaworks.ibm.com/tech/phpintwasce/download Basically the windows version of PHP has been compiled without a standalone fast cgi server; the -b flag is missing in the windows php binary. Until the PHP people add this capability to the windows version of php, the above launcher.exe is required to run PHP efficiently on windows. > it from fulfilling this request. > exception > javax.servlet.ServletException: String index out of > range: -1 This probably means that no HTTP header fields were sent, which may mean that the bridge uses the CLI instead of the CGI version of PHP. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2006-10-06 17:44:28
|
>please excuse the delay. No problem, appreciate the reply/info >I assume you're running setup #6 (see http://php-java-bridge.sourceforge.net/README). Yes, standalone Tomcat 5.0.28 on Win2k > It is possible to adjust the php_exec option, see WEB-INF/web.xml. It defaults to > WEB-INF/cgi/php-cgi-<arch>-<os>, which is PHP 5.1. You can set it to > c:/php-cgi.exe for example. I cannot find any file in the php release named 'php-cgi.exe'. I believe that php-cgi.exe is php5... I've tried using a path to the cli (c:/php/cli/php.exe) version and the cgi (c:/php/php.exe) version of php.exe in the C:\Apache\Tomcat\webapps\JavaBridge\WEB-INF\web.xml file (uncommented lines 58-61, and updated the value) but both result in an exception when I try to run the test.php page: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: String index out of range: -1 php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:567) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(String.java:1444) php.java.servlet.CGIServlet$CGIEnvironment.init(CGIServlet.java:563) php.java.servlet.PhpCGIServlet.createCGIEnvironment(PhpCGIServlet.java:4 30) php.java.servlet.CGIServlet.doGet(CGIServlet.java:448) php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:535) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. I'm obviously still missing something, any ideas? Mike |
|
From: <php...@li...> - 2006-10-06 16:49:09
|
Hi, please excuse the delay. I assume you're running setup #6 (see http://php-java-bridge.sourceforge.net/README). It is possible to adjust the php_exec option, see WEB-INF/web.xml. It defaults to WEB-INF/cgi/php-cgi-<arch>-<os>, which is PHP 5.1. You can set it to c:/php-cgi.exe for example. > don't want to run the slower pure PHP implementation The pure PHP implementation needs PHP >= 5 anyway. When you use an accelerator technology, the pure PHP implementation isn't much slower than the C-based implementation. Round-trips are most expensive, but they can eliminated by sending the Java() statements in a single stream, e.g.: java_begin_document(); java statements; java_end_document(); So I think the lack of performance is not a good argument to dismiss the pure PHP implementation. :) 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...> - 2006-10-06 16:44:08
|
Hi,
please excuse the delay.
> > The problem occurs when I try to convert the java
> > code
> > Class.forName("com.mysql.jdbc.Driver");
> > and the "getConnection" into corresponding
> php-code.
> >
Class.forName("name")
loads name from the bootstrap classloader, so
java_require() has no effect. -- One could expect that
some default class loader, for example the class
loader from the current Thread context is used. But in
many areas Java simply doesn't work as one would
expect.
Please either use Class.forName with an explicit
classLoader argument (you can obtain the current class
loader from the current Thread) or simple use:
new Java("name);
instead.
Btw: Your .ini entry java.classpath=foo.jar;bar.jar
probably didn't work because the above semi-colon
starts an one-line comment.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2006-10-06 13:29:01
|
anybody? -----Original Message----- From: Mike D'Ambrogia [mailto:mi...@ja...] Sent: Tuesday, October 03, 2006 12:55 PM To: 'php...@li...' Subject: tomcat - using php4 running TomCat 5 on Windows 2k, I've got the app up and running but the test page shows that the version of php is php5 but I'd rather run php4. The php/java bridge docs read vague to me (new to this) about how I can config the bridge to run PHP 4 vs 5 without rebuilding the app. I don't want to run the slower pure PHP implementation any reference doc that someone can point me to that would show me the config setup for running php4? thx mike |
|
From: <php...@li...> - 2006-10-03 19:55:19
|
running TomCat 5 on Windows 2k, I've got the app up and running but the test page shows that the version of php is php5 but I'd rather run php4. The php/java bridge docs read vague to me (new to this) about how I can config the bridge to run PHP 4 vs 5 without rebuilding the app. I don't want to run the slower pure PHP implementation any reference doc that someone can point me to that would show me the config setup for running php4? thx mike |