Sorry for confusion, finally I was able to make it work, the trick was with the server names, I had to add another server name to the main JRE java.policy file, i.e. in the format of:
permission java.net.SocketPermission "my-dev-server1:0", "resolve";
permission java.net.SocketPermission "my-dev ...
Search found 7 matches
- 21 Sep 2020, 17:39
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
- 21 Sep 2020, 14:59
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Re: Cannot overcome SocketPermission access denied
According to the following Java documentation:
https://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html
If the all-permissions element is specified, the application has full access to the client machine and local network. All JAR files must be signed. The user is ...
https://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html
If the all-permissions element is specified, the application has full access to the client machine and local network. All JAR files must be signed. The user is ...
- 18 Sep 2020, 22:49
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Re: Cannot overcome SocketPermission access denied
In my JNLP file I have the following:
<security>
<all-permissions/>
</security>
I reverted all the changes made to all the following files to the original default contents:
deployment.config
deployment.properties
java.policy
in the following paths:
C:\Program Files\Java\jre1.8.0_251\lib ...
<security>
<all-permissions/>
</security>
I reverted all the changes made to all the following files to the original default contents:
deployment.config
deployment.properties
java.policy
in the following paths:
C:\Program Files\Java\jre1.8.0_251\lib ...
- 09 Sep 2020, 14:45
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Re: Cannot overcome SocketPermission access denied
I don't have different value specified in "<User Home>\.config\icedtea-web\deployment.properties", this is the contents:
#Netx deployment configuration
#ows.install4j.propertyUpdate=1599235195818
#Tue Sep 08 10:00:57 EDT 2020
deployment.javaws.shortcut=ASK_USER
deployment.log=true
deployment ...
#Netx deployment configuration
#ows.install4j.propertyUpdate=1599235195818
#Tue Sep 08 10:00:57 EDT 2020
deployment.javaws.shortcut=ASK_USER
deployment.log=true
deployment ...
- 08 Sep 2020, 21:59
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Re: Cannot overcome SocketPermission access denied
I have a single line there:
Code: Select all
deployment.system.security.policy=file:///C:/Windows/Sun/Java/Deployment/java.policy- 08 Sep 2020, 16:18
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Re: Cannot overcome SocketPermission access denied
Janak, thank you for your quick response!
I am using Open Webstart 1.2.1, with JVM 1.8.0_251 Oracle Corporation, Windows x64 C:\Program Files\Java\jre1.8.0_251.
"<User Home>\.cache\icedtea-web\jvm-cache\cache.json" contains the following:
{
"runtimes": [
{
"version": "1.8.0_251",
"vendor ...
I am using Open Webstart 1.2.1, with JVM 1.8.0_251 Oracle Corporation, Windows x64 C:\Program Files\Java\jre1.8.0_251.
"<User Home>\.cache\icedtea-web\jvm-cache\cache.json" contains the following:
{
"runtimes": [
{
"version": "1.8.0_251",
"vendor ...
- 04 Sep 2020, 19:16
- Forum: Public Forums
- Topic: Cannot overcome SocketPermission access denied
- Replies: 12
- Views: 25985
Cannot overcome SocketPermission access denied
Below is my setup, please advise.
I get:
java.security.AccessControlException: access denied ("java.net.SocketPermission" "my-dev-server" "resolve")
Running on Windows 64-bit:
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM ...
I get:
java.security.AccessControlException: access denied ("java.net.SocketPermission" "my-dev-server" "resolve")
Running on Windows 64-bit:
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM ...