Indexes not found

View: New views
3 Messages — Rating Filter:   Alert me  

Indexes not found

by mark.quinn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am currently attempting to set up a group of repositories which contains a mixture of:

hosted release/snapshot and proxy releases. All the repositories are in the format of: maven2.

When I browse the local storage of each repository the jars which I had added are shown without any problems. But when I choose to browse the index of the repositories which I have added manually, then Nexus tells me it cannot find the index to the jars within.

I have ran the re-index and have tried to manually create the indexes through the command line tool, by following the instructions found at: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer

Yet both these options do not work and Nexus is still telling me that it cannot find the index of the jars.

Would there be something wrong with the way in which I am creating the repositories, or even with the way the jars are added?

I have changed each repositories settings to be included in search, allow for file browsing and allow for deployment.

The version of Nexus which I am using is : Version 1.3.6 Open Source

Thanks in advance.

Re: Indexes not found

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How did the jars get added? What repo are you running the command line
indexer on?

On Tue, Oct 27, 2009 at 6:36 AM, mark.quinn <mark.quinn@...> wrote:

>
> Hello,
>
> I am currently attempting to set up a group of repositories which contains a
> mixture of:
>
> hosted release/snapshot and proxy releases. All the repositories are in the
> format of: maven2.
>
> When I browse the local storage of each repository the jars which I had
> added are shown without any problems. But when I choose to browse the index
> of the repositories which I have added manually, then Nexus tells me it
> cannot find the index to the jars within.
>
> I have ran the re-index and have tried to manually create the indexes
> through the command line tool, by following the instructions found at:
> http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer
>
> Yet both these options do not work and Nexus is still telling me that it
> cannot find the index of the jars.
>
> Would there be something wrong with the way in which I am creating the
> repositories, or even with the way the jars are added?
>
> I have changed each repositories settings to be included in search, allow
> for file browsing and allow for deployment.
>
> The version of Nexus which I am using is : Version 1.3.6 Open Source
>
> Thanks in advance.
>
> --
> View this message in context: http://www.nabble.com/Indexes-not-found-tp26075444p26075444.html
> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@...
> For additional commands, e-mail: nexus-user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...


Re: Indexes not found

by mark.quinn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The repository which I have been running a manual re-index from the command line is a hosted snapshot.

Here is a snippet of the 3 errors which I have found in the log files after running the indexing tool from the command line.


2009-10-27 11:56:23 WARN  [pool-1-thread-9] - o.s.n.i.IndexerMana~:default  - Cannot fetch remote index:
java.io.IOException: Not in GZIP format
...
...

Error message is: java.lang.OutOfMemoryError, Java heap space Strack trace: java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
...
...

java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
...
...

I have then taken the generated files and saved it to the .index folder of the repository where I am running Nexus from.

Thanks



mark.quinn wrote:
Hello,

I am currently attempting to set up a group of repositories which contains a mixture of:

hosted release/snapshot and proxy releases. All the repositories are in the format of: maven2.

When I browse the local storage of each repository the jars which I had added are shown without any problems. But when I choose to browse the index of the repositories which I have added manually, then Nexus tells me it cannot find the index to the jars within.

I have ran the re-index and have tried to manually create the indexes through the command line tool, by following the instructions found at: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer

Yet both these options do not work and Nexus is still telling me that it cannot find the index of the jars.

Would there be something wrong with the way in which I am creating the repositories, or even with the way the jars are added?

I have changed each repositories settings to be included in search, allow for file browsing and allow for deployment.

The version of Nexus which I am using is : Version 1.3.6 Open Source

Thanks in advance.