[
https://issues.jboss.org/browse/AS7-3725?page=com.atlassian.jira.plugin.s...
]
Peter Skopek commented on AS7-3725:
-----------------------------------
Dependencies are added in META-INF/jboss-deployment-structure.xml. Picketlink is also
jandexed, so it should be picked.
Actual problem is that we have annotations processed on all classes in org.picketlink
module not just those for which our webapp references. That's why we changed
jboss-deployment-structure.xml just to include dependency and then trying to specify WS
info in webservices.xml as a workaround.
adjusted JAXWS webservice with webservices.xml descriptor complains
about non-existence of jaxrpc-mapping-file element
----------------------------------------------------------------------------------------------------------------------
Key: AS7-3725
URL:
https://issues.jboss.org/browse/AS7-3725
Project: Application Server 7
Issue Type: Enhancement
Components: Web Services
Affects Versions: 7.1.0.Final
Reporter: Peter Skopek
Assignee: Alessio Soldano
Fix For: 7.1.1.Final
Attachments: picketlink-sts.war
When I try to adjust JAXWS webservice with webservices.xml descriptor complains about
non-existence of jaxrpc-mapping-file element.
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<webservices
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_web_services_1_3.xsd"
version="1.3">
<webservice-description>
<webservice-description-name>
PicketLinkSTS
</webservice-description-name>
<wsdl-file>
WEB-INF/wsdl/PicketLinkSTS.wsdl
</wsdl-file>
<port-component>
<port-component-name>PicketLinkSTSPort</port-component-name>
<wsdl-port
xmlns:tns="urn:picketlink:identity-federation:sts">PicketLinkSTSPort</wsdl-port>
<!-- TODO: we don't have interface yet
<service-endpoint-interface>endpoint.WeatherService</service-endpoint-interface>
-->
<service-impl-bean>
<servlet-link>PicketLinkSTS</servlet-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>
{noformat}
Exception:
{noformat}
10:47:32,523 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed
to start service jboss.deployment.unit."picketlink-sts.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."picketlink-sts.war".INSTALL: Failed to process phase
INSTALL of deployment "picketlink-sts.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_30]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
Caused by: org.jboss.ws.WSException: jaxrpc-mapping-file not configured from
webservices.xml
at
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:107)
at
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:74)
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:81)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
... 5 more
{noformat}
--
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