On 10/24/2012 1:54 AM, Brett Porter wrote:
Unfortunately it seems that Geronimo is swallowing the all important
exception from the listener. Is there anywhere else in the console,
archiva.log, or other that might show it?

My only guess is that you might need the appserver.base system
property to be set - the Tomcat instructions talk about that for
Tomcat, but again not sure what the equivalent is for Geronimo.

Perhaps the Geronimo lists might be able to provide some more
assistance too?


appserver.base is something I'll have to look at. I wasn't sure if that was going to be still needed for 1.4M3. But I had seen it mentioned in a few of the HOWTOs on the Archiva wiki, so I'll have to find out where that is in Geronimo.

In fact, I think that's probably the right track to focus on because I dug this out of the Geronimo log (specifically "Could not resolve placeholder 'appserver.base' in string value"):

2012-10-23 20:24:16,922 ERROR [[/archiva]] Exception sending context destroyed event to listener instance of class org.apache.archiv
a.web.startup.ArchivaStartup
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jcr-config' defined in URL [file:
/usr/local/share/geronimo-3.0.0/repository/default/apache-archiva-js-1.4-M3/1351030291765/apache-archiva-js-1.4-M3-1351030291765.war
/WEB-INF/classes/META-INF/spring-context.xml]: Could not resolve placeholder 'appserver.base' in string value [${appserver.base}/con
f/repository.xml]
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.ja
va:209)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.ja
va:220)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.jav
a:84)
ore.StandardContext.startInternal(StandardContext.java:5273)
(trimmed for brevity)

Reply via email to