Tomcat out of memory issues with Fiddler Certificate

2 posts, 0 answers
  1. Pär
    Pär avatar
    3 posts
    Member since:
    Mar 2014

    Posted 20 Mar 2015 Link to this post

    I followed these instructions to be able to capture https traffic from my tomcat (7.0.59) server, but with the -Djavax.net.ssl.trustStore and -Djavax.net.ssl.trustStorePassword options, I keep on getting:
    Servlet.service() for servlet [dispatcher-tiles] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen space] with root cause
    java.lang.OutOfMemoryError: PermGen space

    in certain situations, removing the two options, and closing Fiddler, makes everything fine again.

    Any advice on how to proceed with this issue?

    /Pär
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 20 Mar 2015 Link to this post

    Howdy--

    I'm not sure what instructions you followed and you haven't explicitly stated what values you tried to set the options in question to.

    In general, the correct approach is to export Fiddler's certificate to the desktop, then import it to the Trusted Roots Java keystore used by whatever Java application you're using.

    Regards,
    Eric Lawrence
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top