[Design of POJO Server] - Re: Missing EAR/WAR Isolation
by jason.greene@jboss.com
anonymous wrote :
| On the first port of the war deployer, jbossweb didn't have a mechanism to accept a class loader so it was commented out. It should be creating a scoped class loader by default though, but its probably still an implementation detail of the webcontainer. It does need to be pulled out so its available at the DeploymentUnit level. I assume that is what you are looking for?
|
Ah I see. Yes, the issue is that the WS deployer has to inspect every war (WS or not) by loading all servlet classes (and related WS classes if it is in fact a WS deployment). If the DeploymentUnit CL is not isolated, there is the possibility of a conflict with multiple deployments.
That said, fixing EAR isolation will resolve the WS TCK issues, since they separate the client and server side components in individual EARs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029486#4029486
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029486
19 years
[Design of POJO Server] - Re: Missing EAR/WAR Isolation
by jason.greene@jboss.com
"scott.stark(a)jboss.org" wrote : The EARStructure defines what the deployable content is in the ear along with what its classpath is. It does not define scoping. This should be coming from the metadata of the AppParsingDeployer (jboss-app.xml, deployer isolation property) that is passed to the ServiceClassLoaderDeployer which should be creating the scoped ULR.
|
Ah I see, I was confused since currently, EARStructure is parsing jboss-app.xml.
The issue is the lack of a default if there is no jboss-app.xml (or no loader-repository-config). In the past we had a global isolation setting directly on the ear deployer. So I assumed we are keeping that. I take it we are moving away from it?
anonymous wrote : I'll have to check if this is wired up correctly. I'm working on the jboss5 testsuite so I'll look at the existing ear isolation tests today.
|
Great thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029467#4029467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029467
19 years