Hi Brett!

Thanks for you help so far.

On 19 Feb 2008, Brett Porter wrote:

> Ah, I see. You shouldn't move the original configuration (specifically
> the classworlds configuration). I just copy the 3 XML files to the new
> conf directory.

Ok, so this is an issue in the mentioned documentation which says "Move
the conf  and data  directories". I'll file a JIRA issue for this as soon
as I see it confirmed.

> Also, you are write - the PID file is written to the installation
> (which is probably a bug - we should make sure that is addressed in
> MRM-688.

Well, even with the PID file writeable and the configuration copied
instead of moved, it's still throwing exceptions. The stacktrace I get is
as follows:

$ ./apache-archiva-1.0.1/bin/linux-x86-32/run.sh console
Running Archiva...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | [INFO] Loading on start [role,roleHint]: 
[org.codehaus.plexus.naming.Naming,dataSources]
jvm 1    | [INFO] Loading on start [role,roleHint]: 
[org.codehaus.plexus.contextualizer.Contextualizer,jettyConfiguration]
jvm 1    | [INFO] Services will be deployed in: 
'/home/martin/work/archiva/apache-archiva-1.0.1/services'.
jvm 1    | [INFO] Applications will be deployed in: 
'/home/martin/work/archiva/apache-archiva-1.0.1/apps'.
jvm 1    | [INFO] Service Supervisor is deploying 
plexus-appserver-service-jetty-2.0-alpha-8.
jvm 1    | [ERROR] Error while deploying service 
plexus-appserver-service-jetty-2.0-alpha-8.sar.
jvm 1    | org.codehaus.plexus.appserver.ApplicationServerException: Error 
executing service deployment id.
jvm 1    |      at 
org.codehaus.plexus.appserver.service.deploy.DefaultServiceDeployer.deploy(DefaultServiceDeployer.java:91)
jvm 1    |      at 
org.codehaus.plexus.appserver.service.deploy.DefaultServiceDeployer.deploy(DefaultServiceDeployer.java:65)
jvm 1    |      at 
org.codehaus.plexus.appserver.lifecycle.phase.ServiceDeploymentPhase$1.onJarDiscovered(ServiceDeploymentPhase.java:45)
jvm 1    |      at 
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)
jvm 1    |      at 
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)
jvm 1    |      at 
org.codehaus.plexus.appserver.lifecycle.phase.ServiceDeploymentPhase.execute(ServiceDeploymentPhase.java:59)
jvm 1    |      at 
org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218)
jvm 1    |      at 
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
jvm 1    |      at 
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
jvm 1    |      at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
jvm 1    |      at 
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
jvm 1    |      at 
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
jvm 1    |      at 
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
jvm 1    |      at 
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
jvm 1    |      at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
jvm 1    |      at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
jvm 1    |      at 
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)
jvm 1    |      at 
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)
jvm 1    |      at 
org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    |      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    |      at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
jvm 1    |      at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
jvm 1    |      at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
jvm 1    |      at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
jvm 1    |      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    |      at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1    |      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1    |      at java.lang.reflect.Method.invoke(Method.java:597)
jvm 1    |      at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    |      at java.lang.Thread.run(Thread.java:619)
jvm 1    | Caused by: 
org.codehaus.plexus.appserver.service.deploy.lifecycle.ServiceDeploymentException:
 Error expanding service archive.
jvm 1    |      at 
org.codehaus.plexus.appserver.service.deploy.lifecycle.phase.ExpandServicePhase.execute(ExpandServicePhase.java:44)
jvm 1    |      at 
org.codehaus.plexus.appserver.service.deploy.DefaultServiceDeployer.deploy(DefaultServiceDeployer.java:82)
jvm 1    |      ... 32 more
jvm 1    | Caused by: org.codehaus.plexus.appserver.deploy.DeploymentException: 
Unable to extract 
/home/martin/work/archiva/apache-archiva-1.0.1/services/plexus-appserver-service-jetty-2.0-alpha-8.sar
 to 
/home/martin/work/archiva/apache-archiva-1.0.1/services/plexus-appserver-service-jetty-2.0-alpha-8.
jvm 1    |      at 
org.codehaus.plexus.appserver.AppServerObject.expand(AppServerObject.java:32)
jvm 1    |      at 
org.codehaus.plexus.appserver.service.deploy.lifecycle.phase.ExpandServicePhase.execute(ExpandServicePhase.java:40)
jvm 1    |      ... 33 more
jvm 1    | Caused by: java.lang.Exception: Can't extract file 
/home/martin/work/archiva/apache-archiva-1.0.1/services/plexus-appserver-service-jetty-2.0-alpha-8.sar
jvm 1    |      at org.codehaus.plexus.util.Expand.extractFile(Expand.java:207)
jvm 1    |      at org.codehaus.plexus.util.Expand.expandFile(Expand.java:113)
jvm 1    |      at org.codehaus.plexus.util.Expand.execute(Expand.java:92)
jvm 1    |      at 
org.codehaus.plexus.appserver.AppServerObject.expand(AppServerObject.java:28)
jvm 1    |      ... 34 more
jvm 1    | Caused by: java.io.FileNotFoundException: 
/home/martin/work/archiva/apache-archiva-1.0.1/services/plexus-appserver-service-jetty-2.0-alpha-8/META-INF/MANIFEST.MF
 (No such file or directory)
jvm 1    |      at java.io.FileOutputStream.open(Native Method)
jvm 1    |      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
jvm 1    |      at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
jvm 1    |      at org.codehaus.plexus.util.Expand.extractFile(Expand.java:177)
jvm 1    |      ... 37 more


tia
- martin
-- 
Martin Höller                   | [EMAIL PROTECTED]
*x Software + Systeme           | http://www.xss.co.at/
Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
A-1100 Vienna, Austria          | Fax: +43-1-6060114-71

Attachment: signature.asc
Description: PGP signature

Reply via email to