Subject | Re: Unable to complete network request to host |
---|---|
Author | Fabiano |
Post date | 2010-02-13T09:04:10Z |
Maybe this is a good point to investigate, but as i did a fresh install of java on both servers, the original policy files in '/opt/jre/lib/security are identical. I removed all previous java versions, and checked there is only a java.policy file on both servers (see below):
SERVER1 (test app is running ok)
Fedora release 7 (Moonshine)
# ll /opt/jre
lrwxrwxrwx 1 root root 11 2010-02-12 22:08 /opt/jre -> jre1.6.0_18
# which java
/opt/jre/bin/java
# md5sum /opt/jre/lib/security/*
88b31bec85c02c2df16aedfb72fe9cc6 /opt/jre/lib/security/blacklist
05e40de38907d0d524fd7b182cf9036b /opt/jre/lib/security/cacerts
28a85beff3ef87d4f0c643c52f183a3d /opt/jre/lib/security/java.policy
5ea81df9cf4378e9020371208af0b9c7 /opt/jre/lib/security/java.security
921f971b69450756efdd5e14322e1037 /opt/jre/lib/security/javaws.policy
2af0175bad9056cb16b2ec02a5660039 /opt/jre/lib/security/local_policy.jar
ded8e98162e0e4e0126ca032855b7049 /opt/jre/lib/security/US_export_policy.jar
# find / -iname java.policy
/opt/jre1.6.0_18/lib/security/java.policy
SERVER2 (test app is not running)
Fedora Core release 5 (Bordeaux)
# ll /opt/jre
lrwxrwxrwx 1 root root 11 Feb 13 07:01 /opt/jre -> jre1.6.0_18
# which java
/opt/jre/bin/java
# md5sum /opt/jre/lib/security/*
88b31bec85c02c2df16aedfb72fe9cc6 /opt/jre/lib/security/blacklist
05e40de38907d0d524fd7b182cf9036b /opt/jre/lib/security/cacerts
28a85beff3ef87d4f0c643c52f183a3d /opt/jre/lib/security/java.policy
5ea81df9cf4378e9020371208af0b9c7 /opt/jre/lib/security/java.security
921f971b69450756efdd5e14322e1037 /opt/jre/lib/security/javaws.policy
2af0175bad9056cb16b2ec02a5660039 /opt/jre/lib/security/local_policy.jar
ded8e98162e0e4e0126ca032855b7049 /opt/jre/lib/security/US_export_policy.jar
# find / -iname java.policy
/opt/jre1.6.0_18/lib/security/java.policy
Is there some possibility of the JVM read policy data from somewhere else?
There is no .java.policy in the user home directory.
Regards,
Fabiano
SERVER1 (test app is running ok)
Fedora release 7 (Moonshine)
# ll /opt/jre
lrwxrwxrwx 1 root root 11 2010-02-12 22:08 /opt/jre -> jre1.6.0_18
# which java
/opt/jre/bin/java
# md5sum /opt/jre/lib/security/*
88b31bec85c02c2df16aedfb72fe9cc6 /opt/jre/lib/security/blacklist
05e40de38907d0d524fd7b182cf9036b /opt/jre/lib/security/cacerts
28a85beff3ef87d4f0c643c52f183a3d /opt/jre/lib/security/java.policy
5ea81df9cf4378e9020371208af0b9c7 /opt/jre/lib/security/java.security
921f971b69450756efdd5e14322e1037 /opt/jre/lib/security/javaws.policy
2af0175bad9056cb16b2ec02a5660039 /opt/jre/lib/security/local_policy.jar
ded8e98162e0e4e0126ca032855b7049 /opt/jre/lib/security/US_export_policy.jar
# find / -iname java.policy
/opt/jre1.6.0_18/lib/security/java.policy
SERVER2 (test app is not running)
Fedora Core release 5 (Bordeaux)
# ll /opt/jre
lrwxrwxrwx 1 root root 11 Feb 13 07:01 /opt/jre -> jre1.6.0_18
# which java
/opt/jre/bin/java
# md5sum /opt/jre/lib/security/*
88b31bec85c02c2df16aedfb72fe9cc6 /opt/jre/lib/security/blacklist
05e40de38907d0d524fd7b182cf9036b /opt/jre/lib/security/cacerts
28a85beff3ef87d4f0c643c52f183a3d /opt/jre/lib/security/java.policy
5ea81df9cf4378e9020371208af0b9c7 /opt/jre/lib/security/java.security
921f971b69450756efdd5e14322e1037 /opt/jre/lib/security/javaws.policy
2af0175bad9056cb16b2ec02a5660039 /opt/jre/lib/security/local_policy.jar
ded8e98162e0e4e0126ca032855b7049 /opt/jre/lib/security/US_export_policy.jar
# find / -iname java.policy
/opt/jre1.6.0_18/lib/security/java.policy
Is there some possibility of the JVM read policy data from somewhere else?
There is no .java.policy in the user home directory.
Regards,
Fabiano
--- In Firebird-Java@yahoogroups.com, Roman Rokytskyy <roman@...> wrote:
>
> > Do someone have some clue about this? Am i doing something stupid?
>
> What about the security policy in JVM?
>
> Roman
>