When I try to connect to the RmiJdbc server, I get a dialog box in UltraDev that says "java/rmi/registry/LocateRegistry".
You aren't using the recommended java runtime for Windows. Please install Sun's JRE or JDK version 1.1.8 or higher. Microsoft versions of the Java Virtual Machine cause this error and aren't supported.
When I attempt to connect to the RmiJdbc server, I get a dialog box in UltraDev that says "No suitable driver".
This is a general error and usually means one of three things: your RmiJdbc driver is not in your classpath, your driver has been mistyped, or your URL has been mistyped. Check all three and try again.
When I attempt to connect to the RmiJdbc server, I get a dialog box in UltraDev that says "Connection refused to host [127.0.0.1:2430]; nested exception is java.net.ConnectException: Connection refused." What do I do now?
You're trying to connect to an RmiJdbc server that has been unsuccessfully set up with the JDK or JRE version 1.2. See the second question above for further information.
When I attempt to run the RmiJdbc server, I get an error message saying that the rmi.jdbc.server.hostname property can't be read and that I have to change permissions in the java.policy file. What do I do now?
You tried to run the RmiJdbc server on a JDK version higher than 1.1.8. Currently, the easiest way to avoid the error is to install the 1.1.8 version of the JDK and retry.
There is a workaround that involves modifying your java.policy file in the JDK. Here are the steps:
1 |
Find the java.policy file. It's usually in your c:\jdk1.1.8\jre\lib\security directory |
2 |
Open this file in any text editor. |
3 |
At the bottom of the file, you'll find a line that reads: |
|
|
|