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
(4) |
3
(1) |
4
|
|
5
|
6
|
7
(9) |
8
(26) |
9
|
10
|
11
(3) |
|
12
|
13
|
14
(3) |
15
|
16
(1) |
17
(6) |
18
(2) |
|
19
(2) |
20
(8) |
21
(11) |
22
(3) |
23
(1) |
24
(8) |
25
(2) |
|
26
(1) |
27
(5) |
28
(6) |
29
(17) |
30
(16) |
|
|
|
From: <php...@li...> - 2009-04-29 21:13:50
|
Which security hole? In the standard setup the bridge only accepts requests from an apache or iis front end from localhost. If security is your concern, you should disable the PhpCGIServlet and use the Apache or IIS front end anyway. Regards, Jost Boekemeier Apr 29, 2009 11:04 nachm. schrieb am < php...@li...>: I'm sorry to interrupt, but I would be happy if you check now what files really are necessary to be enabled instead of opening a security hole for everyone. thanks. 2009/4/29 <php...@li...> > I think java.lang.AllPermissions is a good start then. > TOMCAT_HOME/lib has AllPermissions, too.... > ------------------------------------------------------------------------------ > Register Now & Sa... > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > ------------------------------------------------------------------------------ Register Now & Save... php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-04-29 21:03:01
|
I'm sorry to interrupt, but I would be happy if you check now what files
really
are necessary to be enabled instead of opening a security hole for everyone.
thanks.
2009/4/29 <php...@li...>
> I think java.lang.AllPermissions is a good start then.
> TOMCAT_HOME/lib has AllPermissions, too.
>
> Regards,
> Jost Boekemeier
>
> Apr 29, 2009 10:33 nachm. schrieb am <
> php...@li...>:
>
> <3af...@ma...>
> <200...@te...>
> <3af...@ma...>
> <3af...@ma...> <
> 3af...@ma...>
> Message-ID: <ef694f0b3cfec3015febb4fe6e11ef83@localhost>
>
> X-Sender: and...@te...
>
> Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29
> Apr
> 2009 09:34:29 -0300
>
> User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: 8bit
>
>
> Hello,
>
> I will verify what are the JSP permissions.
>
> Debian Policy does not allow a package manipulate configuration files
>
> from other packages.
>
> Because of this, the right way is to create a new own file at policy.d
>
> directory
>
> I tested
>
> /etc/tomcat5.5/policy.d/60JavaBridge.policy
>
>
>
> containing:
>
> grant codeBase "file:${catalina.base}/webapps/JavaBridge/-" {
> permission java.security.AllPermission;
>
> };
>
>
>
> And it worked well after restarting tomcat.
>
> I simply placed the war file at the autodeploy dir and automagically all
>
> worked.
>
>
>
> I will try to create a new package using the debconf tools for manipulating
>
> the new
>
> file and test it.
>
> Regards.
>
> Andre Felipe
>
>
>
>
>
>
>
>
>
>
>
> On Wed, 29 Apr 2009 22:22:26 +0200,
>
> php...@li... wrote: > I think PHP should
> have
> the same permissions ...
> --
>
> http://www.techforce.com.br
> A Debian user never dies. Issues a last command:
>
> #shutdown -h now
>
>
> ------------------------------------------------------------------------------
> Register Now & Save...
>
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-br...
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2009-04-29 21:02:19
|
May be. But we may need a few releases to determine the correct permissions
by try and error.
Furthermore the JavaBridge contains the OSGI framework used by the BIRT
report engine. I don't know exactly which permissions it needs.
Regards,
Jost Boekemeier
Apr 29, 2009 10:54 nachm. schrieb am <
php...@li...>:
<3af...@ma...>
<20090429121437.28AD04786D@techforce.c...
<3af...@ma...> <
3af...@ma...>
Message-ID: <0b1dafcbe998bf9cd98cee78499048d3@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29
Apr
2009 09:55:00 -0300
User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
I found [3] and [4].
Instead of AllPermissions, a good security should list the exact files
and respective permissions.
Well, what are the essential ones (files X permissions)?
Regards.
Andre Felipe
[3] http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
[4] http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html
--
http://www.techforce.com.br
A Debian user never dies. Issues a last command: #shutdown -h now
-------------------------------...
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. ...
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-br...
|
|
From: <php...@li...> - 2009-04-29 20:53:15
|
<3af...@ma...> <200...@te...> <3af...@ma...> <3af...@ma...> <3af...@ma...> Message-ID: <0b1dafcbe998bf9cd98cee78499048d3@localhost> X-Sender: and...@te... Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr 2009 09:55:00 -0300 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello, I found [3] and [4]. Instead of AllPermissions, a good security should list the exact files and respective permissions. Well, what are the essential ones (files X permissions)? Regards. Andre Felipe [3] http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html [4] http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html -- http://www.techforce.com.br A Debian user never dies. Issues a last command: #shutdown -h now |
|
From: <php...@li...> - 2009-04-29 20:52:45
|
I think java.lang.AllPermissions is a good start then.
TOMCAT_HOME/lib has AllPermissions, too.
Regards,
Jost Boekemeier
Apr 29, 2009 10:33 nachm. schrieb am <
php...@li...>:
<3af...@ma...>
<200...@te...>
<3af...@ma...>
<3af...@ma...> <
3af...@ma...>
Message-ID: <ef694f0b3cfec3015febb4fe6e11ef83@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29
Apr
2009 09:34:29 -0300
User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
I will verify what are the JSP permissions.
Debian Policy does not allow a package manipulate configuration files
from other packages.
Because of this, the right way is to create a new own file at policy.d
directory
I tested
/etc/tomcat5.5/policy.d/60JavaBridge.policy
containing:
grant codeBase "file:${catalina.base}/webapps/JavaBridge/-" {
permission java.security.AllPermission;
};
And it worked well after restarting tomcat.
I simply placed the war file at the autodeploy dir and automagically all
worked.
I will try to create a new package using the debconf tools for manipulating
the new
file and test it.
Regards.
Andre Felipe
On Wed, 29 Apr 2009 22:22:26 +0200,
php...@li... wrote: > I think PHP should have
the same permissions ...
--
http://www.techforce.com.br
A Debian user never dies. Issues a last command:
#shutdown -h now
------------------------------------------------------------------------------
Register Now & Save...
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-br...
|
|
From: <php...@li...> - 2009-04-29 20:32:44
|
<3af...@ma...>
<200...@te...>
<3af...@ma...>
<3af...@ma...> <3af...@ma...>
Message-ID: <ef694f0b3cfec3015febb4fe6e11ef83@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr
2009 09:34:29 -0300
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
I will verify what are the JSP permissions.
Debian Policy does not allow a package manipulate configuration files
from other packages.
Because of this, the right way is to create a new own file at policy.d
directory
I tested
/etc/tomcat5.5/policy.d/60JavaBridge.policy
containing:
grant codeBase "file:${catalina.base}/webapps/JavaBridge/-"
{
permission java.security.AllPermission;
};
And it worked well after restarting tomcat.
I simply placed the war file at the autodeploy dir and automagically all
worked.
I will try to create a new package using the debconf tools for manipulating
the new
file and test it.
Regards.
Andre Felipe
On Wed, 29 Apr 2009 22:22:26 +0200,
php...@li... wrote:
> I think PHP should have the same permissions tha JSP has.
>
> If I understand Java's security correctly, we only need to place the
> JavaBridge.jar into the same directory from which the JSP library is
> loaded.
>
> Unfortunately I can't verify this at the moment.
>
> Regards,
> Jost Boekemeier
--
http://www.techforce.com.br
A Debian user never dies. Issues a last command:
#shutdown -h now
|
|
From: <php...@li...> - 2009-04-29 20:22:30
|
I think PHP should have the same permissions tha JSP has.
If I understand Java's security correctly, we only need to place the
JavaBridge.jar into the same directory from which the JSP library is loaded.
Unfortunately I can't verify this at the moment.
Regards,
Jost Boekemeier
Apr 29, 2009 10:13 nachm. schrieb am <
php...@li...>:
<3af...@ma...>
<200...@te...> <
3af...@ma...>
Message-ID: <1dec4d2e0bebecc88f51d99ff996ca2d@localhost>
X-Sender: and...@te... Received: from 161.148.54.70
[161.148.54.70] with HTTP/1.1 (...
2009 09:14:37 -0300
User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encodin...
The following worked enough at
compiling 5.4.4.2-1 debian package from cvs and after restarting
the tomcat5.5 server with
invoke-rc.d tomcat5.5 restart
Added at:
/etc/tomcat5.5/policy.d/50user.policy
The lines:
grant codeBase "file:${catalina.base}/webapps/JavaBridge/-" { permission
java.security.AllPer...
But i guess it is too permissive for production environment.
Is there a stricter security configuration that allow
JavaBridge work, or it should stay "AllPermissions" for all directory?
Regards.
Andre Felipe Machado
http://www.techforce.com.br
------------------------------------------------------------------------------
Register Now & Save...
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2009-04-29 20:12:52
|
<3af...@ma...>
<200...@te...> <3af...@ma...>
Message-ID: <1dec4d2e0bebecc88f51d99ff996ca2d@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr
2009 09:14:37 -0300
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
The following worked enough at
compiling 5.4.4.2-1 debian package from cvs and after restarting
the tomcat5.5 server with
invoke-rc.d tomcat5.5 restart
Added at:
/etc/tomcat5.5/policy.d/50user.policy
The lines:
grant codeBase "file:${catalina.base}/webapps/JavaBridge/-"
{
permission java.security.AllPermission;
};
But i guess it is too permissive for production environment.
Is there a stricter security configuration that allow
JavaBridge work, or it should stay "AllPermissions" for all directory?
Regards.
Andre Felipe Machado
http://www.techforce.com.br
|
|
From: <php...@li...> - 2009-04-29 20:12:14
|
I haven't tested it, but it may be suficient to move the JavaBridge.jar,
php-script.jar and php-servlet.jar to tomcats lib dir. Libraries loaded from
this directory should have AllPermission.
I will test this. This package change will be useful for the rpm package,
too.
Regards,
Jost Boekemeier
Apr 29, 2009 10:01 nachm. schrieb am <
php...@li...>:
Hello
Searching around, I found that tomcat5.5 directories were reorganized
in Debian Lenny, for FHS compliance.
Also, debian sun-jdk and tomcat 5.5 packages turn on security by default,
allowing
multiapps deployment.
Different from upstream tomcat.
Then, old or weak policies may break.
The debian right way should be to configure
/etc/tomcat5.5/policy.d/50user.policy
following [1] doc.
and [0] hints regarding paths, if needed.
I will try something like
grant codeBase
"file:${catalina.base}/webapps/JavaBridge/-"
{
permission java.security.AllPermission;
};
Maybe could work.
More suggestions?
Regards.
Andre Felipe
[0]
http://aleph-null.tv/article/20080327-0202-760.xml/Tomcat-5.5-On-Debian:-Security-policies-and-%7Bcatalina.home%7D
[1] http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
On Wed, 29 Apr 2009 08:41:43 -0300,
php...@li... wrote: >
> I guess the right way is a correct edition of > >
/etc/tomcat5.5/policy.d/04webapps.policy > > u...
------------------------------------------------------------------------------
Register Now & Save f...
|
|
From: <php...@li...> - 2009-04-29 20:00:55
|
Hello
Searching around, I found that tomcat5.5 directories were reorganized
in Debian Lenny, for FHS compliance.
Also, debian sun-jdk and tomcat 5.5 packages turn on security by default,
allowing
multiapps deployment.
Different from upstream tomcat.
Then, old or weak policies may break.
The debian right way should be to configure
/etc/tomcat5.5/policy.d/50user.policy
following [1] doc.
and [0] hints regarding paths, if needed.
I will try something like
grant codeBase
"file:${catalina.base}/webapps/JavaBridge/-"
{
permission java.security.AllPermission;
};
Maybe could work.
More suggestions?
Regards.
Andre Felipe
[0]
http://aleph-null.tv/article/20080327-0202-760.xml/Tomcat-5.5-On-Debian:-Security-policies-and-%7Bcatalina.home%7D
[1] http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
On Wed, 29 Apr 2009 08:41:43 -0300,
php...@li... wrote:
>
> I guess the right way is a correct edition of
>
> /etc/tomcat5.5/policy.d/04webapps.policy
>
> using the debconf tools.
>
|
|
From: <php...@li...> - 2009-04-29 19:56:24
|
Yes, you are right.
I've got this strange idea when reading the support request. But since the
(deb- and rpm-) packages depend on apache anyway, there's no problem.
Regards,
Jost Boekemeier
Apr 29, 2009 9:40 nachm. schrieb am <
php...@li...>:
<3af...@ma...> <
3af...@ma...>
Message-ID: <1f90ee22edd1aad825827c88d44b88f8@localhost>
X-Sender: and...@te...
Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29
Apr
2009 08:41:43 -0300
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hello,
Despite being "possible" to manipulate the global web.xml file
it should be avoided.
The deployment must be feasible using application's web.xml (and
sometimes,
the context.xml also) into the war file.
Maybe even using some clever tomcat manager html interface command.
Or using Ant commands (then, one more dependency).
Or security issues will rise ahead.
I guess the right way is a correct edition of
/etc/tomcat5.5/policy.d/04webapps.policy
using the debconf tools.
The web.xml is deployed already, but it is blocked, afaik.
Suggestions are welcome.
Regards.
Andre Felipe Machado
On Wed, 29 Apr 2009 21:03:07 +0200,
php...@li... wrote: > Hi Andre, > > Is it
possible to install th...
------------------------------------------------------------------------------
Register Now & Save f...
|
|
From: <php...@li...> - 2009-04-29 19:40:07
|
<3af...@ma...> <3af...@ma...> Message-ID: <1f90ee22edd1aad825827c88d44b88f8@localhost> X-Sender: and...@te... Received: from 161.148.54.70 [161.148.54.70] with HTTP/1.1 (POST); Wed, 29 Apr 2009 08:41:43 -0300 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hello, Despite being "possible" to manipulate the global web.xml file it should be avoided. The deployment must be feasible using application's web.xml (and sometimes, the context.xml also) into the war file. Maybe even using some clever tomcat manager html interface command. Or using Ant commands (then, one more dependency). Or security issues will rise ahead. I guess the right way is a correct edition of /etc/tomcat5.5/policy.d/04webapps.policy using the debconf tools. The web.xml is deployed already, but it is blocked, afaik. Suggestions are welcome. Regards. Andre Felipe Machado On Wed, 29 Apr 2009 21:03:07 +0200, php...@li... wrote: > Hi Andre, > > Is it possible to install the bridge so that the debian security manager > doesn't stop the back end from running php, if no apache is installed or > used? As described here: > http://php-java-bridge.sourceforge.net/pjb/FAQ.html#global-servlet > > If it is not possible to manipulate tomcat's global web.xml from a debian > package, we could leave it as it is and add a note to the debian install > instructions > so that users can change the web.xml themselves. > > Regards, > Jost Boekemeier |
|
From: <php...@li...> - 2009-04-29 19:03:17
|
Hi Andre, Is it possible to install the bridge so that the debian security manager doesn't stop the back end from running php, if no apache is installed or used? As described here: http://php-java-bridge.sourceforge.net/pjb/FAQ.html#global-servlet If it is not possible to manipulate tomcat's global web.xml from a debian package, we could leave it as it is and add a note to the debian install instructions so that users can change the web.xml themselves. Regards, Jost Boekemeier Apr 29, 2009 5:12 nachm. schrieb am < php...@li...>: Hi, I tried install the php-java-bridge 5.4.4.1 on a debian lenny: I made a new deb package (amd64), and copied the war file to the tomcat's webapp directory. When I call the http://tomcat:port/JavaBridge , I get: Servlet PhpCGIServlet is not available. What's wrong? Thanks: -- Üdv, Ricsi ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-04-29 19:00:46
|
Hello, For some reason, the web.xml is not being accepted by Tomcat 5.5 auto deploy. I will investigate this. If someone have some suggestions, feel free to post. Also, there are some packaging errors at 5.4.4.1-1 deb file. Please, wait the 5.4.4.2-1 or compile from repository tomorrow for this test. (See README.Debian) Regards. Andre Felipe Machado |
|
From: <php...@li...> - 2009-04-29 15:11:43
|
Hi, I tried install the php-java-bridge 5.4.4.1 on a debian lenny: I made a new deb package (amd64), and copied the war file to the tomcat's webapp directory. When I call the http://tomcat:port/JavaBridge , I get: Servlet PhpCGIServlet is not available. What's wrong? Thanks: -- Üdv, Ricsi |
|
From: <php...@li...> - 2009-04-29 07:48:31
|
Hello, do you mean that fat jar is not the best solution? How to use jar://URI? (maybe a simple example or a link where I can find some examples) Where exactly do I find the proposal? Hi, Although it is possible to fetch libraries from other jar files using a jar:// URI, at least in the Sun Java platform, this feature may not work on other platforms; GCC/GCJ uses ELF libs instead. I think there's no use for this feature. If you're looking for a java module system, read the proposal from the RICE people, which was inspired by the SML/NJ. It uses real generics to build compound modules. Regards, Jost Boekemeier Apr 28, 2009 3:24 nachm. schrieb am < php...@li...>: Hello Jost, I am very sorry but I still can't solve the problem which I described yesterday. I try to explain it again in other words, maybe I explained it not very clearly. Well there are many jars in one jar (fat jar) I don't have to change anything in this structure, I need only to access the classes . I tryed to get it with java_require and got this error: exception javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 The video which you recommended is only about one "folder"with classes. In my case it is not so. As Ihave already written "jars in jar"(fat jar) and I must not change this structure... It does not work: <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("web.FacettenBrowser"); echo $myObj->HalloWelt(); ?> Many thanks in advance! ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
|
From: <php...@li...> - 2009-04-29 07:21:09
|
Hi, Although it is possible to fetch libraries from other jar files using a jar:// URI, at least in the Sun Java platform, this feature may not work on other platforms; GCC/GCJ uses ELF libs instead. I think there's no use for this feature. If you're looking for a java module system, read the proposal from the RICE people, which was inspired by the SML/NJ. It uses real generics to build compound modules. Regards, Jost Boekemeier Apr 28, 2009 3:24 nachm. schrieb am < php...@li...>: Hello Jost, I am very sorry but I still can't solve the problem which I described yesterday. I try to explain it again in other words, maybe I explained it not very clearly. Well there are many jars in one jar (fat jar) I don't have to change anything in this structure, I need only to access the classes . I tryed to get it with java_require and got this error: exception javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:416) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String], (o:String)[o:String], (o:String)[o:String], (o:String)[o:String]). Cause: java.io.IOException: Could not open jar file WebProjekt2, reason: WebProjekt2 (Das System kann die angegebene Datei nicht finden) VM: 1.6.0_10@http://java.sun.com/" at: #-18 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108) #-17 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:192) #-16 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:117) #-15 php.java.bridge.JarLibraryPath.<init>(JarLibraryPath.java:64) #-14 php.java.bridge.DynamicJavaBridgeClassLoader.checkJarLibraryPath(DynamicJavaBridgeClassLoader.java:74) #-13 php.java.bridge.DynamicJavaBridgeClassLoader.updateJarLibraryPath(DynamicJavaBridgeClassLoader.java:87) #-12 php.java.bridge.SimpleJavaBridgeClassLoader.updateJarLibraryPath(SimpleJavaBridgeClassLoader.java:111) #-11 php.java.bridge.J in http://localhost:8081/Ordner/java/Java.inc on line 215 The video which you recommended is only about one "folder"with classes. In my case it is not so. As Ihave already written "jars in jar"(fat jar) and I must not change this structure... It does not work: <?php require_once("http://localhost:8081/Ordner/java/Java.inc"); $System = java("java.lang.System"); $myObj = new java("web.FacettenBrowser"); echo $myObj->HalloWelt(); ?> Many thanks in advance! ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |