An expection occurred today when we're deploying the web services to our QC environment.
java.lang.ClassNotFoundException: weblogic.wsse.security.bst.ServerBSTCredentialProvider
weblogic.wsse.security.bst.ServerBSTCredentialProvider
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at weblogic.wsee.security.configuration.WssConfiguration.createInstance(WssConfiguration.java:411)
at weblogic.wsee.security.configuration.WssConfiguration.createInstancesFromMBean(WssConfiguration.java:404)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfiguration.java:126)
at weblogic.wsee.security.configuration.WssConfiguration.getSupprotedTokens(WssConfiguration.java:182)
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.init(SecurityPolicyCustomizer.java:56)
at weblogic.wsee.security.policy.SecurityPolicyCustomizer.process(SecurityPolicyCustomizer.java:75)
at weblogic.wsee.policy.runtime.PolicyServer.processAssertions(PolicyServer.java:199)
at weblogic.wsee.policy.runtime.PolicyFinder.readPolicyFromStream(PolicyFinder.java:99)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicies(PolicyFinder.java:179)
at weblogic.wsee.policy.runtime.PolicyFinder.loadPolicesFromZip(PolicyFinder.java:200)
I am very sure that file is in the weblogic.jar, so I had enable the classloader information by add "-verbose:class" as jvm argument. And it actually did load the class from the weblogic.jar.
By further investigation, more than ten times re-deploy and re-configure. The weblogic eventually gives a good error message, can not find key alias to establish the SSL connection. So I go back to the Server -> Key Store and SSL tag, guess that our lovely Miss Weblogic Admin has forgetten to specify the SSL key alias[Our web services are protected by message level security plus SSL, please do not ask me why :-(].
So I am note this exception here, in case you see same error message, go check your configuration first!
Also please check my new web site Scan2D QR Code Mobile Solution
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment