How to install Apache Archiva in Windows
Apache Archiva is a powerful repository manager, and usually hook up with Maven development.
Apache Archiva installation
1. Download Apache Archiva
Visit Apache Archiva official website, Click on the download link, e.g Archiva 1.2.2.
P.S Choose the standalone version (Archiva will use jetty as build-in web container)
2. Extract it
Extract the downloaded zip file to folder “D:\apache-archiva-1.2.2\”
3. Install as Windows srvice
Find the archiva.bat “{Archiva_Home}\bin” folder, and issue the “archiva install” command to register it as a Windows service.
D:\apache-archiva-1.2.2\bin>archiva install wrapper | Apache Archiva installed.
4. Start Archive
Two ways to start the Apache Archive :
1. Start it with Archiva command – “archiva start”.
D:\apache-archiva-1.2.2\bin>archiva start wrapper | Starting the Apache Archiva service... wrapper | Apache Archiva started.
2. Start it as Windows service under control panel.
4. Archive web admin
Access your Apache Archiva web admin via 8080 post – http://localhost:8080/archiva/.
P.S Apache Archiva standalone version is using jetty as build-in web container and 8080 as default port.
5. Done
Post Installation
Please change the Apache Archiva default 8080 port to avoid port conflict issue, as you know, the 8080 is a very hot port number.
1. Archiva configuration file
Locate the Apache Archiva web container configuration file – “D:\apache-archiva-1.2.2\conf\jetty.xml”
2. Update port number
Find the following pattern
<Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host"/></Set> <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set> <Set name="maxIdleTime">30000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort">8443</Set> <Set name="lowResourcesConnections">5000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call>
Change the jetty port to other port – “8888″.
<Set name="port"><SystemProperty name="jetty.port" default="8888"/></Set>3. Restart Apache Archiva
Restart it to take effect. Now you can access the Apache Archive web admin via http://localhost:8888/archiva/.
[...] Install Apache Archiva in Windows A guide to install the Apache Archiva in Windows. [...]
[...] Install Apache Archiva in Windows [...]