-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripes 1.6.0 will not run in a WebSphere Liberty #57
Comments
Hi, I changed my web.xml to:
But now I will getting all the time: Error 404: SRVE0295E: Error reported: 404, when I am trying to open the following site |
Hi Niklas, were you able to get Stripes running on Websphere 8.5? If not, I can download it and give it a try to see if I can get it going. -- Rick |
We have a JIRA issue for this one I think : |
Hi Rick, no, I was not able to get Stripes running with a current IBM WebSphere Liberty version. I tested Stripes with serveral versions of WebSphere Application Server (8.5.5.4, *.7 and *.9). @vankeisb: @rgrashel: Thank you in advance. |
That's a VFS issue. In short, Stripes has a pluggable way of scanning the classpath, called VFS. This allows to discover your @ActionBeans etc. (see Unfortunately, we have no VFS for liberty. @rgrashel I should be able to find the code that I wrote in order to leverage Servlet 3+ API class discovery. I think it should be checked in, in order to workaround issues like this one. It's much simpler than to write a VFS, and I still think it should be the standard, since it's built-in the Servlet spec. So if you have a servlet 3+ container, you should not be concerned about this VFS thing. VFS should be kept only for Mock testing IMHO. |
Hi Niklas, If you have an EAR file that you could provide, that would be hugely -- Rick On Sun, Aug 21, 2016 at 5:46 AM, NiklasA [email protected] wrote:
|
Hi Rick, sorry, for the late response. I uploaded a war file here: Link. I used the following AppServer: WebSphere Liberty Profile If you need further help, please let me know. Niklas |
Niklas, I just installed the latest version of Liberty (16.0.0.3) with Java EE 7 Web Profile. Running on JDK1.8. I dropped your WAR right in the defaultServer/dropins directory and got no errors. I even pulled up the test helloworld page at http://localhost:9080/test. Then, I went ahead and built the Stripes Examples WAR file from master and copied that into the defaultServer/dropins directory. That also deployed successfully. There are a couple of bugs because of relative pathing, but you can hit http://localhost:9080/stripes-examples/rockandroll/artists and get a JSON response from a RestActionBean. Is there something I am not doing to duplicate the error you are getting? -- Rick |
Hi Rick, sorry, the issue was that I could not call http(s)://localhost:9080/test**/example/**. But you gave me the right hint with the Stripes examples. I compared both web.xml files and I was able to get it running (Commit). But I am wondering, because I'm pretty sure that I have tried the DynamicMappingFilter in same way earlier and it did not work. And in the log the warning is still thrown "[WARNING ] No MultipartWrapper implementation could be loaded". That's why I looked again at the JIRA ticket, which @vankeisb has mentioned. And then I remembered that I used a Multi-Module Maven Project, where the WAR file includes the Stripes staff and was packaged to an EAR file. Perhaps the problem can only be reproduced in this way. Niklas |
Hi Rick, because I could not reproduced the issue with a single WAR file, I have expanded my test project and created a Multiple Module Maven project. With it, I was able to reproduce the issue. Sorry that it takes so long and the ticket gets longer and longer... Steps:
I hope you can use my test project to investigate the issue and I hope too that is not an issue of misconfiguration on my side and I wasted your time ;-). Thank you in advance. |
Hi,
I just included Stripes into my JEE application but every time I will get this error message during start up. I am using a WebSphere Application Server 8.5.5.X. I am searching for awhile now and I've heard that there are some troubles with IBM WebSphere in combination with the Stripes Framework. Is there anyone, who get a JEE application running in a similar combination or know what I have to consider?
Error Log:
Web.xml:
Server.xml(including all WebSphere features):
TestActionBean.java:
Thank you in advance! 👍
Niklas
The text was updated successfully, but these errors were encountered: