Resolved Failed

86 views
Skip to first unread message

Danyal Alliy

unread,
Oct 25, 2012, 6:46:47 AM10/25/12
to google-a...@googlegroups.com
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

alex

unread,
Oct 25, 2012, 7:39:45 AM10/25/12
to google-a...@googlegroups.com
Outbound sockets feature is still in the Trusted Tester program.
You can sign up here:
https://docs.google.com/a/cloudware.it/spreadsheet/viewform?formkey=dF9QR3pnQ2pNa0dqalViSTZoenVkcHc6MQ

-- alex
> --
> 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 google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
Reply all
Reply to author
Forward
0 new messages