Entry point / not working in WAR [message #1241039] |
Fri, 07 February 2014 11:40 |
|
We have taken advantage of the support for root entry points "/", which works great for stand-alone OSGi deployments, but it seems to cause issues when running in a WAR inside an AppServer. We've tried JBoss and WebLogic, both having the same problems.
The symptoms are that the request never returns, so the browser just sits there with a blank white page. No error, no messages in the AppServer console.
We have multiple entry points defined in the applications we have tested with, and they work ok as long as there isn't an "/" root entry point included.
configuration.jar something like this:
application.addEntryPoint( "/", TABRISEntryPoint_rapideapproot.class, epProps );
application.addEntryPoint( "/FT1", TABRISEntryPoint_FT1.class, epProps );
application.addEntryPoint( "/FT2", TABRISEntryPoint_FT2.class, epProps );
application.addEntryPoint( "/FT3", TABRISEntryPoint_FT3.class, epProps );
etc.
We always put the root entry point first.
Is this a known limitation of using root entry point, or is it possible we are doing something wrong?
Thanks, John
---
Just because you can doesn't mean you should
|
|
|
|
Re: Entry point / not working in WAR [message #1243065 is a reply to message #1241039] |
Mon, 10 February 2014 13:19 |
|
Hi John,
Of course, I've checked that the "/" servlet path is also working with
WAR files. However, "/" is a specific case in the servlet API and I even
found that Equinox and Felix handle servlets registered at "/" a bit
differently. So chances are that either you or us missed something.
I assume that all bundles are started and there are no exceptions logged
etc. Could you try to remote-debug the container and see where these
request threads are hanging?
Regards,
Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Entry point / not working in WAR [message #1256603 is a reply to message #1243065] |
Tue, 25 February 2014 15:56 |
|
Hi Ralf,
Back on the case again with this one... I've just refreshed to the latest nightly of RAP 2.3 and still have issues with root entry point when running as a WAR under an AppServer. I've tested with JBoss and WebLogic. Standalone OSGi is still ok.
I see no messages in the console, and all bundles are resolved as normal.
Would you be able to help me understand how to do remote-debug on the container, as I'm not familiar with this?
Thanks, John
---
Just because you can doesn't mean you should
|
|
|
|
|
Re: Entry point / not working in WAR [message #1258384 is a reply to message #1258380] |
Thu, 27 February 2014 10:24 |
|
Hi Tibu,
Thanks for the suggestion, but unfortunately not that simple.
I have multiple entry points registered, one of which is the / root.
None of the entry points work if / is present.
Best regards, John
---
Just because you can doesn't mean you should
|
|
|
Powered by
FUDForum. Page generated in 0.04211 seconds