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-19 17:37:22
|
I just came up with two new questions. I'm sorry, I don't mean to be annoying, but here is the only place where I can get the help I need. 1) When I run the install.sh script it overwrites my php.ini with the PHP/Java Bridge configuration. It does not bother me right now because I'm not using any special configuration, but when I go on production I will need my php.ini file. The problem is that if I append the lines of the php.ini file that the install.sh created to my original php.ini, the extension just doesn't load. Is there any consideration that I should take into account before merging both ini files? 2) In a previous email, Jost told me that PHP/Java Bridge does not care about CLASSPATH variable, and here comes my problem. I have to implement an API which uses some XML files for its configuration. The xml is loaded using th= e getSystemResource method of the ClassLoader, which looks for a certain file on the classpath as I understand. So, how should I indicate where those files are using PHP/Java Bridge? Right now I just added the path to the conf/ folder to the CLASSPATH and everything worked. Thanks Andr=E9s Gattinoni |
|
From: <php...@li...> - 2007-03-19 15:36:35
|
> > > > The error I was getting was that it couldn't find > > the class. > > I don't think so. Can you please open a problem > report, > please use > http://sourceforge.net/tracker/?func=3Dadd&group_id=3D117793&atid=3D67923= 3 > > set the log level to 4 and attach the server log > there. What I meant is that I got the error Java throws when it cannot find the class that you're trying to instanciate. It is the error I had pasted on my first e-mail: CreateInstance failed: new Test. Cause: java.lang.ClassNotFoundException: Test Responsible VM: 3.4.3@http://gcc.gnu.org/java/ > But now I've got a > > different error: > > CreateInstance failed: new Test. Cause: > > java.lang.IllegalAccessException: > > Class php.java.bridge.JavaBridge can not access a > > member of class Test with > > modifiers "public" Responsible VM: > > 1.5.0_11@http://java.sun.com/ > > Ah, now we're are at something. So your problem isn't > that the class could not be found. The problem is that > the wrapper Java class you've written throws > exceptions or even errors. -- Most likely a > NoClassDefFoundError. > > > > This is my java code: > > > > class Test > > This will not work, because your class is not public. Great! That was it! Now it is working! Just another question... I had to restart Apache so that it would load the new jar file... why is that? cache? I will keep on trying with other things (now I have to get my *real* java programs to work) and will keep you posted of any other problem I might get= . > Besides, I installed > > the PHP/Java Bridge from its source because the RPM > > package didn't work for > > me > > I don't know what Andr'e and Jon think about this, but > I think we should discontinue the source distribution. > I think it causes too much trouble. We could keep the (source-) RPM and debian packages. > Everyone else should use the generic binary or pull > the source code from the CVS. In my opinion, it's always useful to have a stable release of the source code for those who don't use RPM or Debian packages. I'm working with this at he company where I work, and I have to work with RedHat so I could use the RPM binaries if it wasn't for the dependecies problems I got (as I said, I installed Apache and PHP *manually* from its source). Nevertheless I would probably want to install PHP/Java Bridge on m= y web server at home where I'm running Slackware and I would definitely need to use the source package there. > Apache/Tomcat? Because I was required not to use > > Tomcat in this case. > > You need to start a Java process as a service on the > computer. Which other program can start Java as a > system service? And what's the problem with tomcat? This was mostly curiosity, as I said I haven't work much with Java nor JSP... but if it's the way to go, so be it. Thank you very much again for your support. I hope that I can get this to work and use it in many other places. I would be glad to help you enrich th= e documentation with my experience installing it, and I'm at your service for anything else that I could be useful. Regards, Andr=E9s Gattinoni |
|
From: <php...@li...> - 2007-03-19 15:03:58
|
Hi, > The error I was getting was that it couldn't find > the class. I don't think so. Can you please open a problem report, please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 set the log level to 4 and attach the server log there. > But now I've got a > different error: > CreateInstance failed: new Test. Cause: > java.lang.IllegalAccessException: > Class php.java.bridge.JavaBridge can not access a > member of class Test with > modifiers "public" Responsible VM: > 1.5.0_11@http://java.sun.com/ Ah, now we're are at something. So your problem isn't that the class could not be found. The problem is that the wrapper Java class you've written throws exceptions or even errors. -- Most likely a NoClassDefFoundError. > This is my java code: > > class Test This will not work, because your class is not public. > All methods are public. Irrelevant. > Besides, I installed > the PHP/Java Bridge from its source because the RPM > package didn't work for > me I don't know what Andr'e and Jon think about this, but I think we should discontinue the source distribution. I think it causes too much trouble. We could keep the (source-) RPM and debian packages. Everyone else should use the generic binary or pull the source code from the CVS. > Apache/Tomcat? Because I was required not to use > Tomcat in this case. You need to start a Java process as a service on the computer. Which other program can start Java as a system service? And what's the problem with tomcat? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2007-03-19 13:26:16
|
Hi Jost,
Let me thank you again for all the help you've been giving me.
First of all I will answer the questions from your previous mail.
java_require("file://usr/local/apache2/htdocs/tests_java/Test.jar");
java_require("http://localhost/tests_java/Test.jar");
java_require("http://172.16.0.75/tests_java/Test.jar");
java_require("Test.jar");
And none of them seemed to work.
All of the above examples should work. Which error
message do you get?
The error I was getting was that it couldn't find the class. I checked the
JVM that it was using and it was wrong, as you suggested. So I changed it
and now it's working with the JRE I just installed. But now I've got a
different error:
CreateInstance failed: new Test. Cause: java.lang.IllegalAccessException:
Class php.java.bridge.JavaBridge can not access a member of class Test with
modifiers "public" Responsible VM: 1.5.0_11@http://java.sun.com/
This is my java code:
class Test
{
public Test ()
{
System.out.println("Hi, I'm the constructor");
}
public String saySth ()
{
return "Something stupid";
}
public static void main (String[] args)
{
System.out.println("This is the main");
System.exit(0);
}
}
All methods are public.
Regarding Security Enhanced Linux, I had seen the warning on your site so I
checked it before but it is not enabled in this box. Besides, I installed
the PHP/Java Bridge from its source because the RPM package didn't work for
me as the Apache and PHP were also compiled and installed *manually*, so th=
e
RPM would say that I needed some dependecies such as httpd...
Anyway, I think that now that you've shown me this error I had on my
configuration I'm closer to making it work.
As for the PHP Implementation does that imply that I should run
Apache/Tomcat? Because I was required not to use Tomcat in this case.
However, as I said in another mail, I don't have much experience with Java
nor Tomcat, so I'm not sure what are the advantages or disavantages does
that have.
Thanks again for your help.
Regards,
Andr=E9s
On 3/18/07, php...@li... <
php...@li...> wrote:
>
> Hi Andr=E9s,
>
> I just saw that you use a recent version of PHP
> anyway.
>
> So please use the pure PHP implementation instead of
> the C based implementation started as a sub component
> of Apache.
>
> Type:
>
> /opt/jdkXXX/bin/java -jar JavaBridge.jar
> SERVLET:8080
>
> And then use your java from your scripts as follows:
>
> <?php
> require_once("http://localhost:8080/JavaBridge/java/Java.inc");
> java_require("all.jar;my.jar;library.jar;files.jar");
> ...
> ?>
>
> If this works and you really want to run Java as a sub
> component of Apache, you can think about where to
> store your libraries and how to set the security
> policy in a second step.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
>
>
> ___________________________________________________________
> Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Ma=
il:
> http://mail.yahoo.de
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--=20
Andr=E9s Gattinoni
(=AF`=B7._.=B7[El Barto(r)]=B7._.=B7=B4=AF) (...)
|
|
From: <php...@li...> - 2007-03-19 10:48:01
|
Hi,
> I can't find a readme that mentions anything about
> this.
The README is in the PHP/Java Bridge binary download
(php-java-bridge_x.y.z_j2ee.zip.
> java -jar JavaBridge.jar SERVLET_LOCAL:9676
> My Test.php is thus: (I tried using new Java(...)
>require_once("http://localhost:9676/JavaBridge/java/Java.inc");
> echo $jversion;
=>
> Java version=[o(String):"1.5.0_10"]
Perfect.
> If I uncomment the line below assignment of
=>
> Java version=Object id #19
Right.
> This can't be right!!!
Why not? This is standard PHP behaviour. -- If you
want object=>string autoconversion, this is available
and default in PHP6, but not in PHP5.
What exactly do you want to do? Do you want to convert
the created Object into a String? See the
documentation for java_cast($obj, PHP_TYPE) and
java_values($obj).
I guess what you want to do is something like:
$props = $system->getProperties();
// echo $props; // a java Properties object
$phpArray = java_values($props);
Please see our documentation at php-java-bridge.sf.net
for details.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2007-03-19 03:17:28
|
I can't find a readme that mentions anything about this. My
configuration is as follows:
W2k
Php v5.16 or Php v5.21 ( can use either )
PHPEdit v4.6.3 in debug/server mode
JRE 1.5.10
Using the following I have successfully? performed the bridge
In a DOS box I run:
java -jar JavaBridge.jar SERVLET_LOCAL:9676
In my php.ini I have no java extension or module information
My Test.php is thus: (I tried using new Java(...) with no difference in
results)
<?php
require_once("http://localhost:9676/JavaBridge/java/Java.inc");
$system = new JavaClass('java.lang.System');
$jversion = $system->getProperty('java.version');
// echo 'Java version=' . $jversion . '<br/>';
echo 'Java version=';
echo $jversion;
echo '<br/>';
?>
Result is:
******************************
Java version=[o(String):"1.5.0_10"]
******************************
If I uncomment the line below assignment of $jversion result is:
******************************
Java version=Object id #19
Java version=[o(String):"1.5.0_10"]
******************************
This can't be right!!!
Thanks,
Jose
|