<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Jboss 7.1.1 as having problems with Picketlink 2.0.3-Final for CXF endpoints
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/mishra900">biswa mishra</a> in <i>JBoss AS 7 Development</i> - <a href="https://community.jboss.org/message/779019#779019">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I am trying to develop  apache CXF web service endpoints  using Picketlink 2.0.3-Final.jar   and deploying in Jboss 7.1.1 AS.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have updated Jboss 7.1.1 As   org.picketlink  modules with Picketlink 2.0.3-Final.jars as mentioned in some of the links in forum . all the examples are getting deployed and working as expected .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am planning to deploy my CXF web services as  .war file in Jboss Standalone deployment .  i have added  <extension module="org.picketlink"/> in the standalone.xml </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So it means , if i will deploy *.war file , i donot need to add picketlink 2.0.3-final related jars in to web-inf\lib folder , but looks like WAR file got deployed but not started ....</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Hence i have added picketlink 2.0.3-final related jars in to web-inf\lib folder , and redeployed , now WAR file got deployed and started also and i am able to see  CXF endpoints started also like below :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 10pt;">  <p align="left">21:30:41,029 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-4) Add Service</p><p align="left">id=org.picketlink.identity.federation.core.wstrust.PicketLinkSTS</p><p align="left"><span>address=</span><a class="jive-link-external-small" href="http://localhost:8080/security-token-service/PicketLinkSTS" target="_blank">http://localhost:8080/security-token-service/PicketLinkSTS</a></p><p align="left">implementor=org.picketlink.identity.federation.core.wstrust.PicketLinkSTS</p><p align="left">invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker</p><p align="left">serviceName={urn:picketlink:identity-federation:sts}PicketLinkSTS</p><p align="left">portName={urn:picketlink:identity-federation:sts}PicketLinkSTSPort</p><p align="left">wsdlLocation=null</p><p align="left">mtomEnabled=false</p><p align="left">21:30:41,044 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-4) Add Service</p><p align="left">id=org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP</p><p align="left"><span>address=</span><a class="jive-link-external-small" href="http://localhost:8080/security-token-service/SOAPSAMLXACMLPDP" target="_blank">http://localhost:8080/security-token-service/SOAPSAMLXACMLPDP</a></p><p align="left">implementor=org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP</p><p align="left">invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker</p><p align="left">serviceName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPDP</p><p align="left">portName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPort</p><p align="left">wsdlLocation=null</p><p>mtomEnabled=false</p></span></p><p><strong>But Immediately it got failed throwing  the below exception like PL00075: File could not be located :policyConfig.xml </strong></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">09:31:43,712 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Creating Service {urn:picketlink:identity-federation:sts}PicketLinkSTS from WSDL: WEB-INF/wsdl/PicketLinkSTS.wsdl</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">09:31:50,163 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-4) Setting the server's publish address to be <a class="jive-link-external-small" href="http://localhost:8080/security-token-service/PicketLinkSTS">http://localhost:8080/security-token-service/PicketLinkSTS</a></span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">09:31:52,303 INFO  [org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher] (MSC service thread 1-4) WSDL published to: file:/C:/jboss/jboss-as-7.1.0.Final/standalone/data/wsdl/security-token-service.war/PicketLinkSTS.wsdl</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">09:31:53,358 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."security-token-service.war".INSTALL: </span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">org.jboss.msc.service.StartException</span><span style="font-family: Consolas; color: black; font-size: 10pt;"> in service jboss.deployment.unit."security-token-service.war".INSTALL: Failed to process phase INSTALL of deployment "security-token-service.war"</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">DeploymentUnitPhaseService.java:119</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">ServiceControllerImpl.java:1811</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">ServiceControllerImpl.java:1746</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">ThreadPoolExecutor.java:886</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.util.concurrent.ThreadPoolExecutor$Worker.run(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">ThreadPoolExecutor.java:908</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.lang.Thread.run(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">Thread.java:662</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">Caused by: </span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">java.lang.RuntimeException</span><span style="font-family: Consolas; color: black; font-size: 10pt;">: </span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">java.lang.IllegalStateException</span><span style="font-family: Consolas; color: black; font-size: 10pt;">: PL00075: File could not be located :policyConfig.xml</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">NonSpringBusHolder.java:174</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">NonSpringBusHolder.java:96</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">BusDeploymentAspect.java:113</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">BusDeploymentAspect.java:66</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">AspectDeploymentProcessor.java:81</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">DeploymentUnitPhaseService.java:113</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       ... 5 more</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">Caused by: </span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">java.lang.IllegalStateException</span><span style="font-family: Consolas; color: black; font-size: 10pt;">: PL00075: File could not be located :policyConfig.xml</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.getPDP(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">SOAPSAMLXACMLPDP.java:115</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.<init>(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">SOAPSAMLXACMLPDP.java:75</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">Native Method</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at sun.reflect.NativeConstructorAccessorImpl.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">NativeConstructorAccessorImpl.java:39</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">DelegatingConstructorAccessorImpl.java:27</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.lang.reflect.Constructor.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">Constructor.java:513</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.lang.Class.newInstance0(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">Class.java:355</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at java.lang.Class.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">Class.java:308</span><span style="font-family: Consolas; color: black; font-size: 10pt;">) [rt.jar:1.6.0_29]</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(</span><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">NonSpringBusHolder.java:170</span><span style="font-family: Consolas; color: black; font-size: 10pt;">)</span></p><p><span style="font-family: Consolas; color: black; font-size: 10pt;">       ... 10 more</span></p><p><span style="color: black; font-size: 10pt; font-family: Consolas;"></span></p><p><span style="font-size: 10pt;"></span></p><p><span style="font-size: 10pt;"></span><span style="font-family: Consolas; color: #000000;">This looks to me more on support issues with jboss 7.1.1 AS with Picketlink using CXF endpoints ... , any tips from the Jboss Security team will be really helpful ..</span></p><p><span style="color: #000000; font-size: 10pt; font-family: Consolas;"></span></p><p><span style="font-size: 10pt;">Even i have tried with Jboss 7.1.0 As  using Picketlink 2.0.2 -final build , same issue persists </span></p><p><span style="font-size: 10pt;"></span></p><p><span style="font-size: 10pt;"></span>Thanks,</p><p><span style="font-size: 10pt;"></span>Biswa</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/779019#779019">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS 7 Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>