Hi Jon,
I figured yesterday what was wrong.
I also restored the older way to do.
We just need to add this to afterStart in TomcatWebAppBuilder
// required for Pojo Web Services because when Assembler creates the
application
// the CoreContainerSystem does not contain the WebContext
// see also the start method
getContainerSystem().addWebDeployment(webContext);
WsService wsService =
SystemInstance.get().getComponent(WsService.class);
if (wsService != null) {
List<WebAppInfo> webApps = contextInfo.appInfo.webApps;
for (WebAppInfo webApp : webApps) {
wsService.afterApplicationCreated(webApp);
}
}
The comment is my understanding.
That works fine, but I'd prefer to avoid calling it twice.
So i'm trying to figure if we can add the webDeployment before
a.createApplication(contextInfo.appInfo,
standardContext.getLoader().getClassLoader());
WDYT?
I will also have a look to your patch.
BTW, for WAR in EAR we don't need that hook.
Jean-Louis
--
View this message in context:
http://openejb.979440.n4.nabble.com/Current-tasks-and-status-tp3171647p3208579.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.