Symptom:
Deploying the Federation Web Services (affwebservices.war) on JBoss 6.1 fails with the following exception:
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed
This error is caused by an open issue in JBoss.
Solution:
Edit the affwebservices deployment descriptor to add a number of <context-param> entries.
Follow these steps:
<context-param> <param-name>resteasy.scan</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>resteasy.scan.resources</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>resteasy.scan.providers</param-name> <param-value>false</param-value> </context-param>
|
Copyright © 2013 CA.
All rights reserved.
|
|