Sorry I post this again, in the last post the version of glassfish is wrong, so fix it here:

Archiva 1.3.1
GlassFish Server Open Source Edition 3.0.1 (build 22)
Linux 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13 19:06:04 UTC 2009 i686 GNU/Linux


$ asadmin deploy --contextroot archiva apache-archiva-1.3.1.war
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlFailureCache' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'cache#url-failures-cache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache#url-failures-cache': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to invoke plexus lifecycle Initializable.initialize on cache#url-failures-cache; nested exception is org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: A previous cache with name [url-failures-cache] exists.


Command deploy failed.


$ asadmin deploy --force --contextroot archiva apache-archiva-1.3.1.war
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlFailureCache' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'cache#url-failures-cache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache#url-failures-cache': Post-processing of the FactoryBean's object failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Failed to invoke plexus lifecycle Initializable.initialize on cache#url-failures-cache; nested exception is org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException: A previous cache with name [url-failures-cache] exists.


Command deploy failed.


$ asadmin list-applications
hello <web>
WEB-INF <web>
hudson-1.337 <web>


Command list-applications executed successfully.

Reply via email to