[
https://jira.codehaus.org/browse/MRM-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282203#comment-282203
]
Olivier Lamy edited comment on MRM-1546 at 10/27/11 4:37 AM:
-------------------------------------------------------------
you must start your app server with sys props: -Dappserver.base=path where you
want to store your archiva datas and -Dappserver.home=same path.
see [http://archiva.apache.org/docs/1.4-M1/adminguide/webapp.html]
was (Author: olamy):
you must start your app server with sys props: -Dappserver.base=path where
you want to store your archiva datas and -Dappserver.home=same path.
> Deploy failed in Glassfish3.1 and Tomcat6
> -----------------------------------------
>
> Key: MRM-1546
> URL: https://jira.codehaus.org/browse/MRM-1546
> Project: Archiva
> Issue Type: Bug
> Components: system
> Affects Versions: 1.4-M1
> Environment: RedHat Enterprise 5.4, JDK1.6
> Reporter: Yang Hua Jie
>
> I got this error during my first deployment of archiva
> Application deployed with name archiva. WARNING: Command _deploy did not
> complete successfully on server instance st_demo: remote failure: Failed to
> load the application on instance st_demo. The application will not run
> properly. Please fix your application and redeploy. Exception while loading
> the app : java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException:
> org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean
> definition with name 'jcr-config' defined in URL
> [file:/home/yhjhoo/zip/archiva/apps/archiva/WEB-INF/classes/META-INF/spring-context.xml]:
> Could not resolve placeholder 'appserver.base'. Please see server.log for
> more details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira