Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335811

Summary: Investigate RAP HttpService usage options
Product: z_Archived Reporter: Gunnar Wagenknecht <gunnar>
Component: gyrexAssignee: Gunnar Wagenknecht <gunnar>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: andreas.mihm, mike.tschierschke
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 337100    
Bug Blocks: 337635    

Description Gunnar Wagenknecht CLA 2011-01-31 02:50:45 EST
We now have a RAP based Admin UI in Gyrex (bug #332204). The Admin UI is exposed on port 3110 by default. This is implemented by starting an embedded Jetty on this port. Unfortunately, it doesn't play well together with the default HttpService application running on a different port. The reason is bug 241210. RAP is currently not built to run on two different ports at the same time.

We should discuss a solution to this problem with the RAP team.
Comment 1 Gunnar Wagenknecht CLA 2011-02-19 04:09:34 EST
I had a call with a RAP committer and it looks like there will be some progress. We likely won't get an official API but it might be possible to introduce an internal API that we can use. Long term, RAP needs some rework in order to support multiple instances within one OSGi framework instance.

Setting Target Milestone to 1.0 in order to not loose track of important work for 1.0.
Comment 2 Gunnar Wagenknecht CLA 2011-05-16 16:15:39 EDT
We have preliminary support for this in RAP 1.4. Further work will happen in RAP 1.5.
Comment 3 Gunnar Wagenknecht CLA 2012-05-14 03:33:37 EDT
FWIW, I was able to remove the dependency on bug 241210 thanks to the new RAP Application API in RAP 1.5 M7.
Comment 4 Gunnar Wagenknecht CLA 2012-05-14 03:36:02 EDT
Victory on this one thanks to RAP 1.5 M7. No internal references anymore.