You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "James William Dumay (JIRA)" <ji...@codehaus.org> on 2008/06/21 06:31:27 UTC
[jira] Commented: (MRM-794) Have to create .profile file for user
archiva
[ http://jira.codehaus.org/browse/MRM-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139196#action_139196 ]
James William Dumay commented on MRM-794:
-----------------------------------------
Martin,
Could you confirm that this is still an issue for you? I think MRM-597 has solved this problem for you.
Thanks
James
> Have to create .profile file for user archiva
> ---------------------------------------------
>
> Key: MRM-794
> URL: http://jira.codehaus.org/browse/MRM-794
> Project: Archiva
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: Linux example 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686 GNU/Linux
> Reporter: Martin Burger
> Fix For: 1.1
>
>
> I want to run Archiva as another user named archiva (RUN_AS_USER=archiva). I have to create the file $HOME/.profile for user archiva in order to set some environment variables:
> export PLEXUS_BASE=/var/archiva
> export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> export TOOLS_JAR="${JAVA_HOME}/lib/tools.jar"
> Otherwise, Archiva won't start. I think the file bin/linux-x86-32/run.sh should do the job. If RUN_AS_USER is set, a new login shell is created and within that one the wrapper is run.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira