[ 
http://jira.codehaus.org/browse/MRM-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137792#action_137792
 ] 

Brill Pappin commented on MRM-789:
----------------------------------

Thanks for the work Maria... but the issue was actually that the repository was 
somehow set to my tomcat root and when i deleted it, it deleted the entire 
tomcat deployment :)

The set to root thing was a default install of the war version (so it would not 
have made any difference adding a new repo).

So, your change will help, but I think more importantly make sure on install 
that the directory doesn't exist.

> Archiva may delete you app server installation
> ----------------------------------------------
>
>                 Key: MRM-789
>                 URL: http://jira.codehaus.org/browse/MRM-789
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository interface
>    Affects Versions: 1.0.2
>         Environment: linux, jdk 1.6, tomcat 6
>            Reporter: Brill Pappin
>            Assignee: Maria Odea Ching
>            Priority: Critical
>             Fix For: 1.1
>
>
> I installed the WAR version of Archiva into my tomcat instance... no problem 
> so far.
> I then attempted to delete the default "internal" repository. I hit the 
> delete config and contents button.
> At that moment I noticed that the repository directory was the tomcat home 
> directory.
> Archiva managed to completely delete my Tomcat installation.
> To reproduce this, install it as a war, point a repo dir at your app server 
> home, and hit the delete button (make sure you have a backup).

-- 
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

        

Reply via email to