I  am designing a simple authentication application using GWT. There
is no processing done on the client side. On the server side there is
a authenticate() function which should connect to a database and
return a string "success" or "failure "to the client. I am executing
the code in the development mode. I am using a sybase database. I have
added the required jar files in war/WEB-INF/lib as well as in the
build path. But i am facing issues in connecting to a database.
Database driver gets loaded successfully but getConnection() method
shows a lot of RPC exceptions when i try running the webapp. Can
anyone please help.. ??

It shows this mesage in console tab in ecilipse..Dec 13, 2011 1:51:06
PM com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: javax.servlet.ServletContext log: Exception while dispatching
incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException:
Service method 'public abstract java.lang.String
com.ericsson.authentication.client.AuthenticationService.authenticate(java.lang.‌​
String,java.lang.String)' threw an unexpected exception:
java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
Please see the Google App Engine developer's guide for more details..

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to