0 Replies Latest reply on Jun 7, 2014 6:44 AM by Saurabh Pant

    Facing @syncronized issue

    Saurabh Pant Newbie

      Hi All,

       

      I am new to the JBoss so need one help from the forum.

       

      I am facing one issue when ever we are trying to excuted the webservice hosted in the JBoss  Server. As per the server log I am getting this error

       

       

      2014-06-07 06:20:50,566 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/webservice].[Bridge]] Servlet.service() for servlet Bridge threw exception

      javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalStateException: could not acquire lock on @Synchronized component: securityTokenManager

      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)

      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)

      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254)

      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)

      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)

      at $Proxy177.authenticate(Unknown Source)

      at com.opalis.opconsole.servlet.PolicyBridge.processRequest(PolicyBridge.java:49)

      at com.opalis.opconsole.servlet.PolicyBridge.doGet(PolicyBridge.java:110)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

      at java.lang.Thread.run(Thread.java:662)

       

       

      We are calling the webservice using username and password  and sometime it process the request but after 10-15 requests it staring showing this error in the server log.

       

      Can someone please help me to fix this issue.

       

      Thanks

      Saurabh