[ 
http://www.stripesframework.org/jira/browse/STS-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11442#action_11442
 ] 

halibut commented on STS-320:
-----------------------------

We always encounter this issue.
The reproduce steps:

1. Visit the Stripes application .
2. Visit a web services first, such as fetch the WSDL, or invoke a WS operation.
   Then re-visit the Stripes application, do some operations, or logout, then 
login, do some operations.(Can use different web browser)

Prerequisite:
Install a WebServices application and Stripes Application on the same Tomcat.

Result:
1. Everything is OK.
2. This bug comes:
HTTP Status 500 -
...
net.sourceforge.stripes.exception.StripesRuntimeException: Could not encrypt 
value.

Note:
Our Stripes application use CAS, but the Web services have nothing to do with 
CAS.

Stripe version: 1.4.3
Tomcat version: 5.5.25
WebServices use: org.apache.cxf  2.1-incubator-SNAPSHOT


> Could not encrypt value
> -----------------------
>
>                 Key: STS-320
>                 URL: http://www.stripesframework.org/jira/browse/STS-320
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.3.2, Release 1.4.2
>         Environment: XP Pro, Tomcat 5.5.17, jdk1.5.07, IE 7.0
>            Reporter: Mark Vanderflugt
>            Assignee: Ben Gunter
>             Fix For: Release 1.5
>
>
> This 'Could not encrypt value' is eventually repeatable.  Here's the steps I 
> took before it occurred:
> I've been working on the project for over a month, and prior to a couple days 
> ago had never received  this error.
> This execution of steps has occurred three times:
> 1. Restarted Tomcat, tested the application and it worked fine.
> 2. Came back to the application 10 hours later, and got the 'Could not 
> encrypt value' error.
> I can never get the error to occur if I've restarted tomcat recently, only if 
> it's been a number of hours since I tried it.  Here's  the stack trace:
> net.sourceforge.stripes.exception.StripesRuntimeException: Could not encrypt 
> value.
>       net.sourceforge.stripes.util.CryptoUtil.encrypt(CryptoUtil.java:68)
>       
> net.sourceforge.stripes.tag.FormTag.writeFieldsPresentHiddenField(FormTag.java:286)
>       net.sourceforge.stripes.tag.FormTag.doEndTag(FormTag.java:213)
>       
> org.apache.jsp.jsp.serverlist_jsp._jspx_meth_stripes_form_0(org.apache.jsp.jsp.serverlist_jsp:393)
>       
> org.apache.jsp.jsp.serverlist_jsp._jspService(org.apache.jsp.jsp.serverlist_jsp:199)
>       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
>       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
> net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:104)
>       
> net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:484)
>       
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:157)
>       
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:107)
>       
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:154)
>       
> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:73)
>       
> net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:478)
>       
> net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:249)
>       
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:166)
>       
> net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.java:61)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:181)
> Thanks,
>   Mark

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to