Skip to main content

WSS1925: No CipherValue found in CipherData

38 replies [Last post]
dabla
Offline
Joined: 2010-03-31

Hi,

I few days ago I needed to implement a webservice client (consumer) based on a secured webservice with Username Authentication with Symmetric Keys. The client was Java (Metro) and the server was WCF (.NET). Thanks to your support back then, I succeeded into implementing this, see: http://forums.java.net/jive/thread.jspa?threadID=77765&tstart=45

Now as a POC, we would like to do the exact opposite, namely a .NET client and Java server based on the exact same WSDL. As a test if my server implementation is correct, I use the same client code which connected to the WCF service to test my server implementation. I think I'm almost there, still when I try to call my service implementation, I receive the following error at client side:

Apr 12, 2010 4:50:40 PM com.sun.xml.ws.security.opt.impl.incoming.processor.Ciph
erDataProcessor readAsStream
SEVERE: WSS1925: No CipherValue found in CipherData
javax.xml.ws.WebServiceException: java.lang.AssertionError
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(Security
ClientTube.java:243)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.client.Stub.process(Stub.java:319)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:109)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
at $Proxy44.getData(Unknown Source)
at org.tempuri.Service1Test.testGetData(Service1Test.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:1009)
Caused by: java.lang.AssertionError
at com.sun.xml.ws.message.stream.StreamMessage.(StreamMessage.java
:167)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateM
essage(SecurityRecipient.java:232)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(Secu
rityTubeBase.java:462)
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientResponsePa
cket(SecurityClientTube.java:412)
at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest(WSSCPlugin.jav
a:401)
at com.sun.xml.ws.security.secconv.WSSCPlugin.process(WSSCPlugin.java:26
0)
at com.sun.xml.ws.security.secconv.impl.client.SCTokenProviderImpl.issue
(SCTokenProviderImpl.java:131)
at com.sun.xml.ws.api.security.trust.client.IssuedTokenManager.getIssued
Token(IssuedTokenManager.java:79)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.827 sec
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.invokeSCPlugin(Security
ClientTube.java:464)
Running org.tempuri.KeyStoreCallbackHandlerTest
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPac
ket(SecurityClientTube.java:267)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(Security
ClientTube.java:240)

... 37 more

I'm using the strong encryption jars (as well on the client as server, same JVM). I'm using Java 1.5.0_22 and deployed the service implementation on OC4J 10.1.3.5.0 (Oracle Application Server). I see no error's at server side, although the problem must be there as the same client succeeds at calling the WCF based service. At server side, when metro boots up, I see following warning but I don't know if those are problematic:

2010-04-12 16:50:09.473 NOTIFICATION Starting application : Metro 2 WCF Demo
2010-04-12 16:50:09.473 NOTIFICATION Initializing ClassLoader(s)
2010-04-12 16:50:09.473 NOTIFICATION Initializing EJB container
2010-04-12 16:50:09.473 NOTIFICATION Loading connector(s)
2010-04-12 16:50:09.536 NOTIFICATION Starting up resource adapters
2010-04-12 16:50:09.536 NOTIFICATION Initializing EJB sessions
2010-04-12 16:50:09.551 NOTIFICATION Committing ClassLoader(s)
2010-04-12 16:50:09.551 NOTIFICATION Initialize metro-2-wcf-demo-war-1.0.0 begin
s...
2010-04-12 16:50:09.551 NOTIFICATION Initialize metro-2-wcf-demo-war-1.0.0 ends.
..
2010-04-12 16:50:09.551 NOTIFICATION Started application : Metro 2 WCF Demo
2010-04-12 16:50:09.551 NOTIFICATION Binding web application(s) to site default-
web-site begins...
2010-04-12 16:50:09.567 NOTIFICATION Binding metro-2-wcf-demo-war-1.0.0 web-modu
le for application Metro 2 WCF Demo to site default-web-site under context root
HelloJava
Apr 12, 2010 4:50:09 PM com.sun.xml.ws.transport.http.servlet.WSServletContextLi
stener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
12/04/2010 16:50:10:129 - (org.tempuri.Service1Impl:21 ) - Service1Impl
Apr 12, 2010 4:50:10 PM [com.sun.xml.ws.policy.PolicyWSDLParserExtension] finis
hed
SEVERE: Illegal character in path at index 16: file:/C:/Program Files/Oracle/oc4
j_extended_101350/j2ee/home/applications/Metro 2 WCF Demo/metro-2-wcf-demo-war-1
.0.0/WEB-INF/wsdl/Service1.wsdl#WS2007HttpBinding_IService1_GetData_Output_Polic
y
Apr 12, 2010 4:50:10 PM [com.sun.xml.ws.policy.PolicyWSDLParserExtension] finis
hed
SEVERE: Illegal character in path at index 16: file:/C:/Program Files/Oracle/oc4
j_extended_101350/j2ee/home/applications/Metro 2 WCF Demo/metro-2-wcf-demo-war-1
.0.0/WEB-INF/wsdl/Service1.wsdl#WS2007HttpBinding_IService1_GetData_Input_Policy

Apr 12, 2010 4:50:10 PM [com.sun.xml.ws.policy.PolicyWSDLParserExtension] finis
hed
SEVERE: Illegal character in path at index 16: file:/C:/Program Files/Oracle/oc4
j_extended_101350/j2ee/home/applications/Metro 2 WCF Demo/metro-2-wcf-demo-war-1
.0.0/WEB-INF/wsdl/Service1.wsdl#WS2007HttpBinding_IService1Policy
Apr 12, 2010 4:50:12 PM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSE
ndpoint,name=Service1-WS2007HttpBinding_IService1
Apr 12, 2010 4:50:13 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate

INFO: WSSERVLET14: JAX-WS servlet initializing
2010-04-12 16:50:13.550 NOTIFICATION Initializing Servlet: com.sun.xml.ws.transp
ort.http.servlet.WSServlet for web application metro-2-wcf-demo-war-1.0.0
2010-04-12 16:50:13.550 NOTIFICATION Binding web application(s) to site default-
web-site ends...
2010-04-12 16:50:13.566 NOTIFICATION Application Deployer for Metro 2 WCF Demo C
OMPLETES. Operation time: 35320 msecs

The usernameValidator and keystore definitions from the wsdl on the server are well initialised, I've done it via Java based implementations and the certificate as well as the credentials are processed succesfully. It seems the call itself to the service method doesn't succeed or doesn't reach it. I've added a logging statement at the beginning of the service method and I don't see it in the loggings. Maybe it already crashes before reaching this method but then why don't I see an error in the server logging?

Any help or suggestion is welcome :)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dabla
Offline
Joined: 2010-03-31

Hi Suresh,

See http://forums.java.net/jive/message.jspa?messageID=350061.

As I suggested, this is a mix up of different jar versions which leads to this problem, I don't think there is something wrong with the wsdl.

Kind regards,
David

ritzmann
Offline
Joined: 2003-06-19

I agree. This here:
> 20/04/2010 12:59:51:062 - (org.tempuri.Service1Impl:24 ) - Service1Impl WSP0071: Multiple policy assertion creators try to register for namespace 'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old creator`s class: 'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new creator`s class: 'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.

is a clear indication that there are two versions of Metro on the classpath. That needs to be sorted out first. If Metro is already installed in the app server, you cannot have it in WEB-INF/lib as well.

dabla
Offline
Joined: 2010-03-31

Hi ritzmann,

I agree with you, and that will probably be the case in suresh case, as he uses glassfish, which is already pre bundled with metro. On the other hand, I'm using OC4J (also tested on Tomcat), and there the jars aren't pre-bundled with the application server, that's why I included those in the WEB-INF/lib.

Suresh, maybe you should remove all metro related depencies in the war pom.xml. In attachment a modified pom.xml for the war project you can test with.

Kind regards,
David

dabla
Offline
Joined: 2010-03-31

Hi Suresh,

Thanks for the clarification. I noticed that there were indeed some parts missing and it didn't have the same security policies, but now I'm totally confused.

1. In your project under: 'web\src\conf\xml-resources\web-services\NewWebServiceFromWSDL\wsdl'

There is a smaller Service1.wsdl file than the original one from my projec, that's also the one I took by mistake as you said (which leads to a NullPointerException). Also it uses a Basic128 AlgorithmSuite, mine uses a Basic256? Also this file only contains a

definition.

2. Then under 'web\build\web\WEB-INF\wsdl\NewWebServiceFromWSDL' there is also a Service1.wsdl file, which is exactly the same as the original one from my project except it does only have a



definition, but no KeyStore defintion as described in point 1.

How come there are 2 different wsdl files with different security policies and seperate KeyStore and Validator definitions?

Thanks,
David

suresh

On Monday 19 April 2010 07:31 PM, metro@javadesktop.org wrote:
> Hi Suresh,
>
> Thanks for the clarification. I noticed that there were indeed some parts missing and it didn't have the same security policies, but now I'm totally confused.
>
> 1. In your project under: 'web\src\conf\xml-resources\web-services\NewWebServiceFromWSDL\wsdl'
>
As a workaround you can forget about this wsdl..it is showing very early
stage wsdl when i build the service ..yes its my mistake and some
config. is missing in this..
it doesn't create any problem for you...so please forget about this
right now
> There is a smaller Service1.wsdl file than the original one from my projec, that's also the one I took by mistake as you said (which leads to a NullPointerException). Also it uses a Basic128 AlgorithmSuite, mine uses a Basic256? Also this file only contains a
>
>
>
> definition.
>
> 2. Then under 'web\build\web\WEB-INF\wsdl\NewWebServiceFromWSDL' there is also a Service1.wsdl file, which is exactly the same as the original one from my project except it does only have a
>
>
>
>

>
> definition, but no KeyStore defintion as described in point 1.
>

you please consider this wsdl. This wsdl comes into picture when the
service is running...validator config. is important here to validate
username/password...
Actually keystore config. is not required here as the service's
certificate is present in the Identity config. of the wsdl...client can
take this wsdl..thats why it is not throwing any exception even though
the keystore config. is missing the wsdl...
i will send the updated service tomorrow ...
Thanks
Suresh

> How come there are 2 different wsdl files with different security policies and seperate KeyStore and Validator definitions?
>
> Thanks,
> David
> [Message sent by forum member 'dabla']
>
> http://forums.java.net/jive/thread.jspa?messageID=397817
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

dabla
Offline
Joined: 2010-03-31

Hello Suresh,

I tried deploying this service with the second wsdl (the one without the KeyStore definition but with the usernameValidator as you mentioned I should use), but it doesn't work when deployed on OC4J. I receive the following exception:

Apr 20, 2010 8:43:23 AM com.sun.xml.ws.transport.http.servlet.WSServletContextLi
stener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
20/04/2010 08:43:24:361 - (org.tempuri.Service1Impl:24 ) - Service1Impl
Apr 20, 2010 8:43:25 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: null
Apr 20, 2010 8:43:25 AM com.sun.xml.ws.security.impl.policy.Constants log_invalid_assertion
WARNING: SP0100: Policy assertion Assertion[com.sun.xml.ws.policy.sourcemodel.DefaultPolicyAssertionCreator$DefaultPolicyAssertion] {
assertion data {
namespace = 'http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702'
prefix = 'sp'
local name = 'MustNotSendAmend'
value = 'null'
optional = 'false'
ignorable = 'false'
no attributes
}
no parameters
no nested policy
} is not supported under SecureConversationToken assertion.20/04/2010 08:43:26:581 - (org.tempuri.Service2Impl:22 ) - Service2Impl
Apr 20, 2010 8:43:26 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: null
Apr 20, 2010 8:43:26 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate
INFO: WSSERVLET14: JAX-WS servlet initializing
10/04/20 08:43:26 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
20/04/2010 08:43:50:710 - (org.tempuri.Service2Impl:27 ) - getData
20/04/2010 08:43:50:742 - (org.tempuri.Service2Impl:27 ) - getData
Apr 20, 2010 8:43:53 AM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getKeyS
tore
SEVERE: Could not locate KeyStore, check keystore assertion in WSIT configuration
Apr 20, 2010 8:43:53 AM com.sun.xml.wss.impl.misc.DefaultCallbackHandler getPrivateKeyForThumbprint
SEVERE: WSS1505: IO Exception occured: failed to get key/certificate from keystore (not necesaarily i/o excep)
com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2251)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1839)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:599)
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:488)
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:757)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:439)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:143)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:148)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:128)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:206)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.(EncryptedKey.java:122)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:426)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:283)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:225)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Apr 20, 2010 8:43:53 AM com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl getPrivateKey
SEVERE: WSS0216: An Error occurred using Callback Handler for : DecryptionKeyCallback.ThumbprintBasedRequest
Apr 20, 2010 8:43:53 AM com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl getPrivateKey
SEVERE: WSS0217: An Error occurred using Callback Handler handle() Method.java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Co
uld not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1866)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:599)
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:488)
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:757)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:439)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:143)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:148)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:128)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:206)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.(EncryptedKey.java:122)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:426)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:283)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:225)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2251)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1839)
... 37 more
Apr 20, 2010 8:43:53 AM com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl resolveKeyIdentifier
SEVERE: WSS1377: An Execption occured while trying to resolve KeyInfo
com.sun.xml.wss.XWSSecurityException: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:493)
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:757)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:439)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:143)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:148)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:128)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:206)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.(EncryptedKey.java:122)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:426)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:283)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:225)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1866)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:599)
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:488)
... 35 more
Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2251)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1839)
... 37 more
Apr 20, 2010 8:43:53 AM com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor processKeyIdentifier
SEVERE: WSS1816: Error occurred while resolving KeyIdentifier
javax.xml.crypto.KeySelectorException: com.sun.xml.wss.XWSSecurityException: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:861)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:439)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:143)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:148)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:128)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:206)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.(EncryptedKey.java:122)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:426)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:283)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:225)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.wss.XWSSecurityException: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check
keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:493)
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:757)
... 34 more
Caused by: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configurati
on
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1866)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:599)
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:488)
... 35 more
Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2251)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1839)
... 37 more
Apr 20, 2010 8:43:53 AM com.sun.xml.wss.jaxws.impl.SecurityServerTube processRequest
SEVERE: WSSTUBE0025: Error in Verifying Security in the Inbound Message.
com.sun.xml.wss.XWSSecurityException: WSS1816: Error occurred while resolving KeyIdentifier
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:442)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:143)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:148)
at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:128)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.process(EncryptedKey.java:206)
at com.sun.xml.ws.security.opt.impl.incoming.EncryptedKey.(EncryptedKey.java:122)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:426)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:283)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:225)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.crypto.KeySelectorException: com.sun.xml.wss.XWSSecurityException: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:861)
at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processKeyIdentifier(SecurityTokenProcessor.java:439)
... 33 more
Caused by: com.sun.xml.wss.XWSSecurityException: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check
keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:493)
at com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl.resolveKeyIdentifier(KeySelectorImpl.java:757)
... 34 more
Caused by: java.lang.RuntimeException: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1866)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.handle(DefaultCallbackHandler.java:599)
at com.sun.xml.wss.impl.misc.DefaultSecurityEnvironmentImpl.getPrivateKey(DefaultSecurityEnvironmentImpl.java:488)
... 35 more
Caused by: com.sun.xml.wss.impl.XWSSecurityRuntimeException: Could not locate KeyStore, check keystore assertion in WSIT configuration
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getKeyStore(DefaultCallbackHandler.java:2251)
at com.sun.xml.wss.impl.misc.DefaultCallbackHandler.getPrivateKeyForThumbprint(DefaultCallbackHandler.java:1839)
... 37 more

I have a feeling that metro doesn't need the keystore defintion when deployed on glassfish, but when you use metro on another application server, it needs the defintion. The reason I think this is because in your sample application, there isn't any sun-jaxws.xml file nor the defintion of a com.sun.xml.ws.transport.http.servlet.WSServlet in your web.xml, which I found strange.

Kind regards,
David

suresh

If so , please try to add keystore config. to the wsdl and just deploy
it with out cleaning...
and now i am able to create an EAR with the attachment you sent and just
deployed on glassfish..i will create a client for this and will try to
see the result...
are there any special things to configure for running the deployed service??
Thanks
Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

dabla
Offline
Joined: 2010-03-31

Hi Suresh,

Thanks for the fast reply :) There should be no special requirements to run the deployed service, everything is packed in the war/ear. The service endpoint will be: http://yourmachinename:yourport/HelloJava/Service1.svc/secure

I already tried adding the keystore definition to it, in fact that's how my project was initially set up, then I receive the famous WSS1925: No CipherValue found in CipherData exception.

To be clear: I'm sure it's not an OC4J issue, I tried deploying the same application on a Tomcat, and I have the same issue.

Or I must be missing some extra configuration, or it must be a bug when used outside glassfish...

Kind regards,
David

Message was edited by: dabla

suresh

Hi, when i deploy the service i see some policy error while parsing the
wsdl :
because of this error , i am unable to run the service..
please see the log message:
Thanks
Suresh
log:
PWC4011: Unable to set request character encoding to UTF-8 from context
, because request parameters have already been read, or
ServletRequest.getReader() has already been called
deployed with moduleid = metro-2-wcf-demo-ear-1.0.0
WSSERVLET12: JAX-WS context listener initializing
20/04/2010 12:59:51:062 - (org.tempuri.Service1Impl:24 ) - Service1Impl
WSP0071: Multiple policy assertion creators try to register for
namespace 'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old
creator`s class:
'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new
creator`s class:
'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.
WSP0071: Multiple policy assertion creators try to register for
namespace 'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old
creator`s class:
'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new
creator`s class:
'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.
WSP1018: Policy exception occured when finishing WSDL parsing
com.sun.xml.ws.policy.PolicyException: WSP0071: Multiple policy
assertion creators try to register for namespace
'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old creator`s class:
'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new
creator`s class:
'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.initPolicyAssertionCreatorsMap(PolicyModelTranslator.java:184)
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.(PolicyModelTranslator.java:150)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:95)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
at
com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
at
com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1051)
at
com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
at
com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:229)
at
com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
WSSERVLET11: failed to parse runtime descriptor:
javax.xml.ws.WebServiceException: WSP1018: Policy exception occured when
finishing WSDL parsing
javax.xml.ws.WebServiceException: WSP1018: Policy exception occured when
finishing WSDL parsing
at
com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1055)
at
com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
at
com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:229)
at
com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254)
at
com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1177)
at
com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
at
com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
at
com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:240)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:159)
at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:538)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.ws.policy.PolicyException: WSP0071: Multiple
policy assertion creators try to register for namespace
'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old creator`s class:
'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new
creator`s class:
'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.initPolicyAssertionCreatorsMap(PolicyModelTranslator.java:184)
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.(PolicyModelTranslator.java:150)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:95)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
at
com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
at
com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1051)
at
com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
at
com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:229)
at
com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
... 1 more
WebModule[/HelloJava]PWC1275: Exception sending context initialized
event to listener instance of class
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
failed to parse runtime descriptor: javax.xml.ws.WebServiceException:
WSP1018: Policy exception occured when finishing WSDL parsing
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:118)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:986)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:970)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1649)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1254)
at
com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1177)
at
com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
at
com.sun.enterprise.server.ExtendedApplicationLoader.doLoad(ExtendedApplicationLoader.java:134)
at
com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:240)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:959)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:943)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:467)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:390)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:373)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:170)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:159)
at
com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:538)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.ws.*WebServiceException: WSP1018: Policy exception
occured when finishing WSDL parsing*
at
com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1055)
at
com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
at
com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:229)
at
com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
... 47 more
Caused by: *com.sun.xml.ws.policy.PolicyException: WSP0071: Multiple
policy assertion creators try to register for namespace
'http://schemas.xmlsoap.org/ws/2004/08/addressing'. Old creator`s class:
'com.sun.xml.ws.addressing.impl.policy.AddressingPolicyAssertionCreator', new
creator`s class:
*'com.sun.xml.ws.security.addressing.impl.policy.AddressingPolicyAssertionCreator'.
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.initPolicyAssertionCreatorsMap(PolicyModelTranslator.java:184)
at
com.sun.xml.ws.policy.sourcemodel.PolicyModelTranslator.(PolicyModelTranslator.java:150)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:95)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
at
com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
at
com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
at
com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
at
com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1051)
at
com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
at
com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:229)
at
com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4655)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5364)
at com.sun.enterprise.web.WebModule.start(WebModule.java:345)
at
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
at
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
at
com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
... 1 more
PWC1306: Startup of context /HelloJava failed due to previous errors
WSSERVLET13: JAX-WS context listener destroyed
classLoader = WebappClassLoader
delegate: true
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
EJBClassLoader :
urlSet = [URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/classes/,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-api-osgi-2.2.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/woodstox-osgi-3.2.1.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/log4j-1.2.6.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/management-api-3.0.0-b012.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-osgi-2.2.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/activation.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jsr173_1.0_api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb1-impl.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-api-osgi-2.1-SNAPSHOT.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-extra-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/metro-2-wcf-demo-jar-1.0.0.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-osgi-2.1-SNAPSHOT.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-extra.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_l10n.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_ja.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_zh.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_fr.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_de.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_es.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_it.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_sw.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_ko.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_zh_TW.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/gmbal-api-only-3.0.0-b023.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/generated/ejb/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/]
doneCalled = false
Parent -> EJBClassLoader :
urlSet = []
doneCalled = false
Parent -> java.net.URLClassLoader@13968f1
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@11eb323

On Tuesday 20 April 2010 12:49 PM, metro@javadesktop.org wrote:
> Hi Suresh,
>
> Thanks for the fast reply :) There should be no special requirements to run the deployed service, everything is packed in the war/ear. The service endpoint will be: http://yourmachinename:yourport/HelloJava/Service1.svc/secure
>
> I already tried adding the keystore definition to it, in fact that's how my project was initially set up, then I receive the famous WSS1925: No CipherValue found in CipherData exception.
>
> Kind regards,
> David
> [Message sent by forum member 'dabla']
>
> http://forums.java.net/jive/thread.jspa?messageID=397964
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

[att1.html]

dabla
Offline
Joined: 2010-03-31

Suresh,

I think the problem is that you have osgi-jars which are mixed in with the regular jars, in the WEB-INF/lib you have a lot of jars (don't know why you have this):

/WEB-INF/classes/
----------> Parent Classloader:
EJBClassLoader :
urlSet = [URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/classes/,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-api-osgi-2.2.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/woodstox-osgi-3.2.1.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/log4j-1.2.6.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/management-api-3.0.0-b012.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-osgi-2.2.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/activation.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jsr173_1.0_api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/jaxb1-impl.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-api-osgi-2.1-SNAPSHOT.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-extra-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/metro-2-wcf-demo-jar-1.0.0.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-osgi-2.1-SNAPSHOT.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-api.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-extra.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_l10n.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_ja.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_zh.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_fr.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_de.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_es.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_it.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_sw.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_ko.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/webservices-rt_zh_TW.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/applications/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/metro-2-wcf-demo-war-1.0.0_war/WEB-INF/lib/gmbal-api-only-3.0.0-b023.jar,
URLEntry :
file:/home/suresh/workspace/SUNWappserver/domains/domain1/generated/ejb/j2ee-apps/metro-2-wcf-demo-ear-1.0.0/]

I only have the following jars in WEB-INF/lib:

gmbal-api-only-3.0.0-b023.jar
jaxb-api-osgi-2.2.jar
jaxb-osgi-2.2.jar
log4j-1.2.6.jar
management-api-3.0.0-b012.jar
metro-2-wcf-demo-jar-1.0.0.jar
webservices-api-osgi-2.1-SNAPSHOT.jar
webservices-osgi-2.1-SNAPSHOT.jar
woodstox-osgi-3.2.1.jar

Which version of maven are you using?

Are the depencies in in the jar pom.xml still set to scope provided?

Thanks,
David

dabla
Offline
Joined: 2010-03-31

Hi Suresh,

Just one small question, I was comparing your server side wsdl with mine, apart from the fact that you are using a file based keystore instead of a CallbackHandler based Java implementation, I was wondering where your PlainTextPasswordValidator definition is? I'm unable to find any definition in your web project telling which validator it must use (or any reference to that class whatsoever), or is this defined in the appserver itself, anyhow I'm still confused...

Kind regards,
David

suresh

Hi,
The PlainTextPasswordValidator class is in sw package(src/java/sw).
in the Service1.wsdl, i am using an username validator like this:
xmlns:sc="http://schemas.sun.com/2006/03/wss/server">
classname="sw.PlainTextPasswordValidator"/>

Please let me know if you still need any clarification!!
Thanks
Suresh

On Monday 19 April 2010 06:40 PM, metro@javadesktop.org wrote:
> Hi Suresh,
>
> Just one small question, I was comparing your server side wsdl with mine, apart from the fact that you are using a file based keystore instead of a CallbackHandler based Java implementation, I was wondering where your PlainTextPasswordValidator definition is? I'm unable to find any definition in your web project telling which validator it must use (or any reference to that class whatsoever), or is this defined in the appserver itself, anyhow I'm still confused...
>
> Kind regards,
> David
> [Message sent by forum member 'dabla']
>
> http://forums.java.net/jive/thread.jspa?messageID=397804
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

dabla
Offline
Joined: 2010-03-31

Hi,

Thanks for the fast answer. I'm sorry but in the project files you send me, I couldn't find any entry as you said concerning the usernameValidator. Anyway I added it myself in your serverside wsdl file and deployed it on my application server, now I receive a NullPointerException:

INFO: Request message received in Tube [ com.sun.xml.wss.jaxws.impl.SecurityServ
erTube ] Instance [ 8 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@68f17d ] T
hread [ RMICallHandler-20 ]:

mlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-uti
lity-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w
3.org/2000/09/xmldsig#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xml
ns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:exc14n="http://www.w3.org/2001
/10/xml-exc-c14n#">

mlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsse11="http://docs.oasis-open.
org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.o
rg/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="_5004">http:
//pc090031229.msnet.railb.be:8888/HelloJava/Service1.svc/secure

h
ttp://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT

http://www.w3.org/2005/08/addressing/anonymous


uuid:da56ac58-e8c9-4e09-85ca-17adf8a5bae4
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.x
sd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2
000/09/xmldsig#" xmlns:exc14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ws
c="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:xs="http://www.w3.org/2001/XM
LSchema" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secex
t-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
security-utility-1.0.xsd" S:mustUnderstand="true">

2010-04-19T13:09:12Z
2010-04-19T13:14:12Z



pe="KeyInfoType">

6BMZ
GMcBO6mjlrD3H+mZQwnyBfU=




QZ5uRHxacKKcFpfZy5qWFP4Ah319SuXByyFzuU5aPxFdk8KIDpqX
D3HPqZrHG3bKUnaUZ0JNHM3gMstK4ApLEGg9+3Xh8JYlnrGn2wX1K3YGbBUKTsWbfYwZayQiz8TD96+M
yU5IOGDKyExx2iLBsNmEjp+grNWHnkYv6CtCG6ixqKBD0WBgg29DKjAnz5BNysm26BR9j/WZ7X0cqpyl
CWV6n8wk2PaTb7FpKTj+o+/nRdT5IVOQHM42ZQT9g3EpuAf5S88Oau6p3faEUkHEE8xwHSoQlSNvCr2W
itZBiOYewtez6TYfQw09Ki1wmaBfSvlSGigqD9K2YpeGfk4vaoykTP2IRvv3LI/btsbRvnRGpoPsqSGH
kCJ768+V1asIWK79zTbK2rvJpHumuDJFxtHWQcaJ2rsL3ivWhHsd2UFfJQ4ojrFeWIeTw57k18/53hPf
amBY0sY2J2QQta4bxciz1BI5dpZR+WXaIe3tw7STSA3QLBAz7nZGUaeV3h38f7BetVKQi4nKG76twONz
4gBcQKXIaTwC8dHqf1iJwFOfWqpCXPy1vUb67u7r82WK/tFSWNcC5OJZFLssXz6GUmtCDlWg96LvgQ4A
VAZA+fh1HG3Yl2rddlwOj3cS1M68gwMYDq2Zc5qr0Qn4sN1szZ7ns+aQ/s7/3Ash5hmLTT8= ipherValue>





0
24
2rBzGlBKD07XT3Vv9ErkCu/f




0
32
JNRD9ZRTHZQigftKaa6LckF1






e="http://www.w3.org/2001/04/xmlenc#Element">

pe="KeyInfoType">





oVNo77aNF7eIjPRS7AK6B1J3IN8IA6CLBjPNPpVti12ehWeXMMMZ
S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FMK5zTMKF/5FoWqVVX1ns01J/+N3sxaOPBkyh2drlVd0kJ7HsBpyjLtX6mSqkBS7Md+
+qDRyTDLjxHqTrFkstD+GfWTSxv2nETWvZGQ1eBvIoEmexRzaTEE7huwpJhOoOxdRvOSy99+MnaJbx3S
RYG/DEPix5YZCxi95c3tcawEcLZ5/AdQi3XVqDVB4reOKHhJmNlZ7bzyLnBIQATe9HVeT5hUCYEqSaUI
J6VZMCZtOTaXXR/zRzA5cRodSFs88PifAz6LGPZRSQl3d7vuNpLgpfohP+KFGdMl9WIhFQhiuAvpv7W8
27XuP84ZzAWw5vFxbdExmAvHCzih4iYI12Vqrr5oFyr34e1qE/D/ieGyJMZWnHhZJwgNxigU1xzpiEAS
q3IdZGqmU5FlXbE88ut5VF4+ZMfnsM9IEbVYOjhElTCnvyS7gJeRcQOkbX5/275pb7JsJehaMRdtYss+
DX/jaBaTQOoRnuonj9lJgu5FCdlAzQBoZf0tgbpiTwymAhqQ==





19/04/2010 15:09:12:852 - (org.tempuri.PlainTextPasswordValidator:14 ) - valida
te
19/04/2010 15:09:12:852 - (org.tempuri.PlainTextPasswordValidator:20 ) - plainT
extRequest: com.sun.xml.wss.impl.callback.PasswordValidationCallback$PlainTextPa
sswordRequest@1ff20cc
19/04/2010 15:09:12:852 - (org.tempuri.PlainTextPasswordValidator:21 ) - userna
me: Sys_JavaLbe
19/04/2010 15:09:12:868 - (org.tempuri.PlainTextPasswordValidator:22 ) - passwo
rd: **********
Apr 19, 2010 3:09:12 PM com.sun.xml.wss.jaxws.impl.SecurityServerTube processReq
uest
SEVERE: WSSTUBE0025: Error in Verifying Security in the Inbound Message.
com.sun.xml.wss.impl.XWSSecurityRuntimeException: java.lang.NullPointerException

at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateM
essage(SecurityRecipient.java:257)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(Secu
rityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(Security
ServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:29
5)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
ter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288
)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
apter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServl
etDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServ
letDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java
:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at com.sun.xml.wss.jaxws.impl.PolicyResolverImpl.getInboundXWSBootstrapP
olicy(PolicyResolverImpl.java:288)
at com.sun.xml.wss.jaxws.impl.PolicyResolverImpl.resolvePolicy(PolicyRes
olverImpl.java:146)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.createMes
sage(SecurityRecipient.java:896)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateM
essage(SecurityRecipient.java:232)
... 25 more
Apr 19, 2010 3:09:13 PM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message processed in Tube [ com.sun.xml.wss.jaxws.impl.SecuritySe
rverTube ] Instance [ 8 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@68f17d ]
Thread [ RMICallHandler-20 ]:



http://www.w3.org/2005/08/a
ddressing/anonymous

http://www.w3.org/2005/
08/addressing/fault

uuid:bfa5c4ab-9259-4
843-9d40-9fd8fb4333c6

uuid:da56ac58-e8c9-4
e09-85ca-17adf8a5bae4





S:Sender

wsse:InvalidSecurity



java.lang.NullPointerException



java.lang.NullPointerException

le="SOAPUtil.java" line="202" method="createSOAPFault" />
le="SOAPUtil.java" line="194" method="getSOAPFaultException" />
e="SecurityServerTube.java" line="299" method="processRequest" />
ine="629" method="__doRun" />
ine="588" method="_doRun" />
ine="573" method="doRun" />
ine="470" method="runSync" />






ile="WSServlet.java" line="76" method="doPost" />


file="ServletRequestDispatcher.java" line="734" method="invoke" />
file="ServletRequestDispatcher.java" line="391" method="forwardInternal" />
"HttpRequestHandler.java" line="908" method="doProcessRequest" />
"HttpRequestHandler.java" line="458" method="processRequest" />
"HttpRequestHandler.java" line="226" method="serveOneRequest" />
"HttpRequestHandler.java" line="127" method="run" />
"HttpRequestHandler.java" line="116" method="run" />

/>
thod="run" />

te="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCa
ptureStackTrace system property to false">
java.lang.NullPointerException

>
e="SecurityTubeBase.java" line="481" method="verifyInboundMessage" />
ile="SecurityServerTube.java" line="277" method="processRequest" />
line="629" method="__doRun" />
line="588" method="_doRun" />
line="573" method="doRun" />
line="470" method="runSync" />


"HttpAdapter.java" line="288" method="handle" />



file="WSServlet.java" line="76" method="doPost" />




e="HttpRequestHandler.java" line="908" method="doProcessRequest" />
e="HttpRequestHandler.java" line="458" method="processRequest" />
e="HttpRequestHandler.java" line="226" method="serveOneRequest" />
e="HttpRequestHandler.java" line="127" method="run" />
e="HttpRequestHandler.java" line="116" method="run" />


method="run" />



file="PolicyResolverImpl.java" line="288" method="getInboundXWSBootstrapPolicy"
/>
file="PolicyResolverImpl.java" line="146" method="resolvePolicy" />
>
/>
ile="SecurityTubeBase.java" line="481" method="verifyInboundMessage" />
file="SecurityServerTube.java" line="277" method="processRequest" />






e="HttpAdapter.java" line="288" method="handle" />







ile="HttpRequestHandler.java" line="908" method="doProcessRequest" />
ile="HttpRequestHandler.java" line="458" method="processRequest" />
ile="HttpRequestHandler.java" line="226" method="serveOneRequest" />
ile="HttpRequestHandler.java" line="127" method="run" />
ile="HttpRequestHandler.java" line="116" method="run" />










Sorry to bother you with this, I'm sure I'm very close to a working solution...

In attachment the modified wsdl.

Thanks,
David

sm228678
Offline
Joined: 2008-08-31

Hi, your PlainTextPasswordValidator implementation should be like :

package sw;

import com.sun.xml.wss.impl.callback.PasswordValidationCallback;

public class PlainTextPasswordValidator implements PasswordValidationCallback.PasswordValidator {

public boolean validate(PasswordValidationCallback.Request request)
throws PasswordValidationCallback.PasswordValidationException {
System.out.println("Using configured PlainTextPasswordValidator................");
PasswordValidationCallback.PlainTextPasswordRequest plainTextRequest =
(PasswordValidationCallback.PlainTextPasswordRequest) request;
if ("suresh".equals(plainTextRequest.getUsername()) &&
"suresh".equals(plainTextRequest.getPassword())) {
return true;
}
return false;
}
}
please check username/password here..

Please dont do "clean and build", if you do so you will loose the existing binding security policy and your wsdl security profile is changing to "UsernameToken with Symetric Keys"
The latest wsdl you attached doesn't contain any Secure Conversation Token policy and the policy is "UsernameToken with Symetric Keys"...did you observer it? :)
thats why please dont do clean...
directly after changing the keystore location , just deploy it without cleaning it..
Thanks

sm228678
Offline
Joined: 2008-08-31

please find my attachment in previous reply ..
Otherwise, you can just use the wsdl in my attachment and you try to create a new webservice sample(webservice from wsdl) using netbeans ...
change keystores accordingly..
Thanks
Suresh

dabla
Offline
Joined: 2010-03-31

In attachment you'll find my latest maven project.

Kind regards,
David

dabla
Offline
Joined: 2010-03-31

Suresh,

As a test, with some minor modifications in:

- web.xml (original was 2.4, this Tomcat version only supports 2.3)
- and adding 2 extra depencies to WEB-INF/lib (jsr250-api-1.0.jar and xalan-2.7.1.jar)

I was able to deploy the war on a Tomcat 4.1.40, and there I also have the same exception. I did the test to make sure it wasn't OC4J (Oracle Application Server) related due to conflicting jars.

David

dabla
Offline
Joined: 2010-03-31

Hi all,

I've tested it on Weblogic 11 and it also works with some modifications, I'm still wondering how to make it work on Java 5.

I've change my application a bit to make it work on Weblogic, I found the information here:

http://forums.java.net/jive/thread.jspa?messageID=370438

This setup also still works on OC4J.

Best regards,
David

dabla
Offline
Joined: 2010-03-31

Back again, I figured out how to make it work on OC4J :) Apparently when I launch OC4J with java 1.6.0_10 it also works, but not with java 1.5.0_22. If anyone could tell me what the difference is between both to make it work it would be great. I need to make it work in java 1.5.0_22, as Oracle won't support us running OC4J instances with java 6.

As a test I will also test on Oracle Weblogic (previously BEA), which is also running on Java 6, and post back the results.

dabla
Offline
Joined: 2010-03-31

Previous post was cut off:

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:31 ) - ha
ndle
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:37 ) - Ke
yStoreCallback
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:40 ) - Ke
ystoreCallback Runtime Properties:
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@1bd4bac"
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@17fe679"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
EncryptedKey: "true"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@14d1cbd"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
EnableWSS11PolicyReceiver: "true"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@4a60d7"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
receivedSignValues: "[]"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:43 ) - Ke
ystore: null
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:31 ) - ha
ndle
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:49 ) - Pr
ivateKeyCallback
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:54 ) - Pr
ivateKeyCallback Runtime Properties:
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@1bd4bac"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@17fe679"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
EncryptedKey: "true"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@14d1cbd"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
EnableWSS11PolicyReceiver: "true"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@4a60d7"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
receivedSignValues: "[]"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:57 ) - Al
ias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
|#]

[#|2010-04-20T13:59:00.911+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:911 - (org.tempuri.AbstractCallbackHandler:61 ) - pr
ivateKey: Sun RSA private CRT key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504
16617379901915844764947621993181515285346849265990516302645935579352718581413485
30925767848287007124159995997428821810104699519021656042008140033621450500337755
29505369123328663508115216401825719435107546726519543418329671067624473186811776
83841297595387959591357991562115540026428128866473957981630622291697524973389545
24775458652318209300029510091356813530998294173483430487454946805941170496818878
73873280894554567567653763054911799534022378203306055287866420631198155132505338
71683000426597252103214671618744617867663072214145948358537489810367025756475809
60433953564530205687746059149582155829570480174071607407528858973949201238555345
04330116405806161749929595296496425343014799388588490368037669383026443490001492
37338599021791639093635395254508427775587101459001385261009635637087885291813412
23537093382001513261236450905479646957816134377332687678751497568929150081651534
72479183708102826601724952951327616234899023362181449951414628162803816058650350
25744719349900146819149145616978458762406936606278740780497939652399568739404735
01710261177695948782074739301704316197613624188707515262718302745876443885825993
69385367861004624764195494098984604908176317532246887
public exponent: 65537
private exponent: 167847849484810167715757686232605722877788679268893573173778
28388667572593636066138092491090722807019494092151981064325203323984417892934654
16720824800991831803695611449554785227820233493999052256529583320085047656348505
72683051705994407660449104414413815385167251561150154228879773679596753998329888
66850666360775447712974567272045452375272646290915250066917737171224780077184753
81545336218813041724420312413036802076032548504865284619390340073550992894249575
50171824939619748458187931950526937826993438148939169880971523684974317031261983
45087135140755662817336354999661299799094114084977723751409042458586778431864394
27717313060254192625055207148293878534915782885866638456390480682268201134422641
90396700712890935047031195182428963710365788250669276508839907722363669246994511
31446873713605756790040018427093640751666305745662953633581736723033642885932483
51006986043821412909498477697469933567008223784270256675029808524441660290419867
05342346496548766850395588673996846167286172481741638196930589878718311772477973
51721816680828275881395491289794151803816979258042134180290956934009990993576054
32758505538312862191708069581950853953914802804978747318544454609105284171292750
98157965662824400315238995060044160261196903665776001
prime p: 264078712645623554013684000212074082877139129538222422479650
69648934643622169572709270285603232408228716176527739872567794709628846356670038
31301446174047815808643548312607686399688919058988160150347280689646561779171671
45948669140653317143742489806279035288689969661418392656301745835105408579851517
99633025788173945347028636521586265690358323087937730250850802302590226332655146
79410185052823024855975509039474158035935737360180589486690870515587107123807531
96973405503374164153109660392844164045290146968577560804864888318399551513334475
10178866640431790428979629213658203270374033391647650248769528001183450965483
prime q: 230189949118173630976372211634493838363706865805844717104960
82977610000352453914474866779450473313206565070295746784832643008825240280429162
62468628730343927973339862233674659409385920108420375943185825249207789932592000
02504507645854852757331427146771223706416469636386797798641621075969168259919952
12184717033492773399210009033340018433880022979649232585866489988459775111519024
76641109998767695548797854470900595741160880693899120150956288954050116180389273
41058598064319338069891071274635323530739898480843648928125293727451017063093087
82385704383259190030205609536287705671766012644141583013348032802152453078389
prime exponent p: 231955858422651630175286013583289509449967407599795134809971
34967131891299726741428645558856067161751164177515286719934771235482010780501255
09999965653128195019982084297652646102172705885692867220878911346254853423532008
90436473123299940512680416035193137714473321994591601282634389718751893508997247
86698737041613640598466567913775628796946409944872902969165912912531949568019493
19014408693802850692497828369582524487520648200845257393554174912336112754352206
81199537479618135701569458481683236999971425458079669312480694814359372306713750
38885613594709187421520856244323580134261275801306086433166270646934180002563
prime exponent q: 117355182262484052644804436198356777505961118151653015669178
49832123919797613412124971372430828605838804829771297001309615457083310622239333
22575061768745156498546339883600679313767831342028802066217934803645737174844193
43022729289764596187313390051847355333304653607747618719932463240463888336366410
42914929971208028210238564808000926131998708024414302747439937188068083769871578
73407888174295836606442679914883664264517255073386902093225987251975563144775720
63406165654897809231292254351406311393702511375893739383653849184759653052658288
45340359718227200776496175074026043638021972541710157188183537116217064593361
crt coefficient: 187932703102723759820948757965090706320781267143729024062162
98241862955433764722616218094010460362500455144002752029308441210388850722198289
29377534074447125408406235577013945841337627906340450677116172956590030315880891
86266381265975018112261672251661735250745880988973328759741289815447926399749333
03520468968068840464061172781100511058527946150611023321666842110468782313874334
97946155029025731190760415776393793534082072135237781409920184428017007991083857
68991578855025024968341211821625821847810610496893807528699338197023813895086725
9859143017174228038132075911269203792625274961171609132154193962135011900868
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:14 ) -
validate
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:20 ) -
plainTextRequest: com.sun.xml.wss.impl.callback.PasswordValidationCallback$Plai
nTextPasswordRequest@e0096
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:21 ) -
username: Sys_JavaLbe
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:22 ) -
password: **********
|#]

[#|2010-04-20T13:59:01.254+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:254 - (org.tempuri.Service1Impl:29 ) - getData
|#]

dabla
Offline
Joined: 2010-03-31

For information (and a proof), the logging from the glassfish server:

[#|2010-04-20T13:58:16.187+0200|INFO|glassfishv3.0|com.sun.xml.ws.server.http|_T
hreadID=11;_ThreadName=FelixStartLevel;|WSSERVLET12: JAX-WS context listener ini
tializing|#]

[#|2010-04-20T13:58:16.359+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=FelixStartLevel;|20/
04/2010 13:58:16:359 - (org.tempuri.Service1Impl:24 ) - Service1Impl
|#]

[#|2010-04-20T13:58:17.499+0200|INFO|glassfishv3.0|com.sun.xml.ws.monitoring|_Th
readID=11;_ThreadName=FelixStartLevel;|Metro monitoring rootname successfully se
t to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/HelloJava-Service1-WS
2007HttpBinding_IService1|#]

[#|2010-04-20T13:58:19.810+0200|WARNING|glassfishv3.0|javax.enterprise.resource.
xml.webservices.security.policy|_ThreadID=11;_ThreadName=FelixStartLevel;|SP0100
: Policy assertion Assertion[com.sun.xml.ws.policy.sourcemodel.DefaultPolicyAsse
rtionCreator$DefaultPolicyAssertion] {
assertion data {
namespace = 'http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702'
prefix = 'sp'
local name = 'MustNotSendAmend'
value = 'null'
optional = 'false'
ignorable = 'false'
no attributes
}
no parameters
no nested policy
} is not supported under SecureConversationToken assertion.|#]

[#|2010-04-20T13:58:20.185+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=FelixStartLevel;|20/
04/2010 13:58:20:185 - (org.tempuri.CertificateKeyStore:27 ) - input: java.io.B
yteArrayInputStream@1bdd156
|#]

[#|2010-04-20T13:58:20.279+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=FelixStartLevel;|20/
04/2010 13:58:20:279 - (org.tempuri.CertificateKeyStore:31 ) - keyStore: java.s
ecurity.KeyStore@7566fa
|#]

[#|2010-04-20T13:58:20.279+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=FelixStartLevel;|20/
04/2010 13:58:20:279 - (org.tempuri.CertificateKeyStore:38 ) - alias: 5f9f5c84-
cd51-4a1c-a920-f7abcf926a3c
|#]

[#|2010-04-20T13:58:20.357+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=FelixStartLevel;|20/
04/2010 13:58:20:357 - (org.tempuri.Service2Impl:22 ) - Service2Impl
|#]

[#|2010-04-20T13:58:20.372+0200|INFO|glassfishv3.0|com.sun.xml.ws.monitoring|_Th
readID=11;_ThreadName=FelixStartLevel;|Metro monitoring rootname successfully se
t to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/HelloJava-Service2-WS
2007HttpBinding_IService2|#]

[#|2010-04-20T13:58:20.388+0200|INFO|glassfishv3.0|com.sun.xml.ws.servlet.http|_
ThreadID=11;_ThreadName=FelixStartLevel;|WSSERVLET14: JAX-WS servlet initializin
g|#]

[#|2010-04-20T13:58:20.403+0200|INFO|glassfishv3.0|javax.enterprise.system.conta
iner.web.com.sun.enterprise.web|_ThreadID=11;_ThreadName=FelixStartLevel;|Loadin
g application metro-2-wcf-demo-ear-1.0.0#metro-2-wcf-demo-war-1.0.0.war at Hello
Java|#]

[#|2010-04-20T13:58:20.403+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|Loading m
etro-2-wcf-demo-ear-1.0.0 Application done is 5981 ms|#]

[#|2010-04-20T13:58:20.403+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=FelixStartLevel;|GlassFish
v3 (74.2) startup time : Felix(1844ms) startup services(10856ms) total(12700ms)
|#]

[#|2010-04-20T13:58:20.560+0200|INFO|glassfishv3.0|javax.enterprise.system.tools
.admin.org.glassfish.server|_ThreadID=19;_ThreadName=Thread-21;|Binding RMI port
to *:8686|#]

[#|2010-04-20T13:58:20.575+0200|INFO|glassfishv3.0|javax.enterprise.system.core.
com.sun.enterprise.v3.server|_ThreadID=20;_ThreadName=GlassFish Kernel Main Thre
ad;|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]

[#|2010-04-20T13:58:20.622+0200|INFO|glassfishv3.0|javax.enterprise.system.tools
.admin.org.glassfish.server|_ThreadID=19;_ThreadName=Thread-21;|JMXStartupServic
e: Started JMXConnector, JMXService URL = service:jmx:rmi://PC090031229.msnet.ra
ilb.be:8686/jndi/rmi://PC090031229.msnet.railb.be:8686/jmxrmi|#]

[#|2010-04-20T13:58:20.653+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName={felix.fileinstall.p
oll=5000, service.pid=org.apache.felix.fileinstall.d0f147d7-3c0d-4573-8515-4dd37
f4ab8cc, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\Prog
ram Files\Sun\sges-v3\glassfish\domains\domain1/autodeploy/bundles/, service.fac
torypid=org.apache.felix.fileinstall, felix.fileinstall.filename=org.apache.feli
x.fileinstall-autodeploy-bundles.cfg, felix.fileinstall.debug=1};|{felix.fileins
tall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\Sun\sges-v3\glas
sfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fil
einstall.bundles.new.start = true, felix.fileinstall.tmpdir = D:\DOCUME~1\BKD770
2\LOCALS~1\Temp\fileinstall-9220739318349703086, felix.fileinstall.filter = null
}|#]

[#|2010-04-20T13:58:20.653+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\Pro
gram Files\Sun\sges-v3\glassfish/modules/autostart/, felix.fileinstall.debug=1};
|{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\S
un\sges-v3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.filei
nstall.bundles.new.start = true, felix.fileinstall.tmpdir = D:\DOCUME~1\BKD7702\
LOCALS~1\Temp\fileinstall-1908940369086154157, felix.fileinstall.filter = null}|
#]

[#|2010-04-20T13:58:20.669+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\Pro
gram Files\Sun\sges-v3\glassfish/modules/autostart/, felix.fileinstall.debug=1};
|Started bundle: file:/C:/Program%20Files/Sun/sges-v3/glassfish/modules/autostar
t/osgi-web-container.jar|#]

[#|2010-04-20T13:58:25.666+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\Pro
gram Files\Sun\sges-v3\glassfish/modules/autostart/, felix.fileinstall.debug=1};
|Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
|#]

[#|2010-04-20T13:58:25.682+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=22;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=C:\Pro
gram Files\Sun\sges-v3\glassfish/modules/autostart/, felix.fileinstall.debug=1};
|Installed C:\Program Files\Sun\sges-v3\glassfish\modules\autostart\org.apache.f
elix.fileinstall-autodeploy-bundles.cfg|#]

[#|2010-04-20T13:58:25.682+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName={felix.fileinstall.p
oll=5000, felix.fileinstall.bundles.new.start=true, service.pid=org.apache.felix
.fileinstall.d0f147d7-3c0d-4573-8515-4dd37f4ab8cc, felix.fileinstall.dir=C:\Prog
ram Files\Sun\sges-v3\glassfish\domains\domain1/autodeploy/bundles/, felix.filei
nstall.filename=org.apache.felix.fileinstall-autodeploy-bundles.cfg, service.fac
torypid=org.apache.felix.fileinstall, felix.fileinstall.debug=1};|{felix.fileins
tall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\Sun\sges-v3\glas
sfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fil
einstall.bundles.new.start = true, felix.fileinstall.tmpdir = D:\DOCUME~1\BKD770
2\LOCALS~1\Temp\fileinstall-3502863600659017893, felix.fileinstall.filter = null
}|#]

[#|2010-04-20T13:58:58.818+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:58:58:818 - (org.tempuri.ServiceClient:29 ) - proxyUrl: ht
tp://localhost:8000
|#]

[#|2010-04-20T13:58:59.974+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:58:59:974 - (org.tempuri.ServiceClient:40 ) - Connection r
efused: connect
|#]

[#|2010-04-20T13:59:00.317+0200|WARNING|glassfishv3.0|javax.enterprise.resource.
xml.webservices.security.policy|_ThreadID=24;_ThreadName=http-thread-pool-8080-(
1);|SP0100: Policy assertion Assertion[com.sun.xml.ws.policy.sourcemodel.Default
PolicyAssertionCreator$DefaultPolicyAssertion] {
assertion data {
namespace = 'http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702'
prefix = 'sp'
local name = 'MustNotSendAmend'
value = 'null'
optional = 'false'
ignorable = 'false'
no attributes
}
no parameters
no nested policy
} is not supported under SecureConversationToken assertion.|#]

[#|2010-04-20T13:59:00.348+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:348 - (org.tempuri.CertificateKeyStore:27 ) - input:
java.io.ByteArrayInputStream@13d7910
|#]

[#|2010-04-20T13:59:00.348+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:348 - (org.tempuri.CertificateKeyStore:31 ) - keySto
re: java.security.KeyStore@d71e97
|#]

[#|2010-04-20T13:59:00.348+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:348 - (org.tempuri.CertificateKeyStore:38 ) - alias:
5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
|#]

[#|2010-04-20T13:59:00.364+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:364 - (org.tempuri.ServiceClient:46 ) - serverCert:
[
[
Version: V3
Subject: CN=HelloJavaMetro
Signature Algorithm: SHA1withRSA, OID = 1.3.14.3.2.29

Key: Sun RSA public key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504166173799
01915844764947621993181515285346849265990516302645935579352718581413485309257678
48287007124159995997428821810104699519021656042008140033621450500337755295053691
23328663508115216401825719435107546726519543418329671067624473186811776838412975
95387959591357991562115540026428128866473957981630622291697524973389545247754586
52318209300029510091356813530998294173483430487454946805941170496818878738732808
94554567567653763054911799534022378203306055287866420631198155132505338716830004
26597252103214671618744617867663072214145948358537489810367025756475809604339535
64530205687746059149582155829570480174071607407528858973949201238555345043301164
05806161749929595296496425343014799388588490368037669383026443490001492373385990
21791639093635395254508427775587101459001385261009635637087885291813412235370933
82001513261236450905479646957816134377332687678751497568929150081651534724791837
08102826601724952951327616234899023362181449951414628162803816058650350257447193
49900146819149145616978458762406936606278740780497939652399568739404735017102611
77695948782074739301704316197613624188707515262718302745876443885825993693853678
61004624764195494098984604908176317532246887
public exponent: 65537
Validity: [From: Mon Apr 05 00:00:00 CEST 2010,
To: Sun Apr 12 00:00:00 CEST 2020]
Issuer: CN=HelloJavaMetro
SerialNumber: [ 4105a166 33a98b88 47deae4f 8280d092]

]
Algorithm: [SHA1withRSA]
Signature:
0000: 5D 7B 44 B8 35 7A 94 BD 70 6B 15 01 B8 D5 D6 AB ].D.5z..pk......
0010: E5 0C D6 ED 26 03 5B 46 43 D9 CA 8F 9C 25 B3 B8 ....&.[FC....%..
0020: 60 B1 C6 8C E2 B0 B2 DE 9A AE 2F 36 43 07 C9 39 `........./6C..9
0030: CF CE 4D 85 89 57 C7 85 1E E2 6C 03 23 51 6A C0 ..M..W....l.#Qj.
0040: AE AB FC A3 44 98 3C 6A 58 51 BE D8 F6 F2 D8 D4 ....D. 0050: 8A 8B D9 F3 3D D3 A4 CE 3A 16 CE A0 65 0E 4C A0 ....=...:...e.L.
0060: BB BA 69 36 3E AE 17 81 6E 70 68 34 6B 90 F4 EB ..i6>...nph4k...
0070: 88 4C 66 AE E5 B5 A5 70 08 62 45 B5 A6 C1 04 72 .Lf....p.bE....r
0080: 09 DF 9B 7B FD D9 7C 65 3B 6C 6F D5 E7 EC A5 D5 .......e;lo.....
0090: B9 5E 08 F3 43 15 AB 9D E6 A0 0A 6E 60 0F 96 07 .^..C......n`...
00A0: D2 94 18 83 F0 E7 11 8F 52 9A 1D 4A 70 F0 37 7F ........R..Jp.7.
00B0: 09 9E E9 44 26 75 76 5D 9E 42 0A E9 47 B0 3B 41 ...D&uv].B..G.;A
00C0: 2F BE 2E 70 89 CF 21 F6 1E F5 56 E3 CF 85 17 F2 /..p..!...V.....
00D0: 9B 1E 53 E9 3A 34 DB 48 4D DE 6B 51 32 4F 6D 32 ..S.:4.HM.kQ2Om2
00E0: F4 A5 8E C9 06 19 D8 3B F7 40 19 FB B9 D9 CA 02 .......;.@......
00F0: 71 F1 AE 45 14 4E 2F CE AD CE 34 60 C0 4A BB 6F q..E.N/...4`.J.o
0100: DD 5E FF 35 5D C8 0C 56 A2 E9 FF 70 AB 18 CC 40 .^.5]..V...p...@
0110: 47 34 23 7F BD 99 D0 1F 55 B6 3B CD 7F AA C4 E1 G4#.....U.;.....
0120: A3 2F 86 F0 41 DA 11 8C DC 61 CA 78 B3 18 32 DA ./..A....a.x..2.
0130: 6F 5E 08 0F 86 D4 5E F3 9C C9 59 A4 84 F2 5A F1 o^....^...Y...Z.
0140: 84 83 D4 97 BB 2D F9 1A F3 FC 93 89 41 BC 3A 6B .....-......A.:k
0150: F9 DB 8A C2 02 E9 60 E1 98 E0 8B CE 95 A5 A6 CF ......`.........
0160: C7 05 E4 BC F2 6C 20 E4 C2 E0 5F F5 34 D1 4F 3C .....l ..._.4.O<
0170: 04 66 24 D2 F4 C3 7D 6C 14 A1 58 AF 77 5C 73 2E .f$....l..X.w\s.
0180: 32 83 03 70 0F CD BD 3A 63 24 A1 A3 5B 88 04 A2 2..p...:c$..[...
0190: E9 40 2B A2 FD 31 E2 1E 4E 7A 74 59 85 7C 67 28 .@+..1..NztY..g(
01A0: A8 E5 5C 15 AE 1B B7 94 48 D6 84 11 60 85 60 E5 ..\.....H...`.`.
01B0: 62 A9 23 CA 80 31 F4 5C E2 3A 14 1B 85 E3 EE 92 b.#..1.\.:......
01C0: D2 1D 6C 55 87 3C 63 83 D2 DB 1D 62 7A 86 F6 2D ..lU. 01D0: 94 35 FE F6 99 57 3B 27 91 2D 4F C8 D1 7C C9 63 .5...W;'.-O....c
01E0: BA 91 67 38 16 3D 87 02 6C 1C 4E CB D2 8C EA 22 ..g8.=..l.N...."
01F0: A6 F6 32 BA 0E CA 2F 4E 2C BA 5C B4 18 15 F2 CB ..2.../N,.\.....

]
|#]

[#|2010-04-20T13:59:00.364+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:364 - (org.tempuri.ServiceClient:54 ) - username: Sy
s_JavaLbe
|#]

[#|2010-04-20T13:59:00.364+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:364 - (org.tempuri.ServiceClient:55 ) - password: **
********
|#]

[#|2010-04-20T13:59:00.395+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=24;_ThreadName=http-thread-pool-808
0-(1);|20/04/2010 13:59:00:395 - (org.tempuri.ServiceClient:56 ) - serverCert:
[
[
Version: V3
Subject: CN=HelloJavaMetro
Signature Algorithm: SHA1withRSA, OID = 1.3.14.3.2.29

Key: Sun RSA public key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504166173799
01915844764947621993181515285346849265990516302645935579352718581413485309257678
48287007124159995997428821810104699519021656042008140033621450500337755295053691
23328663508115216401825719435107546726519543418329671067624473186811776838412975
95387959591357991562115540026428128866473957981630622291697524973389545247754586
52318209300029510091356813530998294173483430487454946805941170496818878738732808
94554567567653763054911799534022378203306055287866420631198155132505338716830004
26597252103214671618744617867663072214145948358537489810367025756475809604339535
64530205687746059149582155829570480174071607407528858973949201238555345043301164
05806161749929595296496425343014799388588490368037669383026443490001492373385990
21791639093635395254508427775587101459001385261009635637087885291813412235370933
82001513261236450905479646957816134377332687678751497568929150081651534724791837
08102826601724952951327616234899023362181449951414628162803816058650350257447193
49900146819149145616978458762406936606278740780497939652399568739404735017102611
77695948782074739301704316197613624188707515262718302745876443885825993693853678
61004624764195494098984604908176317532246887
public exponent: 65537
Validity: [From: Mon Apr 05 00:00:00 CEST 2010,
To: Sun Apr 12 00:00:00 CEST 2020]
Issuer: CN=HelloJavaMetro
SerialNumber: [ 4105a166 33a98b88 47deae4f 8280d092]

]
Algorithm: [SHA1withRSA]
Signature:
0000: 5D 7B 44 B8 35 7A 94 BD 70 6B 15 01 B8 D5 D6 AB ].D.5z..pk......
0010: E5 0C D6 ED 26 03 5B 46 43 D9 CA 8F 9C 25 B3 B8 ....&.[FC....%..
0020: 60 B1 C6 8C E2 B0 B2 DE 9A AE 2F 36 43 07 C9 39 `........./6C..9
0030: CF CE 4D 85 89 57 C7 85 1E E2 6C 03 23 51 6A C0 ..M..W....l.#Qj.
0040: AE AB FC A3 44 98 3C 6A 58 51 BE D8 F6 F2 D8 D4 ....D. 0050: 8A 8B D9 F3 3D D3 A4 CE 3A 16 CE A0 65 0E 4C A0 ....=...:...e.L.
0060: BB BA 69 36 3E AE 17 81 6E 70 68 34 6B 90 F4 EB ..i6>...nph4k...
0070: 88 4C 66 AE E5 B5 A5 70 08 62 45 B5 A6 C1 04 72 .Lf....p.bE....r
0080: 09 DF 9B 7B FD D9 7C 65 3B 6C 6F D5 E7 EC A5 D5 .......e;lo.....
0090: B9 5E 08 F3 43 15 AB 9D E6 A0 0A 6E 60 0F 96 07 .^..C......n`...
00A0: D2 94 18 83 F0 E7 11 8F 52 9A 1D 4A 70 F0 37 7F ........R..Jp.7.
00B0: 09 9E E9 44 26 75 76 5D 9E 42 0A E9 47 B0 3B 41 ...D&uv].B..G.;A
00C0: 2F BE 2E 70 89 CF 21 F6 1E F5 56 E3 CF 85 17 F2 /..p..!...V.....
00D0: 9B 1E 53 E9 3A 34 DB 48 4D DE 6B 51 32 4F 6D 32 ..S.:4.HM.kQ2Om2
00E0: F4 A5 8E C9 06 19 D8 3B F7 40 19 FB B9 D9 CA 02 .......;.@......
00F0: 71 F1 AE 45 14 4E 2F CE AD CE 34 60 C0 4A BB 6F q..E.N/...4`.J.o
0100: DD 5E FF 35 5D C8 0C 56 A2 E9 FF 70 AB 18 CC 40 .^.5]..V...p...@
0110: 47 34 23 7F BD 99 D0 1F 55 B6 3B CD 7F AA C4 E1 G4#.....U.;.....
0120: A3 2F 86 F0 41 DA 11 8C DC 61 CA 78 B3 18 32 DA ./..A....a.x..2.
0130: 6F 5E 08 0F 86 D4 5E F3 9C C9 59 A4 84 F2 5A F1 o^....^...Y...Z.
0140: 84 83 D4 97 BB 2D F9 1A F3 FC 93 89 41 BC 3A 6B .....-......A.:k
0150: F9 DB 8A C2 02 E9 60 E1 98 E0 8B CE 95 A5 A6 CF ......`.........
0160: C7 05 E4 BC F2 6C 20 E4 C2 E0 5F F5 34 D1 4F 3C .....l ..._.4.O<
0170: 04 66 24 D2 F4 C3 7D 6C 14 A1 58 AF 77 5C 73 2E .f$....l..X.w\s.
0180: 32 83 03 70 0F CD BD 3A 63 24 A1 A3 5B 88 04 A2 2..p...:c$..[...
0190: E9 40 2B A2 FD 31 E2 1E 4E 7A 74 59 85 7C 67 28 .@+..1..NztY..g(
01A0: A8 E5 5C 15 AE 1B B7 94 48 D6 84 11 60 85 60 E5 ..\.....H...`.`.
01B0: 62 A9 23 CA 80 31 F4 5C E2 3A 14 1B 85 E3 EE 92 b.#..1.\.:......
01C0: D2 1D 6C 55 87 3C 63 83 D2 DB 1D 62 7A 86 F6 2D ..lU. 01D0: 94 35 FE F6 99 57 3B 27 91 2D 4F C8 D1 7C C9 63 .5...W;'.-O....c
01E0: BA 91 67 38 16 3D 87 02 6C 1C 4E CB D2 8C EA 22 ..g8.=..l.N...."
01F0: A6 F6 32 BA 0E CA 2F 4E 2C BA 5C B4 18 15 F2 CB ..2.../N,.\.....

]
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:31 ) - ha
ndle
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:37 ) - Ke
yStoreCallback
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:40 ) - Ke
ystoreCallback Runtime Properties:
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@1bd4bac"
|#]

[#|2010-04-20T13:59:00.848+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:848 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@17fe679"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
EncryptedKey: "true"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@14d1cbd"
|#]

[#|2010-04-20T13:59:00.864+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
EnableWSS11PolicyReceiver: "true"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:864 - (org.tempuri.AbstractCallbackHandler:44 ) -
SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@4a60d7"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
receivedSignValues: "[]"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:43 ) - Ke
ystore: null
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:31 ) - ha
ndle
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:49 ) - Pr
ivateKeyCallback
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:54 ) - Pr
ivateKeyCallback Runtime Properties:
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@1bd4bac"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@17fe679"
|#]

[#|2010-04-20T13:59:00.879+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:879 - (org.tempuri.AbstractCallbackHandler:44 ) -
EncryptedKey: "true"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@14d1cbd"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
EnableWSS11PolicyReceiver: "true"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@4a60d7"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:44 ) -
receivedSignValues: "[]"
|#]

[#|2010-04-20T13:59:00.895+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:895 - (org.tempuri.AbstractCallbackHandler:57 ) - Al
ias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
|#]

[#|2010-04-20T13:59:00.911+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:00:911 - (org.tempuri.AbstractCallbackHandler:61 ) - pr
ivateKey: Sun RSA private CRT key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504
16617379901915844764947621993181515285346849265990516302645935579352718581413485
30925767848287007124159995997428821810104699519021656042008140033621450500337755
29505369123328663508115216401825719435107546726519543418329671067624473186811776
83841297595387959591357991562115540026428128866473957981630622291697524973389545
24775458652318209300029510091356813530998294173483430487454946805941170496818878
73873280894554567567653763054911799534022378203306055287866420631198155132505338
71683000426597252103214671618744617867663072214145948358537489810367025756475809
60433953564530205687746059149582155829570480174071607407528858973949201238555345
04330116405806161749929595296496425343014799388588490368037669383026443490001492
37338599021791639093635395254508427775587101459001385261009635637087885291813412
23537093382001513261236450905479646957816134377332687678751497568929150081651534
72479183708102826601724952951327616234899023362181449951414628162803816058650350
25744719349900146819149145616978458762406936606278740780497939652399568739404735
01710261177695948782074739301704316197613624188707515262718302745876443885825993
69385367861004624764195494098984604908176317532246887
public exponent: 65537
private exponent: 167847849484810167715757686232605722877788679268893573173778
28388667572593636066138092491090722807019494092151981064325203323984417892934654
16720824800991831803695611449554785227820233493999052256529583320085047656348505
72683051705994407660449104414413815385167251561150154228879773679596753998329888
66850666360775447712974567272045452375272646290915250066917737171224780077184753
81545336218813041724420312413036802076032548504865284619390340073550992894249575
50171824939619748458187931950526937826993438148939169880971523684974317031261983
45087135140755662817336354999661299799094114084977723751409042458586778431864394
27717313060254192625055207148293878534915782885866638456390480682268201134422641
90396700712890935047031195182428963710365788250669276508839907722363669246994511
31446873713605756790040018427093640751666305745662953633581736723033642885932483
51006986043821412909498477697469933567008223784270256675029808524441660290419867
05342346496548766850395588673996846167286172481741638196930589878718311772477973
51721816680828275881395491289794151803816979258042134180290956934009990993576054
32758505538312862191708069581950853953914802804978747318544454609105284171292750
98157965662824400315238995060044160261196903665776001
prime p: 264078712645623554013684000212074082877139129538222422479650
69648934643622169572709270285603232408228716176527739872567794709628846356670038
31301446174047815808643548312607686399688919058988160150347280689646561779171671
45948669140653317143742489806279035288689969661418392656301745835105408579851517
99633025788173945347028636521586265690358323087937730250850802302590226332655146
79410185052823024855975509039474158035935737360180589486690870515587107123807531
96973405503374164153109660392844164045290146968577560804864888318399551513334475
10178866640431790428979629213658203270374033391647650248769528001183450965483
prime q: 230189949118173630976372211634493838363706865805844717104960
82977610000352453914474866779450473313206565070295746784832643008825240280429162
62468628730343927973339862233674659409385920108420375943185825249207789932592000
02504507645854852757331427146771223706416469636386797798641621075969168259919952
12184717033492773399210009033340018433880022979649232585866489988459775111519024
76641109998767695548797854470900595741160880693899120150956288954050116180389273
41058598064319338069891071274635323530739898480843648928125293727451017063093087
82385704383259190030205609536287705671766012644141583013348032802152453078389
prime exponent p: 231955858422651630175286013583289509449967407599795134809971
34967131891299726741428645558856067161751164177515286719934771235482010780501255
09999965653128195019982084297652646102172705885692867220878911346254853423532008
90436473123299940512680416035193137714473321994591601282634389718751893508997247
86698737041613640598466567913775628796946409944872902969165912912531949568019493
19014408693802850692497828369582524487520648200845257393554174912336112754352206
81199537479618135701569458481683236999971425458079669312480694814359372306713750
38885613594709187421520856244323580134261275801306086433166270646934180002563
prime exponent q: 117355182262484052644804436198356777505961118151653015669178
49832123919797613412124971372430828605838804829771297001309615457083310622239333
22575061768745156498546339883600679313767831342028802066217934803645737174844193
43022729289764596187313390051847355333304653607747618719932463240463888336366410
42914929971208028210238564808000926131998708024414302747439937188068083769871578
73407888174295836606442679914883664264517255073386902093225987251975563144775720
63406165654897809231292254351406311393702511375893739383653849184759653052658288
45340359718227200776496175074026043638021972541710157188183537116217064593361
crt coefficient: 187932703102723759820948757965090706320781267143729024062162
98241862955433764722616218094010460362500455144002752029308441210388850722198289
29377534074447125408406235577013945841337627906340450677116172956590030315880891
86266381265975018112261672251661735250745880988973328759741289815447926399749333
03520468968068840464061172781100511058527946150611023321666842110468782313874334
97946155029025731190760415776393793534082072135237781409920184428017007991083857
68991578855025024968341211821625821847810610496893807528699338197023813895086725
9859143017174228038132075911269203792625274961171609132154193962135011900868
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:14 ) -
validate
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:20 ) -
plainTextRequest: com.sun.xml.wss.impl.callback.PasswordValidationCallback$Plai
nTextPasswordRequest@e0096
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:21 ) -
username: Sys_JavaLbe
|#]

[#|2010-04-20T13:59:01.176+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:176 - (org.tempuri.PlainTextPasswordValidator:22 ) -
password: **********
|#]

[#|2010-04-20T13:59:01.254+0200|INFO|glassfishv3.0|javax.enterprise.system.std.c
om.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=http-thread-pool-808
0-(2);|20/04/2010 13:59:01:254 - (org.tempuri.Service1Impl:29 ) - getData
|#]

dabla
Offline
Joined: 2010-03-31

Hi all,

I've tested the same ear from my maven build and deployed it on glassfish v3 and it WORKS! So now the question remains, why does the same code work on glassfish but doesn't on OC4J and Tomcat? Seems something is missing...

Kind regards,
David

ritzmann
Offline
Joined: 2003-06-19

Did you install Metro in Tomcat as recommended here: https://metro.dev.java.net/2.0/

Also, while this doesn't seem to be the issue here, you need to be aware of the endorsed pitfalls with Java SE 6: https://metro.dev.java.net/guide/Using_JAX_WS_2_x___Metro_1_x_2_0_with_J...

dabla
Offline
Joined: 2010-03-31

No I didn't, but apparently as you sid it isn't the issue, it seems to be Java version related.

To be clear, both Java 5 and 6 are standard installations apart from the fact that I installed the strong encryption jars on both versions. Also the metro site states it should work on Java 5, and the non secured version of the service works on OC4J and Tomcat, but the secured doesn't until I switch to Java 6. Maybe a missing jar-file?

I've checked the Tomcat install file for metro, all it does is install the metro jars at server level. My solution is to include the metro jars at application level.

I'm pretty sure there must be a solution.

Kind regards,
David

Message was edited by: dabla

dabla
Offline
Joined: 2010-03-31

I've added debugging from the security tube as follow:

-Dcom.sun.xml.wss.provider.wsit.SecurityTubeFactory.dump=true

This is the output I receive (you'll see that the non-secured version works perfectly):

INFO: Request message received in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ] Instance [ 6 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [ RMICallHandler-4 ]:






Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Request message processed in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 5 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [RMICallHandler-4 ]:






19/04/2010 10:01:50:586 - (org.tempuri.Service2Impl:27 ) - getData
Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message received in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 5 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [RMICallHandler-4 ]:




You entered: 0



Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message processed in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 6 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [ RMICallHandler-4 ]:




You entered: 0



Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Request message received in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ] Instance [ 6 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [ RMICallHandler-4 ]:




123



Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Request message processed in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 5 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [RMICallHandler-4 ]:




123



19/04/2010 10:01:50:648 - (org.tempuri.Service2Impl:27 ) - getData
Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message received in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 5 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [RMICallHandler-4 ]:




You entered: 123



Apr 19, 2010 10:01:50 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message processed in Tube [ com.sun.xml.ws.dump.LoggingDumpTube ]
Instance [ 6 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@1f161ac ] Thread [ RMICallHandler-4 ]:




You entered: 123



Apr 19, 2010 10:01:53 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Request message received in Tube [ com.sun.xml.wss.jaxws.impl.SecurityServerTube ] Instance [ 8 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@16298a ] T
hread [ RMICallHandler-4 ]:

mlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xml
ns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:exc14n="http://www.w3.org/2001/10/xml-exc-c14n#">

http://pc090031229.msnet.railb.be:8888/HelloJava/Service1.svc/secure
http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT

http://www.w3.org/2005/08/addressing/anonymous


uuid:614cefc8-ffa2-4547-9f3f-3a0ba1a2c51f


2010-04-19T08:01:53Z
2010-04-19T08:06:53Z





6BMZGMcBO6mjlrD3H+mZQwnyBfU=



gbI7luxwukfQXUTbfTyeX9GbfqlTpdBy889NwP/0SSx7K3OnFFiD
JkePpNtgPLyGMrH8sAp3g/330JuMJ7bztQ0JQFzmyI6A+fECprz3V/uRJKnOElAzYvNEMg3U2CBldjKZ
rxdamR16BiKRoFFDZjXr5Omsn/nlPbhuZd2KrRggY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okxTraS1X3vzBv4ADGYg==





19/04/2010 10:01:53:491 - (org.tempuri.AbstractCallbackHandler:107 ) - handle
19/04/2010 10:01:53:491 - (org.tempuri.AbstractCallbackHandler:113 ) - KeyStoreCallback
19/04/2010 10:01:53:507 - (org.tempuri.CertificateKeyStore:26 ) - input: java.util.zip.ZipFile$2@b7ad1a
19/04/2010 10:01:53:507 - (org.tempuri.CertificateKeyStore:30 ) - keyStore: java.security.KeyStore@c5af5c
19/04/2010 10:01:53:507 - (org.tempuri.CertificateKeyStore:37 ) - alias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
19/04/2010 10:01:53:507 - (org.tempuri.AbstractCallbackHandler:119 ) - KeystoreCallback Runtime Properties:
19/04/2010 10:01:53:507 - (org.tempuri.AbstractCallbackHandler:36 ) - WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@16298a"
19/04/2010 10:01:53:507 - (org.tempuri.AbstractCallbackHandler:36 ) - EnableWSS11PolicyReceiver: "true"
19/04/2010 10:01:53:507 - (org.tempuri.AbstractCallbackHandler:36 ) - receivedSignValues: "[]"
19/04/2010 10:01:53:507 - (org.tempuri.AbstractCallbackHandler:36 ) - SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@101565b"
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:36 ) - OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@7be75d"
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:36 ) - WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@bdc53e"
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:36 ) - EncryptedKey: "true"
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:122 ) - Keystore:
null
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:107 ) - handle
19/04/2010 10:01:53:522 - (org.tempuri.AbstractCallbackHandler:133 ) - PrivateKeyCallback
19/04/2010 10:01:53:522 - (org.tempuri.CertificateKeyStore:26 ) - input: java.util.zip.ZipFile$2@92c877
19/04/2010 10:01:53:522 - (org.tempuri.CertificateKeyStore:30 ) - keyStore: java.security.KeyStore@a7041a
19/04/2010 10:01:53:522 - (org.tempuri.CertificateKeyStore:37 ) - alias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:139 ) - PrivateKeyCallback Runtime Properties:
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@16298a"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - EnableWSS11PolicyReceiver: "true"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - receivedSignValues: "[]"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@101565b"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@7be75d"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@bdc53e"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:36 ) - EncryptedKey: "true"
19/04/2010 10:01:53:538 - (org.tempuri.AbstractCallbackHandler:142 ) - Alias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
19/04/2010 10:01:53:554 - (org.tempuri.AbstractCallbackHandler:146 ) - privateKey: Sun RSA private CRT key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504
16617379901915844764947621993181515285346849265990516302645935579352718581413485
30925767848287007124159995997428821810104699519021656042008140033621450500337755
29505369123328663508115216401825719435107546726519543418329671067624473186811776
83841297595387959591357991562115540026428128866473957981630622291697524973389545
24775458652318209300029510091356813530998294173483430487454946805941170496818878
73873280894554567567653763054911799534022378203306055287866420631198155132505338
71683000426597252103214671618744617867663072214145948358537489810367025756475809
60433953564530205687746059149582155829570480174071607407528858973949201238555345
04330116405806161749929595296496425343014799388588490368037669383026443490001492
37338599021791639093635395254508427775587101459001385261009635637087885291813412
23537093382001513261236450905479646957816134377332687678751497568929150081651534
72479183708102826601724952951327616234899023362181449951414628162803816058650350
25744719349900146819149145616978458762406936606278740780497939652399568739404735
01710261177695948782074739301704316197613624188707515262718302745876443885825993
69385367861004624764195494098984604908176317532246887
public exponent: 65537
private exponent: 167847849484810167715757686232605722877788679268893573173778
28388667572593636066138092491090722807019494092151981064325203323984417892934654
16720824800991831803695611449554785227820233493999052256529583320085047656348505
72683051705994407660449104414413815385167251561150154228879773679596753998329888
66850666360775447712974567272045452375272646290915250066917737171224780077184753
81545336218813041724420312413036802076032548504865284619390340073550992894249575
50171824939619748458187931950526937826993438148939169880971523684974317031261983
45087135140755662817336354999661299799094114084977723751409042458586778431864394
27717313060254192625055207148293878534915782885866638456390480682268201134422641
90396700712890935047031195182428963710365788250669276508839907722363669246994511
31446873713605756790040018427093640751666305745662953633581736723033642885932483
51006986043821412909498477697469933567008223784270256675029808524441660290419867
05342346496548766850395588673996846167286172481741638196930589878718311772477973
51721816680828275881395491289794151803816979258042134180290956934009990993576054
32758505538312862191708069581950853953914802804978747318544454609105284171292750
98157965662824400315238995060044160261196903665776001
prime p: 264078712645623554013684000212074082877139129538222422479650
69648934643622169572709270285603232408228716176527739872567794709628846356670038
31301446174047815808643548312607686399688919058988160150347280689646561779171671
45948669140653317143742489806279035288689969661418392656301745835105408579851517
99633025788173945347028636521586265690358323087937730250850802302590226332655146
79410185052823024855975509039474158035935737360180589486690870515587107123807531
96973405503374164153109660392844164045290146968577560804864888318399551513334475
10178866640431790428979629213658203270374033391647650248769528001183450965483
prime q: 230189949118173630976372211634493838363706865805844717104960
82977610000352453914474866779450473313206565070295746784832643008825240280429162
62468628730343927973339862233674659409385920108420375943185825249207789932592000
02504507645854852757331427146771223706416469636386797798641621075969168259919952
12184717033492773399210009033340018433880022979649232585866489988459775111519024
76641109998767695548797854470900595741160880693899120150956288954050116180389273
41058598064319338069891071274635323530739898480843648928125293727451017063093087
82385704383259190030205609536287705671766012644141583013348032802152453078389
prime exponent p: 231955858422651630175286013583289509449967407599795134809971
34967131891299726741428645558856067161751164177515286719934771235482010780501255
09999965653128195019982084297652646102172705885692867220878911346254853423532008
90436473123299940512680416035193137714473321994591601282634389718751893508997247
86698737041613640598466567913775628796946409944872902969165912912531949568019493
19014408693802850692497828369582524487520648200845257393554174912336112754352206
81199537479618135701569458481683236999971425458079669312480694814359372306713750
38885613594709187421520856244323580134261275801306086433166270646934180002563
prime exponent q: 117355182262484052644804436198356777505961118151653015669178
49832123919797613412124971372430828605838804829771297001309615457083310622239333
22575061768745156498546339883600679313767831342028802066217934803645737174844193
43022729289764596187313390051847355333304653607747618719932463240463888336366410
42914929971208028210238564808000926131998708024414302747439937188068083769871578
73407888174295836606442679914883664264517255073386902093225987251975563144775720
63406165654897809231292254351406311393702511375893739383653849184759653052658288
45340359718227200776496175074026043638021972541710157188183537116217064593361
crt coefficient: 187932703102723759820948757965090706320781267143729024062162
98241862955433764722616218094010460362500455144002752029308441210388850722198289
29377534074447125408406235577013945841337627906340450677116172956590030315880891
86266381265975018112261672251661735250745880988973328759741289815447926399749333
03520468968068840464061172781100511058527946150611023321666842110468782313874334
97946155029025731190760415776393793534082072135237781409920184428017007991083857
68991578855025024968341211821625821847810610496893807528699338197023813895086725
9859143017174228038132075911269203792625274961171609132154193962135011900868
19/04/2010 10:01:53:819 - (org.tempuri.UsernamePasswordCallbackHandler:14 ) - validate
19/04/2010 10:01:53:819 - (org.tempuri.UsernamePasswordCallbackHandler:20 ) - plainTextRequest: com.sun.xml.wss.impl.callback.PasswordValidationCallback$PlainTextPasswordRequest@fe6b32
19/04/2010 10:01:53:819 - (org.tempuri.UsernamePasswordCallbackHandler:21 ) - username: Sys_JavaLbe
19/04/2010 10:01:53:819 - (org.tempuri.UsernamePasswordCallbackHandler:22 ) - password: **********
Apr 19, 2010 10:01:54 AM com.sun.xml.ws.dump.MessageDumper dump
INFO: Response message processed in Tube [ com.sun.xml.wss.jaxws.impl.SecurityServerTube ] Instance [ 8 ] Engine [ com.sun.xml.ws.server.WSEndpointImpl@16298a ]
Thread [ RMICallHandler-4 ]:



http://www.w3.org/2005/08/addressing/anonymous
http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCT
uuid:37af9474-29c8-4f2a-b999-56960e73e845
uuid:614cefc8-ffa2-4547-9f3f-3a0ba1a2c51f


2010-04-19T08:01:53Z
2010-04-19T08:06:53Z


W38mk1b3lXBGrNeHOCUBzjVW9yY=

0
24
6/eBKW+8pNa3y2LlGTIUHhBZ


W38mk1b3lXBGrNeHOCUBzjVW9yY=

0
32
Jq00+TjpHOnRMjtY1lfKLFzz































Message was edited by: dabla

sm228678
Offline
Joined: 2008-08-31

Hi, i tried building your project with maven, but i ended up with some error for which i have attached the log ..please check .The error is same with the second run also..

Also i tried creating a netbeans webservice sample with your Service1.wsdl(ar/src/main/wsdl) and it is running fine on my side ..
Please find the attached Netbeans sample and request and response message logs..
The problem might be because of some misconfiguration on your side ..

i am cross checking it once again
Thanks
Suiresh

sm228678
Offline
Joined: 2008-08-31

the request and response messages log is attached !!

dabla
Offline
Joined: 2010-03-31

Hi Suresh,

First of all thank you for the support! It's weird you receive this error in Maven, I'll check it out. I'm glad to hear it works on your side. I'm comparing your project files with mine, I'll keep you posted.

Kind regards,
David

dabla
Offline
Joined: 2010-03-31

Back again, I also tried with 2.1-SNAPSHOT and still same error, bellow the loggin output of my server, as you can see, no errors are shown:

2010-04-14 09:41:57.335 NOTIFICATION Starting application : metro
2010-04-14 09:41:57.335 NOTIFICATION Initializing ClassLoader(s)
2010-04-14 09:41:57.335 NOTIFICATION Initializing EJB container
2010-04-14 09:41:57.335 NOTIFICATION Loading connector(s)
2010-04-14 09:41:57.366 NOTIFICATION Starting up resource adapters
2010-04-14 09:41:57.366 NOTIFICATION Initializing EJB sessions
2010-04-14 09:41:57.366 NOTIFICATION Committing ClassLoader(s)
2010-04-14 09:41:57.366 NOTIFICATION Initialize metro-2-wcf-demo-war-1.0.0 begins...
2010-04-14 09:41:57.382 NOTIFICATION Initialize metro-2-wcf-demo-war-1.0.0 ends...
2010-04-14 09:41:57.382 NOTIFICATION Started application : metro
2010-04-14 09:41:57.382 NOTIFICATION Binding web application(s) to site default-web-site begins...
2010-04-14 09:41:57.382 NOTIFICATION Binding metro-2-wcf-demo-war-1.0.0 web-module for application metro to site default-web-site under context root HelloJava
Apr 14, 2010 9:41:57 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
14/04/2010 09:41:57:819 - (org.tempuri.Service1Impl:20 ) - Service1Impl
Apr 14, 2010 9:41:58 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: null
14/04/2010 09:41:59:132 - (org.tempuri.CertificateKeyStore:26 ) - input: java.util.zip.ZipFile$2@f8fdd3
14/04/2010 09:41:59:147 - (org.tempuri.CertificateKeyStore:30 ) - keyStore: java.security.KeyStore@e05754
14/04/2010 09:41:59:147 - (org.tempuri.CertificateKeyStore:37 ) - alias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
Apr 14, 2010 9:41:59 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate
INFO: WSSERVLET14: JAX-WS servlet initializing
2010-04-14 09:41:59.194 NOTIFICATION Initializing Servlet: com.sun.xml.ws.transport.http.servlet.WSServlet for web application metro-2-wcf-demo-war-1.0.0
2010-04-14 09:41:59.194 NOTIFICATION Binding web application(s) to site default-web-site ends...
2010-04-14 09:41:59.210 NOTIFICATION Application Deployer for metro COMPLETES. Operation time: 32625 msecs
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:106 ) - handle
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:112 ) - KeyStoreCallback
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:115 ) - KeystoreCallback Runtime Properties:
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@857c75"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - EnableWSS11PolicyReceiver: "true"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - receivedSignValues: "[]"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@1ae13c0"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@13a828"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@b3c884"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:38 ) - EncryptedKey: "true"
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:118 ) - Keystore: null
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:106 ) - handle
14/04/2010 09:42:28:475 - (org.tempuri.AbstractCallbackHandler:124 ) - PrivateKeyCallback
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:129 ) - PrivateKeyCallback Runtime Properties:
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - WSEndpoint: "com.sun.xml.ws.server.WSEndpointImpl@857c75"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - EnableWSS11PolicyReceiver: "true"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - receivedSignValues: "[]"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - SessionManager: "com.sun.xml.ws.runtime.util.SessionManagerImpl@1ae13c0"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - OperationResolver: "com.sun.xml.wss.jaxws.impl.PolicyResolverImpl@13a828"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - WSDLPort: "com.sun.xml.ws.model.wsdl.WSDLPortImpl@b3c884"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:38 ) - EncryptedKey: "true"
14/04/2010 09:42:28:491 - (org.tempuri.AbstractCallbackHandler:132 ) - Alias: 5f9f5c84-cd51-4a1c-a920-f7abcf926a3c
14/04/2010 09:42:28:507 - (org.tempuri.AbstractCallbackHandler:136 ) - privateKey: Sun RSA private CRT key, 4096 bits
modulus: 607882654270888813085080210136288752223786288309321292279504
16617379901915844764947621993181515285346849265990516302645935579352718581413485
30925767848287007124159995997428821810104699519021656042008140033621450500337755
29505369123328663508115216401825719435107546726519543418329671067624473186811776
83841297595387959591357991562115540026428128866473957981630622291697524973389545
24775458652318209300029510091356813530998294173483430487454946805941170496818878
73873280894554567567653763054911799534022378203306055287866420631198155132505338
71683000426597252103214671618744617867663072214145948358537489810367025756475809
60433953564530205687746059149582155829570480174071607407528858973949201238555345
04330116405806161749929595296496425343014799388588490368037669383026443490001492
37338599021791639093635395254508427775587101459001385261009635637087885291813412
23537093382001513261236450905479646957816134377332687678751497568929150081651534
72479183708102826601724952951327616234899023362181449951414628162803816058650350
25744719349900146819149145616978458762406936606278740780497939652399568739404735
01710261177695948782074739301704316197613624188707515262718302745876443885825993
69385367861004624764195494098984604908176317532246887
public exponent: 65537
private exponent: 167847849484810167715757686232605722877788679268893573173778
28388667572593636066138092491090722807019494092151981064325203323984417892934654
16720824800991831803695611449554785227820233493999052256529583320085047656348505
72683051705994407660449104414413815385167251561150154228879773679596753998329888
66850666360775447712974567272045452375272646290915250066917737171224780077184753
81545336218813041724420312413036802076032548504865284619390340073550992894249575
50171824939619748458187931950526937826993438148939169880971523684974317031261983
45087135140755662817336354999661299799094114084977723751409042458586778431864394
27717313060254192625055207148293878534915782885866638456390480682268201134422641
90396700712890935047031195182428963710365788250669276508839907722363669246994511
31446873713605756790040018427093640751666305745662953633581736723033642885932483
51006986043821412909498477697469933567008223784270256675029808524441660290419867
05342346496548766850395588673996846167286172481741638196930589878718311772477973
51721816680828275881395491289794151803816979258042134180290956934009990993576054
32758505538312862191708069581950853953914802804978747318544454609105284171292750
98157965662824400315238995060044160261196903665776001
prime p: 264078712645623554013684000212074082877139129538222422479650
69648934643622169572709270285603232408228716176527739872567794709628846356670038
31301446174047815808643548312607686399688919058988160150347280689646561779171671
45948669140653317143742489806279035288689969661418392656301745835105408579851517
99633025788173945347028636521586265690358323087937730250850802302590226332655146
79410185052823024855975509039474158035935737360180589486690870515587107123807531
96973405503374164153109660392844164045290146968577560804864888318399551513334475
10178866640431790428979629213658203270374033391647650248769528001183450965483
prime q: 230189949118173630976372211634493838363706865805844717104960
82977610000352453914474866779450473313206565070295746784832643008825240280429162
62468628730343927973339862233674659409385920108420375943185825249207789932592000
02504507645854852757331427146771223706416469636386797798641621075969168259919952
12184717033492773399210009033340018433880022979649232585866489988459775111519024
76641109998767695548797854470900595741160880693899120150956288954050116180389273
41058598064319338069891071274635323530739898480843648928125293727451017063093087
82385704383259190030205609536287705671766012644141583013348032802152453078389
prime exponent p: 231955858422651630175286013583289509449967407599795134809971
34967131891299726741428645558856067161751164177515286719934771235482010780501255
09999965653128195019982084297652646102172705885692867220878911346254853423532008
90436473123299940512680416035193137714473321994591601282634389718751893508997247
86698737041613640598466567913775628796946409944872902969165912912531949568019493
19014408693802850692497828369582524487520648200845257393554174912336112754352206
81199537479618135701569458481683236999971425458079669312480694814359372306713750
38885613594709187421520856244323580134261275801306086433166270646934180002563
prime exponent q: 117355182262484052644804436198356777505961118151653015669178
49832123919797613412124971372430828605838804829771297001309615457083310622239333
22575061768745156498546339883600679313767831342028802066217934803645737174844193
43022729289764596187313390051847355333304653607747618719932463240463888336366410
42914929971208028210238564808000926131998708024414302747439937188068083769871578
73407888174295836606442679914883664264517255073386902093225987251975563144775720
63406165654897809231292254351406311393702511375893739383653849184759653052658288
45340359718227200776496175074026043638021972541710157188183537116217064593361
crt coefficient: 187932703102723759820948757965090706320781267143729024062162
98241862955433764722616218094010460362500455144002752029308441210388850722198289
29377534074447125408406235577013945841337627906340450677116172956590030315880891
86266381265975018112261672251661735250745880988973328759741289815447926399749333
03520468968068840464061172781100511058527946150611023321666842110468782313874334
97946155029025731190760415776393793534082072135237781409920184428017007991083857
68991578855025024968341211821625821847810610496893807528699338197023813895086725
9859143017174228038132075911269203792625274961171609132154193962135011900868
10/04/14 09:42:28 Validate: com.sun.xml.wss.impl.callback.PasswordValidationCallback$PlainTextPasswordRequest@4b443a
10/04/14 09:42:28 plainTextRequest: com.sun.xml.wss.impl.callback.PasswordValidationCallback$PlainTextPasswordRequest@4b443a
10/04/14 09:42:28 username: alice
10/04/14 09:42:28 password: *****

However, if I try running the same server code in Java 1.6.0_10 I receive the following exception:

SEVERE: WSSTUBE0025: Error in Verifying Security in the Inbound Message.
com.sun.xml.wss.impl.PolicyViolationException: com.sun.xml.wss.XWSSecurityExcept
ion: com.sun.xml.wss.XWSSecurityException: Policy Verification error:UsernameTok
en not found in message but occurs in configured policy
at com.sun.xml.wss.impl.policy.verifier.MessagePolicyVerifier.verifyPolicy(MessagePolicyVerifier.java:131)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.createMessage(SecurityRecipient.java:986)
at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:232)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.verifyInboundMessage(SecurityTubeBase.java:481)
at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: Policy Verification error:UsernameToken not found in message but occurs in configured policy
at com.sun.xml.wss.impl.policy.verifier.MessagePolicyVerifier.processSecondaryPolicy(MessagePolicyVerifier.java:243)
at com.sun.xml.wss.impl.policy.verifier.MessagePolicyVerifier.verifyPolicy(MessagePolicyVerifier.java:124)
... 27 more
Caused by: com.sun.xml.wss.XWSSecurityException: Policy Verification error:UsernameToken not found in message but occurs in configured policy
at com.sun.xml.wss.impl.policy.verifier.MessagePolicyVerifier.processSecondaryPolicy(MessagePolicyVerifier.java:198)
... 28 more

Message was edited by: dabla

dabla
Offline
Joined: 2010-03-31

I've tested with Metro 2.0.1 and still the same error, in attachment you'll find my Maven project.

dabla
Offline
Joined: 2010-03-31

Hi and thank you for the reply. I was using version 2.0 of Metro, so as it might be a bug as you suggested, I tried using version 2.0.1 to see if it would be fixed there. Unfortunately, I receive the following weird error (I'm using Maven as a build environment) at compilation time:

[INFO] Compilation failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_22). Please file a bug at the J
ava Developer Connection (http://java.sun.com/webapps/bugreport) after checking
the Bug Parade for duplicates. Include your program and the following diagnosti
c in your report. Thank you.
java.lang.InternalError: jzentry == 0,
jzfile = 653973744,
total = 8756,
name = D:\Documents And Settings\BKD7702\.m2\repository\com\sun\xml\ws\webservi
ces-rt\2.0.1\webservices-rt-2.0.1.jar,
i = 6007,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447
)
at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:444)
at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:420)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
r.java:141)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:493)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:500)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:479)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_22). Please file a bug at the J
ava Developer Connection (http://java.sun.com/webapps/bugreport) after checking
the Bug Parade for duplicates. Include your program and the following diagnosti
c in your report. Thank you.
java.lang.InternalError: jzentry == 0,
jzfile = 653973744,
total = 8756,
name = D:\Documents And Settings\BKD7702\.m2\repository\com\sun\xml\ws\webservi
ces-rt\2.0.1\webservices-rt-2.0.1.jar,
i = 6007,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447
)
at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:444)
at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:420)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
r.java:141)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:493)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:500)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:479)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Apr 14 09:11:38 CEST 2010
[INFO] Final Memory: 17M/254M
[INFO] ------------------------------------------------------------------------

I also saw there was a 2.1 Snapshot, I tried building with that version and I had the same exception. However, I'm able to compile if I specify version 2.0 for webservices-rt and leave the others at 2.0.1.

dabla
Offline
Joined: 2010-03-31

I've sniffed the soap response message with Fiddler, this is there xml/soap respone:

HTTP/1.1 200 OK
Date: Tue, 13 Apr 2010 13:40:15 GMT
Server: Oracle Containers for J2EE
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Content-Type: application/soap+xml;charset=utf-8
Content-Length: 4561

http://www.w3.org/2005/08/addressing/anonymoushttp://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCTuuid:9c33ffbe-6268-437b-b6ed-0f2a2df5f140uuid:4a647a23-9a5b-4b69-8538-cc47b6a591042010-04-13T13:40:16Z2010-04-13T13:45:16ZXtUABJ8Zucc6Ox9HLWoMRSB8whw=024VrzfdalxJ8Qm/5t2d5iAbsNaXtUABJ8Zucc6Ox9HLWoMRSB8whw=032Q7NwayUq368+48OiB4VBPfQ2

The CipherValue element is indeed empty. Why?

Kumar Jayanti

This seems like a bug, can you provide some steps to reproduce or file a
bug with details.

thanks
metro@javadesktop.org wrote:
> I've sniffed the soap response message with Fiddler, this is there xml/soap respone:
>
> HTTP/1.1 200 OK
> Date: Tue, 13 Apr 2010 13:40:15 GMT
> Server: Oracle Containers for J2EE
> Connection: Keep-Alive
> Keep-Alive: timeout=15, max=100
> Content-Type: application/soap+xml;charset=utf-8
> Content-Length: 4561
>
> http://www.w3.org/2005/08/addressing/anonymoushttp://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/SCTuuid:9c33ffbe-6268-437b-b6ed-0f2a2df5f140uuid:4a647a23-9a5b-4b69-8538-cc47b6a591042010-04-13T13:40:16Z2010-04-13T13:45:16ZXtUABJ8Zucc6Ox9HLWoMRSB8whw= s19:Offset>024VrzfdalxJ8Qm/5t2d5iAbsNaXtUABJ8Zucc6Ox9HLWoMRSB8whw=032Q7NwayUq368+48OiB4VBPfQ2 2001/04/xmlenc#Content">
>
> The CipherValue element is indeed empty. Why?
> [Message sent by forum member 'dabla']
>
> http://forums.java.net/jive/thread.jspa?messageID=396679
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

dabla
Offline
Joined: 2010-03-31

I've described the problem and attached the project files below. Thx

suresh

Can you give the steps for running the sample project to reproduce the
problem ?
Thanks
Suresh
On Thursday 15 April 2010 12:57 PM, metro@javadesktop.org wrote:
> I've described the problem and attached the project files below. Thx
> [Message sent by forum member 'dabla']
>
> http://forums.java.net/jive/thread.jspa?messageID=397058
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

dabla
Offline
Joined: 2010-03-31

Hi Suresh,

First make sure you have Maven installed (I use Maven version 2.0.10) and your JRE (mine is version 1.5.0_22) for the client and server has the strong encryption jars installed. You'll need also to modify your Maven settings.xml file in order to be able to download the Metro jar dependencies from the repository, which is explained here:

https://metro.dev.java.net/guide/Using_JAX_WS_from_Maven.html

Then from within the metro-2-wcf-demo dir run the following command:

mvn clean install

The result should be an ear-file. During the build process, the deployed services are being unit tested, but if those fail the exception is catched and printed to the console (and the build doesn't fail).

The first time you build, you'll certainly have an exception as the service isn't deployed yet. In your case you may need to modify the service endpoint in the unit test if it's different from mine under 'metro-2-wcf-demo/jar/src/test/java/org/tempuri/Service1Test.java'.

Of course you'll need to deploy the ear (or war if you prefer) file to an application server.

I hope the information is complete.

Kind regards,
David

Message was edited by: dabla

dabla
Offline
Joined: 2010-03-31

As far as I can tell, it's the pfx-file that's problematic, I must be missing something. I've tried it via (succesfully) converting it to a Java KeyStore (jks-file, see http://www.entrust.net/knowledge-base/technote.cfm?tn=7925 on how to do it) as well as doing it via Java code based on CallbackHanlder and I still receive the same error.

dabla
Offline
Joined: 2010-03-31

Sor far I've found the reason for the following error:

SEVERE: Illegal character in path at index 16: file:/C:/Program Files/Oracle/oc4j_extended_101350/j2ee/home/applications/Metro 2 WCF Demo/metro-2-wcf-demo-war-1.0.0/WEB-INF/wsdl/Service1.wsdl#WS2007HttpBinding_IService1_GetData_Output_Policy

This is because there are white spaces in the file path, namely 'Program Files' and the project name 'Metro 2 WCF Demo' are problematic. I've moved my OC4J installation to C:\apps dir and renamed the application to metro and this error disappears.