Hi,

I am getting the following error while implementing the User Authentication.
This is the error on the tomcat console. Please advise.

<http://cxf.547215.n5.nabble.com/file/n5777011/Capture.png> 

<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.39 - Error
report</title> </head><body>
HTTP Status 500 - Servlet execution threw an exception
<div class="line"></div><p>*type* Exception report</p><p>*message*
<u>Servlet execution threw an exception</u></p><p>*description* <u>The
server encountered an internal error that prevented it from fulfilling this
request.</u></p><p>*exception*</p><pre>javax.servlet.ServletException:
Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
</pre><p>*root cause*</p><pre>java.lang.IllegalAccessError: tried to access
method
org.apache.cxf.message.MessageImpl.setContextualProperty(Ljava/lang/String;Ljava/lang/Object;)V
from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor.translateProperties(AbstractWSS4JInterceptor.java:193)
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:201)
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:190)
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:96)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:252)
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
</pre><p>*note* <u>The full stack trace of the root cause is available in
the Apache Tomcat/8.0.39 logs.</u></p><hr class="line">
Apache Tomcat/8.0.39
</body></html>



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Illegal-access-error-exception-when-trying-to-implement-the-user-authentication-using-WS-Security-tp5777011.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to