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-21 18:46:24
|
On 3/21/07, php...@li... < php...@li...> wrote: > > Hi, > > [please excuse the delay] No problem. Thanks a lot for the help you're providing. > When I run the install.sh script it overwrites my > > php.ini with the PHP/Java Bridge configuration. > > It doesn't do this if you php installation supports an > /etc/php.d/ directory. Please see the php --configure > help for details (php's configure, not the bridge > configure script). > > > > install.sh created to my original php.ini, the > > extension just doesn't load. > > The only thing the extension need is a > > extension=3Djava.so > > entry. Ok... it took me a while but I finally got it working. It was one of those time when you try hundreds of different things and by the end you don't kno= w if what you're trying you have already done it or not. The thing is that my php.ini was loading the extensions from extension_dir = =3D "/usr/local/php/lib/extensions/" and the java.so was installed on /usr/local/php/lib/extensions/no-debug-non-zts-20050922/ What I don't know is why it didn't work when I copied every file from usr/local/php/lib/extensions/no-debug-non-zts-20050922/ to /usr/local/php/lib/extensions/ Is there any way to change that installation path while configuring PHP/Jav= a Bridge? > In a previous email, Jost told me that PHP/Java > > Bridge does not care about > > CLASSPATH variable, > > Some older JDK may still read the CLASSPATH > environment variable. But since Apache discards all > environment variables and executes in a clean > environment you cannot pass it to the VM (if you want > to run the VM as a sub-component of Apache). Not even using putenv PHP function? Because I use that to configure some Oracle stuff. > getSystemResource method of the ClassLoader > > It should find the resources in the standard Java > repository, which is /usr/share/java/ext or > /usr/java/packages/lib/ext. > > > > So, how should I indicate where those > > Just modify the standard location using the > -Djava.ext.dirs=3D... option. If you want to pass this > option from Apache, use a wrapper script, please see > our FAQ for details. I saw the FAQ... does it mean that I should start Apache with apachectl -D java.ext.dirs=3D/path/to/my/confs ? I would rather work something out that did not envolve having to modify startup configuration. I'm using this to work with a java api, which would be a quite small part o= f a much larger application and would like to make it easier to deploy becaus= e most probably I won't be installing it. BTW: Isn't that backwards? If you want to load > resources from a user dir, why don't you simply use > getResource() instead of getSystemResource()? Might be. I read something like that, the problem is that the getSystemResource call is made from the API I'm working with (which source I don't have), and I have to work with that. Best regards, Andr=E9s Gattinoni ___________________________________________________________ > 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-21 16:31:20
|
Hi, > helloworld/Main). -- Unable to call constructor, see > the README section "Java platform issues" for > details. > Am I missing something trivial here? I think this is explained in the README section "Java platform issues". > Are there any good tutorials on how to get java code > called from php and working? What's wrong with the "loading user libraries" section from the README? :) Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2007-03-21 16:24:14
|
Hi, [please excuse the delay] > When I run the install.sh script it overwrites my > php.ini with the PHP/Java Bridge configuration. It doesn't do this if you php installation supports an /etc/php.d/ directory. Please see the php --configure help for details (php's configure, not the bridge configure script). > install.sh created to my original php.ini, the > extension just doesn't load. The only thing the extension need is a extension=java.so entry. > In a previous email, Jost told me that PHP/Java > Bridge does not care about > CLASSPATH variable, Some older JDK may still read the CLASSPATH environment variable. But since Apache discards all environment variables and executes in a clean environment you cannot pass it to the VM (if you want to run the VM as a sub-component of Apache). > getSystemResource method of the ClassLoader It should find the resources in the standard Java repository, which is /usr/share/java/ext or /usr/java/packages/lib/ext. > So, how should I indicate where those Just modify the standard location using the -Djava.ext.dirs=... option. If you want to pass this option from Apache, use a wrapper script, please see our FAQ for details. BTW: Isn't that backwards? If you want to load resources from a user dir, why don't you simply use getResource() instead of getSystemResource()? 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...> - 2007-03-21 15:56:42
|
Estarei fora da Atech entre os dias 19 e 30 de mar=C3=A7o. Para assuntos que necessitem imediata aten=C3=A7=C3=A3o, favor entrar em = contato com Carlos Eduardo (cadu=40atech.br) - - - - - Politica de Privacidade: Esta mensagem pode conter informacao confidencial = e/ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a = receber esta mensagem, nao pode usar, copiar ou divulgar as informacoes = nela contidas ou tomar qualquer acao baseada nessas informacoes. Se voce = recebeu esta mensagem por engano, por favor avise imediatamente o = remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua = cooperacao. Privacy Policy: This message may contain confidential and/or privileged = information. If you are not the addressee or authorized to receive this = for the addressee, you must not use, copy, disclose or take any action = based on this message or any information herein. If you have received this = message in error, please advise the sender immediately by reply e-mail and = delete this message. Thank you for your cooperation.= |
|
From: <php...@li...> - 2007-03-21 14:58:35
|
Maybe if you'd copy your java code it could help.
The name of your class is Main? is it public?
Andr=E9s Gattinoni
On 3/21/07, php...@li... <
php...@li...> wrote:
>
>
> Hi,
>
> I need some advice, I'm trying to use my own java class in php using
>
> Apache 2.2.4
> PHP 5.2.1
> Java Bridge 4.0.1 as doubleclicked JavaBridge.jar (8080)
>
> and the following code works:
>
> <?php
> require_once("http://localhost:8080/JavaBridge/java/Java.inc");
> java_require("http://localhost/Main.jar");
>
> $s =3D new Java("java.lang.String", "hello");
> echo $s;
>
> ?>
>
> When I try to call the constructor of my Main class however, I get an
> exception:
>
> <?php
>
> $test =3D new Java("Main");
>
> ?>
>
> javabridge.log:
>
> Mar 21 15:12:14 JavaBridge ERROR: An exception occured:
> java.lang.ClassNotFoundException: Unresolved external reference:
> java.lang.NoClassDefFoundError: Main (wrong name: helloworld/Main). --
> Unable to call constructor, see the README section "Java platform issues"
> for details.
> java.lang.ClassNotFoundException: Unresolved external reference:
> java.lang.NoClassDefFoundError: Main (wrong name: helloworld/Main). --
> Unable to call constructor, see the README section "Java platform issues"
> for details.
> at
> php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException(
> JavaBridge.java:477)
> at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:545)
> at php.java.bridge.Request.handleRequest(Request.java:353)
> at php.java.bridge.Request.handleRequests(Request.java:388)
> at php.java.bridge.http.ContextRunner.run(ContextRunner.java:186)
> at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.jav=
a
> :66)
> Caused by: java.lang.NoClassDefFoundError: Main (wrong name:
> helloworld/Main)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at php.java.bridge.DynamicClassLoader.loadClass(
> DynamicClassLoader.java:390)
> at php.java.bridge.DynamicJavaBridgeClassLoader.loadClass(
> DynamicJavaBridgeClassLoader.java:291)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at php.java.bridge.SimpleJavaBridgeClassLoader.forName(
> SimpleJavaBridgeClassLoader.java:188)
> at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:495)
> ... 4 more
>
>
> Am I missing something trivial here?
> Are there any good tutorials on how to get java code called from php and
> working?
>
> Thanks for reading
> Timo
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=3D021192
>
>
> -------------------------------------------------------------------------
> 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-21 14:52:21
|
Hi,
I need some advice, I'm trying to use my own java class in php using
Apache 2.2.4
PHP 5.2.1
Java Bridge 4.0.1 as doubleclicked JavaBridge.jar (8080)
and the following code works:
<?php
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
java_require("http://localhost/Main.jar");
$s = new Java("java.lang.String", "hello");
echo $s;
?>
When I try to call the constructor of my Main class however, I get an exception:
<?php
$test = new Java("Main");
?>
javabridge.log:
Mar 21 15:12:14 JavaBridge ERROR: An exception occured: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: Main (wrong name: helloworld/Main). -- Unable to call constructor, see the README section "Java platform issues" for details.
java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: Main (wrong name: helloworld/Main). -- Unable to call constructor, see the README section "Java platform issues" for details.
at php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException(JavaBridge.java:477)
at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:545)
at php.java.bridge.Request.handleRequest(Request.java:353)
at php.java.bridge.Request.handleRequests(Request.java:388)
at php.java.bridge.http.ContextRunner.run(ContextRunner.java:186)
at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:66)
Caused by: java.lang.NoClassDefFoundError: Main (wrong name: helloworld/Main)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at php.java.bridge.DynamicClassLoader.loadClass(DynamicClassLoader.java:390)
at php.java.bridge.DynamicJavaBridgeClassLoader.loadClass(DynamicJavaBridgeClassLoader.java:291)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at php.java.bridge.SimpleJavaBridgeClassLoader.forName(SimpleJavaBridgeClassLoader.java:188)
at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:495)
... 4 more
Am I missing something trivial here?
Are there any good tutorials on how to get java code called from php and working?
Thanks for reading
Timo
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
|
|
From: <php...@li...> - 2007-03-21 12:48:54
|
I've sent this message before but it was a little off-topic in a thread tha= t I should have assumed closed when you help me to make my script work. I'm sending my questions again, not to be persistent, but to be a little more organized. Two questions came up: 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-21 12:24:35
|
Hi, > Security issues and performance. The platform > doesn't allow for "external" includes to run. Why don't you store the Java.inc into the pear folder? > Besides, the performance hit of the pure php When a php opcode cache is used, the pure php implementation is only two times slower than the C implementation. I don't think this is a problem. The most expensive part are network round-trips anyway, which can be avoided by encapsulating the PHP code with java_begin_document()/java_end_document(). > what i did... From my research on the net, there are > loads of "gray" > areas unanswered, regarding compiling stuff in > windows... No surprise. Zend wants to sell their products. :) 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...> - 2007-03-21 11:11:06
|
>> Mind that i'm not a C programmer... but a PHP one... >> > > Why don't you use the pure PHP implementation instead? > Security issues and performance. The platform doesn't allow for "external" includes to run. Besides, the performance hit of the pure php implementation isn't acceptable for production purposes. Anyway, i will do as you suggest... Probably i will just start over from scratch and write a "manual" of what i did... From my research on the net, there are loads of "gray" areas unanswered, regarding compiling stuff in windows... BTW is the c version being updated as well? Or it doesn't require any update so far? Thanx for the assistance, Luis Ferro > > Regards, > Jost Boekemeier > > > > > |
|
From: <php...@li...> - 2007-03-21 10:54:23
|
Hi, > The problem is that i'm in position of compiling all > the c files, but i > get errors because the "ZEND_API" isn't defined > anywhere in the environment. you can define it to empty. We've had a patch for it some time ago. But since sourceforge.net has nuked its compile server, these files are gone. > Anyone has an hint on how to find it to glue it? At least in 5.0.5 there were three changes necessary to compile the Zend code with gcc. I think the easiest way is to use the microsoft compiler and the make file that comes with php. I think there is/was a howto in the mailing list archives. > Mind that i'm not a C programmer... but a PHP one... Why don't you use the pure PHP implementation instead? Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |