2 Replies Latest reply on Dec 1, 2008 3:45 PM by Guzman Llambi­as

    WS-Secure Conversation Null pointer!

    Guzman Llambi­as Novice

      Hi, I'm doing some tests checking the interoperability between JBoss Metro and WCF in a WS-SecureConversation scenario, where I'm having some problems. The problem occurs while I'm trying to communicate a JBoss Metro Client with a WCF Service. On Glassfish worked fine, but when I migrated it to JBoss an exception occurred.

      I think it's because I'm missing some callback handler config to get the secureContextToken, but I'm not sure. Maybe has something to do with the symmetricBinding of the policy secureContextToken. Not sure. On Glassfish I didn't have to configure any callback handler.

      Got NULL for Username Callback Handler
      2008-11-28 16:06:01,000 DEBUG [com.sun.xml.wss.logging.impl.misc] Got NULL for Password Callback Handler
      



      Here's the log and policies of the WCF Service.

      com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl successfully created com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler@332b9a
      2008-11-28 16:06:00,984 DEBUG [com.sun.xml.wss.logging.impl.misc] LoadClassSilent: could not load class adminadmin
      java.lang.ClassNotFoundException: adminadmin
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.loadClassSilent(DefaultCallbackHandler.java:1560)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.initTrustStore(DefaultCallbackHandler.java:741)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.<init>(DefaultCallbackHandler.java:323)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.configureClientHandler(SecurityClientPipe.java:524)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.<init>(SecurityClientPipe.java:127)
       at com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler.createClient(PipelineAssemblerFactoryImpl.java:230)
       at com.sun.xml.ws.api.pipe.TubelineAssemblerFactory$TubelineAssemblerAdapter.createClient(TubelineAssemblerFactory.java:136)
       at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:423)
       at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:589)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:329)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:311)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:304)
       at javax.xml.ws.Service.getPort(Service.java:92)
       at client.BPS.getSecureConversationEndpoint(BPS.java:56)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      2008-11-28 16:06:00,984 DEBUG [com.sun.xml.wss.logging.impl.misc] LoadClassSilent: could not load class adminadmin
      java.lang.ClassNotFoundException: No ClassLoaders found for: adminadmin
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.loadClassSilent(DefaultCallbackHandler.java:1573)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.initTrustStore(DefaultCallbackHandler.java:741)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.<init>(DefaultCallbackHandler.java:323)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.configureClientHandler(SecurityClientPipe.java:524)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.<init>(SecurityClientPipe.java:127)
       at com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler.createClient(PipelineAssemblerFactoryImpl.java:230)
       at com.sun.xml.ws.api.pipe.TubelineAssemblerFactory$TubelineAssemblerAdapter.createClient(TubelineAssemblerFactory.java:136)
       at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:423)
       at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:589)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:329)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:311)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:304)
       at javax.xml.ws.Service.getPort(Service.java:92)
       at client.BPS.getSecureConversationEndpoint(BPS.java:56)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      2008-11-28 16:06:01,000 DEBUG [com.sun.xml.wss.logging.impl.misc] LoadClassSilent: could not load class adminadmin
      java.lang.ClassNotFoundException: adminadmin
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.loadClassSilent(DefaultCallbackHandler.java:1560)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.initKeyStore(DefaultCallbackHandler.java:795)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.<init>(DefaultCallbackHandler.java:324)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.configureClientHandler(SecurityClientPipe.java:524)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.<init>(SecurityClientPipe.java:127)
       at com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler.createClient(PipelineAssemblerFactoryImpl.java:230)
       at com.sun.xml.ws.api.pipe.TubelineAssemblerFactory$TubelineAssemblerAdapter.createClient(TubelineAssemblerFactory.java:136)
       at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:423)
       at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:589)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:329)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:311)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:304)
       at javax.xml.ws.Service.getPort(Service.java:92)
       at client.BPS.getSecureConversationEndpoint(BPS.java:56)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      2008-11-28 16:06:01,000 DEBUG [com.sun.xml.wss.logging.impl.misc] LoadClassSilent: could not load class adminadmin
      java.lang.ClassNotFoundException: No ClassLoaders found for: adminadmin
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.loadClassSilent(DefaultCallbackHandler.java:1573)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.initKeyStore(DefaultCallbackHandler.java:795)
       at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.<init>(DefaultCallbackHandler.java:324)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.configureClientHandler(SecurityClientPipe.java:524)
       at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.<init>(SecurityClientPipe.java:127)
       at com.sun.xml.ws.assembler.PipelineAssemblerFactoryImpl$WsitPipelineAssembler.createClient(PipelineAssemblerFactoryImpl.java:230)
       at com.sun.xml.ws.api.pipe.TubelineAssemblerFactory$TubelineAssemblerAdapter.createClient(TubelineAssemblerFactory.java:136)
       at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:423)
       at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:589)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:329)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:311)
       at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:304)
       at javax.xml.ws.Service.getPort(Service.java:92)
       at client.BPS.getSecureConversationEndpoint(BPS.java:56)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      2008-11-28 16:06:01,000 DEBUG [com.sun.xml.wss.logging.impl.misc] Got NULL for Username Callback Handler
      2008-11-28 16:06:01,000 DEBUG [com.sun.xml.wss.logging.impl.misc] Got NULL for Password Callback Handler
      2008-11-28 16:06:01,531 DEBUG [com.sun.xml.ws.api.pipe.Fiber] engine-JAX-WS RI 2.1.3-b02-: Stub for http://192.168.60.137:8000/BPSServicefiber-1 created
      2008-11-28 16:06:01,546 DEBUG [com.sun.xml.ws.api.pipe.Fiber] engine-JAX-WS RI 2.1.3-b02-: Stub for http://192.168.60.137:8000/BPSServicefiber-1 running by http-192.168.60.136-8080-1
      2008-11-28 16:06:01,593 DEBUG [com.sun.xml.ws.security.secconv] WSSC1006:Symmetric Binding KeySize: 128. Default 256.
      2008-11-28 16:06:01,687 DEBUG [com.sun.xml.ws.api.pipe.Fiber] engine-JAX-WS RI 2.1.3-b02-: Stub for http://192.168.60.137:8000/BPSServicefiber-1 completed
      2008-11-28 16:06:01,687 ERROR [STDERR] java.lang.NullPointerException
      2008-11-28 16:06:01,687 ERROR [STDERR] at com.sun.xml.stream.writers.XMLStreamWriterImpl.getProperty(XMLStreamWriterImpl.java:441)
      2008-11-28 16:06:01,687 ERROR [STDERR] at com.sun.xml.ws.streaming.XMLStreamWriterUtil.getOutputStream(XMLStreamWriterUtil.java:77)
      2008-11-28 16:06:01,687 ERROR [STDERR] at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:313)
      2008-11-28 16:06:01,687 ERROR [STDERR] at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.security.secconv.WSSCPlugin.printMessageAsString(WSSCPlugin.java:380)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest(WSSCPlugin.java:260)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.security.secconv.WSSCPlugin.process(WSSCPlugin.java:198)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.invokeSCPlugin(SecurityClientPipe.java:291)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.wss.jaxws.impl.SecurityClientPipe.process(SecurityClientPipe.java:165)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.client.Stub.process(Stub.java:248)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      2008-11-28 16:06:01,703 ERROR [STDERR] at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
      2008-11-28 16:06:01,703 ERROR [STDERR] at $Proxy129.createDocument(Unknown Source)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.jsp.index_jsp._jspService(index_jsp.java:75)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      2008-11-28 16:06:01,703 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      2008-11-28 16:06:01,703 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      2008-11-28 16:06:01,703 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      2008-11-28 16:06:01,703 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      


      Here are the WCF services policies
      <wsp:Policy wsu:Id="SecureConversationEndpoint_policy">
      <wsp:ExactlyOne>
      <wsp:All>
      <sp:SymmetricBinding>
      <wsp:Policy>
      <sp:ProtectionToken>
      <wsp:Policy>
      <sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
      <wsp:Policy>
      <sp:RequireDerivedKeys/>
      <sp:BootstrapPolicy>
      <wsp:Policy>
      <sp:SignedParts>
      <sp:Body/>
      <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
      <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
      </sp:SignedParts>
      <sp:EncryptedParts>
      <sp:Body/>
      </sp:EncryptedParts>
      <sp:SymmetricBinding>
      <wsp:Policy>
      <sp:ProtectionToken>
      <wsp:Policy>
      <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
      <wsp:Policy>
      <sp:RequireDerivedKeys/>
      <sp:RequireThumbprintReference/>
      <sp:WssX509V3Token10/>
      </wsp:Policy>
      </sp:X509Token>
      </wsp:Policy>
      </sp:ProtectionToken>
      <sp:AlgorithmSuite>
      <wsp:Policy>
      <sp:Basic128/>
      </wsp:Policy>
      </sp:AlgorithmSuite>
      <sp:Layout>
      <wsp:Policy>
      <sp:Strict/>
      </wsp:Policy>
      </sp:Layout>
      <sp:IncludeTimestamp/>
      <sp:EncryptSignature/>
      <sp:OnlySignEntireHeadersAndBody/>
      </wsp:Policy>
      </sp:SymmetricBinding>
      <sp:EndorsingSupportingTokens>
      <wsp:Policy>
      <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
      <wsp:Policy>
      <sp:RequireThumbprintReference/>
      <sp:WssX509V3Token10/>
      </wsp:Policy>
      </sp:X509Token>
      </wsp:Policy>
      </sp:EndorsingSupportingTokens>
      <sp:Wss11>
      <wsp:Policy>
      <sp:MustSupportRefKeyIdentifier/>
      <sp:MustSupportRefIssuerSerial/>
      <sp:MustSupportRefThumbprint/>
      <sp:MustSupportRefEncryptedKey/>
      <sp:RequireSignatureConfirmation/>
      </wsp:Policy>
      </sp:Wss11>
      <sp:Trust10>
      <wsp:Policy>
      <sp:MustSupportIssuedTokens/>
      <sp:RequireClientEntropy/>
      <sp:RequireServerEntropy/>
      </wsp:Policy>
      </sp:Trust10>
      </wsp:Policy>
      </sp:BootstrapPolicy>
      </wsp:Policy>
      </sp:SecureConversationToken>
      </wsp:Policy>
      </sp:ProtectionToken>
      <sp:AlgorithmSuite>
      <wsp:Policy>
      <sp:Basic128/>
      </wsp:Policy>
      </sp:AlgorithmSuite>
      <sp:Layout>
      <wsp:Policy>
      <sp:Strict/>
      </wsp:Policy>
      </sp:Layout>
      <sp:IncludeTimestamp/>
      <sp:EncryptSignature/>
      <sp:OnlySignEntireHeadersAndBody/>
      </wsp:Policy>
      </sp:SymmetricBinding>
      <sp:Wss11>
      <wsp:Policy>
      <sp:MustSupportRefKeyIdentifier/>
      <sp:MustSupportRefIssuerSerial/>
      <sp:MustSupportRefThumbprint/>
      <sp:MustSupportRefEncryptedKey/>
      </wsp:Policy>
      </sp:Wss11>
      <sp:Trust10>
      <wsp:Policy>
      <sp:MustSupportIssuedTokens/>
      <sp:RequireClientEntropy/>
      <sp:RequireServerEntropy/>
      </wsp:Policy>
      </sp:Trust10>
      <wsaw:UsingAddressing/>
      </wsp:All>
      </wsp:ExactlyOne>
      </wsp:Policy>