You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by James D Carroll <ja...@verizon.net> on 2009/02/28 06:48:04 UTC
JAVA PHP Bridge
I installed the JavaPHP bridge as an application and was pleased that I
could run the sample PHP within Geronimo. I would like, however, to
make the bridge available to all applications on the server.
Could someone point in the right direction to make that happen?
Re: JAVA PHP Bridge
Posted by chi runhua <ch...@gmail.com>.
Another approach is to put your jars in <Geronimo_home>\var\shared\lib, and
then add a few lines in your application plan
<dependencies>
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>sharedlib</artifactId>
</dependency>
</dependencies>
Then the .jars in this directory could be shared by all applications.
For your reference:
http://www.nabble.com/File-structure-of-Geronimo-td22199738s134.html
Jeff
On Tue, Mar 3, 2009 at 10:05 AM, Jack Cai <gr...@gmail.com> wrote:
> I guess you can share the jars across the applications by installing it in
> the server repository (through "Services->Repository" in the admin console)
> and then let all depending applications claim a depedency on these jars in
> their deployment plan. Good luck!
>
> -Jack
>
> 2009/2/28 James D Carroll <ja...@verizon.net>
>
> I installed the JavaPHP bridge as an application and was pleased that I
>> could run the sample PHP within Geronimo. I would like, however, to
>> make the bridge available to all applications on the server.
>>
>> Could someone point in the right direction to make that happen?
>>
>>
>
Re: JAVA PHP Bridge
Posted by Jack Cai <gr...@gmail.com>.
I guess you can share the jars across the applications by installing it in
the server repository (through "Services->Repository" in the admin console)
and then let all depending applications claim a depedency on these jars in
their deployment plan. Good luck!
-Jack
2009/2/28 James D Carroll <ja...@verizon.net>
> I installed the JavaPHP bridge as an application and was pleased that I
> could run the sample PHP within Geronimo. I would like, however, to
> make the bridge available to all applications on the server.
>
> Could someone point in the right direction to make that happen?
>
>