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 <[EMAIL PROTECTED]>: > 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 >
