ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Yong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9347) Loading standard web application
Date Thu, 11 May 2017 08:36:04 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006092#comment-16006092
] 

James Yong commented on OFBIZ-9347:
-----------------------------------

Hi [~lektran], 

I was using Gradle to download, explode and overlay a CAS SSO war during OFBiz build process.
After getting the above working which include some changes to CatalinaContainer, I wrongly
assumed that a standard web application manually placed in webapp folder no longer works.
Just tested that loading standard web application is still working in trunk version.

My sincere apologies for the mistake.

Regards,
James Yong


> Loading standard web application
> --------------------------------
>
>                 Key: OFBIZ-9347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9347
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Upcoming Release
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9347.patch
>
>
> Not all libraries can be embedded and used via Java API. 
> Some, like CAS SSO, need to be loaded as a standard web application and access via REST
API. 
> So we need to allow OFBiz to load standard web application where there is no controller.xml
and the jar files residing in WEB-INF/lib folder.  
> Proposing to add an attribute named 'type' to the 'webapp' tag at ofbiz-component.xml,
i.e.
> {code}
> <webapp name="myapp" 
>         type="standard"  <--------------- new proposed attribute
>         title="Myapp"
>         server="myapp-server"
>         location="webapp/myapp"
>         mount-point="/myapp"/>
> {code}
> This new attribute will help to differentiate standard web applications from those in
OFBiz, and allows Catalina Container to load them accordingly.
> When type="standard", will load as standard web application.
> When type is empty, load according to OFBiz way.
> There are some discussions on this at https://lists.apache.org/thread.html/4d1b501c2ce6297ab0b41712b61c0fcb8881510512deaf380b49ab9d@%3Cdev.ofbiz.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message