Deploying to tomcat 8
Deploying to tomcat 8
- Subject: Deploying to tomcat 8
- From: John Huss <email@hidden>
- Date: Fri, 21 Nov 2014 11:20:31 -0600
FYI, for the few people who might be deploying with Tomcat:
In the recently released Tomcat 8, there is a breaking change that causes WO apps which use the generated WOClasspath to break (fail to load).
The call to servletContext.getRealPath("WEB-INF") in WOServletAdaptor now fails and needs to be changed to use an absolute path like so: servletContext.getRealPath("/WEB-INF").
I don't see anyway to override the old class, so if you have this problem you'll have to either replace WOServletAdaptor or use a custom web.xml file that doesn't depend on WEBINFROOT being defined. I love WO! ;-)
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden