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
|
4
|
|
5
|
6
(12) |
7
(5) |
8
(6) |
9
(1) |
10
(1) |
11
(4) |
|
12
(2) |
13
(7) |
14
|
15
(1) |
16
(1) |
17
(2) |
18
(2) |
|
19
(1) |
20
(2) |
21
(1) |
22
(4) |
23
|
24
(9) |
25
(5) |
|
26
(4) |
27
(2) |
28
(2) |
29
(1) |
30
(11) |
31
|
|
|
From: <php...@li...> - 2008-10-06 20:29:24
|
Hi Andre,
thank you very much.
> .. PhpScriptContextFactory.java file allowed
Yeah. It should have been PhpServletContextFactory... :) All Servlet*.class files are now stored in the php-servlet.jar to avoid class loading issues when the php-script.jar is loaded from the jre/lib/ext directory, but the php-servlet.jar is not.
I have fixed the deprecated warning. The servlet implements an interface which exports three deprecated methods. A class which implements such an interface must add a deprecated tag, otherwise one will see the deprecation warnings.
I have tagged the release as:
RELEASE-5-3-2-1
ROOT_RELEASE-5-3-2-1
Again, thank you very much for compiling the debian packages!
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-06 19:27:19
|
Hello, Bringing back the PhpScriptContextFactory.java file allowed the compilation. Regards. Andre Felipe |
|
From: <php...@li...> - 2008-10-06 18:00:55
|
Hello, Jost
Many thanks for your answer.
>
> Can you please remove them from the CVS?
done at cvs repository.
But now, there is still other stops:
gcc -g -O2 -o RunJavaBridge RunJavaBridge.o -lrt
/usr/lib/jvm/java-6-sun/bin/javac -source 1.4 -target 1.4 -classpath
.:../unsupported/servlet-api.jar php/java/script/*.java
php/java/script/servlet/*.java php/java/bridge/http/*.java
php/java/bridge/*.java php/java/servlet/*.java
php/java/servlet/fastcgi/*.java
php/java/script/SimplePhpScriptEngine.java:161: cannot find symbol
symbol : variable PhpScriptContextFactory
location: class php.java.script.SimplePhpScriptEngine
ctx = PhpScriptContextFactory.addNew((IContext)context);
^
Note: php/java/servlet/RemoteHttpServletResponse.java uses or overrides a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make[2]: ** [php-servlet.jar] Erro 1
make[2]: Saindo do diretório
`/home/andremachado/projetos/php-java-bridge/server'
make[1]: ** [/home/andremachado/projetos/php-java-bridge/modules/stamp]
Erro 2
make[1]: Saindo do diretório `/home/andremachado/projetos/php-java-bridge'
make: ** [build-stamp] Erro 2
debuild: fatal error at line 1228:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Do you have suggestions?
Regards.
Andre Felipe
|
|
From: <php...@li...> - 2008-10-06 16:15:51
|
Hi,
> 1) What all things I can remove from JavaBridge directory
> on Apache as I
> dont want to put un-required stuff on Apache WebServer.
Only the java/Java.inc is neccessary.
> 2) What all things I can remove from JavaBridge directory
> on Tomcat?
Everything except WEB-INF/web.xml, WEB-INF/lib/{JavaBridge*,*php*}.jar
If you want to run PHP scripts directly from servlets, you need to keep the WEB-INF/cgi directory.
> 3) Do I need to setup mod_jk between Apache WebServer and
> Tomcat , or bridge
> will take care of communication by itself.
I would use mod_proxy instead of mod_jk. mod_proxy also supports load balancing, if you need it. Please see our FAQ for details.
> 4) When I develope my Java Classes where I need to put jar
> file?
> is it JavaBridge/WEB-INF/lib? , will it automatically
> put in classpath?
Yes. If you touch the WEB-INF/web.xml, the web context automatically
reloads all libraries.
> 5) Can I also develop seperate WebApplication and deploy on
> Tomcat and still
> can access from PHP in Apache WebServer?
You can copy JavaBridge to MyWebApp and access that. Both applications will be separated. If you want to hard-code all requests to MyWebApp, just fetch the Java.inc from MyWebApp or hard-code the string in java/Java.inc or use a define(...) before including Java.inc.
Please see our FAQ for details
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-06 16:00:48
|
Hi Andre, sorry about that. I forgot to "cvs remove" these files: * server/php/java/script/EngineFactory.java,server/php/java/script/InvocablePhpServletContextFactory.java,server/php/java/script/InvocablePhpServletLocalScriptEngine.java,server/php/java/script/InvocablePhpServletScriptEngine.java,server/php/java/script/PhpServletContextFactory.java,server/php/java/script/PhpServletLocalScriptEngine.java,server/php/java/script/PhpServletScriptEngine.java,server/php/java/script/PhpSimpleHttpScriptContext.java,server/php/java/script/ScriptFileReader.java: Removed the reason for the change is in the ChangeLog: http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/ChangeLog?revision=1.189&view=markup Can you please remove them from the CVS? The bridge uses certain API's which are deprecated since Java 6. But removing them is not possible at the moment because it would break backward compatibility with Java 1.4. But I will have a look at this issue this evening. Regards, Jost Boekemeier |
|
From: <php...@li...> - 2008-10-06 15:40:48
|
Hello,
I am trying to generate the debian packages and found that
php-java-bridge/server/Makefile.am at line 81 has a "java" entry
that gives a full stop.
Well, for trying to go ahead, I removed that java entry and
now it stops at:
gcc -g -O2 -o RunJavaBridge RunJavaBridge.o -lrt
/usr/lib/jvm/java-6-sun/bin/javac -source 1.4 -target 1.4 -classpath
.:../unsupported/servlet-api.jar php/java/script/*.java
php/java/script/servlet/*.java php/java/bridge/http/*.java
php/java/bridge/*.java php/java/servlet/*.java
php/java/servlet/fastcgi/*.java
php/java/script/InvocablePhpServletLocalScriptEngine.java:127: cannot find
symbol
symbol : variable scriptException
location: class php.java.script.InvocablePhpServletLocalScriptEngine
throw this.scriptException = new PhpScriptException("Could
not evaluate script", e);
^
php/java/script/InvocablePhpServletLocalScriptEngine.java:129: cannot find
symbol
symbol : variable scriptException
location: class php.java.script.InvocablePhpServletLocalScriptEngine
try { localReader.close(); localReader=null; } catch
(IOException e) {throw this.scriptException = new PhpScriptException("Could
not close script", e);}
^
php/java/script/InvocablePhpServletScriptEngine.java:107: cannot find
symbol
symbol : variable scriptException
location: class php.java.script.InvocablePhpServletScriptEngine
throw this.scriptException = new PhpScriptException("Could
not evaluate script", e);
^
php/java/script/InvocablePhpServletScriptEngine.java:109: cannot find
symbol
symbol : variable scriptException
location: class php.java.script.InvocablePhpServletScriptEngine
try { localReader.close(); localReader=null; } catch
(IOException e) {throw this.scriptException = new PhpScriptException("Could
not close script", e);}
^
php/java/script/PhpServletLocalScriptEngine.java:126: cannot find symbol
symbol : variable scriptException
location: class php.java.script.PhpServletLocalScriptEngine
throw this.scriptException = new PhpScriptException("Could
not evaluate script", e);
^
php/java/script/PhpServletLocalScriptEngine.java:128: cannot find symbol
symbol : variable scriptException
location: class php.java.script.PhpServletLocalScriptEngine
try { localReader.close(); localReader=null; } catch
(IOException e) {throw this.scriptException = new PhpScriptException("Could
not close script", e);}
^
php/java/script/PhpServletScriptEngine.java:91: cannot find symbol
symbol : variable scriptException
location: class php.java.script.PhpServletScriptEngine
throw this.scriptException = new PhpScriptException("Could
not evaluate script", e);
^
php/java/script/PhpServletScriptEngine.java:93: cannot find symbol
symbol : variable scriptException
location: class php.java.script.PhpServletScriptEngine
try { localReader.close(); localReader=null; } catch
(IOException e) {throw this.scriptException = new PhpScriptException("Could
not close script", e);}
^
Note: php/java/servlet/RemoteHttpServletResponse.java uses or overrides a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
8 errors
make[2]: ** [php-servlet.jar] Erro 1
do you have suggestions?
Regards.
Andre Felipe
|
|
From: <php...@li...> - 2008-10-06 15:35:11
|
Hi ,
thanks for developing this bridge. I;m new here and want to use this to call
Java from PHP and vice versa.
I have deployed Java Bridge on Tomcat and copied the same on Apache. Also
able to access numberguess php from Apache WebServer. It means I am able to
configure it well.
Now my concern is.
1) What all things I can remove from JavaBridge directory on Apache as I
dont want to put un-required stuff on Apache WebServer.
--- I have tried removing everything except "java" directory from
JavaBridge directory and still it worked. Is it okie to just keep "java"
directory on Apache WebServer.
2) What all things I can remove from JavaBridge directory on Tomcat? As it
contains samples which wont be useful for my application.
3) Do I need to setup mod_jk between Apache WebServer and Tomcat , or bridge
will take care of communication by itself.
4) When I develope my Java Classes where I need to put jar file?
is it JavaBridge/WEB-INF/lib? , will it automatically put in classpath?
or do I need to do any specific configuration?
5) Can I also develop seperate WebApplication and deploy on Tomcat and still
can access from PHP in Apache WebServer?
thanks in advance.
have a nice day,
M>...
|
|
From: <php...@li...> - 2008-10-06 13:55:38
|
Hi,
> Do I have to keep tomcat running as well?
without a running java VM a java extension would not make any sense, I think.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-06 13:45:21
|
Hi, Thanks for the quick response. > 1. Copy JavaBridge.war to tomcat's autodeploy folder > 2. Copy the created webapps/JavaBridge directory over to the IIS/Apache doc root This might be a very stupid question but Do I have to keep tomcat running as well? Or just copying it in doc root of apache is sufficient? Thanks On Mon, Oct 6, 2008 at 10:19 PM, <php...@li...> wrote: > Hi, > > >> - Which is the suggested way of deploying php-java bridge? > > 1. Copy JavaBridge.war to tomcat's autodeploy folder > 2. Copy the created webapps/JavaBridge directory over to the IIS/Apache doc root > > >> separate process >> and we end up having lots of java processes. Are we using > > The java.so or php_java.dll start a Java process in minit and destroy it in mshutdown. minit/mshutdown are called when IIS or Apache starts/stops. Or when the CGI or CLI binary is invoked/terminated, which happens for every request. > > Java threads from a thread pool show up as processes in old Linux kernels or psutils. > > > Regards, > Jost Boekemeier |
|
From: <php...@li...> - 2008-10-06 13:23:26
|
Hi,
> - Which is the suggested way of deploying php-java bridge?
1. Copy JavaBridge.war to tomcat's autodeploy folder
2. Copy the created webapps/JavaBridge directory over to the IIS/Apache doc root
> separate process
> and we end up having lots of java processes. Are we using
The java.so or php_java.dll start a Java process in minit and destroy it in mshutdown. minit/mshutdown are called when IIS or Apache starts/stops. Or when the CGI or CLI binary is invoked/terminated, which happens for every request.
Java threads from a thread pool show up as processes in old Linux kernels or psutils.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-06 09:45:33
|
Hi,
thanks for all the advise. I tried your solution of copying php-cgi.exe and
php5ts.dll to my local working directory. That indeed
solved the issue of the Stackoverflow I got on the command prompt with the
interactive php engine.
I am attempting now to resolve the problems I described using the bridge
from Netbeans. I'll keep you posted on the outcome, though
it may take some time (sometime next week likely) before I can get back to
you.
Thanks already!
Bart
On Fri, Sep 26, 2008 at 8:51 PM, <
php...@li...> wrote:
> Hi,
>
> > Java 1.6.0.6 with PHP 5.2.2 [..] bridge version 5.2.2
>
> I am sorry, but I cannot reproduce this problem using the above software.
>
> * downloaded PHP/Java Bridge version 5.2.2 and extracted it into c:\
>
> * downloaded Java 1.6.0_06 and installed it
>
> * downloaded PHP 5.2.2 and copied php-cgi.exe and php5ts.dll to
> C:\php-java-bridge_5.2.2.4_j2ee\JAVA.STANDALONE
>
>
>
> C:\php-java-bridge_5.2.2.4_j2ee\JAVA.STANDALONE>c:\programme\java\jdk1.6.0_06\bin\jrunscript
> -classpath JavaBridge.jar -l php-interactive
> php-interactive> echo 1+2
> 3
> php-interactive> java_autoload();
>
> php-interactive> echo
> java_lang_System::type()->getProperty("java.version");
> 1.6.0_06
> php-interactive> echo phpversion();
> 5.2.2
> php-interactive> echo php_java_bridge_Util::type()->VERSION;
> 5.2.2.4
> php-interactive>
>
>
>
> > Exception in thread "main"
> > java.lang.StackOverflowError
>
> php.java.script.InteractivePhpScriptEngine.eval(InteractivePhpScriptEngine.java:89)
>
> The StackOverflowError usually happens when a simple "<?php ?>" call fails.
>
> Please check your PHP installation. Remove it, if necessary, and copy
> the php-cgi.exe and php5ts.dll into the local working directory.
>
> Check which extension breaks your system PHP installation. Most likely you
> use an old Java extension or the Java extension from Zend. Both don't work
> correctly (at least not with JSR223).
>
>
> Regards,
> Jost Boekemeier
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
> gegen Massenmails.
> http://mail.yahoo.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
The new is always the old. Everything that's old was once new, and
everything that's new will one day be old. The oldest thing of all is the
present, because there's never been anything else but the present. No one
has ever lived in the past, and no one lives in the future, either.
|
|
From: <php...@li...> - 2008-10-06 02:21:47
|
Hi, We have a php web application which will be accessing a third party Java API (in form of jars) what is the suggested deployment method? I have tried following: 1. Compiled the source which results in java.so and then include it in php.ini using 'extension=java.so' 2. Start the servlet engine explicitly using java commend 'java -jar JavaBridge.jar SERVLET:8080 3 javabridge_servlet.log' inside JAVA.STANDALONE folder. I have couple of questions. - Which is the suggested way of deploying php-java bridge? - The servlet engine which is part of the JavaBridge.jar is it stable enough for production? - Good thing about option 1 is that I do not have to start any separate process it gets started with apache but we have experienced that for some reason for every call it was creating a separate process and we end up having lots of java processes. Are we using it incorrectly? Thanks for the help. Regards, Amit. |