You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/11/23 06:16:03 UTC
Webapp won't start with jetty:run
$ svn up; mvn clean install
$ cd archiva-webapp
$ rm derby.log
$ mvn jetty:run
This was working a couple of weeks ago. Now I get a huge stack trace,
which can be seen here:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ArchivaJettyError
I think the relevant part is...
...
[INFO] Starting jetty 6.1.0pre0 ...
2006-11-22 22:06:14.578::INFO: jetty-6.1.0pre0
[INFO] Classpath = [ ... ]
2006-11-22 22:06:16.265:/:INFO: Loading plexus context properties
from: '/WEB-INF/plexus.properties'
2006-11-22 22:06:16.265:/:INFO: Could not load plexus context
properties from: '/WEB-INF/plexus.properties'
2006-11-22 22:06:17,000 [main] INFO PlexusContainer -
Loading on start [role]:
[org.apache.maven.archiva.scheduler.RepositoryTaskScheduler]
2006-11-22 22:06:17,140 [main] INFO RAMJobStore -
RAMJobStore initialized.
2006-11-22 22:06:17,140 [main] INFO StdSchedulerFactory -
Quartz scheduler 'defaultScheduler' initialized from an externally
provided properties instance.
2006-11-22 22:06:17,140 [main] INFO StdSchedulerFactory -
Quartz scheduler version: 1.4.5
2006-11-22 22:06:17,140 [main] INFO QuartzScheduler -
Scheduler defaultScheduler_$_NON_CLUSTERED started.
2006-11-22 22:06:17.343::WARN: failed
ContextHandler@7b5617{/,file:/E:/svn/maven/archiva/archiva-webapp/src/main/webapp/}
java.lang.RuntimeException:
org.codehaus.plexus.PlexusContainerException: Error initializaing
container in org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@235085.
at org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:65)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
...
Does it work for anyone else?
--
Wendy
Re: Webapp won't start with jetty:run
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/23/06, Emmanuel Venisse <em...@venisse.net> wrote:
> It works fine for me
... and I see from the IRC log that the trick is to not use Maven 2.1. :)
--
Wendy
Re: Webapp won't start with jetty:run
Posted by Emmanuel Venisse <em...@venisse.net>.
It works fine for me
Emmanuel
Wendy Smoak a écrit :
> $ svn up; mvn clean install
> $ cd archiva-webapp
> $ rm derby.log
> $ mvn jetty:run
>
> This was working a couple of weeks ago. Now I get a huge stack trace,
> which can be seen here:
> http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ArchivaJettyError
>
> I think the relevant part is...
> ...
> [INFO] Starting jetty 6.1.0pre0 ...
> 2006-11-22 22:06:14.578::INFO: jetty-6.1.0pre0
> [INFO] Classpath = [ ... ]
> 2006-11-22 22:06:16.265:/:INFO: Loading plexus context properties
> from: '/WEB-INF/plexus.properties'
> 2006-11-22 22:06:16.265:/:INFO: Could not load plexus context
> properties from: '/WEB-INF/plexus.properties'
> 2006-11-22 22:06:17,000 [main] INFO PlexusContainer -
> Loading on start [role]:
> [org.apache.maven.archiva.scheduler.RepositoryTaskScheduler]
> 2006-11-22 22:06:17,140 [main] INFO RAMJobStore -
> RAMJobStore initialized.
> 2006-11-22 22:06:17,140 [main] INFO StdSchedulerFactory -
> Quartz scheduler 'defaultScheduler' initialized from an externally
> provided properties instance.
> 2006-11-22 22:06:17,140 [main] INFO StdSchedulerFactory -
> Quartz scheduler version: 1.4.5
> 2006-11-22 22:06:17,140 [main] INFO QuartzScheduler -
> Scheduler defaultScheduler_$_NON_CLUSTERED started.
> 2006-11-22 22:06:17.343::WARN: failed
> ContextHandler@7b5617{/,file:/E:/svn/maven/archiva/archiva-webapp/src/main/webapp/}
>
> java.lang.RuntimeException:
> org.codehaus.plexus.PlexusContainerException: Error initializaing
> container in
> org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase@235085.
>
> at
> org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:65)
>
> at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
>
> at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
> ...
>
> Does it work for anyone else?
>