This is a migrated thread and some comments may be shown as answers.

Tomcat out of memory issues with Fiddler Certificate

1 Answer 82 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Pär
Top achievements
Rank 1
Pär asked on 20 Mar 2015, 11:11 AM
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

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 20 Mar 2015, 04:53 PM
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.

 
Tags
Windows
Asked by
Pär
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or