Also i feel the LoginTimeout value is too less. Within a second, a timeout would occur if the connection cannot be established. Could you try setting this to a higher value and check ?
Which jdbc driver are you using?
[Message sent by forum member 'sm157516']
http://forums.java.net/jive/thread.jspa?messageID=396811