1 Reply Latest reply on Oct 14, 2012 4:55 PM by Josef Cacek

    Error: URI scheme is not "file" with PicketLink Quickstart pdp deployment AS 7.1

    Rick Camus Newbie

      I thought SECURITY-653 would fix my problem, but I am still getting Error: URI scheme is not "file", when trying to deploy the pdp.war that comes with PicketLink Quickstarts (https://github.com/picketlink/picketlink-quickstarts).  Any help would be appreciated.

       

      I'm trying to deploy to JBoss 7.1

       

      My Maven dependencies include:

      picketlink-core-2.1.5.Final.jar

      log4j-1.2.14.jar

      xmlsec-1.5.1.jar

      commons-logging-1.1.1.jar

      commons-logging-api-1.0.3.jar

      jbossxacml-2.0.8.Final.jar

      picketbox-4.0.7.Final.jar

       

       

      Here is my log:

       

      14:17:18,779 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service

      id=SOAPSAMLXACMLPDPServlet

      address=http://localhost:8080/pdp/SOAPSAMLXACMLPDP

      implementor=org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDPService

      invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker

      serviceName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPDP

      portName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPort

      wsdlLocation=null

      mtomEnabled=false

      14:17:18,947 INFO  [org.jboss.security.xacml.core.JBossPDP] Reading policysets from location=policy.xml

      14:17:18,949 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.deployment.unit."pdp.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pdp.war".INSTALL: Failed to process phase INSTALL of deployment "pdp.war"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                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.runWorker(Unknown Source) [rt.jar:1.7.0_02]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_02]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_02]

      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: URI scheme is not "file"

                at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(NonSpringBusHolder.java:174)

                at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:96)

                at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:113)

                at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:66)

                at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                ... 5 more

      Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: URI scheme is not "file"

                at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:161)

                at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.getPDP(SOAPSAMLXACMLPDP.java:116)

                at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.<init>(SOAPSAMLXACMLPDP.java:74)

                at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDPService.<init>(SOAPSAMLXACMLPDPService.java:42)

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_02]

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_02]

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_02]

                at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.7.0_02]

                at java.lang.Class.newInstance0(Unknown Source) [rt.jar:1.7.0_02]

                at java.lang.Class.newInstance(Unknown Source) [rt.jar:1.7.0_02]

                at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.newInstance(NonSpringBusHolder.java:170)

                ... 10 more

      Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"

                at java.io.File.<init>(Unknown Source) [rt.jar:1.7.0_02]

                at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:590)

                at org.jboss.security.xacml.core.JBossPDP.addPolicySets(JBossPDP.java:466)

                at org.jboss.security.xacml.core.JBossPDP.bootstrap(JBossPDP.java:344)

                at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:157)

                ... 20 more