java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.

coderanch.com | 4 months ago
  1. 0

    Problem with mail api on google app engine. (Java Servers forum at Coderanch)

    coderanch.com | 8 months ago
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    Problem with mail api on google app engine. (Java Servers forum at Coderanch)

    coderanch.com | 4 months ago
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    JDBC Connection on GWT

    Google Groups | 6 years ago | Jose Luis Hernandez
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GoogleWebToolkit[GWT]‚ɂ‚¢‚ÄŒê‚낤

    2ch.net | 4 months ago
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  6. 0

    Java Mail Api Error With GAE

    Google Groups | 6 years ago | Ahmed Shoeib
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void com.fuoeg.testMail.client.SendMailService.login(java.lang.String,java.lang.String,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.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.apphosting.runtime.security.shared.stub.java.net.Socket.<clinit>()
    2. com.google.apphosting
      Socket.<clinit>
      1. com.google.apphosting.runtime.security.shared.stub.java.net.Socket.<clinit>(Socket.java)
      1 frame
    3. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:261)
      2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
      3. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1511)
      4. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453)
      4 frames
    4. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:248)
      2. javax.mail.Service.connect(Service.java:91)
      3. javax.mail.Service.connect(Service.java:76)
      4. javax.mail.Transport.send(Transport.java:94)
      5. javax.mail.Transport.send(Transport.java:48)
      5 frames
    5. com.twisters.action
      MailTest.execute
      1. com.twisters.action.admin.MailTest.execute(MailTest.java:36)
      1 frame
    6. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      3 frames
    7. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      3 frames
    8. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      1 frame
    9. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      2 frames
    11. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    12. com.google.apphosting
      SaveSessionFilter.doFilter
      1. com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
      1 frame
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    14. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    15. Jetty Server
      WebAppContext.handle
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      6 frames
    16. com.google.apphosting
      AppVersionHandlerMap.handle
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:237)
      1 frame
    17. Jetty Server
      HttpConnection$RequestHandler.headerComplete
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      2. org.mortbay.jetty.Server.handle(Server.java:313)
      3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
      4 frames
    18. com.google.apphosting
      RpcRequestParser.parseAvailable
      1. com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
      1 frame
    19. Jetty Server
      HttpConnection.handle
      1. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
      1 frame
    20. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:125)
      1 frame
    21. appengine-managed-runtime
      JavaRuntime.handleRequest
      1. com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
      1 frame
    22. Google AppEngine
      RuntimePb$EvaluationRuntime$6.handleBlockingRequest
      1. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4755)
      2. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4753)
      2 frames
    23. com.google.net
      Server$2.run
      1. com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
      2. com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359)
      3. com.google.net.rpc.impl.Server$2.run(Server.java:800)
      3 frames
    24. Google tracing
      LocalTraceSpanBuilder.internalContinueSpan
      1. com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
      2. com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:510)
      2 frames
    25. com.google.net
      RpcService.runUntilServerShutdown
      1. com.google.net.rpc.impl.Server.startRpc(Server.java:756)
      2. com.google.net.rpc.impl.Server.processRequest(Server.java:348)
      3. com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:459)
      4. com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
      5. com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
      6. com.google.net.async.Connection.handleReadEvent(Connection.java:419)
      7. com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:762)
      8. com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
      9. com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
      10. com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
      10 frames
    26. appengine-managed-runtime
      JavaRuntime$RpcRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:373)
      1 frame
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame