[JIRA] Created: (STS-320) Could not encrypt value

View: New views
8 Messages — Rating Filter:   Alert me  

[JIRA] Created: (STS-320) Could not encrypt value

by JIRA jira@mc4j.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could not encrypt value
-----------------------

                 Key: STS-320
                 URL: http://mc4j.org/jira/browse/STS-320
             Project: Stripes
          Issue Type: Bug
    Affects Versions: Release 1.4.2, Release 1.3.2
         Environment: XP Pro, Tomcat 5.5.17, jdk1.5.07, IE 7.0
            Reporter: Mark Vanderflugt
         Assigned To: Tim Fennell


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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@mc4j.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://mc4j.org/jira/browse/STS-320?page=comments#action_10560 ]
           
Mark Vanderflugt commented on STS-320:
--------------------------------------

Also, before the stack trace the ExceptionHandler catches this error:
[22 Dec 2006 12:42:00,655] ERROR uiowa.serverregistration.util.ExceptionHandler Unhandled Exception: net.sourceforge.stripes.exception.StripesRuntimeException: Could not generate a Cipher.

It's possible there is something wrong with the Cipher.init(int, Key) method.

> Could not encrypt value
> -----------------------
>
>                 Key: STS-320
>                 URL: http://mc4j.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
>         Assigned To: Tim Fennell
>
> 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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@mc4j.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://mc4j.org/jira/browse/STS-320?page=comments#action_10864 ]
           
Xavier Morel commented on STS-320:
----------------------------------

I get a similar error on OSX 10.5 "Leopard" with the JDK 1.5.13 and Tomcat 5.5.25

Here's the initial trace I got:

{code}
CORE 2007-11-14 19:07:36,259 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[jsp]:723] - Servlet.service() for servlet jsp threw exception
java.security.InvalidKeyException: Illegal key size or default parameters
        at javax.crypto.Cipher.a(DashoA12275)
        at javax.crypto.Cipher.a(DashoA12275)
        at javax.crypto.Cipher.a(DashoA12275)
        at javax.crypto.Cipher.init(DashoA12275)
        at javax.crypto.Cipher.init(DashoA12275)
        at net.sourceforge.stripes.util.CryptoUtil.getCipher(CryptoUtil.java:119)
        at net.sourceforge.stripes.util.CryptoUtil.encrypt(CryptoUtil.java:61)
        at net.sourceforge.stripes.tag.FormTag.writeFieldsPresentHiddenField(FormTag.java:292)
        at net.sourceforge.stripes.tag.FormTag.doEndTag(FormTag.java:219)
        at org.apache.jsp.wap.html.templates.search_jsp._jspx_meth_stripes_005fform_005f0(search_jsp.java:174)
        at org.apache.jsp.wap.html.templates.search_jsp._jspService(search_jsp.java:100)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:180)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:104)
        at net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:484)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:157)
        at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:107)
        at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:154)
{code}

> Could not encrypt value
> -----------------------
>
>                 Key: STS-320
>                 URL: http://mc4j.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
>         Assigned To: Tim Fennell
>
> 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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@mc4j.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://mc4j.org/jira/browse/STS-320?page=comments#action_10865 ]
           
Xavier Morel commented on STS-320:
----------------------------------

Well I don't get the error anymore after installing the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" for Java 5.

> Could not encrypt value
> -----------------------
>
>                 Key: STS-320
>                 URL: http://mc4j.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
>         Assigned To: Tim Fennell
>
> 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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@mc4j.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://mc4j.org/jira/browse/STS-320?page=comments#action_11008 ]
           
Ben Gunter commented on STS-320:
--------------------------------

Anyone have any more information on this? Nobody else has reported this problem.

> Could not encrypt value
> -----------------------
>
>                 Key: STS-320
>                 URL: http://mc4j.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
>         Assigned To: Tim Fennell
>
> 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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Resolved: (STS-320) Could not encrypt value

by JIRA jira@stripesframework.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://www.stripesframework.org/jira/browse/STS-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Gunter resolved STS-320.
----------------------------

    Resolution: Cannot Reproduce

Trying to whittle down the list of open issues for 1.5. Since we can't reproduce this and haven't heard anything more about it, I'm closing as Cannot Reproduce for now. If the problem persists, please let us know and we will reopen this issue.

> 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

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@stripesframework.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development

[JIRA] Commented: (STS-320) Could not encrypt value

by JIRA jira@stripesframework.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

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

Sorry, just visit the WSDL can not reproduce the bug. Should invoke a web services' method. And, this issue can be solved as the description above, which said just install JCE.
I copy the two jars: US_export_policy.jar,local_policy.jar (which download from sun:
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-1.5.0-oth-JPR@CDS-CDS_Developer

to the jre/lib/security folder which is used by Tomcat. Then the issue disappears.

> 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
Stripes-development@...
https://lists.sourceforge.net/lists/listinfo/stripes-development
LightInTheBox - Buy quality products at wholesale price