Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
Sean, Rather than add those lines in my JDK installation, I'm going to add them in my JRE installation, specifically: C:\Program Files\Java\jre9b181\lib\security\default.policy. If this is different than what you intended, please let me know. The infinite recursion is happening when running wit

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
In case useful, our jnlp file also contains this: On Wed, Sep 20, 2017 at 2:14 PM, Tom Hood wrote: > Sean, > > I'll add those lines to the lib/security/default.policy file as you > suggested. I left the app running overnight and came in this morning and > it was stuck in the infinite recu

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
Sean, I'll add those lines to the lib/security/default.policy file as you suggested. I left the app running overnight and came in this morning and it was stuck in the infinite recursion loop again. I'll leave it running tonight as well with the default.policy change. How do I set java.security.

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread mandy chung
FYI.  jdk.javaws is granted with AllPermissions in conf/security/javaws.policy.   Maybe javaws.policy is not augmented to the security policy at runtime? Mandy On 9/20/17 12:45 PM, Sean Mullan wrote: Tom, Try adding the following lines to the lib/security/default.policy file in your JDK ins

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Sean Mullan
Tom, Try adding the following lines to the lib/security/default.policy file in your JDK installation: grant codeBase "jrt:/jdk.javaws" { permission java.security.AllPermission; }; I have a hunch that permissions are not being granted to the jdk.javaws module before it needs them. If that

Re: StackOverflowError - Java 9 Build 181

2017-09-19 Thread Tom Hood
No luck so far reproducing this problem. The two times it happened to me yesterday have both been with Java 9 build 181 and the application has been idle for awhile. I login to our application, execute various features of the application, go to a meeting, return, and then see the java console repe

Re: StackOverflowError - Java 9 Build 181

2017-09-19 Thread Sean Mullan
Cross-posting to security-dev as this is more relevant to that list and bcc-ing core-libs-dev. I think this might be an issue with the JavaWebStart SecurityManager not being granted the proper permissions. It is possible that the deployment policy files are not being loaded or there is some ot