[
http://jira.jboss.com/jira/browse/JBAS-4940?page=comments#action_12386131 ]
Thomas Diesler commented on JBAS-4940:
--------------------------------------
When done, remove this workaround
// Workaround for [JBAS-4940] Deployment.types not propagated
try
{
SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
ServerConfig serverConfig =
spiProvider.getSPI(ServerConfigFactory.class).getServerConfig();
String tempDir = serverConfig.getServerTempDir().getCanonicalPath();
if (unit.getName().contains(tempDir))
isGenerated = true;
}
catch (Exception ex)
{
// ignore
}
Deployment.types not propagated
-------------------------------
Key: JBAS-4940
URL:
http://jira.jboss.com/jira/browse/JBAS-4940
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assigned To: Adrian Brock
Fix For: JBossAS-5.0.0.Beta3
[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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira