You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milosz Witkowski (JIRA)" <ji...@codehaus.org> on 2007/03/06 11:24:14 UTC
[jira] Created: (MRM-299) IndexArtifactConsumer is never run during
wlking through repository
IndexArtifactConsumer is never run during wlking through repository
-------------------------------------------------------------------
Key: MRM-299
URL: http://jira.codehaus.org/browse/MRM-299
Project: Archiva
Issue Type: Bug
Components: indexing
Environment: Windows XP, JVM 1.5.0_09-b03, plexus, archiva trunk At revision 515030.
Reporter: Milosz Witkowski
Priority: Minor
Running archiva on plexus log shows that during walking through repository index-artifact is never executed.
Instead of it "Artifact Health Consumer" is initiated 3 times.
2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [index-artifact]
2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [index-artifact|Artifact Health Consumer]
2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [artifact-health]
2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [artifact-health|Artifact Health Consumer]
2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [metadata-health]
2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [metadata-health|Artifact Health Consumer]
2007-03-06 11:08:39,093 [pool-1-thread-1] INFO Discoverer - Walk Started: [test] /C:/tmp/maven-2.x-repository/
2007-03-06 11:08:39,125 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
2007-03-06 11:08:39,312 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
2007-03-06 11:08:39,328 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
2007-03-06 11:08:39,343 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
2007-03-06 11:08:39,359 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
2007-03-06 11:08:39,375 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
2007-03-06 11:08:39,390 [pool-1-thread-1] INFO Discoverer - Walk Finished: [test] /C:/tmp/maven-2.x-repository/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-299) IndexArtifactConsumer is never run
during wlking through repository
Posted by "Milosz Witkowski (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89391 ]
Milosz Witkowski commented on MRM-299:
--------------------------------------
:) if someone from devel team will have time:
file:
/archiva-common/src/main/java/org/apache/maven/archiva/common/consumers/ConsumerFactory.java
line: 52
there is :
...
consumer = (Consumer) container.lookup( Consumer.ROLE,container.getLookupRealm() );
...
but should be:
...
consumer = (Consumer) container.lookup( Consumer.ROLE,name, container.getLookupRealm() );
...
this one fixes problem with wrong initialization of consumers.
> IndexArtifactConsumer is never run during wlking through repository
> -------------------------------------------------------------------
>
> Key: MRM-299
> URL: http://jira.codehaus.org/browse/MRM-299
> Project: Archiva
> Issue Type: Bug
> Components: indexing
> Environment: Windows XP, JVM 1.5.0_09-b03, plexus, archiva trunk At revision 515030.
> Reporter: Milosz Witkowski
> Priority: Minor
>
> Running archiva on plexus log shows that during walking through repository index-artifact is never executed.
> Instead of it "Artifact Health Consumer" is initiated 3 times.
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [index-artifact]
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [index-artifact|Artifact Health Consumer]
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [artifact-health]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [artifact-health|Artifact Health Consumer]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [metadata-health]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [metadata-health|Artifact Health Consumer]
> 2007-03-06 11:08:39,093 [pool-1-thread-1] INFO Discoverer - Walk Started: [test] /C:/tmp/maven-2.x-repository/
> 2007-03-06 11:08:39,125 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,312 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,328 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,343 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,359 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,375 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,390 [pool-1-thread-1] INFO Discoverer - Walk Finished: [test] /C:/tmp/maven-2.x-repository/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRM-299) IndexArtifactConsumer is never run during
wlking through repository
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joakim Erdfelt closed MRM-299.
------------------------------
Assignee: Joakim Erdfelt
Resolution: Fixed
Thanks for the fix!
Applied in r516417.
> IndexArtifactConsumer is never run during wlking through repository
> -------------------------------------------------------------------
>
> Key: MRM-299
> URL: http://jira.codehaus.org/browse/MRM-299
> Project: Archiva
> Issue Type: Bug
> Components: indexing
> Environment: Windows XP, JVM 1.5.0_09-b03, plexus, archiva trunk At revision 515030.
> Reporter: Milosz Witkowski
> Assigned To: Joakim Erdfelt
> Priority: Minor
>
> Running archiva on plexus log shows that during walking through repository index-artifact is never executed.
> Instead of it "Artifact Health Consumer" is initiated 3 times.
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [index-artifact]
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [index-artifact|Artifact Health Consumer]
> 2007-03-06 11:08:39,000 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [artifact-health]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [artifact-health|Artifact Health Consumer]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Attempting to create consumer [metadata-health]
> 2007-03-06 11:08:39,015 [pool-1-thread-1] INFO ConsumerFactory - Created consumer [metadata-health|Artifact Health Consumer]
> 2007-03-06 11:08:39,093 [pool-1-thread-1] INFO Discoverer - Walk Started: [test] /C:/tmp/maven-2.x-repository/
> 2007-03-06 11:08:39,125 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,312 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,328 [pool-1-thread-1] WARN SQL - Object with id "javax.xml:jsr173:1.0:pom:" not found !
> 2007-03-06 11:08:39,343 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,359 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,375 [pool-1-thread-1] WARN SQL - Object with id "jboss:jbpm:3.1.1:jar:" not found !
> 2007-03-06 11:08:39,390 [pool-1-thread-1] INFO Discoverer - Walk Finished: [test] /C:/tmp/maven-2.x-repository/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira