Re: Upgrade from 1.1-beta-3 to 1.1 failed

2008-01-03 Thread Olivier Lamy
(CompositionPhase.java:46)
> ... 8 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Component descriptor cannot be f
> ound in the component repository:
> org.apache.maven.continuum.store.ContinuumStore [jdo] (lookup realm:
> ClassRealm[app, p
> arent: 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.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer
> .java:232)
> ... 13 more
>
>
> Thank you for your help
>
> Stéphane
> --
> View this message in context: 
> http://www.nabble.com/Upgrade-from-1.1-beta-3-to-1.1-failed-tp14596899p14596899.html
> Sent from the Continuum - Users mailing list archive at Nabble.com.
>
>


Upgrade from 1.1-beta-3 to 1.1 failed

2008-01-03 Thread stephane pain

Hi,

   I use Continuum 1.1-beta-3 and I want to update it to 1.1 final. I
followed the instructions for upgrade, but I can't export data from my old
version.

I have downloaded data-management-cli-1.1-beta-3-app.jar and execute thie
command :
java -Xmx512m -jar data-management-cli-1.1-beta-4-app.jar -buildsJdbcUrl
jdbc:derby:${old.continuum.home}/data/continuum/database -mode EXPORT
-directory backups

This doesn't work because it can find some jar in the remote repository
(maybe because the server can't acces to Internet). So, I have had this jars
to my local repository :
- derby-10.1.3.1.jar
- data-management-jdo-1.1-beta-3.jar
- jpox-1.1.6.jar

After this, I had an exception because it can't find the class
ContinuumStoreException. So I have had the jar continuum-api-1.1-beta-3.jar
in the classpath.

And now, this doesn't work because it can't find a component descriptor in
the component repository :

0 [main] INFO org.apache.maven.continuum.management.DataManagementCli  -
Processing Continuum database...
Exception in thread "main"
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Unable to lookup
 component 'org.apache.maven.continuum.management.DataManagementTool', it
could not be started
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:156)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
at
org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:233)
at
org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:146)
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException:
Error starting component
at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManag
er.java:146)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManag
er.java:132)
at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponent
Manager.java:90)
at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
... 3 more
Caused by:
org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException:
Error composing component
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:53)
at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManag
er.java:142)
... 6 more
Caused by: org.codehaus.plexus.component.composition.CompositionException:
Composition failed of field store in object o
f type org.apache.maven.continuum.management.JdoDataManagementTool because
the requirement ComponentRequirement{role='or
g.apache.maven.continuum.store.ContinuumStore', roleHint='jdo',
fieldName='store'} was missing (lookup realm: app)
at
org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer
.java:245)
at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentCompo
ser.java:66)
at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.jav
a:57)
at
org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentCompos
er.java:142)
at
org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentC
omposerManager.java:72)
at
org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
... 8 more
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Component descriptor cannot be f
ound in the component repository:
org.apache.maven.continuum.store.ContinuumStore [jdo] (lookup realm:
ClassRealm[app, p
arent: 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.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer
.java:232)
... 13 more


Thank you for your help

Stéphane
-- 
View this message in context: 
http://www.nabble.com/Upgrade-from-1.1-beta-3-to-1.1-failed-tp14596899p14596899.html
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Upgrade from 1.1-beta-3 to 1.1 failed

2007-11-29 Thread Emmanuel Venisse

Are you on windows?

Emmanuel

Julien Stern a écrit :

On Thu, Nov 29, 2007 at 09:41:14AM +0100, Emmanuel Venisse wrote:

Restart Continuum to see if this exception always appear.


Intriguing... It failed the first, second, third and fourth time, and
then eventually worked... Seems fixed now (I tried 3 times). The loading
phase has automagic healing capabilities apparently :)

Thanks.

--
Julien


Emmanuel

Julien Stern a écrit :

Hi list,

I had a bit of time so I tried to upgrade from beta3 to 1.1.
I followed the instructions on the upgrade page in order to
restore the databases.

When I start the new version (1.1) after the database import,
it fails with a NullPointerException.

The relevant part of the stack trace is attached.

Could it be that my original database was somehow corrupted?
Or is there any specific steps (other than those indicated
on the upgrade page) to follow?

Note that the Plexus listener IS configured in web.xml (in did not
change web.xml anyway).

Regards,

--
Julien






Re: Upgrade from 1.1-beta-3 to 1.1 failed

2007-11-29 Thread Julien Stern
On Thu, Nov 29, 2007 at 09:41:14AM +0100, Emmanuel Venisse wrote:
> Restart Continuum to see if this exception always appear.

Intriguing... It failed the first, second, third and fourth time, and
then eventually worked... Seems fixed now (I tried 3 times). The loading
phase has automagic healing capabilities apparently :)

Thanks.

--
Julien

> Emmanuel
> 
> Julien Stern a écrit :
> >Hi list,
> >
> >I had a bit of time so I tried to upgrade from beta3 to 1.1.
> >I followed the instructions on the upgrade page in order to
> >restore the databases.
> >
> >When I start the new version (1.1) after the database import,
> >it fails with a NullPointerException.
> >
> >The relevant part of the stack trace is attached.
> >
> >Could it be that my original database was somehow corrupted?
> >Or is there any specific steps (other than those indicated
> >on the upgrade page) to follow?
> >
> >Note that the Plexus listener IS configured in web.xml (in did not
> >change web.xml anyway).
> >
> >Regards,
> >
> >--
> >Julien
> >
> 


Upgrade from 1.1-beta-3 to 1.1 failed

2007-11-28 Thread Julien Stern
Hi list,

I had a bit of time so I tried to upgrade from beta3 to 1.1.
I followed the instructions on the upgrade page in order to
restore the databases.

When I start the new version (1.1) after the database import,
it fails with a NullPointerException.

The relevant part of the stack trace is attached.

Could it be that my original database was somehow corrupted?
Or is there any specific steps (other than those indicated
on the upgrade page) to follow?

Note that the Plexus listener IS configured in web.xml (in did not
change web.xml anyway).

Regards,

--
Julien
INFO   | jvm 1| 2007/11/28 12:55:17 | INFO: ** FATAL ERROR STARTING 
UP PLEXUS-WEBWORK INTEGRATION **
INFO   | jvm 1| 2007/11/28 12:55:17 | Looks like the Plexus listener was 
not configured for your web app! 
INFO   | jvm 1| 2007/11/28 12:55:17 | You need to add the following to 
web.xml: 
INFO   | jvm 1| 2007/11/28 12:55:17 | 
INFO   | jvm 1| 2007/11/28 12:55:17 | 
INFO   | jvm 1| 2007/11/28 12:55:17 | 
org.codehaus.plexus.xwork.PlexusLifecycleListener
INFO   | jvm 1| 2007/11/28 12:55:17 | 
INFO   | jvm 1| 2007/11/28 12:55:17 | [ERROR] Error while deploying 
appserver continuum-plexus-application-1.1.jar.
INFO   | jvm 1| 2007/11/28 12:55:17 | 
org.codehaus.plexus.appserver.ApplicationServerException: Error in the app 
server lifecycle post-app-container-init-service-call phase.
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1| 2007/11/28 12:55:17 |   at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
IN