RE: MSDE 2000 sp3a microsoft JDBC & W98



Hello Gian Claudio,

Are you sure the MSDE instance is listening on TCP/IP? You can check that
in your error log. You should see something like:

2005-05-02 14:35:38.48 server SQL server listening on 65.53.8.223: 1433.
2005-05-02 14:35:38.49 server SQL server listening on 127.0.0.1: 1433.
2005-05-02 14:35:38.56 server SQL server listening on TCP, Named Pipes.
2005-05-02 14:35:38.64 server SQL Server is ready for client connections

That tells you which IPs and port the server is listening on.

On a default installation of MSDE you would see something like:
2005-05-03 11:33:20.95 server SQL server listening on Shared Memory.
2005-05-03 11:33:20.95 server SQL Server is ready for client connections

which means it only listens on Shared Memory. The JDBC driver can only
connect through TCP/IP.

Additionally, can you test that you can connect to the SQL Server locally
with Query Analyzer over TCP/IP? You can specify tcp:servername in the
connect dialog to force connecting with TCP/IP. Otherwise you could be
connecting with named pipes or shared memory.

If all that works, can you also try connecting with a simple JDBC
application outside of TomCat and let me know what the exact exception and
full stack is?

Thanks,
Kamil

Kamil Sykora
Microsoft Developer Support - Web Data

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.


Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/secur­ity.



--------------------
| From: "Gian Claudio Bernardi" <poc3796@xxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.sqlserver.jdbcdriver
| Subject: MSDE 2000 sp3a microsoft JDBC & W98
| Date: Thu, 14 Apr 2005 18:27:42 GMT
|
| hi
| I'm esperiencing a problem within a notebook where I have to run a web
| application (I use a TomCat Catalina server). This notebook isn't connect
in
| a network and don't have a network card in it.
|
| I've set TCP protocol within MSDE via SVRNETCN but I can't run my
| appilcation I get an errore like Can't create a pooling connection
|
| The same application with same Hardware + network card run fine.
|
| please help
|
| Gian Claudio
|
|
|

.



Relevant Pages

  • Re: Connection issue - Even Admin in the Server Machine
    ... It looks like your SQL Server is listening on shared memory and named pipes, but is not listening on TCP/IP. ... It sounds like you are connecting from a client on another computer. ...
    (microsoft.public.sqlserver.connect)
  • Re: Crossover cable problem
    ... I am connecting two computers (both ... Enable NetBIOS Over TCP/IP ... To enable NetBIOS Over TCP/IP: ...
    (microsoft.public.windowsxp.network_web)
  • Strange One - TCP 1052
    ... difficulty connecting to SQL services using TCP/IP. ... 1052 on the Rightfax server, even after stopping the Rightfax services. ... traffic on port 1052. ...
    (NT-Bugtraq)
  • Re: Can connect VISTA BUSINESS to SBS 2003
    ... In the end I just uninstalled Vista ... I hope you consider looking into your DNS setup and fixing those issues. ... i've had problems with vista biz connecting to sbs too. ... NetBIOS over TCP/IP in advanced TCP/IP settings on TCP/IPv4 and everything ...
    (microsoft.public.windows.server.sbs)
  • Re: JDBC and Virtual Machines
    ... it is connecting with NTLM instead of TCP/IP and try to verify TCP/IP was ... but this one isn't running inside a virtual server. ... connect with NTLM but JDBC drivers only support TCP/IP. ...
    (microsoft.public.sqlserver.jdbcdriver)