Hello, i have problems with index creation. the config desriptor, security desriptor and the error message is attached at the end of this message.
That's what i've already done: I read in the forum and found 3 workarounds: 1. stop artifactory, delete the index directory and restart artifactory --> Result: Index creation failed. 2. stop artifactory, delete the index directory and restart artifactory with -Dartifactory.jcr.fixConsistency=true --> Result: Index creation failed. 3. create new virtual repo, add one to it, and check the indexing, if that's without error, add the next repo to the virtual repo and so on. --> Result: Index creation failed. --> for all repos Have anyone a solution to create the indexes??? ##################ATTACHED#BEGIN################# i use Artifactory 2.2.0. here my config descriptor: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config xmlns="http://artifactory.jfrog.org/xsd/1.4.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jfrog.org/xsd/artifactory-v1_4_2.xsd"> <serverName>Artifactory</serverName> <offlineMode>false</offlineMode> <fileUploadMaxSizeMb>100</fileUploadMaxSizeMb> <dateFormat>dd-MM-yy HH:mm:ss z</dateFormat> <addons> <showAddonsInfo>true</showAddonsInfo> <showAddonsInfoCookie>1268311954237</showAddonsInfoCookie> </addons> <security> <anonAccessEnabled>true</anonAccessEnabled> <passwordSettings> <encryptionPolicy>supported</encryptionPolicy> </passwordSettings> </security> <backups/> <indexer> <enabled>true</enabled> <indexingIntervalHours>1</indexingIntervalHours> <excludedRepositories> <repositoryRef>VPS</repositoryRef> <repositoryRef>ams</repositoryRef> <repositoryRef>drvit</repositoryRef> <repositoryRef>gb0500</repositoryRef> <repositoryRef>local-repos</repositoryRef> <repositoryRef>monique</repositoryRef> <repositoryRef>remote-repos</repositoryRef> <repositoryRef>test_repo</repositoryRef> <repositoryRef>tools</repositoryRef> </excludedRepositories> </indexer> <localRepositories> <localRepository> <key>drvit</key> <description>In dieses Repository koennen Bibliotheken deployed werden</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <excludesPattern>log4j/log4j/**</excludesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> <localRepository> <key>VPS</key> <description>Dieses Repository enthaelt Bibliotheken fuer VPS</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <excludesPattern>log4j/log4j/** axis/axis/** junit/junit/**</excludesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> <localRepository> <key>tools</key> <description>Enthaelt Entwicklerwerkzeuge wie z. B. das Maven-Plugin "de.deutscherv.maven.xmlbuilder-0.1.0.jar".</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <excludesPattern>log4j/log4j/**</excludesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> <localRepository> <key>eAntrag</key> <description>Dieses Repository enthaelt Bibliotheken fuer eAntrag</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <blackedOut>true</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> <localRepository> <key>ams</key> <description>Dieses Repository wird verwendet, um die Umstellung zu testen.</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> <localRepository> <key>monique</key> <description>Enthaelt Bibliotheken fuer MoniQuE.</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <snapshotVersionBehavior>non-unique</snapshotVersionBehavior> </localRepository> </localRepositories> <remoteRepositories> <remoteRepository> <key>gb0500</key> <description>Enthaelt Bibliotheken die vom Maven-Repository-Manager </description> <type>maven2</type> <includesPattern>**/*</includesPattern> <blackedOut>false</blackedOut> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <maxUniqueSnapshots>0</maxUniqueSnapshots> <suppressPomConsistencyChecks>false</suppressPomConsistencyChecks> <propertySets/> <url>http://maven.drv.drv/mrm/content/groups/public/</url> <offline>false</offline> <hardFail>false</hardFail> <storeArtifactsLocally>true</storeArtifactsLocally> <fetchJarsEagerly>true</fetchJarsEagerly> <fetchSourcesEagerly>false</fetchSourcesEagerly> <retrievalCachePeriodSecs>43200</retrievalCachePeriodSecs> <failedRetrievalCachePeriodSecs>30</failedRetrievalCachePeriodSecs> <missedRetrievalCachePeriodSecs>43200</missedRetrievalCachePeriodSecs> <checksumPolicyType>generate-if-absent</checksumPolicyType> <unusedArtifactsCleanupEnabled>false</unusedArtifactsCleanupEnabled> <unusedArtifactsCleanupPeriodHours>0</unusedArtifactsCleanupPeriodHours> <shareConfiguration>false</shareConfiguration> <socketTimeoutMillis>15000</socketTimeoutMillis> </remoteRepository> </remoteRepositories> <virtualRepositories> <virtualRepository> <key>remote-repos</key> <type>maven2</type> <includesPattern>**/*</includesPattern> <artifactoryRequestsCanRetrieveRemoteArtifacts>true</artifactoryRequestsCanRetrieveRemoteArtifacts> <repositories/> <pomRepositoryReferencesCleanupPolicy>discard_active_reference</pomRepositoryReferencesCleanupPolicy> </virtualRepository> <virtualRepository> <key>local-repos</key> <description>alle lokalen Repositories</description> <type>maven2</type> <includesPattern>**/*</includesPattern> <excludesPattern>log4j/log4j/**</excludesPattern> <artifactoryRequestsCanRetrieveRemoteArtifacts>false</artifactoryRequestsCanRetrieveRemoteArtifacts> <repositories/> <pomRepositoryReferencesCleanupPolicy>discard_active_reference</pomRepositoryReferencesCleanupPolicy> </virtualRepository> <virtualRepository> <key>test_repo</key> <type>maven2</type> <includesPattern>**/*</includesPattern> <artifactoryRequestsCanRetrieveRemoteArtifacts>false</artifactoryRequestsCanRetrieveRemoteArtifacts> <repositories> <repositoryRef>monique</repositoryRef> </repositories> <pomRepositoryReferencesCleanupPolicy>discard_active_reference</pomRepositoryReferencesCleanupPolicy> </virtualRepository> </virtualRepositories> <proxies/> <propertySets/> <footer>TEst</footer> </config> and here my security descriptor: <?xml version='1.0' encoding='UTF-8'?> <security version="v7"> <users> <user> <username>monique</username> <password>7e22e230e53a981a7ff8fef91f76c0e0</password> [email protected] <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups> <userGroup>readers</userGroup> </groups> <lastLoginTimeMillis>0</lastLoginTimeMillis> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>1163-37</username> <password>73caaf27776183ec10ea6ddc65cca39c</password> [email protected] <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups> <userGroup>readers</userGroup> </groups> <lastLoginTimeMillis>1286953808170</lastLoginTimeMillis> <lastLoginClientIp>32.2.29.119</lastLoginClientIp> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>hudson</username> <password>00b78e15b2a959fc59a6f28c20bda41d</password> [email protected] <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups> <userGroup>readers</userGroup> </groups> <lastLoginTimeMillis>1290515687944</lastLoginTimeMillis> <lastLoginClientIp>32.2.2.47</lastLoginClientIp> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>vps</username> <password>b690b177ed5312927bf69c212c0ce15f</password> [email protected] <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups> <userGroup>readers</userGroup> </groups> <lastLoginTimeMillis>1292492426887</lastLoginTimeMillis> <lastLoginClientIp>32.4.8.21</lastLoginClientIp> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>eantrag</username> <password>02ec48a2bf06876d713cdd76a087ac4a</password> [email protected] <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups> <userGroup>readers</userGroup> </groups> <lastLoginTimeMillis>1286953760729</lastLoginTimeMillis> <lastLoginClientIp>32.2.29.119</lastLoginClientIp> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>anonymous</username> <password>d41d8cd98f00b204e9800998ecf8427e</password> <admin>false</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups/> <lastLoginTimeMillis>0</lastLoginTimeMillis> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> <user> <username>admin</username> <password>d567edfc4c0e6600b8a1488c61680ecc</password> [email protected] <privateKey>MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAh1Ch4t7IN7hiTVe3XzZneBDZ9BreXkWkOC31voDaFtiemW2NCu2yzry0ePDlWP1s0fbJQ0JjpPOIOm7TVP/yFQIDAQABAkBdOt7vExPb4DxKkZ8UCMXtYZ7powGG7nChDHl+kgSxK/m06xLCC01ybwksrXTdYrN8bjjeSrOTtbH+LIJeAdLZAiEAx2z1CLLveb7PUok3YNUZHU/jrzTGtQgNJmJqS+iTwqsCIQCts7e1/aHnY5stXt2fnzW7FftZwYoPhlbpb53uT3kePwIhAJ4MMOny/a1r1l0gGD5qxFuhq914Ix7nwZwxFPMR4MC/AiBdXKBckCOqc+4fF8M1HWTK1sjPeGgVahZix9xyD4NBDwIgMGt6yogno9Lb7MfJgSzQvW15inJpSvyXN/dBmqRv/NM=</privateKey> <publicKey>MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIdQoeLeyDe4Yk1Xt182Z3gQ2fQa3l5FpDgt9b6A2hbYnpltjQrtss68tHjw5Vj9bNH2yUNCY6TziDpu01T/8hUCAwEAAQ==</publicKey> <admin>true</admin> <enabled>true</enabled> <updatableProfile>true</updatableProfile> <accountNonExpired>true</accountNonExpired> <credentialsNonExpired>true</credentialsNonExpired> <accountNonLocked>true</accountNonLocked> <transientUser>false</transientUser> <groups/> <lastLoginTimeMillis>1294760285355</lastLoginTimeMillis> <lastLoginClientIp>32.4.6.29</lastLoginClientIp> <lastAccessTimeMillis>0</lastAccessTimeMillis> </user> </users> <groups> <group> <groupName>readers</groupName> <description>A group for read-only users</description> <newUserDefault>true</newUserDefault> </group> </groups> <acls> <acl> <permissionTarget> <name>monique</name> <repoKeys> <string>monique</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>monique</principal> <group>false</group> <mask>15</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>eAntrag</name> <repoKeys> <string>eAntrag</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>eantrag</principal> <group>false</group> <mask>15</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>Any Remote</name> <repoKeys> <string>ANY REMOTE</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>readers</principal> <group>true</group> <mask>1</mask> </ace> <ace> <principal>anonymous</principal> <group>false</group> <mask>1</mask> </ace> </aces> <updatedBy>_system_</updatedBy> </acl> <acl> <permissionTarget> <name>tools</name> <repoKeys> <string>tools</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>readers</principal> <group>true</group> <mask>7</mask> </ace> <ace> <principal>1163-37</principal> <group>false</group> <mask>15</mask> </ace> <ace> <principal>anonymous</principal> <group>false</group> <mask>7</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>hudson</name> <repoKeys> <string>drvit</string> <string>TestDB</string> <string>tools</string> <string>gb0500-cache</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>hudson</principal> <group>false</group> <mask>7</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>Anything</name> <repoKeys> <string>ANY</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>vps admins</principal> <group>true</group> <mask>1</mask> </ace> <ace> <principal>readers</principal> <group>true</group> <mask>5</mask> </ace> <ace> <principal>anonymous</principal> <group>false</group> <mask>5</mask> </ace> </aces> <updatedBy>_system_</updatedBy> </acl> <acl> <permissionTarget> <name>ams</name> <repoKeys> <string>ams</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>1163-37</principal> <group>false</group> <mask>15</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>deploy_permission</name> <repoKeys> <string>drvit</string> <string>gb0500-cache</string> <string>old_local-cache</string> <string>repo1-cache</string> </repoKeys> <includes> <string>**</string> </includes> <excludes/> </permissionTarget> <aces> <ace> <principal>readers</principal> <group>true</group> <mask>7</mask> </ace> <ace> <principal>anonymous</principal> <group>false</group> <mask>7</mask> </ace> </aces> </acl> <acl> <permissionTarget> <name>vps</name> <repoKeys> <string>VPS</string> </repoKeys> <includes/> <excludes/> </permissionTarget> <aces> <ace> <principal>vps</principal> <group>false</group> <mask>15</mask> </ace> </aces> </acl> </acls> </security> Here is the error message i get in both cases: 2011-01-11 16:56:47,316 [art-exec-16] [ERROR] (o.a.r.i.IndexerServiceImpl:322) - Fetching index files failed: Failed to index repository 'eAntrag'.. 2011-01-11 16:56:47,385 [art-exec-15] [ERROR] (o.a.r.i.IndexerServiceImpl:245) - Could not merge virtual repository indexes. java.lang.RuntimeException: Index creation failed. at org.artifactory.repo.index.RepoIndexer.createIndex(RepoIndexer.java:165) [artifactory-core-2.2.0.jar:na] at org.artifactory.repo.index.IndexerServiceImpl.mergeVirtualRepoIndexes(IndexerServiceImpl.java:235) [artifactory-core-2.2.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_16] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_16] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_16] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_16] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) [spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.2.0.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy30.mergeVirtualRepoIndexes(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerServiceImpl.index(IndexerServiceImpl.java:153) [artifactory-core-2.2.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_16] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_16] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_16] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_16] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy30.index(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:56) [artifactory-core-2.2.0.jar:na] at org.artifactory.repo.index.IndexerJob.onExecute(IndexerJob.java:38) [artifactory-core-2.2.0.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:44) [artifactory-core-2.2.0.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.6.jar:1.6.6] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-core-2.2.0.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) [na:1.5.0_16] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) [na:1.5.0_16] at java.lang.Thread.run(Thread.java:595) [na:1.5.0_16] Caused by: java.lang.RuntimeException: Failed to create directory '/opt/artifactory-2.2.0/data/tmp/work/artifactory.index.repo-716282265'. at org.artifactory.util.FileUtils.createRandomDir(FileUtils.java:111) [artifactory-config-2.2.0.jar:na] at org.artifactory.repo.index.RepoIndexer.createIndex(RepoIndexer.java:150) [artifactory-core-2.2.0.jar:na] ... 30 common frames omitted ##################ATTACHED#END################### -- View this message in context: http://forums.jfrog.org/Index-creation-failed-Could-not-merge-virtual-repository-indexes-tp5911382p5911382.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
