Hi,
In the Artifactory UI Admin->Services->Indexer, move the virtual
repositories (you have in your maven settings.xml), as well as the local and
remote repositories you want to index, to the include section at the left
side of the table, save and press Run Indexing Now.
HTH,
Eli
The Artifactory team
On Tue, Mar 15, 2011 at 1:38 PM, michaelwiles <[email protected]>wrote:
> I'm having the same issue.
>
> I'm not sure what you mean when you say "Just drag them to the left side
> table, save, and run the index again."
>
> Not sure what that means...
>
> The issue of the
>
> 2011/03/15 1:31:29 PM: Updating index
> central|http://XXXX:8080/artifactory/plugins-release
> 2011/03/15 1:31:29 PM: Unable to update index for
> central|http://XXXX:8080/artifactory/plugins-release
>
> This is rendered in the error log as an http 404 error:
>
> java.io.IOException: Server returned status code 404: Not Found
> at
>
> org.maven.ide.eclipse.internal.index.AsyncFetcher$PipedErrorInputStream.checkError(AsyncFetcher.java:181)
> at
>
> org.maven.ide.eclipse.internal.index.AsyncFetcher$PipedErrorInputStream.read(AsyncFetcher.java:188)
> at java.io.PipedInputStream.read(PipedInputStream.java:361)
> at java.io.InputStream.read(InputStream.java:85)
> at java.util.Properties$LineReader.readLine(Properties.java:418)
> at java.util.Properties.load0(Properties.java:337)
> at java.util.Properties.load(Properties.java:325)
> at
>
> org.sonatype.nexus.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:498)
> at
>
> org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$100(DefaultIndexUpdater.java:74)
> at
>
> org.sonatype.nexus.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:780)
> at
>
> org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:990)
> at
>
> org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:138)
> at
>
> org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1072)
> at
>
> org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1028)
> at
>
> org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:632)
> at
>
> org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.io.IOException: Server returned status code 404: Not Found
> at
>
> org.maven.ide.eclipse.internal.index.AsyncFetcher$RequestHandler.onStatusReceived(AsyncFetcher.java:258)
> at
>
> com.ning.http.client.providers.netty.NettyAsyncHttpProvider.updateStatusAndInterrupt(NettyAsyncHttpProvider.java:1273)
> at
>
> com.ning.http.client.providers.netty.NettyAsyncHttpProvider.messageReceived(NettyAsyncHttpProvider.java:1018)
> at
>
> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
> at
>
> org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
> at
>
> org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:104)
> at
>
> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
> at
>
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:523)
> at
>
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:507)
> at
>
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:444)
> at
>
> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
> at
>
> org.jboss.netty.handler.codec.http.HttpClientCodec.handleUpstream(HttpClientCodec.java:77)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
> at
>
> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
> at
> org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350)
> at
>
> org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
> at
> org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
> at
>
> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
> at
>
> org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
>
> On Tue, Jan 25, 2011 at 12:59 PM, Kostis Anagnostopoulos
> <[email protected]
> > wrote:
>
> > Hi,
> >
> > I have the same problem, with artifactory-2.3.
> >
> > I tried the following actions:
> > 1. Open Artifactory-Admin|Services|Indexer page and enabled the "Nexus
> > Indexer" check-box,
> > 2. performed a 'Run Indexr Now", and
> > 3. check the logs for when the indexing completed, and
> > 4. re-started eclipse, and the error happend again.
> >
> > I checked the artifactory logs and found a 404(Not Found) response.
> > I also did not found the index-file when i visited the url with a
> browser,
> > though there was such an index- file in remote repos (i.e. 'central').
> >
> > Therefore i conclude that the artifactory-2.3 does not produces
> > index-files for virtual-repos.
> >
> > I found this related bug:
> > https://issues.jfrog.org/jira/browse/RTFACT-469 Support m2e indexes
> > for virtual repositories
> > which says it has been fixed from ver 2.1.0, but i'm not sure if 'm2e'
> > indexes are the same as 'nexus' ones.
> >
> > Indeed, this bug said(Jun 2008) nexus-indexer does not work for virtual
> > repos:
> > https://issues.jfrog.org/jira/browse/RTFACT-390
> >
> >
> > Has this problem been addressed in some subsequent version?
> >
> > Regards,
> > Kostis Anagnostopoulos
> >
> > On Fri, Jan 7, 2011 at 4:50 PM, borgo <[email protected]> wrote:
> > >
> > > I have installed Artifactory 2.3.1 on Ubuntu Server.
> > > I'd like to use it from m2eclipse plugin on Eclipse Ide.
> > > I use the "Generate Setting" feature to edit the local settings.xml on
> > my
> > > pc.
> > > I don't check "Mirror Any" (beacuse didn't understand that).
> > >
> > > The problem is the following:
> > >
> > > 1) In Eclipse I open my project and the pom.xml file. I try to add
> > > dependency from external repository but I couldn't find anything in the
> > > search dialog of m2eclipse. The only artifacts shown are the
> > Artifactory's
> > > local ones.
> > >
> > > 2) So I've tried to change Artifactory config. From Admin -> Services
> ->
> > > Indexer. I've added the repo-remote to the left list, saved the config
> > and
> > > rebuilt the index. Nothing changes, same problem.
> > >
> > > 3) So I've tried to add a remote repository into the local settings.xml
> > (on
> > > my pc)
> > >
> > >
> > >
> > > false
> > >
> > > repo1
> > > repo1
> > > http://repo1.maven.org/maven2
> > >
> > >
> > >
> > > Nothing changes. Eclipse show the following error:
> > >
> > > Unable to update index for repo1|http://repo1.maven.org/maven2
> > >
> > > Artifactory 's log show:
> > >
> > > "Successfully saved index file
> > > '/repositories/remote-repos/.index/nexus-maven-repository-index.gz' and
> > > index info
> > >
> >
> '/repositories/remote-repos/.index/nexus-maven-repository-index.properties'."
> > > I can't read any errors on log.
> > >
> > > --
> > > View this message in context:
> >
> http://forums.jfrog.org/Artifactory-and-m2eclipse-Unable-to-update-index-for-remote-repos-tp5899455p5899455.html
> > > Sent from the Artifactory - Users mailing list archive at Nabble.com.
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Gaining the trust of online customers is vital for the success of any
> > company
> > > that requires sensitive data to be transmitted over the Web. Learn
> how
> > to
> > > best implement a security strategy that keeps consumers' information
> > secure
> > > and instills the confidence they need to proceed with transactions.
> > > http://p.sf.net/sfu/oracle-sfdevnl
> > > _______________________________________________
> > > Artifactory-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> > >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even better
> > price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > February 28th, so secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Artifactory-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Artifactory-and-m2eclipse-Unable-to-update-index-for-remote-repos-tp5899455p6172468.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users