Hi,

I recently "upgraded" (rpm uninstall and reinstall) artifactory to 3.0.0
from 2.6 on a RHEL server with default storage. All was working well under
2.6, I was able to do a search lookup in Eclipse using the m2e plugin and
all the artifacts from the virtual repositories turned up in the search
result (with the updated settings.xml in my .m2 local cache). For example, a
"junit" search listed a ton of artifacts.

Since the update, the indexer create only empty index file (130 to 180
bytes) for each repository (either local or remote), which obvioulsy disable
the search function in IDE like eclipse. 

I cannot put my finger on the source of the problem as:
1- There is no error in the artifactory.log file (I can see that each index
is being created within a few milliseconds)
2- I can direct-download the nexus-maven-repository-index.gz and the
nexus-maven-repository-index.properties from the virtual repos 
3- The resolved repository list (ex: for libs-release) contains all remote
repos (jcenter, codehaus, jboss) as well as local repos.
4- Eclipse does download the indexes and show them as empty. If I manually
add an artifact to a local repo, it shows only that .jar, nothing else (not
the remote repo artifact)


Did I missed something new in the latest release that I should set?

Thanks in advance for the help.
P.A.


Snippet from the log file after a run of the indexer
*******************************
2013-05-21 17:19:08,205 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:238) - Starting non virtual repositories
indexing...
2013-05-21 17:19:08,206 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:240) - Non virtual repositories to index:
[libs-release-local, libs-snapshot-local, plugins-release-local,
plugins-snapshot-local, ext-release-local, ext-snapshot-local]
2013-05-21 17:19:08,493 [art-exec-8] [INFO ] (o.a.r.i.MavenIndexManager:285)
- Successfully saved index file
'libs-release-local:.index/nexus-maven-repository-index.gz' and index info
'libs-release-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:08,771 [art-exec-11] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'libs-snapshot-local:.index/nexus-maven-repository-index.gz' and index info
'libs-snapshot-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:09,078 [art-exec-9] [INFO ] (o.a.r.i.MavenIndexManager:285)
- Successfully saved index file
'plugins-release-local:.index/nexus-maven-repository-index.gz' and index
info 'plugins-release-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:09,343 [art-exec-8] [INFO ] (o.a.r.i.MavenIndexManager:285)
- Successfully saved index file
'plugins-snapshot-local:.index/nexus-maven-repository-index.gz' and index
info
'plugins-snapshot-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:09,669 [art-exec-11] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'ext-release-local:.index/nexus-maven-repository-index.gz' and index info
'ext-release-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:09,902 [art-exec-9] [INFO ] (o.a.r.i.MavenIndexManager:285)
- Successfully saved index file
'ext-snapshot-local:.index/nexus-maven-repository-index.gz' and index info
'ext-snapshot-local:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:09,911 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:339) - Virtual repositories to index:
[repo, remote-repos, libs-release, plugins-release, libs-snapshot,
plugins-snapshot]
2013-05-21 17:19:09,979 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'repo'
2013-05-21 17:19:11,498 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'repo:.index/nexus-maven-repository-index.gz' and index info
'repo:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:11,605 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'remote-repos'
2013-05-21 17:19:11,723 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'remote-repos:.index/nexus-maven-repository-index.gz' and index info
'remote-repos:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:11,807 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'libs-release'
2013-05-21 17:19:12,254 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'libs-release:.index/nexus-maven-repository-index.gz' and index info
'libs-release:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:12,324 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'plugins-release'
2013-05-21 17:19:12,786 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'plugins-release:.index/nexus-maven-repository-index.gz' and index info
'plugins-release:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:13,037 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'libs-snapshot'
2013-05-21 17:19:13,849 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'libs-snapshot:.index/nexus-maven-repository-index.gz' and index info
'libs-snapshot:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:14,038 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:361) - Creating virtual repository index
'plugins-snapshot'
2013-05-21 17:19:15,243 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexManager:285) - Successfully saved index file
'plugins-snapshot:.index/nexus-maven-repository-index.gz' and index info
'plugins-snapshot:.index/nexus-maven-repository-index.properties'.
2013-05-21 17:19:15,277 [art-exec-10] [INFO ]
(o.a.r.i.MavenIndexerServiceImpl:272) - Finished repositories indexing...




--
View this message in context: 
http://forums.jfrog.org/Indexer-generates-empty-index-files-for-virtual-repositories-tp7578811.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to