I've deployed my java application on GAP. in jsp i connect to external
database hosted on somee.com. I successfully loaded the sqljdbc4.jar but
when i connect to database i got the following error
java.lang.RuntimeException: Resolve failed:
Request=LibraryProject.mssql.somee.com Exception=java.net.SocketException:
Socket operation timed out: The API call remote_socket.Resolve() took too
long to respond and was cancelled.
I put the driver inside the lib folder and use the following code to
connect to database
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String conURL="jdbc:sqlserver://LibraryProject.mssql.somee.com";
Connection con=DriverManager.getConnection(conURL,"mrquack","complete1");
the code looks fine and works well on localhost and gives the above error
on appengine
please tell me a solution
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/jZpBbbq_OZYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.