Hi All,

After implementing the self service feature using the above mentioned
REST services, we are encountering the following errors. Please give
your valuable inputs regarding this issue.

2012-05-17 00:01:42,248 [http-0.0.0.0-8180-3] ERROR
acme.actions.ChangePasswordAction(97) ->
com.acme.exception.acmeException: java.net.SocketException: Connection
reset
at
com.acme.wsclients.rest.RESTConnectionServices.cha ngePassword(RESTConnectionServices.java:148)
at
com.acme.utils.PasswordManagementDelegate.changePa ssword(PasswordManagementDelegate.java:41)
at
com.acme.actions.ChangePasswordAction.acmeExecute( ChangePasswordAction.java:54)
at
com.acme.actions.AbstractacmeAction.execute(Abstra ctacmeAction.java:19)
at
org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.process(SecurityContextEstablishment Valve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.invoke(SecurityContextEstablishmentV alve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteV alve.java:460)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run( Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.net.http://www.protocol.http.HttpURLConn...eption(Unknown
Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown
Source)
at
com.acme.wsclients.rest.RESTConnectionServices.cha ngePassword(RESTConnectionServices.java:131)
... 30 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown
Source)
at
com.acme.wsclients.rest.RESTConnectionServices.pro cessChares(RESTConnectionServices.java:259)
at
com.acme.utils.PasswordManagementDelegate.retrieve ChallengeQuestions(PasswordManagementDelegate.java :23)
at
com.acme.actions.ChallengeQuestionsAction.acmeExec ute(ChallengeQuestionsAction.java:46)
at
com.acme.actions.AbstractacmeAction.execute(Abstra ctacmeAction.java:19)
at
org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:638)
at
org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:444)
at
org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:382)
at
org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:310)
at
org.apache.jasper.runtime.PageContextImpl.doForwar d(PageContextImpl.java:696)
at
org.apache.jasper.runtime.PageContextImpl.forward( PageContextImpl.java:667)
at
org.apache.jsp.enrollment.setChallenges_jsp._jspSe rvice(setChallenges_jsp.java:145)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:369)
at
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:249)
... 22 more

2012-05-17 00:02:20,292 [http-0.0.0.0-8180-3] ERROR
acme.actions.ChallengeQuestionsAction(68) ->
com.acme.exception.acmeException: java.net.SocketException: Connection
reset
at
com.acme.wsclients.rest.RESTConnectionServices.pro cessChares(RESTConnectionServices.java:297)
at
com.acme.utils.PasswordManagementDelegate.retrieve ChallengeQuestions(PasswordManagementDelegate.java :23)
at
com.acme.actions.ChallengeQuestionsAction.acmeExec ute(ChallengeQuestionsAction.java:46)
at
com.acme.actions.AbstractacmeAction.execute(Abstra ctacmeAction.java:19)
at
org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:638)
at
org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:444)
at
org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:382)
at
org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:310)
at
org.apache.jasper.runtime.PageContextImpl.doForwar d(PageContextImpl.java:696)
at
org.apache.jasper.runtime.PageContextImpl.forward( PageContextImpl.java:667)
at
org.apache.jsp.enrollment.setChallenges_jsp._jspSe rvice(setChallenges_jsp.java:145)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:369)
at
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:235)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.process(SecurityContextEstablishment Valve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstab lishmentValve.invoke(SecurityContextEstablishmentV alve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteV alve.java:460)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:598)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run( Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.net.http://www.protocol.http.HttpURLConn...eption(Unknown
Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown
Source)
at
com.acme.wsclients.rest.RESTConnectionServices.pro cessChares(RESTConnectionServices.java:259)
... 45 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
... 47 more


--
mvrk
------------------------------------------------------------------------
mvrk's Profile: http://forums.novell.com/member.php?userid=32023
View this thread: http://forums.novell.com/showthread.php?t=440305