« Return to Thread: [jira] Created: (DIRSERVER-1262) Add a Jetty container

[jira] Updated: (DIRSERVER-1262) Add a Jetty container

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Kiran Ayyagari updated DIRSERVER-1262:
--------------------------------------

    Attachment: http-integration.patch

Here is the patch(file name http-integration.patch) for proposed jetty http server integration with ADS.
The approach taken for integration is as follows

   1. A new module http-integration was created with a class HttpServer to start and stop jetty server
   2. Updated xbean-spring module and added new <httpServer> bean(disabled in the default conf) to server.xml

 However I have a question.

 IMO a default jetty configuration should be present with a pre-created webapps folder in which a user can deploy
 the wars. this makes things slightly complex (e.x how do we decide where to keep the webapps folder and how do
 we find this location on restart etc..)

 is this a right thing to do? or is it better to let the user configure by providing the jetty conf File (which can be set
 through 'confFile' attribute of httpServer)

 Note: Apply this patch from <ads-trunk-with-deps>/apacheds folder

> Add a Jetty container
> ---------------------
>
>                 Key: DIRSERVER-1262
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1262
>             Project: Directory ApacheDS
>          Issue Type: New Feature
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.5.5
>
>         Attachments: http-integration.patch
>
>
> Add a jetty container into ADS

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (DIRSERVER-1262) Add a Jetty container