You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ykyuen <yi...@gmail.com> on 2009/07/21 16:36:07 UTC
the nexus repositories only show .index and .meta
hi all,
i just installed the nexus 1.3.6 to my ubuntu. everything works fine except
when i browse the repositories such as Public Repositories only 2 folders
named as .meta and .index are shown...
the ubuntu is behind a firewall in the network and i have already set the
proxy setting in nexus. so i think it should be able to download the files
outside. but i found the connection refused in the nexus.log
here is the nexus.log
--------------------------
2009-07-21 22:46:08 INFO [pool-1-thread-2] - o.s.n.i.IndexerMana~:default
- Cascading merge of group indexes for group 'public-snapshots', where
repository 'codehaus-snapshots' is member.
2009-07-21 22:46:09 INFO [pool-1-thread-2] - o.s.n.i.IndexerMana~:default
- Publishing best index for repository apache-snapshots
2009-07-21 22:46:11 INFO [pool-1-thread-2] - o.s.n.i.IndexerMana~:default
- Publishing best index for repository codehaus-snapshots
2009-07-21 22:53:59 INFO [qtp0-10 ] - o.a.c.h.HttpMethodD~
- I/O exception (java.net.ConnectException) caught when processing request:
Connection refused
2009-07-21 22:53:59 INFO [qtp0-10 ] - o.a.c.h.HttpMethodD~
- Retrying request
2009-07-21 22:54:15 INFO [qtp0-13 ] - o.s.n.p.m.ArtifactP~:default
- User mappings file not found, will work with defaults...
2009-07-21 22:54:20 INFO [qtp0-10 ] - o.a.c.h.HttpMethodD~
- I/O exception (java.net.ConnectException) caught when processing request:
Connection refused
anything i have missed?
Thanks for your help.
Regards,
Kit
--
View this message in context: http://www.nabble.com/the-nexus-repositories-only-show-.index-and-.meta-tp24588856p24588856.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: the nexus repositories only show .index and .meta
Posted by ykyuen <yi...@gmail.com>.
sorry, please ignore this post. i will ask in the Nexus group.
Regards,
Kit
Anders Hammar wrote:
>
> You should try the Nexus mailing list instead as it's not a Maven issue.
>
> /Anders
>
--
View this message in context: http://www.nabble.com/the-nexus-repositories-only-show-.index-and-.meta-tp24588856p24693538.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: the nexus repositories only show .index and .meta
Posted by Anders Hammar <an...@hammar.net>.
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<yi...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: the nexus repositories only show .index and .meta
Posted by ykyuen <yi...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: the nexus repositories only show .index and .meta
Posted by ykyuen <yi...@gmail.com>.
Jonathan Woods wrote:
>
> Perhaps you need to tell Maven how to get to your proxy:
>
> http://maven.apache.org/guides/mini/guide-proxies.html
>
> Jon
>
i did set it the proxy in the settings.xml too...
both /etc/maven2/settings.xml and the /home/user/.m2/settings.xml
Regards,
Kit
--
View this message in context: http://www.nabble.com/the-nexus-repositories-only-show-.index-and-.meta-tp24588856p24603437.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: the nexus repositories only show .index and .meta
Posted by Jonathan Woods <jo...@scintillance.com>.
Perhaps you need to tell Maven how to get to your proxy:
http://maven.apache.org/guides/mini/guide-proxies.html
Jon
> -----Original Message-----
> From: ykyuen [mailto:yingkityuen@gmail.com]
> Sent: 22 July 2009 05:53
> To: users@maven.apache.org
> Subject: RE: the nexus repositories only show .index and .meta
>
>
>
> Jonathan Woods wrote:
> >
> > Have you tried 'by hand' to make HTTP requests from your
> Ubuntu box? E.g.
> >
> > wget
> >
> http://repo1.maven.org/maven2/org/apache/commons/commons-email/1.1/com
> > mons-e
> > mail-1.1.pom
> >
> > Jon
> >
>
> i try wget
> http://repo1.maven.org/maven2/activecluster/activecluster/2004
> 0408.185106/activecluster-20040408.185106.pom
> after export the http_proxy in the shell
>
> and it is ok, i can download the file.
>
> but the repo still cannot show other files.
>
> The Ubuntu is a vm in my Deskop which is windows. The desktop
> is behind a firewall but after setting proxy, it can get into
> the internet by http.
>
> Regards,
> Kit
>
> --
> View this message in context:
> http://www.nabble.com/the-nexus-repositories-only-show-.index-
> and-.meta-tp24588856p24600048.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: the nexus repositories only show .index and .meta
Posted by ykyuen <yi...@gmail.com>.
Jonathan Woods wrote:
>
> Have you tried 'by hand' to make HTTP requests from your Ubuntu box? E.g.
>
> wget
> http://repo1.maven.org/maven2/org/apache/commons/commons-email/1.1/commons-e
> mail-1.1.pom
>
> Jon
>
i try wget
http://repo1.maven.org/maven2/activecluster/activecluster/20040408.185106/activecluster-20040408.185106.pom
after export the http_proxy in the shell
and it is ok, i can download the file.
but the repo still cannot show other files.
The Ubuntu is a vm in my Deskop which is windows. The desktop is behind a
firewall but after setting proxy, it can get into the internet by http.
Regards,
Kit
--
View this message in context: http://www.nabble.com/the-nexus-repositories-only-show-.index-and-.meta-tp24588856p24600048.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: the nexus repositories only show .index and .meta
Posted by Jonathan Woods <jo...@scintillance.com>.
Have you tried 'by hand' to make HTTP requests from your Ubuntu box? E.g.
wget
http://repo1.maven.org/maven2/org/apache/commons/commons-email/1.1/commons-e
mail-1.1.pom
Jon
> -----Original Message-----
> From: ykyuen [mailto:yingkityuen@gmail.com]
> Sent: 21 July 2009 15:36
> To: users@maven.apache.org
> Subject: the nexus repositories only show .index and .meta
>
>
> hi all,
>
> i just installed the nexus 1.3.6 to my ubuntu. everything
> works fine except when i browse the repositories such as
> Public Repositories only 2 folders named as .meta and .index
> are shown...
>
> the ubuntu is behind a firewall in the network and i have
> already set the proxy setting in nexus. so i think it should
> be able to download the files outside. but i found the
> connection refused in the nexus.log
>
> here is the nexus.log
> --------------------------
> 2009-07-21 22:46:08 INFO [pool-1-thread-2] -
> o.s.n.i.IndexerMana~:default
> - Cascading merge of group indexes for group
> 'public-snapshots', where repository 'codehaus-snapshots' is member.
> 2009-07-21 22:46:09 INFO [pool-1-thread-2] -
> o.s.n.i.IndexerMana~:default
> - Publishing best index for repository apache-snapshots
> 2009-07-21 22:46:11 INFO [pool-1-thread-2] -
> o.s.n.i.IndexerMana~:default
> - Publishing best index for repository codehaus-snapshots
> 2009-07-21 22:53:59 INFO [qtp0-10 ] -
> o.a.c.h.HttpMethodD~
> - I/O exception (java.net.ConnectException) caught when
> processing request:
> Connection refused
> 2009-07-21 22:53:59 INFO [qtp0-10 ] -
> o.a.c.h.HttpMethodD~
> - Retrying request
> 2009-07-21 22:54:15 INFO [qtp0-13 ] -
> o.s.n.p.m.ArtifactP~:default
> - User mappings file not found, will work with defaults...
> 2009-07-21 22:54:20 INFO [qtp0-10 ] -
> o.a.c.h.HttpMethodD~
> - I/O exception (java.net.ConnectException) caught when
> processing request:
> Connection refused
>
>
> anything i have missed?
>
> Thanks for your help.
>
> Regards,
> Kit
> --
> View this message in context:
> http://www.nabble.com/the-nexus-repositories-only-show-.index-
> and-.meta-tp24588856p24588856.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org