We tested the proxy server using 10 macbooks. We set one of them up as a server and the other 9 as clients. We cleared the cache on the clients before each test.
First we tested with just 1 client and it downloaded and started up quickly in about a minute or so. Then we tested with 2 clients and that worked quickly as well. Both clients downloaded and started up in about 2 to 3 minutes. Then we tested with 5 clients and it still seemed to work well. The clients seemed to download and finish starting up at separate times. The first client finished in about 1 minute, the second and third client in about 2 to 3 minutes, the fourth client in about 3 minutes, and the fifth client in about 4 minutes. Then we tested with 9 clients and had some issues. About half of the clients started up in about 3 to 5 minutes and the other half was unable to retrieve the download from the proxy and had to resort to downloading over the internet from concord. The clients handled the inability to retrieve the download from the proxy server elegantly by automatically resorting to downloading from concord. The clients that had to download from concord took 10 to 15 minutes to retrieve the 53 meg file. Here's output from the java console from the client that was unable to download from the proxy and had to resort to the concord site no jetty proxy found java.io.IOException: Unable to load resource: ( http://jnlp.concord.org/dev/org/concord/external/tts/cmulex/cmulex.jar, 1.1) at com.sun.jnlp.DownloadServiceImpl$6.run(DownloadServiceImpl.java:213) at java.security.AccessController.doPrivileged(Native Method) at com.sun.jnlp.DownloadServiceImpl.loadPart(DownloadServiceImpl.java :208) at com.sun.jnlp.DownloadServiceImpl.loadPart(DownloadServiceImpl.java :201) at net.sf.sail.webstart.WebstartUtils.loadPart(WebstartUtils.java:76) at net.sf.sail.webstart.ProxyLauncher.main(ProxyLauncher.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1161) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1108) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:951) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218) at com.sun.javaws.Launcher.run(Launcher.java:165) at java.lang.Thread.run(Thread.java:613) Jan 25, 2008 4:19:35 PM net.sf.sail.emf.launch.PortfolioManagerServicegetOffering INFO: No bundle poster exists. Skipping old bundle uploading. Jan 25, 2008 4:19:36 PM net.sf.sail.emf.launch.PortfolioManagerServicegetOffering INFO: local learner data: /Users/student/SailUserData/session16896.xml Jan 25, 2008 4:19:36 PM net.sf.sail.emf.launch.PortfolioManagerServicegetOffering INFO: no bundle poster -- marking bundle file for deletion on exit. Jan 25, 2008 4:19:36 PM net.sf.sail.emf.launch.PortfolioManagerServicegetOffering INFO: sessionId: db53ae2b-f0d0-4253-abdb-c7f15f47e0db Jan 25, 2008 4:19:36 PM net.sf.sail.core.service.impl.SessionManagerImplstart INFO: session property: sailotrunk.otmlurl=http://continuum.concord.org/otrunk/examples/DataGraphs/data_graphs.otml Jan 25, 2008 4:19:36 PM net.sf.sail.core.service.impl.SessionManagerImplstart INFO: session property: sailotrunk.hidetree=false OTrunk: Not using native library for uuids Loaded objects in: http://continuum.concord.org/otrunk/examples/DataGraphs/data_graphs.otml Jan 25, 2008 4:19:37 PM net.sf.sail.core.beans.SessionContext start INFO: Session started at Fri Jan 25 16:19:37 PST 2008 Here's output from the java console from the server when the client was unable to download Jan 25, 2008 4:17:01 PM javax.jmdns.JmDNS$Renewer run WARNING: run() exception java.io.IOException: Can't assign requested address at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.JmDNS.send(JmDNS.java:1094) at javax.jmdns.JmDNS.access$1500(JmDNS.java:25) at javax.jmdns.JmDNS$Renewer.run(JmDNS.java:1644) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) We tried the test again with 9 clients and the 2nd time the same issue occurred. Here's the output from the java console from the client no jetty proxy found Here's the output from the java console from the server 2008-01-25 16:44:33.520:/:WARN: proxy java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java :195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) at sun.net.www.http.HttpClient.New(HttpClient.java:287) at sun.net.www.http.HttpClient.New(HttpClient.java:299) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient( HttpURLConnection.java:795) at sun.net.www.protocol.http.HttpURLConnection.plainConnect( HttpURLConnection.java:747) at sun.net.www.protocol.http.HttpURLConnection.connect( HttpURLConnection.java:672) at net.sf.sail.jetty.WebstartProxyServlet.service( WebstartProxyServlet.java:235) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java :487) at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:362) at org.mortbay.jetty.handler.ContextHandler.handle( ContextHandler.java:726) at org.mortbay.jetty.handler.HandlerWrapper.handle( HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java :505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete( HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.jetty.bio.SocketConnector$Connection.run( SocketConnector.java:228) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:450) 2008-01-25 16:44:33.520:/:WARN: proxy java.net.ConnectException: Operation timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java :195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) at sun.net.www.http.HttpClient.New(HttpClient.java:287) at sun.net.www.http.HttpClient.New(HttpClient.java:299) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient( HttpURLConnection.java:795) at sun.net.www.protocol.http.HttpURLConnection.plainConnect( HttpURLConnection.java:747) at sun.net.www.protocol.http.HttpURLConnection.connect( HttpURLConnection.java:672) at net.sf.sail.jetty.WebstartProxyServlet.service( WebstartProxyServlet.java:235) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java :487) at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:362) at org.mortbay.jetty.handler.ContextHandler.handle( ContextHandler.java:726) at org.mortbay.jetty.handler.HandlerWrapper.handle( HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java :505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete( HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.jetty.bio.SocketConnector$Connection.run( SocketConnector.java:228) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:450) Regards, Geoff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SAIL-Dev" 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/SAIL-Dev?hl=en -~----------~----~----~----~------~----~------~--~---
