In following code,
Properties props = new Properties();
props.put("user", "testuser");
props.put("password", "welcome");
Connection conn =
DriverManager.getConnection("jdbc:sybase:jndi:file://C:/Sybase.12/ini/SQL.INI?MyServer01"
, props);
I get exception that -
String index out of range: -1 file not found
When I remove MyServer01, it gives following exception -
JZ019: Error obtaining SERVERNAME
Has anybody used JConnect (for JDBC 6.0, jconn3.jar)
succcesfully with SQL.INI? Please help!
regards
Thn
In using
jConnect (TM) for JDBC(TM)/6.05(Build 26246)/P/EBF15608/JDK14/Fri Mar 14
16:06:13 2008
I was successful in connecting. What version are you using? And you're
sure the ASE name is correct as seen in the SQL.INI file?
-Paul
<Thn> wrote in message news:48320cd1.766...@sybase.com...