[jira] Created: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Nicolas Malin (Jira)
Add Quercus to OFBiz in order to handle PHP requests
----------------------------------------------------

                 Key: OFBIZ-4203
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4203
             Project: OFBiz
          Issue Type: New Feature
            Reporter: Jacques Le Roux


This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.

See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]

There is an [alternative to Quercus: Tomcat also have PHP support|Quercus: PHP in Java]. Unfortunately, so far it's limited to PHP 4.



--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4203:
-----------------------------------

    Attachment: Quercus.zip

The attached archive does not work OOTB. I think it should not be a big deal to fix it. To test simply unpack in hot-deploy

It's a work effort done by Vincent Balade in order to use Quercus in OFBiz. I got it to work at some point (2 years ago) and I know the (big French) company where Vincent works uses it everyday. I recently asked him to have all working from hot-deploy. Because before it was in special-purpose and Quercus has a GPL license. 2 weeks ago he sent me that archive but it did not work OOTB.

I had no chances yet to have a close look and to fix the issue. So, if you are interested, I'd really like if you could contribute back the work if you get it
working. It's well documented and I believe it should not be more than a couple of hours to have it working in hot-deploy

Thanks




> Add Quercus to OFBiz in order to handle PHP requests
> ----------------------------------------------------
>
>                 Key: OFBIZ-4203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4203
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Jacques Le Roux
>         Attachments: Quercus.zip
>
>
> This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
> See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
> There is an [alternative to Quercus: Tomcat also have PHP support|Quercus: PHP in Java]. Unfortunately, so far it's limited to PHP 4.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4203:
-----------------------------------

    Description:
This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.

See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]

There is an [alternative to Quercus: Tomcat also have PHP support|http://wiki.apache.org/tomcat/UsingPhp]. Unfortunately, so far it's limited to PHP 4.



  was:
This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.

See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]

There is an [alternative to Quercus: Tomcat also have PHP support|Quercus: PHP in Java]. Unfortunately, so far it's limited to PHP 4.




> Add Quercus to OFBiz in order to handle PHP requests
> ----------------------------------------------------
>
>                 Key: OFBIZ-4203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4203
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Jacques Le Roux
>         Attachments: Quercus.zip
>
>
> This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
> See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
> There is an [alternative to Quercus: Tomcat also have PHP support|http://wiki.apache.org/tomcat/UsingPhp]. Unfortunately, so far it's limited to PHP 4.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Ean Schuessler
In reply to this post by Nicolas Malin (Jira)
I'm running a build of Quercus from SVN on a number of sites to support PHP front ends. It works for me out of the box.


Do we want a .zip you can drop in hot-deploy or something?


(but, yes, Quercus is GPL and you definitely want PHP5 support)


----- "Jacques Le Roux (JIRA)" wrote:

> [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> Jacques Le Roux updated OFBIZ-4203:
> -----------------------------------
> Attachment: Quercus.zip
> The attached archive does not work OOTB. I think it should not be a big deal to fix it. To test simply unpack in hot-deploy
> It's a work effort done by Vincent Balade in order to use Quercus in OFBiz. I got it to work at some point (2 years ago) and I know the (big French) company where Vincent works uses it everyday. I recently asked him to have all working from hot-deploy. Because before it was in special-purpose and Quercus has a GPL license. 2 weeks ago he sent me that archive but it did not work OOTB.
> I had no chances yet to have a close look and to fix the issue. So, if you are interested, I'd really like if you could contribute back the work if you get it
> working. It's well documented and I believe it should not be more than a couple of hours to have it working in hot-deploy
> Thanks
> > Add Quercus to OFBiz in order to handle PHP requests
> > ----------------------------------------------------
> >
> > Key: OFBIZ-4203
> > URL: https://issues.apache.org/jira/browse/OFBIZ-4203 
> > Project: OFBizhttps://cwiki.apache.org/confluence/display/OFBTECH/Glassfish+v2.1
> > Issue Type: New Feature
> > Reporter: Jacques Le Roux
> > Attachments: Quercus.zip
> >
> >
> > This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
> > See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
> > There is an [alternative to Quercus: Tomcat also have PHP support|Quercus: PHP in Java]. Unfortunately, so far it's limited to PHP 4.
> --
> This message is automatically generated by JIRA.
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira 
>

--
Ean Schuessler, CTO
[hidden email]
214-720-0700 x 315
Brainfood, Inc.
http://www.brainfood.com 
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Jacques Le Roux
Administrator
Hi Ean,

Yes, we want to drop it in hot-deploy and voilà. An archive in the Jira OFBIZ-4203 would be perfect.
Another option is an ant target like download-PG-JDBC.

I see hot-deploy as more secure for future (repos tends to dissapear, we can guarantee OFBiz infra)

Thanks

Jacques

Ean Schuessler wrote:

> I'm running a build of Quercus from SVN on a number of sites to support PHP front ends. It works for me out of the box.
>
>
> Do we want a .zip you can drop in hot-deploy or something?
>
>
> (but, yes, Quercus is GPL and you definitely want PHP5 support)
>
>
> ----- "Jacques Le Roux (JIRA)" wrote:
>> [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>> Jacques Le Roux updated OFBIZ-4203:
>> -----------------------------------
>> Attachment: Quercus.zip
>> The attached archive does not work OOTB. I think it should not be a big deal to fix it. To test simply unpack in hot-deploy
>> It's a work effort done by Vincent Balade in order to use Quercus in OFBiz. I got it to work at some point (2 years ago) and I
>> know the (big French) company where Vincent works uses it everyday. I recently asked him to have all working from hot-deploy.
>> Because before it was in special-purpose and Quercus has a GPL license. 2 weeks ago he sent me that archive but it did not work
>> OOTB. I had no chances yet to have a close look and to fix the issue. So, if you are interested, I'd really like if you could
>> contribute back the work if you get it
>> working. It's well documented and I believe it should not be more than a couple of hours to have it working in hot-deploy
>> Thanks
>>> Add Quercus to OFBiz in order to handle PHP requests
>>> ----------------------------------------------------
>>>
>>> Key: OFBIZ-4203
>>> URL: https://issues.apache.org/jira/browse/OFBIZ-4203
>>> Project: OFBizhttps://cwiki.apache.org/confluence/display/OFBTECH/Glassfish+v2.1
>>> Issue Type: New Feature
>>> Reporter: Jacques Le Roux
>>> Attachments: Quercus.zip
>>>
>>>
>>> This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
>>> See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
>>> There is an [alternative to Quercus: Tomcat also have PHP support|Quercus: PHP in Java]. Unfortunately, so far it's limited to
>>> PHP 4.
>> --
>> This message is automatically generated by JIRA.
>> -
>> For more information on JIRA, see: http://www.atlassian.com/software/jira 


Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Erwan de FERRIERES
Le 01/03/2011 08:22, Jacques Le Roux a écrit :
> Hi Ean,
>
> Yes, we want to drop it in hot-deploy and voilà. An archive in the Jira
> OFBIZ-4203 would be perfect.
> Another option is an ant target like download-PG-JDBC.

quercus is downloadable with maven, so ivy integration in OFBiz will be
very easy. I'll write the target, and attach it to the issue.

>
> I see hot-deploy as more secure for future (repos tends to dissapear, we
> can guarantee OFBiz infra)
>
> Thanks
>
> Jacques
>


--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Jacques Le Roux
Administrator
Wait Erwan,

I'd prefer to have a hot-deploy bundle in an archive as I did for Lambda Probe. No brainner is better: users have nothing to do but
unpacking in hot-deploy

Jacques


WErwan de FERRIERES wrote:

> Le 01/03/2011 08:22, Jacques Le Roux a écrit :
>> Hi Ean,
>>
>> Yes, we want to drop it in hot-deploy and voilà. An archive in the Jira
>> OFBIZ-4203 would be perfect.
>> Another option is an ant target like download-PG-JDBC.
>
> quercus is downloadable with maven, so ivy integration in OFBiz will be
> very easy. I'll write the target, and attach it to the issue.
>
>>
>> I see hot-deploy as more secure for future (repos tends to dissapear, we
>> can guarantee OFBiz infra)
>>
>> Thanks
>>
>> Jacques


Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-4203:
-----------------------------------

    Attachment: Quercus.zip

Here is attached a version sent to me by S K Pradeep kumar which works quite well.

Thanks Pradeep for the effort. I did not look into details but just made a comparaison with the version I hastily tested last time.
I found that Pradeep simply added resin.jar, ofbiz-quercus.jar, OfBizServiceModule.class, TestQuercusModule.class and QuercusViewHandler.class
So I guess  I simply miss to build (I guess I added resin.jar)

We are lucky, it's just under the attachement 10MB max



> Add Quercus to OFBiz in order to handle PHP requests
> ----------------------------------------------------
>
>                 Key: OFBIZ-4203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4203
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Jacques Le Roux
>         Attachments: Quercus.zip, Quercus.zip
>
>
> This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
> See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
> There is an [alternative to Quercus: Tomcat also have PHP support|http://wiki.apache.org/tomcat/UsingPhp]. Unfortunately, so far it's limited to PHP 4.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4203) Add Quercus to OFBiz in order to handle PHP requests

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4203.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

> Add Quercus to OFBiz in order to handle PHP requests
> ----------------------------------------------------
>
>                 Key: OFBIZ-4203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4203
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>         Attachments: Quercus.zip, Quercus.zip
>
>
> This is not intended to be added to OFBiz repository since [Quercus|http://quercus.caucho.com/] is GPL licensed.
> See also [Quercus: PHP in Java|http://www.caucho.com/resin-3.0/quercus/]
> There is an [alternative to Quercus: Tomcat also have PHP support|http://wiki.apache.org/tomcat/UsingPhp]. Unfortunately, so far it's limited to PHP 4.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira