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 On Thu, Oct 25, 2012 at 12:46 PM, Danyal Alliy <[email protected]> wrote: > 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. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
