Hi Kathees, Did you store unlimited strength policy files [1] in JAVA_HOME/jre/lib/security folder ?
[1] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html On Wed, Mar 4, 2015 at 6:43 PM, Kathees Rajendram <[email protected]> wrote: > Hi Vanji, > > I am getting above exception when I run the esb sample 100. I followed the > steps as it is in the documentation[1]. > [1] - > https://docs.wso2.com/display/ESB481/Sample+100%3A+Using+WS-Security+for+Outgoing+Messages > > Thanks, > Kathees > > On Wed, Mar 4, 2015 at 6:14 PM, Vanjikumaran Sivajothy <[email protected]> > wrote: > >> Hi Kathees, >> >> You question is not clear! Can you please elaborate more on what you have >> done? >> >> On Wed, Mar 4, 2015 at 5:52 PM, Kathees Rajendram <[email protected]> >> wrote: >> >>> Hi, >>> >>> I am getting following exception when I invoke the service. >>> >>> [2015-03-04 17:27:00,003] ERROR - AxisEngine Missing wsse:Security >>> header in request >>> org.apache.axis2.AxisFault: Missing wsse:Security header in request >>> at >>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) >>> at >>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) >>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) >>> at >>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security >>> header in request >>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) >>> at >>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) >>> ... 9 more >>> [2015-03-04 17:27:00,004] ERROR - ClientWorker Fault processing response >>> message through Axis2 >>> org.apache.axis2.AxisFault: Missing wsse:Security header in request >>> at >>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) >>> at >>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99) >>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) >>> at >>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:235) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security >>> header in request >>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) >>> at >>> org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) >>> ... 9 more >>> >>> >>> Thanks, >>> Kathees >>> >>> -- >>> Kathees >>> Software Engineer, >>> email: [email protected] >>> mobile: +94772596173 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Sivajothy Vanjikumaran >> *Senior Software Engineer* >> *Integration Technologies Team* >> *WSO2 Inc. http://wso2.com <http://wso2.com/>* >> *Mobile:(+94)777219209* >> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image: >> Twitter] <https://twitter.com/vanjikumaran> [image: LinkedIn] >> <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> [image: >> Blogger] <http://vanjikumaran.blogspot.com/> [image: SlideShare] >> <http://www.slideshare.net/vanjikumaran> >> >> This communication may contain privileged or other >> confidential information and is intended exclusively for the addressee/s. >> If you are not the intended recipient/s, or believe that you may >> have received this communication in error, please reply to the >> sender indicating that fact and delete the copy you received and in >> addition, you should not print, copy, re-transmit, disseminate, or >> otherwise use the information contained in this communication. >> Internet communications cannot be guaranteed to be timely, secure, error >> or virus-free. The sender does not accept liability for any errors >> or omissions >> > > > > -- > Kathees > Software Engineer, > email: [email protected] > mobile: +94772596173 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, Thilini Cooray Software Engineer Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194> E-mail : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
