This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
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......)
Similar Threads
For those who eat java, think java and drink java
Logging Folder access
servlet throws IllegalAccessError when trying to access another class
sqlexception with hsqldb-please help
Oracle 9i and J2SE 1.6 compatibility