Subject | Re: Linux Client Unable to complete network request problem |
---|---|
Author | venushau |
Post date | 2006-03-08T10:28:35Z |
Thanks very much, Roman.
I've use the same security policy file as in the Windows. For
simplier start, I've made the policy file includes the following:
grant {
permission java.security.AllPermission;
};
I used the command:
java -Djava.security.policy=policy -classpath .:../lib/jaybird-full-
2.0.0.jar:../lib/log4j-core.jar TestFBConnection
I'm not sure if the policy file can be read in this way, so I also
tried using an absolute path to set the security policy. But this
also doesn't help.
Thanks for your comment.
Let me try to make a socket connection program for testing.
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@...> wrote:
I've use the same security policy file as in the Windows. For
simplier start, I've made the policy file includes the following:
grant {
permission java.security.AllPermission;
};
I used the command:
java -Djava.security.policy=policy -classpath .:../lib/jaybird-full-
2.0.0.jar:../lib/log4j-core.jar TestFBConnection
I'm not sure if the policy file can be read in this way, so I also
tried using an absolute path to set the security policy. But this
also doesn't help.
Thanks for your comment.
Let me try to make a socket connection program for testing.
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@...> wrote:
>outgoing
> > I wonder if this is a problem in the Linux environment settings.
> > Does anyone have an idea?
>
> Can you check the security policy of your JVM? It might block
> connections for some reason.a socket
>
> The most easy way to do this is to write small program that opens
> connection to some specified port. Then you execute that classusing the
> same JVM.
>
> Roman
>