7 Replies Latest reply on Jun 4, 2011 7:51 AM by David Braun

    Picketlink-STS v2

    David Braun Newbie

      STS for version 1.04 final works.  The snapshot as of April 14th in v2 seams broken unless there are additioanl pieces that need to be configured with jbas 6.0final.  Are there additional configurations that are required.  The WSTrustClient call is the same for both 1.04 and v2.

       

      Caused by: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

      at [row,col {unknown-source}]: [1,0]

              at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45) [:3.2.6]

              at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72) [:3.2.6]

              at org.picketlink.identity.federation.core.parsers.wst.WSTrustParser.parse(WSTrustParser.java:48) [:2.0.0-SNAPSHOT]

              at org.picketlink.identity.federation.core.parsers.AbstractParser.parse(AbstractParser.java:91) [:2.0.0-SNAPSHOT]

              at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:93) [:2.0.0-SNAPSHOT]

              ... 46 more

       

      Version 2 fixes the idp BasicFormAuthenicator method issue.

      java.lang.NoSuchMethodError: org.picketlink.identity.federation.bindings.tomcat.sp.BaseFormAuthenticator.authenticate(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;Lorg/apache/catalina/deploy/LoginConfig;)Z

       

       

      Didn't know if this is a reportable issue or just a missing/undocumented configuration going into v2.

        • 1. Picketlink-STS v2
          Anil Saldanha Master

          http://anonsvn.jboss.org/repos/picketlink/integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java

           

          That is the test we use.

           

          Remember to endorse the libraries on the client side to be JBOSS/lib/endorsed

           

          From the exception, it seems that the server is not getting any ws-trust request to parse.

          • 2. Re: Picketlink-STS v2
            David Braun Newbie

            I realize the the mave test setup may work. but I'm trying to get this to work outside of the build/test framework.  To keep things standard I'm using the wsrunclient.sh script.  I'm assuming that wsrunclient should use the correct path and endorsed directory with addition of the picketlink jars.

             

            $ ../../../jboss/bin/wsrunclient.sh -classpath ./dist/ISGT-sts-client.jar:./../../../jboss/server/engineos/lib/picketlink-fed-2.0.0-SNAPSHOT.jar  test.Client

            === Classpath ===

            Z:\dev\test_platform\dev\ISGT\ISGT-sts-client

            Z:\dev\test_platform\dev\ISGT\ISGT-sts-client\dist\ISGT-sts-client.jar

            Z:\dev\test_platform\jboss\server\test\lib\picketlink-fed-2.0.0-SNAPSHOT.jar

            Z:\dev\test_platform\jboss\client\activation.jar

            Z:\dev\test_platform\jboss\client\javassist.jar

            Z:\dev\test_platform\jboss\client\jaxb-api.jar

            Z:\dev\test_platform\jboss\client\jaxb-impl.jar

            Z:\dev\test_platform\jboss\client\jbossall-client.jar

            Z:\dev\test_platform\jboss\client\jboss-xml-binding.jar

            Z:\dev\test_platform\jboss\client\jbossxb.jar

            Z:\dev\test_platform\jboss\client\jbossws-common.jar

            Z:\dev\test_platform\jboss\client\jbossws-framework.jar

            Z:\dev\test_platform\jboss\client\jbossws-spi.jar

            Z:\dev\test_platform\jboss\client\FastInfoset.jar

            Z:\dev\test_platform\jboss\client\log4j.jar

            Z:\dev\test_platform\jboss\client\mail.jar

            Z:\dev\test_platform\jboss\client\stax-api.jar

            Z:\dev\test_platform\jboss\client\xmlsec.jar

            Z:\dev\test_platform\jboss\client\wsdl4j.jar

            Z:\dev\test_platform\jboss\client\jaxws-api.jar

            Z:\dev\test_platform\jboss\client\jsr181-api.jar

            Z:\dev\test_platform\jboss\client\asm.jar

            Z:\dev\test_platform\jboss\client\jbossws-cxf-client.jar

            Z:\dev\test_platform\jboss\client\cxf-api.jar

            Z:\dev\test_platform\jboss\client\cxf-common-utilities.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-bindings-corba.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-bindings-xml.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-bindings-http.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-bindings-object.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-bindings-soap.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-core.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-databinding-jaxb.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-frontend-jaxws.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-frontend-jaxrs.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-frontend-simple.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-javascript.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-management.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-transports-http.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-transports-jms.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-transports-local.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-ws-addr.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-ws-policy.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-ws-rm.jar

            Z:\dev\test_platform\jboss\client\cxf-rt-ws-security.jar

            Z:\dev\test_platform\jboss\client\cxf-tools-java2ws.jar

            Z:\dev\test_platform\jboss\client\cxf-tools-common.jar

            Z:\dev\test_platform\jboss\client\commons-collections.jar

            Z:\dev\test_platform\jboss\client\commons-lang.jar

            Z:\dev\test_platform\jboss\client\commons-logging.jar

            Z:\dev\test_platform\jboss\client\FastInfoset.jar

            Z:\dev\test_platform\jboss\client\jaxws-api.jar

            Z:\dev\test_platform\jboss\client\jboss-javaee.jar

            Z:\dev\test_platform\jboss\client\neethi.jar

            Z:\dev\test_platform\jboss\client\spring-aop.jar

            Z:\dev\test_platform\jboss\client\spring-asm.jar

            Z:\dev\test_platform\jboss\client\spring-beans.jar

            Z:\dev\test_platform\jboss\client\spring-context.jar

            Z:\dev\test_platform\jboss\client\spring-core.jar

            Z:\dev\test_platform\jboss\client\spring-expression.jar

            Z:\dev\test_platform\jboss\client\stax-api.jar

            Z:\dev\test_platform\jboss\client\velocity.jar

            Z:\dev\test_platform\jboss\client\XmlSchema.jar

            Z:\dev\test_platform\jboss\client\resolver.jar

            Z:\dev\test_platform\jboss\client\wsdl4j.jar

            Z:\dev\test_platform\jboss\client\wstx.jar

            === Properties ===

            java.endorsed.dirs=Z:\dev\test_platform\jboss\lib\endorsed

            log4j:WARN No appenders could be found for logger (org.apache.cxf.common.logging.LogUtils).

            log4j:WARN Please initialize the log4j system properly.

            Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Exception parsing token request: [com.ctc.wstx.exc.WstxLazyException] Unexpected EOF in prolog

            at [row,col {unknown-source}]: [1,0]

                    at org.apache.cxf.jaxws.DispatchImpl.mapException(DispatchImpl.java:262)

                    at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:339)

                    at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:218)

                    at org.picketlink.identity.federation.core.wstrust.STSClient.issueToken(STSClient.java:254)

                    at org.picketlink.identity.federation.api.wstrust.WSTrustClient.issueInternal(WSTrustClient.java:257)

                    at org.picketlink.identity.federation.api.wstrust.WSTrustClient.issueToken(WSTrustClient.java:110)

                    at test.Client.testSTS(Client.java:68)

                    at test.Client.main(Client.java:44)

            Caused by: org.apache.cxf.binding.soap.SoapFault: Exception parsing token request: [com.ctc.wstx.exc.WstxLazyException] Unexpected EOF in prolog

            at [row,col {unknown-source}]: [1,0]

                    at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)

                    at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)

                    at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)

                    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)

                    at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:99)

                    at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)

                    at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)

                    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)

                    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755)

                    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2330)

                    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2192)

                    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2036)

                    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

                    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:696)

                    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

                    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)

                    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)

                    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)

                    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)

                    at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:300)

                    at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:332)

                    ... 6 more

             

             

             

            package test;

            import org.picketlink.identity.federation.api.wstrust.WSTrustClient;

            import org.picketlink.identity.federation.api.wstrust.WSTrustClient.SecurityInfo;

            import org.picketlink.identity.federation.core.wstrust.WSTrustException;

            import org.picketlink.identity.federation.core.wstrust.plugins.saml.SAMLUtil;

            import org.w3c.dom.Element;

             

            public class Client {

                 public static void main(String[] args) throws Exception

               {

             

            ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();

                    URL[] urls = ((URLClassLoader)sysClassLoader).getURLs();

                    for(int i=0; i< urls.length; i++)

                    {

                        File f = new File(urls[i].getFile());

                         System.out.println(f.getPath());

                    }      

             

                    System.out.println("=== Properties ===");

                    System.out.println("java.endorsed.dirs="+System.getProperty("java.endorsed.dirs"));

             

                  // The stock picketlink-sts uses the jmx-console domain

                  WSTrustClient client = new WSTrustClient("PicketLinkSTS", "PicketLinkSTSPort",

                            "http://localhost:8080/picketlink-sts/PicketLinkSTS",

                            new SecurityInfo("admin", "admin"));

             

                  // issue a SAML assertion using the client API.

                  Element assertion = null;

                  try

                  {

                     assertion = client.issueToken(SAMLUtil.SAML2_TOKEN_TYPE);

                  }

                  catch (WSTrustException wse)

                  {

                     System.out.println("Unable to issue assertion: " + wse.getMessage());

                     wse.printStackTrace();

                     System.exit(1);

                  }

             

                  // print the assertion for demonstration purposes.

                  System.out.println("\nSuccessfully issued a standard SAMLV2.0 Assertion!");

                 }

            }

            • 3. Picketlink-STS v2
              David Braun Newbie

              Found some more info that might shed some light on the issue.

               

              The current test env uses jbossws-cxf-3.3.1.GA.  Jboss 6 final uses jboss-ws-cxf-3.4.1.GA

              http://community.jboss.org/wiki/JBossWS-SupportedTargetContainers

               

              I have verified the the test enviroment works but the stock jboss 6 final does not.

               

              test env log

              ...

              08:13:50,510 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.3.1.GA

              ...

              08:15:20,931 INFO  [org.apache.cxf.transport.servlet.AbstractCXFServlet] Servlet transport factory already registered

              08:15:21,180 INFO  [org.picketlink.identity.federation.core.wstrust.PicketLinkSTS] Loading STS configuration

              08:15:21,254 INFO  [org.picketlink.identity.federation.core.wstrust.PicketLinkSTS] picketlink-sts.xml configuration file loaded

              08:15:21,802 INFO  [org.picketlink.identity.federation.core.wstrust.PicketLinkSTS] Loading STS configuration

              08:15:21,805 INFO  [org.picketlink.identity.federation.core.wstrust.PicketLinkSTS] picketlink-sts.xml configuration file loaded

               

               

              6 final log

              ...

              08:06:47,443 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

              ...

              08:07:12,848 INFO  [org.apache.cxf.transport.servlet.AbstractCXFServlet] Servlet transport factory already registered

              08:07:13,119 ERROR [org.jboss.wsf.common.invocation.InvocationHandlerJAXWS] Method invocation failed with exception: null: java.lang.reflect.InvocationTargetException

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]

                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

                      at org.jboss.wsf.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:102) [:1.4.1.GA]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:164) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:112) [:3.4.1.GA]

                      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) [:2.3.1]

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_24]

                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_24]

                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_24]

                      at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) [:2.3.1]

                      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106) [:2.3.1]

                      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) [:2.3.1]

                      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113) [:2.3.1]

                      at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97) [:2.3.1]

                      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461) [:2.3.1]

                      at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.CXFNonSpringServletExt.invoke(CXFNonSpringServletExt.java:90) [:3.4.1.GA]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179) [:2.3.1]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103) [:2.3.1]

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [:1.0.0.Final]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159) [:2.3.1]

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

                      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593) [:6.0.0.Final]

                      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]

                      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]

                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

                      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

                      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

                      at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

              Caused by: javax.xml.ws.WebServiceException: Exception parsing token request: [com.ctc.wstx.exc.WstxLazyException] Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:97) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:58) [:2.0.0-SNAPSHOT]

                      ... 45 more

              Caused by: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72) [:3.2.6]

                      at org.picketlink.identity.federation.core.parsers.wst.WSTrustParser.parse(WSTrustParser.java:48) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.parsers.AbstractParser.parse(AbstractParser.java:91) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:93) [:2.0.0-SNAPSHOT]

                      ... 46 more

              Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) [:3.2.6]

                      at com.ctc.wstx.evt.WstxEventReader.peek(WstxEventReader.java:306) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.peek(FilteredEventReader.java:120) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:70) [:3.2.6]

                      ... 49 more

               

              08:07:13,139 WARN  [org.apache.cxf.phase.PhaseInterceptorChain] Application {urn:picketlink:identity-federation:sts}PicketLinkSTS#{http://cxf.apache.org/jaxws/provider}invoke has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Exception parsing token request: [com.ctc.wstx.exc.WstxLazyException] Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker.createFault(AbstractInvoker.java:229) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:184) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:112) [:3.4.1.GA]

                      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) [:2.3.1]

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_24]

                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_24]

                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_24]

                      at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) [:2.3.1]

                      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106) [:2.3.1]

                      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) [:2.3.1]

                      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113) [:2.3.1]

                      at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97) [:2.3.1]

                      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461) [:2.3.1]

                      at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.CXFNonSpringServletExt.invoke(CXFNonSpringServletExt.java:90) [:3.4.1.GA]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179) [:2.3.1]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103) [:2.3.1]

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [:1.0.0.Final]

                      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159) [:2.3.1]

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

                      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593) [:6.0.0.Final]

                      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]

                      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]

                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

                      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

                      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

                      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

                      at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

              Caused by: javax.xml.ws.WebServiceException: Exception parsing token request: [com.ctc.wstx.exc.WstxLazyException] Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:97) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:58) [:2.0.0-SNAPSHOT]

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]

                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

                      at org.jboss.wsf.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:102) [:1.4.1.GA]

                      at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:164) [:3.4.1.GA]

                      ... 39 more

              Caused by: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72) [:3.2.6]

                      at org.picketlink.identity.federation.core.parsers.wst.WSTrustParser.parse(WSTrustParser.java:48) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.parsers.AbstractParser.parse(AbstractParser.java:91) [:2.0.0-SNAPSHOT]

                      at org.picketlink.identity.federation.core.wstrust.PicketLinkSTS.invoke(PicketLinkSTS.java:93) [:2.0.0-SNAPSHOT]

                      ... 46 more

              Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

              at [row,col {unknown-source}]: [1,0]

                      at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040) [:3.2.6]

                      at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) [:3.2.6]

                      at com.ctc.wstx.evt.WstxEventReader.peek(WstxEventReader.java:306) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.peek(FilteredEventReader.java:120) [:3.2.6]

                      at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:70) [:3.2.6]

                      ... 49 more

              • 4. Picketlink-STS v2
                David Braun Newbie

                Can the test env be moved to this version?

                JBoss Web Services - Stack CXF Server 3.4.1.GA

                • 5. Picketlink-STS v2
                  Anil Saldanha Master

                  David,  we will do that in due course of time.  Can you use the CXF version that we use in our test environment in the meantime? We have other higher priority items to tackle right now.

                  • 6. Picketlink-STS v2
                    David Braun Newbie

                    Do you happen to know if these errors are going to effect other jbossws functions?    For some reason these errors look like they would lead to other issues down stream.  Do you have an idea where the general issue might be?  I have replicated most of the stack calls on the line side to determine that the parser does work, but some where in cxf the message isn't going through.

                     

                    DEPLOYMENTS MISSING DEPENDENCIES:

                      Deployment "ManagedBeanSwitchBoardDeployer" is missing the following dependencies:

                        Dependency "class org.jboss.switchboard.mc.JndiEnvironmentProcessor" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'class org.jboss.switchboard.mc.JndiEnvironmentProcessor' **")

                      Deployment "org.jboss.switchboard.EJBEnvironmentSwitchBoardDeployer" is missing the following dependencies:

                        Dependency "class org.jboss.switchboard.mc.JndiEnvironmentProcessor" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'class org.jboss.switchboard.mc.JndiEnvironmentProcessor' **")

                      Deployment "org.jboss.switchboard.JndiEnvironmentProcessor" is missing the following dependencies:

                        Dependency "org.jboss.switchboard.ResourceProviderRegistry" (should be in state "Installed", but is actually in state "Instantiated")

                      Deployment "org.jboss.switchboard.ResourceEnvRefResourceProvider" is missing the following dependencies:

                        Dependency "org.jboss.switchboard.WebServiceContextResourceProvider" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'org.jboss.switchboard.WebServiceContextResourceProvider' **")

                      Deployment "org.jboss.switchboard.ResourceProviderRegistry" is missing the following dependencies:

                        Dependency "org.jboss.switchboard.WebServiceRefResourceProvider" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'org.jboss.switchboard.WebServiceRefResourceProvider' **")

                        Dependency "org.jboss.switchboard.ResourceEnvRefResourceProvider" (should be in state "Installed", but is actually in state "Instantiated")

                      Deployment "org.jboss.switchboard.WebEnvironmentSwitchBoardDeployer" is missing the following dependencies:

                        Dependency "class org.jboss.switchboard.mc.JndiEnvironmentProcessor" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'class org.jboss.switchboard.mc.JndiEnvironmentProcessor' **")

                     

                    DEPLOYMENTS IN ERROR:

                      Deployment "class org.jboss.switchboard.mc.JndiEnvironmentProcessor" is in error due to the following reason(s): ** NOT FOUND Depends on 'class org.jboss.switchboard.mc.JndiEnvironmentProcessor' **

                      Deployment "org.jboss.switchboard.WebServiceContextResourceProvider" is in error due to the following reason(s): ** NOT FOUND Depends on 'org.jboss.switchboard.WebServiceContextResourceProvider' **

                      Deployment "org.jboss.switchboard.WebServiceRefResourceProvider" is in error due to the following reason(s): ** NOT FOUND Depends on 'org.jboss.switchboard.WebServiceRefResourceProvider' **

                     

                            at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]

                            at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]

                            at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]

                            at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

                            at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]

                            at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                            at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                            at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                            at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

                    • 7. Re: Picketlink-STS v2
                      David Braun Newbie

                      Has there been any progress on this?