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
(2) |
3
|
4
|
|
5
|
6
(3) |
7
(2) |
8
(2) |
9
(1) |
10
(4) |
11
|
|
12
|
13
(2) |
14
(1) |
15
(5) |
16
(1) |
17
|
18
|
|
19
(2) |
20
|
21
(1) |
22
(2) |
23
(2) |
24
|
25
|
|
26
|
27
|
28
|
29
(1) |
30
|
31
(2) |
|
|
From: <php...@li...> - 2006-03-15 18:30:16
|
Hi, > Moving my jars into jre/lib/ext is not an option > because you must be > root to do that (and I am not). In a restricted environment I think it is best to use the servlet/j2ee backend. You can deploy your JavaBridge.war application without having admin privileges and you can store all the java libraries you need into your JavaBridge.war. > Hardcoding the java.classpath in the php.ini is > maybe possible thanks to > a .htaccess so this is ok, I will watch for this > today. All java options except java.log_level are INI_SYSTEM, that means only the administrator can set them. > Is the > "*Thread*.currentThread().getContextClassLoader()" Yes. But in earlier versions of the JavaBridge the context classloader has had the wrong parent, this was fixed in 3.0.7a. But I don't think this bug is responsible for the current problem. Regards, Jost Boekemeier |
|
From: <php...@li...> - 2006-03-15 17:43:06
|
Hi, > phpize > ./configure --prefix=/opt/php5.1 > --with-java=/opt/jdk1.5 > --with-php-config=/opt/php5.1/bin/php-config > --enable-servlet==/opt/tomcat5.58/common/lib/servlet-api.jar You can just type: phpize && ./configure --with-java=/opt/jdk1.5 && make and then copy the modules/JavaBridge.war to cp modules/JavaBridge.war /opt/tomcat5.58/webapps re-start tomcat and browse to: http://localhost:8080/JavaBridge/test.php Or just download the J2EE binary (http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_3.0.7a_j2ee.zip?download), which already contains a pre-compiled JavaBridge.war for Solaris, Linux and Windows. > Al ejecutar > http://localhost:8080/JavaBridge/test.php, se supera > el tiempo > de respuesta y no aparece nada. Does /opt/tomcat5.58/webapps/JavaBridge exist? Which error message do you see in the tomcat log file? Regards, Jost Boekemeier |
|
From: <php...@li...> - 2006-03-15 16:45:16
|
Q29tcGlsZSBwaHAtamF2YS1icmlkZ2U6DQoNCg0KSFRUUEQyDQouL2NvbmZpZ3VyZSAtLXByZWZp eD0vb3B0L2FwYWNoZTIgIC0tZW5hYmxlLXVzZXJ0cmFjayA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otLXdpdGgtcGhwLWNvbmZpZz0v b3B0L3BocDUuMS9iaW4vcGhwLWNvbmZpZw0KDQpKQVZBX0JSSUdERQ0KcGhwaXplDQouL2NvbmZp Z3VyZSAtLXByZWZpeD0vb3B0L3BocDUuMSAtLXdpdGgtamF2YT0vb3B0L2pkazEuNSANCi0td2l0 aC1waHAtY29uZmlnPS9vcHQvcGhwNS4xL2Jpbi9waHAtY29uZmlnIA0KLS1lbmFibGUtc2Vydmxl dD09L29wdC90b21jYXQ1LjU4L2NvbW1vbi9saWIvc2VydmxldC1hcGkuamFyIA0KDQpBbCBlamVj dXRhciBodHRwOi8vbG9jYWxob3N0OjgwODAvSmF2YUJyaWRnZS90ZXN0LnBocCwgc2Ugc3VwZXJh IGVsIHRpZW1wbyANCmRlIHJlc3B1ZXN0YSB5IG5vIGFwYXJlY2UgbmFkYS4NCg0KUXXDqSBzdWNl ZGUgPz8NCg0KDQoNCg== |
|
From: <php...@li...> - 2006-03-15 09:56:20
|
Hi,
just a maybe-silly question concerning setting the java.classpath in the=20
php.ini :
Why can not I specify a directory instead of the jars ?
I ask because I have 12 jars to set in the cp, so this is bad to=20
maintains their hard-coded names in the php.ini
ex :
$> ls /home/christophe/workspace/www2/libraries/java/lib/
commons-beanutils-1.5.jar commons-logging-api-1.0.2.jar =20
jcommon-1.0.0.jar xalan.jar
commons-collections-2.1.jar CVS =20
jfreechart-1.0.1.jar
commons-digester-1.7.jar itext-1.3.1.jar jxl.jar
commons-logging-1.0.2.jar jasperreports-1.2.0.jar poi-2.0.jar
$> cat /etc/php5/conf.d/java.ini
[java]
extension=3Djava.so
java.java=3D/usr/java/jdk/bin/java
java.java_home=3D/usr/java/jdk
java.log_level=3D4
java.log_file=3D/var/log/php-java-bridge.log
java.classpath=3D/usr/lib/php5/extensions/JavaBridge.jar:/home/christophe=
/workspace/www2/libraries/java/lib
report.php
*Fatal error*: Uncaught [class java.lang.Exception: java.lang.Exception:=20
CreateInstance failed: new Report. Cause:=20
java.lang.NoClassDefFoundError:=20
net/sf/jasperreports/engine/export/JRPdfExporter] thrown in=20
*/home/christophe/workspace/www2/report.php* on line *XXX
*with the class being defined in*=20
*/home/christophe/workspace/www2/libraries/java/lib/jasperreports-1.2.0.j=
ar
regards,
chris*
*
php...@li... wrote:
> Hi,
>
> =20
>> Just to say I digg into this problem all day and
>> still find no solution.
>> =20
>
> Sorry for that. I assumed that this wasn't an
> important issue, you've said that it works if you move
> the jars to jre/lib/ext.
>
>
> =20
>> What I do not understand is why a thread does not
>> inherit the classpath=20
>> from the creating thread ?
>> =20
>
> JSP is a good example. The container doesn't want to
> make the jsp classloader available to the webapp, so
> it sets the thread context classloader to the parent
> of the current classloader.
>
> I don't know if and how your reporting engine handles
> this, but in general applications may choose to ignore
> our dynamic loader and load classes or create dynamic
> proxies via the system classloader. If this happens,
> the loaded classes or defined proxies cannot access
> classes loaded via the dynamic loader.
>
> So I think the best workaround is to install your
> libraries in $JAVA_HOME/jre/lib/ext or to hard-code
> the java.classpath in the php.ini file, for example:
>
> java.classpath=3D/path/to/JavaBridge.jar:/path/to/lib1.jar:...
>
> I have created a ticket for this problem, please see
> PR1449780 for details
> (http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1449780&g=
roup_id=3D117793&atid=3D679233)
>
>
> Thank you very much for this bug report!
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
>
>
>
> =09
>
> =09
> =09
> ___________________________________________________________=20
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting lang=
uage
> that extends applications into web and mobile media. Attend the live we=
bcast
> and join the prime developer group breaking into this new coding territ=
ory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
>
> =20
--=20
=20
_________________________________________________________________________=
______________
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_________________________________________________________________________=
______________
Si=E8ge social :
6, rue L=E9onard de Vinci - 53001 Laval Cedex -=20
T=E9l : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue r=E9aumur - 75003 Paris -=20
T=E9l : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -=20
T=E9l : 04 72 39 98 14 - Fax : 04 72 39 93 85
Les informations contenues dans ce message envoy=E9es par TENNAXIA sont c=
onfidentielles et
sont =E9tablies =E0 l'attention exclusive de leurs destinataires. L'acc=E8=
s =E0 ce message
par toute autre personne n'est pas autoris=E9. Si vous n'=EAtes pas le de=
stinataire de ce
message, merci de le d=E9truire et d'en avertir l'exp=E9diteur : toute al=
t=E9ration, copie,
distribution ou toute action prise ou omise sont interdites et peuvent =EA=
tre ill=E9gales.
The information in this message sent by TENNAXIA is confidential and may =
be legally
privileged. It is intended solely for the addressee(s). Access to this me=
ssage by anyone
else is unauthorized. If you are not the intended recipient, please delet=
e it and notify
the sender : any disclosure, copying, distribution or any action taken or=
omitted to be
taken in reliance on it, is prohibited and may be unlawful.
|
|
From: <php...@li...> - 2006-03-15 09:17:55
|
Hi,
thanks for the detailed answer, I better understand my problem now.
Moving my jars into jre/lib/ext is not an option because you must be=20
root to do that (and I am not).
Hardcoding the java.classpath in the php.ini is maybe possible thanks to=20
a .htaccess so this is ok, I will watch for this today.
Concerning the isssue, here is a snippet from my report engine code in=20
order to provide more details:
this is the call to the compiler :
JRClassLoader.loadClassForName("org.eclipse.jdt.internal.compiler.Compile=
r");
Here is the JRClassLoader called method :
**
*public* static *Class* loadClassForName(*String* className) *throws* *C=
lassNotFoundException*
{
*Class* clazz =3D *null*;
*ClassLoader* classLoader =3D *Thread*.currentThread().getContextClassL=
oader();
*if* (classLoader !=3D *null*)
{
*try*
{
clazz =3D *Class*.forName(className, *true*, classLoader);
}
*catch* (*ClassNotFoundException* e)
{
///if (log.isWarnEnabled())/
/// log.warn("Failure using Thread.currentThread().getContextClassLoa=
der() in JRClassLoader class. Using JRClassLoader.class.getClassLoader() =
instead.");/
}
}
*if* (clazz =3D=3D *null*)
{
classLoader =3D JRClassLoader.class.getClassLoader();
*if* (classLoader =3D=3D *null*)
{
clazz =3D *Class*.forName(className);
}
*else*
{
clazz =3D *Class*.forName(className, *true*, classLoader);
}
}
*return* clazz;
}
Is the "*Thread*.currentThread().getContextClassLoader()" not the good me=
thod to obtain PHP-Java-bridge class loader ?
Again, thanks for the answer,
best regards,
chris
php...@li... wrote:
> Hi,
>
> =20
>> Just to say I digg into this problem all day and
>> still find no solution.
>> =20
>
> Sorry for that. I assumed that this wasn't an
> important issue, you've said that it works if you move
> the jars to jre/lib/ext.
>
>
> =20
>> What I do not understand is why a thread does not
>> inherit the classpath=20
>> from the creating thread ?
>> =20
>
> JSP is a good example. The container doesn't want to
> make the jsp classloader available to the webapp, so
> it sets the thread context classloader to the parent
> of the current classloader.
>
> I don't know if and how your reporting engine handles
> this, but in general applications may choose to ignore
> our dynamic loader and load classes or create dynamic
> proxies via the system classloader. If this happens,
> the loaded classes or defined proxies cannot access
> classes loaded via the dynamic loader.
>
> So I think the best workaround is to install your
> libraries in $JAVA_HOME/jre/lib/ext or to hard-code
> the java.classpath in the php.ini file, for example:
>
> java.classpath=3D/path/to/JavaBridge.jar:/path/to/lib1.jar:...
>
> I have created a ticket for this problem, please see
> PR1449780 for details
> (http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1449780&g=
roup_id=3D117793&atid=3D679233)
>
>
> Thank you very much for this bug report!
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
>
>
>
> =09
>
> =09
> =09
> ___________________________________________________________=20
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting lang=
uage
> that extends applications into web and mobile media. Attend the live we=
bcast
> and join the prime developer group breaking into this new coding territ=
ory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
>
> =20
--=20
=20
_________________________________________________________________________=
______________
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_________________________________________________________________________=
______________
Si=E8ge social :
6, rue L=E9onard de Vinci - 53001 Laval Cedex -=20
T=E9l : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue r=E9aumur - 75003 Paris -=20
T=E9l : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -=20
T=E9l : 04 72 39 98 14 - Fax : 04 72 39 93 85
Les informations contenues dans ce message envoy=E9es par TENNAXIA sont c=
onfidentielles et
sont =E9tablies =E0 l'attention exclusive de leurs destinataires. L'acc=E8=
s =E0 ce message
par toute autre personne n'est pas autoris=E9. Si vous n'=EAtes pas le de=
stinataire de ce
message, merci de le d=E9truire et d'en avertir l'exp=E9diteur : toute al=
t=E9ration, copie,
distribution ou toute action prise ou omise sont interdites et peuvent =EA=
tre ill=E9gales.
The information in this message sent by TENNAXIA is confidential and may =
be legally
privileged. It is intended solely for the addressee(s). Access to this me=
ssage by anyone
else is unauthorized. If you are not the intended recipient, please delet=
e it and notify
the sender : any disclosure, copying, distribution or any action taken or=
omitted to be
taken in reliance on it, is prohibited and may be unlawful.
|