Subject | Re: [Firebird-Java] Re: Help in win98 |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-11-18T15:36:45Z |
> Hello, just answering your request:Do you have a security manager installed in your appication? What does your
>
> ping 192.168.0.1
>
> telnet 192.168.0.1 3050
>
> Both executed with success!
policy file says?
As a test you can write small application that tries to connect to that
server from Java using sockets, or even using the java.net.URL class. For
example it can be something like:
java.net.URL myUrl = new java.net.URL("http://192.168.0.1:3050/");
InputStream in = myUrl.openStream();
It will either deliver you some bad data or even throw an exception.
However, if you are allowed to connect to that machine from Java, the
message will be different you get from JayBird. This code must be executed
in the same JVM as your JDBC driver.
Roman