| Summary: | Provide ability to turn off tomcat naming (jndi) support | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Gemini.Web | Reporter: | Dmitry Sklyut <dmitry> | ||||||
| Component: | unknown | Assignee: | Violeta Georgieva <milesg78> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | alex.blewitt, glyn.normington, milesg78 | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.1.0.M01 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 332042 | ||||||||
| Bug Blocks: | 361144, 361173 | ||||||||
| Attachments: |
|
||||||||
|
Description
Dmitry Sklyut
Discussion from Virgo mailing list: http://dev.eclipse.org/mhonarc/lists/virgo-dev/msg00293.html Flagging as an enhancement, especially as this will involve an externals change. With migration to Tomcat 7 now we can introduce such switch. See TODO comment in org.eclipse.gemini.web.tomcat.internal.OsgiAwareEmbeddedTomcat.init() method. Created attachment 199902 [details]
Patch proposal
Could you please review the patch and comment.
Thanks
Violeta
Created attachment 205335 [details]
Patch proposal
Change the meaning of the property from
useTomcatNaming - true/false
to
useNaming - tomcat/osgi/disabled
"tomcat" is by default if the property is not set
Comment on attachment 205335 [details]
Patch proposal
Looks good to me.
Change is tested, committed and pushed. Commit Id: 64696debc57e333d5adb55ae5f3ff56fc931c17f Documentation will be covered in Bug 361173 Given that both the Jetty and Tomcat distributions can be used, why not move towards OSGi as the standard property for both of those and change in a future release, instead of having tomcat as the default? (In reply to comment #8) > Given that both the Jetty and Tomcat distributions can be used, why not move > towards OSGi as the standard property for both of those and change in a future > release, instead of having tomcat as the default? I'm not sure I understand. Gemini Web is currently tied to Tomcat. Virgo Jetty Server uses Jetty as an alternative RFC 66 (OSGi Web Applications) container to Gemini Web which is used by Virgo Tomcat Server. So there is no obvious need for Gemini Web to support Jetty. |