archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Re: How do you set 'appserver.base' when deploying to a Geronimo server ?
Date Fri, 24 Oct 2008 15:19:14 GMT
Take a look at the tomcat documentation for example.

In my case, I add -Dappserver.base=/home/archiva to the Java
properties passed to Tomcat 6 :


2008/10/24 Malcolm Wong Ho <MWongHo@sars.gov.za>:
> How do you set 'appserver.base' when deploying to a Geronimo server ?
>
>
>
> 16:58:23,979 ERROR [[/archiva]] Exception sending context initialized
> event to listener instance of class
> org.apache.maven.archiva.web.startup.ArchivaStartup
>
> org.springframework.beans.factory.BeanDefinitionStoreException: Invalid
> bean definition with name 'archivaConfiguration' defined in null: Could
> not resolve placeholder 'appserver.base'
>
>        at
> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.p
> rocessProperties(PropertyPlaceholderConfigurer.java:252)
>
>        at
> org.springframework.beans.factory.config.PropertyResourceConfigurer.post
> ProcessBeanFactory(PropertyResourceConfigurer.java:75)
>
>        at
> org.springframework.context.support.AbstractApplicationContext.invokeBea
> nFactoryPostProcessors(AbstractApplicationContext.java:542)
>
>        at
> org.springframework.context.support.AbstractApplicationContext.invokeBea
> nFactoryPostProcessors(AbstractApplicationContext.java:516)
>
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(A
> bstractApplicationContext.java:348)
>
>        at
> org.springframework.web.context.ContextLoader.createWebApplicationContex
> t(ContextLoader.java:261)
>
>        at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:199)
>
>
>
>
> Please Note: This email and its contents are subject to our email legal notice which
can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf
>

Mime
View raw message