Try this you twat - it worked for me on tomcat6 last year.
If you want to join ANY project, you've got to get along with people. You seem
like an ass to work with... frustration or not :)
Apache runs on a meritocracy if you have hopes of joining the project.
Kindly,
Chris
P.S. I'm only an archiva user, not anything else to do with the project.
mkdir archiva (in the same directory as bin logs conf, i.e. tomcats top level
dir)
cp /home/cm/apache-archiva-1.3.3.war ./archiva/
add this to tomcat init script
export CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME
-Dappserver.base=$CATALINA_HOME"
add this to conf/Catalina/localhost/archiva.xml
<Context path="/archiva"
docBase="${catalina.home}/archiva/apache-archiva-1.3.3.war">
<Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
username="archiva"
password="mju7yg"
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:/path/to/database/users;create=true" />
<Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource"
username="archiva"
password="J.V.isRude2011"
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:/path/to/database/archiva;create=true" />
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"
mail.smtp.host="localhost"/>
</Context>
download db-derby (10.6 used here) and put derby.jar into tomcat's lib dir
activation.jar into lib dir as well
mail.jar into lib dir as well
start tomcat
browse to host:8080/archiva
On 27/08/2011, at 6:40 PM, J.V. wrote:
> How do I install Archiva under Tomcat 7.0.20 and then hit:
>
> http://localhost:8080/archiva
>
> ?
>
> I would like to have a chat session with someone who has done this. I have
> spent the last three hours reading every document out there on the subject
> and still there are problems.
>
> Simply pointing me to a web url or saying "try this" will not work, I have
> already done it.
>
> This is very, very frustrating and really should not be any more difficult
> than copying a war to /webapps/
> and hitting:
> http://localhost:8080/archiva
>
> This boggles the mind as to why it is not as simple as this. How do I join
> the project and school the developers on the importance of making the product
> actually installable the way most people would expect to use it.
>
> very frustrated and I would appreciate someone's help.
>
> I can chat on gtalk.
>
> J.V.