Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 38387 invoked from network); 8 May 2003 13:47:53 -0000 Received: from unknown (HELO mx1.trysybase.com) (63.102.81.233) by daedalus.apache.org with SMTP; 8 May 2003 13:47:53 -0000 Received: from mail.trysybase.com (mail.trysybase.com [172.20.0.10]) by mx1.trysybase.com (8.11.6/8.11.0) with ESMTP id h48Dl5A28741 for ; Thu, 8 May 2003 07:47:05 -0600 Received: from wdn086 ([172.20.1.239]) by mail.trysybase.com (8.11.6/8.11.6) with SMTP id h48DgkW18994 for ; Thu, 8 May 2003 07:42:46 -0600 Reply-To: From: "Adam Jack" To: "'Jakarta Commons Users List'" Subject: RE: [VFS] Getting connection timeouts... Date: Thu, 8 May 2003 07:48:35 -0600 Message-ID: <02f901c31568$85baa690$b6d3ea43@wdn086> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 In-Reply-To: <002501c310ea$8f6357f0$d4d9ea43@wdn086> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N FWIIW: I believe this was a problem with the remove server (or networks). I could reproduce the problem with a normal Java URL get, so nothing in VFS was causing it. regards Adam -----Original Message----- From: Adam Jack [mailto:ajack@trysybase.com] Sent: Friday, May 02, 2003 2:37 PM To: commons-user@jakarta.apache.org Subject: [VFS] Getting connection timeouts... I downloaded the latest (nightly) VFS jar, having previously used the 1.0-dev release. It seem that the "exist" method does do something for UrlFileObject now, 'cos I am seeing a very different behaviour. I am getting connection timeouts. Trouble is, if I use my browser (with no doubt a long timeout for humans) I get through & it doesn't seem slow. Maybe this is my modem, maybe it is just a bad day for the network, or a bad day for the server. That said, it doesn't seem like very long before the failure. Is there some way I can affect this timeout (through VFS, or around, or ??) Thank in advance for any help. BTW: Are there any plans to move VFS to HttpClient? regards, Adam -- Experience Sybase Technology ...[importcent] May 2, 2003 1:46:25 PM org.krysalis.version.util.logging.commons.CommonsLogHandle warn [importcent] WARNING: Failed to find [http://krysalis.org/library/cents/] [importcent] org.apache.commons.vfs.FileSystemException: Could not determine the type of file "http: //krysalis.org/library/cents". [importcent] at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject .java :929) [importcent] at org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject .java :370) [importcent] at org.krysalis.ruper.repo.impl.NamedHierarchyRepository.exists(NamedHierarchyR eposi tory.java:82) [importcent] at org.krysalis.ruper.repo.impl.RepositoryFactory.get(RepositoryFactory.java:11 3) [importcent] at org.krysalis.ruper.RepositorySet.addRepository(RepositorySet.java:138) [importcent] at org.krysalis.ruper.ResourceUpdater.addRepository(ResourceUpdater.java:214) [importcent] at org.krysalis.ruper.ResourceUpdater.addRepository(ResourceUpdater.java:224) [importcent] at org.krysalis.ant.taskdefs.ImportCentTask.populateRepoSet(ImportCentTask.java :240) [importcent] at org.krysalis.ant.taskdefs.ImportCentTask.execute(ImportCentTask.java:191) [importcent] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:231) [importcent] at org.apache.tools.ant.Task.perform(Task.java:399) [importcent] at org.apache.tools.ant.Target.execute(Target.java:309) [importcent] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:128) [importcent] at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117) [importcent] at org.apache.tools.ant.Main.runBuild(Main.java:596) [importcent] at org.apache.tools.ant.Main.start(Main.java:198) [importcent] at org.apache.tools.ant.Main.main(Main.java:245) [importcent] Caused by: java.net.ConnectException: Connection timed out: connect [importcent] at java.net.PlainSocketImpl.socketConnect(Native Method) [importcent] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [importcent] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) [importcent] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [importcent] at java.net.Socket.connect(Socket.java:426) [importcent] at java.net.Socket.connect(Socket.java:376) [importcent] at sun.net.NetworkClient.doConnect(NetworkClient.java:139) [importcent] at sun.net.www.http.HttpClient.openServer(HttpClient.java:386) [importcent] at sun.net.www.http.HttpClient.openServer(HttpClient.java:602) [importcent] at sun.net.www.http.HttpClient.(HttpClient.java:303) [importcent] at sun.net.www.http.HttpClient.(HttpClient.java:264) [importcent] at sun.net.www.http.HttpClient.New(HttpClient.java:336) [importcent] at sun.net.www.http.HttpClient.New(HttpClient.java:317) [importcent] at sun.net.www.http.HttpClient.New(HttpClient.java:312) [importcent] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j ava:4 81) [importcent] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4 72) [importcent] at org.apache.commons.vfs.provider.url.UrlFileObject.doGetType(UrlFileObject.ja va:10 9) [importcent] at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject .java :917) [importcent] ... 16 more --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org