See https://developers.google.com/appengine/docs/java/runtime#The_Sandbox
AppEngine Apps are restricted. In this particular case you cant make socket connections. But if you search this group, there is a form to request access to the upcoming Socket API, which might work for this. On Wed, Oct 24, 2012 at 3:23 PM, Danyal Alliy <[email protected]> wrote: > I've uploaded a java web application on app engine. I've made a database > connection in a JSP file. I have dynamically loaded the drivers using the > URL url = new URL("jar:file:\sqljdbc4.jar!\"); > The driver is located in the main war directory. > It works well on localhost but when i run it through app engine it gives > the following error." class not found exception" > Why it is happening. the database is hosted on somee.com. they have given > me the servername, database name and conection string. > 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/-/S1jKU-005u4J. > 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.
