-
1. Re: JBWS-1922
thomas.diesler Mar 17, 2008 10:17 AM (in response to asoldano)Yes, this has been bugging me for some time, and I don't have a good solution for it either.
My suggestion would be, to move the AS42 container config to the stack code base (i.e. native, metro, cxf) and get rid of the dependency to jbossws-jboss42-resources.zip<get src="${jboss.repository}/jboss/jbossws-jboss42/${jbossws-jboss42}/lib/jbossws-jboss42-resources.zip" dest="${thirdparty.dir}/jbossws-jboss42-resources.zip" usetimestamp="true" verbose="true"/>
This would of course duplicate the AS42 container config with every supported stack.
An alternative is to introduce another svn:externals dependency on the AS42 codebase.
Any other ideas? -
2. Re: Dependency on AS42 container configuration
asoldano Mar 18, 2008 4:10 AM (in response to asoldano)Thanks Thomas, unfortunately I don't have other solutions for this. I think I'll do the first one, i.e. move the AS42 container config to the stacks code base.
-
3. Re: Dependency on container configurations and JBWS-1992
asoldano Mar 18, 2008 9:06 PM (in response to asoldano)I'm posting here to keep track of what happened.
I tried moving the WSEndpointRegistry to the container configuration (at first duplicating the container config in the stacks, then manually creating a new jbossws-jboss42=4.2.3.CR1 dependency). This however proved not to be a valid solution for some reasons, the most important being that even if I can manage to fix the 4.2 integration, JBoss 5.0.0 Beta4 is already out and its jbossws-deployer-beans.xml config cannot be easily modified. Therefore I would say that we can't easily have the correct dependency of WSEndpointRegistryDeploymentAspect on the WSEndpointRegistry bean, since we can't change the configuration that declares it.
On chat Thomas suggested checking for the existence of the mbeanServer before the unregister process. This would have been an idea for the first exception (ie. the one thrown by the EndpointRecordProcessorDeploymentAspect.). Speaking of the WSEndpointRegistry issue, instead, my thought is that if we can't assure the registry bean is available, then we could only handle the exception, supposing the server is shutting down, but of course this doesn't mean really solving the issue. Otherwise we can only put up with the shutdown KernelRegistryEntryNotFoundException.
Do anybody have better idea than me? -
4. Re: Dependency on container configurations and JBWS-1992
ropalka Mar 19, 2008 2:35 AM (in response to asoldano)"alessio.soldano@jboss.com" wrote:
This however proved not to be a valid solution for some reasons, the most important being that even if I can manage to fix the 4.2 integration, JBoss 5.0.0 Beta4 is already out and its jbossws-deployer-beans.xml config cannot be easily modified. Therefore I would say that we can't easily have the correct dependency of WSEndpointRegistryDeploymentAspect on the WSEndpointRegistry bean, since we can't change the configuration that declares it.
I think it's correct solution, the question is if we will support AS 5 Beta 4 when AS CR1 will be out. I think we will not support it. -
5. Re: Dependency on container configurations and JBWS-1992
asoldano Mar 19, 2008 4:32 AM (in response to asoldano)"richard.opalka@jboss.com" wrote:
"alessio.soldano@jboss.com" wrote:
This however proved not to be a valid solution for some reasons, the most important being that even if I can manage to fix the 4.2 integration, JBoss 5.0.0 Beta4 is already out and its jbossws-deployer-beans.xml config cannot be easily modified. Therefore I would say that we can't easily have the correct dependency of WSEndpointRegistryDeploymentAspect on the WSEndpointRegistry bean, since we can't change the configuration that declares it.
I think it's correct solution, the question is if we will support AS 5 Beta 4 when AS CR1 will be out. I think we will not support it.
Hi Richard,
apart from the fact that this solution has other problem (see http://fisheye.jboss.com/changelog/JBossWS/?cs=6012), AS 5 beta4 is a target container righ now, so imho we have to support it, even if CR1 will be out at some point in the future. -
6. Re: Dependency on container configurations and JBWS-1992
ropalka Mar 19, 2008 4:37 AM (in response to asoldano)I know,
what I intended is if it's possible to create some ugly hack for AS Beta4 only that could be removed in the future when Beta 4 will become unsupported ;) -
7. Re: Dependency on container configurations and JBWS-1992
ropalka Mar 19, 2008 4:41 AM (in response to asoldano)In other words we could have correct solution for all 4.2.x servers, 5 CR1 server and ugly hack for AS 5 Beta 4 (which could be removed in the future when Beta4 will become unsupported)
-
8. Re: Dependency on container configurations and JBWS-1992
thomas.diesler Mar 19, 2008 5:35 AM (in response to asoldano)Generally, the container integration lives with the container
Branch_4_2 |_ webservice trunk |_ webservice
If we have an issue with the container integration it should be fixed there in a compatible way with already released containers. Then it should be made available in the repository for WS stack consumption and finally must be deployed to all containers were it applies.
i.e.
When you remove the WSEndpointRegistry from all stacks you must make sure that you deploy compatible container integration jars/resources to all supported containers.