Hello,
I am a junior developer of wildfire sever (The sever which we are using runs on a LAN).
I am trying to connect a java application to the HSQLDB, but failed to create a socket
(SQL Exception: error with the creation of socket).
We have created two users using ‘‘wildfire’’ as an administrator.
These ongoing are the codes which i ran in platform.
import java.sql.*;
public class collegamento {
private static String id = “SA”;
private static String ps = “”;
private static String url=null;
public static void main(String args[]){
try{
Class.forName(“org.hsqldb.jdbcDriver”);
System.out.println(“Driver loaded”);
Connection c = DriverManager.getConnection"jdbc:hsqldb:hsql://localhost/wildfire", “sa”, “”);
System.out.println(“Connected”);
}catch(SQLException se){
System.out.println("SQL exception: "+se.getMessage());
}catch(Exception e){
System.out.println("Exception: "+e.getMessage() + " - " +e.getClass());
}
}
}
Thanks for any information!