[Design of JBoss Web Services] - Deployment.types not propagated
by thomas.diesler@jboss.com
| [tdiesler@tddell trunk]$ ant -Dtest=org.jboss.test.ws.jaxws.jbws1762.packaged_jar_ejb3.Iteration1TestCase one-test
|
| Caused by: java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=jaxws-jbws1762-packaged,endpoint=EJB3Bean
| at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89)
| at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59)
| at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
| at org.jboss.wsf.container.jboss50.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:95)
| at org.jboss.wsf.container.jboss50.AbstractWebServiceDeployer.deploy(AbstractWebServiceDeployer.java:63)
|
The WebAppDeploymentAspect adds a type string like this
| org.jboss.deployers.client.spi.Deployment deployment = createDeployment(warURL);
|
| // Mark the deployment as generated web app
| // so the JSE deployer hook can ignore it
| Set<String> types = deployment.getTypes();
| if (types == null)
| {
| types = new HashSet<String>();
| deployment.setTypes(types);
| }
| types.add(WebAppDesciptorModifier.PROPERTY_GENERATED_WEBAPP);
|
During deployment of the above using this code
| public boolean isWebServiceDeployment(DeploymentUnit unit)
| {
| JBossWebMetaData webMetaData = unit.getAttachment(JBossWebMetaData.class);
| boolean isGenerated = unit.getTypes().contains(WebAppDesciptorModifier.PROPERTY_GENERATED_WEBAPP);
| return isGenerated == false && webMetaData != null;
| }
|
isGenerated is always false.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102859#4102859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102859
18 years, 5 months
[QA of JBoss Portal] - JIRA update
by julien@jboss.com
Thomas and myself discussed last week briefly about how to manage JIRA for the modules, my initial idea was to create one JIRA per module but it has drawbacks (mainly to create redundancy).
Thomas suggested we could try to use the same JIRA but create versions per module x release, so we are going to try that for a while and see how it works. It has the benefit of being doable easily. I think the main cost we will pay in the increase of the complexity but it can be manageable somehow.
So I have created the following versions:
Common-1.0
Web-1.0
Identity-1.0
Portlet-1.0
and marked them as "released", they are just used as identifier for the "affect" version field.
and I have also created:
Common-1.0.1
Web-1.0.1
Identity-1.0.1
Portlet-1.0.1
Common-1.1
Web-1.1
Identity-1.1
Portlet-1.1
That can be used for "Affect" and "Fix" version fields.
Any issue that matches a module version could also match a 2.6.x versions. For instance if there is a bug in common that it is fixed in 1.0.1 and 2.6.3.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102846#4102846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102846
18 years, 5 months