TLITCP and JDBC
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ODBC / JDBC / .NET, Server Administration, Networking & sqlhosts Configuration, Java & JDBC Development
Hello,
I just installed the Informix's JDBC driver, but have been unable to
connect to the DB. I've tried the JDBC URL with port 1533. Is that
the standard port? Anyway, here's the sqlhosts file:
sac_online onipcshm libra sac
sac_tcp ontlitcp libra sac_tcp
And in the onconfig file it says:
NETTYPE ipcshm,1,99,CPU # Configure poll thread(s) for nettype
NETTYPE tlitcp,1,99,NET # Configure poll thread(s) for nettype
I find it curious that there's no socket nettype defined. Can JDBC
connect to TLI? If so, on which port?
Thanks!
JL
--
"I log-in, therefore I am" --me
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Look at the /etc/services file,
There may be a line like below.
sac_tcp ####/tcp
Than #### will be the port number.
jlbenc@my-deja.com wrote:
> Hello,
>
> I just installed the Informix's JDBC driver, but have been unable to
> connect to the DB. I've tried the JDBC URL with port 1533. Is that
> the standard port? Anyway, here's the sqlhosts file:
>
> sac_online onipcshm libra sac
> sac_tcp ontlitcp libra sac_tcp>
> And in the onconfig file it says:
>
> NETTYPE ipcshm,1,99,CPU # Configure poll thread(s) for nettype
> NETTYPE tlitcp,1,99,NET # Configure poll thread(s) for nettype>
> I find it curious that there's no socket nettype defined. Can JDBC
> connect to TLI? If so, on which port?
>
> Thanks!
>
> JL
> --
> "I log-in, therefore I am" --me
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.