You should try the Nexus mailing list instead as it's not a Maven issue. /Anders
On Tue, Jul 28, 2009 at 05:54, ykyuen<[email protected]> wrote: > > Hi all, > > i installed the nexus on my windows pc (previously i try the nexus in the VM > inside this windows pc but fail due to connetion refused). This time i also > set the proxy in the settings.xml of {MAVEN_HOME} and {USER_HOME}. and i > also set the "sontatype-work" folder to be read/write accessed by Everyone. > > now, the problem is connection timed out instead of connection refused. here > is the log > ----------------------------------------------------------------------------------------------- > 2009-07-28 11:34:41 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default > - Cascading merge of group indexes for group 'public', where repository > 'central' is member. > 2009-07-28 11:34:41 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default > - Publishing best index for repository central > 2009-07-28 11:34:43 INFO [qtp0-0 ] - o.a.c.h.HttpMethodD~ > - I/O exception (java.net.ConnectException) caught when processing request: > Connection timed out: connect > 2009-07-28 11:34:43 INFO [qtp0-0 ] - o.a.c.h.HttpMethodD~ > - Retrying request > 2009-07-28 11:34:51 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default > - Reindexing repository Maven Central from path / and below. : Process > started on Tue Jul 28 11:34:51 CST 2009, not yet finished. > 2009-07-28 11:34:51 INFO [qtp0-2 ] - o.a.c.h.HttpMethodD~ > - I/O exception (java.net.ConnectException) caught when processing request: > Connection timed out: connect > 2009-07-28 11:34:51 INFO [qtp0-2 ] - o.a.c.h.HttpMethodD~ > - Retrying request > 2009-07-28 11:34:51 INFO [pool-1-thread-1] - o.s.n.i.IndexerMana~:default > - Trying to get remote index for repository central > 2009-07-28 11:34:51 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 > - Expiring local cache in repository ID='central' from path='/.index' > 2009-07-28 11:34:51 INFO [pool-1-thread-1] - o.s.n.p.r.Repository:maven2 > - Clearing NFC cache in repository ID='central' from path='/.index' > 2009-07-28 11:35:01 WARN [pool-1-thread-1] - o.s.n.i.IndexerMana~:default > - Cannot fetch remote index: > org.sonatype.nexus.proxy.StorageException: Tranport error while executing > GET method > at > org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:512) > at > org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.retrieveItem(CommonsHttpClientRemoteStorage.java:133) > at > org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:699) > at > org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) > at > org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) > at > org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:731) > at > org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:603) > at > org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:570) > at > org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:484) > at > org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:440) > at > org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1328) > at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) > at > org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) > at > org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown > Source) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: org.apache.commons.httpclient.ConnectTimeoutException: The host > did not accept the connection within timeout of 10000 ms > at > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155) > at > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) > at > org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) > at > org.sonatype.nexus.proxy.storage.remote.commonshttpclient.CommonsHttpClientRemoteStorage.executeMethod(CommonsHttpClientRemoteStorage.java:483) > ... 20 more > Caused by: java.net.SocketTimeoutException: connect timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(Unknown Source) > at java.net.PlainSocketImpl.connectToAddress(Unknown Source) > at java.net.PlainSocketImpl.connect(Unknown Source) > at java.net.SocksSocketImpl.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) > ... 28 more > > > Thanks. > > Regards, > Kit > -- > View this message in context: > http://www.nabble.com/the-nexus-repositories-only-show-.index-and-.meta-tp24588856p24692062.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
