You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Olivier Lamiral (JIRA)" <ji...@codehaus.org> on 2008/04/14 15:36:59 UTC
[jira] Created: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
ComponentLookupException during database export (1.1-beta-3)
------------------------------------------------------------
Key: CONTINUUM-1729
URL: http://jira.codehaus.org/browse/CONTINUUM-1729
Project: Continuum
Issue Type: Bug
Affects Versions: 1.1
Environment: Windows XP
Reporter: Olivier Lamiral
Hi!
The following exception is being thrown when trying to export database records:
Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
Let me know if I am missing something or doing something wrong.
Thank you in advance!
Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Olivier Lamiral (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139436#action_139436 ]
Olivier Lamiral commented on CONTINUUM-1729:
--------------------------------------------
Brett,
There is a file named components.xml in META-IN/plexus folder, but there is no section for the database configurator. Am I looking in the right file? If yes, could you send me the tags so I can put them in the xml file?
Also, is this information is related to the -buildsJdbcUrl parameter, passed in the command line? I´m searching the components.xml file in the source code repository, but I still haven´t found it.
Thanky you!
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139367#action_139367 ]
Brett Porter commented on CONTINUUM-1729:
-----------------------------------------
oh, I see from the code where it is failing now and it's not related to your data.
can you look into the JAR and see if there is a components.xml file, and if it contains a section for the database configurator?
You might also try building it from source:
http://svn.apache.org/viewvc/continuum/tags/continuum-parent-1.1-beta-3/continuum-data-management
I'm able to see the declaration in http://svn.apache.org/viewvc/continuum/tags/continuum-parent-1.1-beta-3/continuum-data-management/data-management-jdo/src/main/java/org/apache/maven/continuum/management/DefaultDatabaseFactoryConfigurator.java?revision=632133&view=markup
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Olivier Lamiral (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139554#action_139554 ]
Olivier Lamiral commented on CONTINUUM-1729:
--------------------------------------------
Brett,
I deleted all resolved dependencies from my maven 2 repository, and I ran the dependency resolver. Problem solved!
Thank you so much for helping me out with this issue!
Regards,
Olivier.
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Olivier Lamiral (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamiral closed CONTINUUM-1729.
--------------------------------------
Resolution: Fixed
Problem related with corrupted dependencies. Delete 1.1-beta-3 dependencies from repository and run mvn dependency:resolve over client pom.
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139366#action_139366 ]
Brett Porter commented on CONTINUUM-1729:
-----------------------------------------
are you able to share any of your data, or a subset of it that reproduces the problem?
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed CONTINUUM-1729.
-----------------------------------
Assignee: Brett Porter
Resolution: Cannot Reproduce
I was able to run the JAR as downloaded from the website and execute an export
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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] Reopened: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Olivier Lamiral (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamiral reopened CONTINUUM-1729:
----------------------------------------
Brett,
I´m still having trouble to export my 1.1-beta-3 data in order to upgrade to 1.1 final. I really tried to figure out what is going on, but I couldn´t find an answer. I keep getting the same exception.
When I run the export command using the 1.1 final cli app, it tries to export the data, but I get errors due to database incompatibility. So I am wondering if it´s not a dependency issue.
I really need your help because I don´t know what to do anymore.
Thank you again!
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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: (CONTINUUM-1729) ComponentLookupException during
database export (1.1-beta-3)
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139450#action_139450 ]
Brett Porter commented on CONTINUUM-1729:
-----------------------------------------
I might be mistaken here... it downloads the data management JAR. Perhaps the problem is that that jar is corrupted in your local repository?
> ComponentLookupException during database export (1.1-beta-3)
> ------------------------------------------------------------
>
> Key: CONTINUUM-1729
> URL: http://jira.codehaus.org/browse/CONTINUUM-1729
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Windows XP
> Reporter: Olivier Lamiral
> Assignee: Brett Porter
>
> Hi!
> The following exception is being thrown when trying to export database records:
> Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.continuum.management.DatabaseFactoryConfigurator [continuum] (lookup realm: ClassRealm[app, parent: ClassRealm[plexus.core, parent: null]]).
> at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139)
> at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:229)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
> Command line: java -Xmx512M -jar data-management-cli-1.1-beta-3-app.jar -buildsJdbcUrl jdbc:derby:continuum-1.1-beta-3/data/continuum/database -mode EXPORT -directory backups
> I´ve run maven dependency resolver over the data-management-cli-1.1-beta-3-app pom file to make sure that all the dependencies where available.
> Let me know if I am missing something or doing something wrong.
> Thank you in advance!
> Olivier.
--
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