File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Error connecting to Db (urgent......) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Error connecting to Db (urgent......)" Watch "Error connecting to Db (urgent......)" New topic

Error connecting to Db (urgent......)

Yogesh GA

Joined: Apr 09, 2001
Posts: 6
My servlet on diff m/c and data base server is running on diff m/c. I have shared the folder containg database drivers on the database server m/c. And I have set the class path to this folder in my servlet m/c as
//dbmachinename/shared folder name
When I run the servlet it is showing this error
"Error while connecting to db : JZ006: Caught IOException: socket write error (code=10053)"
Thanks in advance
Pl help
Yogesh G A
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Yogesh GA:
//dbmachinename/shared folder name

This is proprietary to Windows. Try mapping the shared folder to a drive, and refer to this drive.
- Peter

I agree. Here's the link:
subject: Error connecting to Db (urgent......)
It's not a secret anymore!