[
https://issues.jboss.org/browse/JBAS-8830?page=com.atlassian.jira.plugin....
]
Hendy Irawan commented on JBAS-8830:
------------------------------------
I also get this problem.
Try this :
#Disable RESTEasy in JBoss AS 7
RESTEasy needs to be disabled since it collides with the REST libraries included in the
OpenAM.
To disable it, remove the jaxrs references from your configuration. For example if you are
using either the standalone or domain configuration, you should edit one of these:
<JBoss_AS_7_Home>/standalone/configuration/standalone.xml
<JBoss_AS_7_Home>/domain/configuration/domain.xml
And remove the lines:
... <extension module="org.jboss.as.jaxrs"/> ... <subsystem
xmlns="urn:jboss:domain:jaxrs:1.0"/> ...
Source:
https://wikis.forgerock.org/confluence/display/openam/Deploy+OpenAM+in+JB...
I have tried putting the following in WEB-INF/jboss-deployment-structure.xml :
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<exclusions>
<module name="org.jboss.as.jaxrs"/>
<module name="org.jboss.resteasy"/>
<module name="org.jboss.resteasy.resteasy-jaxrs"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
But it doesn't work.
What I can make work is disabling the module and subsystem in JBoss AS's
standalone.xml as the reply above.
Reference threads:
-
http://community.jboss.org/message/642580#642580
-
http://community.jboss.org/message/579996
"Only one JAX-RS Application Class allowed.." on JBoss 6
final
--------------------------------------------------------------
Key: JBAS-8830
URL:
https://issues.jboss.org/browse/JBAS-8830
Project: Application Server 3, 4, 5 and 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.Final
Reporter: Viggo Navarsete
Fix For: No Release
See forum discussion for details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira