Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1.6
-
None
-
Websphere 6.1
Description
Hi,
I am upgrading an existing project from struts 2.0.14 to 2.1.6. We are using the zero configuration approach, and the classpath scanning ability.
The application is running on Websphere 6.1, and I had a lot of trouble having it work. My 2 major issues were :
- Classes of the current project not being scanned : This url file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv02/installedApps/F6FMSWASTSTNode02Cell/fms-ear.ear/fms-web.war/WEB-INF/classes/ was originally excluded by the filters in the convention plugin. I'll let you know exactly which one did that
- We had some action classes in a dependency jar, and it didn't get included because of the wsjar protocol. See http://jira.opensymphony.com/browse/XW-669 for more documentation on this protocol and its inclusion in Xwork. The url look like :
wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv02/installedApps/F6FMSWASTSTNode02Cell/fms-ear.ear/fms-web.war/WEB-INF/lib/axis-1.4.jar!/
And are not processed by com.opensymphony.xwork2.util.finder.ClassFinder.
I'll add more detail as I dig into this and let you know how I worked around it (except by moving to a real application server.... )