Hi Emilio,
That looks like a Spring problem. My hunch is that it's related to
http://jira.codehaus.org/browse/MRM-1085.
Try adding this in the unpacked Archiva webapp WEB-INF/classes/log4j.xml to
output the real error in the tomcat console:
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n"/>
</layout>
</appender>
<logger name="org.springframework.web">
<level value="debug"/>
<appender-ref ref="console"/>
</logger>
You might also need to switch the log priority value to "debug".
Thanks,
Deng
On Sat, Aug 15, 2009 at 6:43 AM, Emilio Recio <[email protected]> wrote:
> Hi, i have installed Debian and Tomcat 5.5.26. I need install Archiva
> 1.2.1 as Web App.
>
>> I config Tomcat like official site
>> http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Tomcat
>> The dif in my archiva.xml are:
>>
>> <Context path="/archiva"
>> docBase="${catalina.base}/archiva-webapp-1.0-SNAPSHOT.war">
>>
>> <Resource name="jdbc/users"
>> auth="Container"
>> type="javax.sql.DataSource"
>> username="sa"
>> password=""
>> driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>> url="jdbc:derby:/usr/share/tomcat5.5/database/users;create=true"
>> />
>>
>> <Resource name="jdbc/archiva"
>> auth="Container"
>> type="javax.sql.DataSource"
>> username="sa"
>> password=""
>> driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>>
>> url="jdbc:derby:/usr/share/tomcat5.5/database/archiva;create=true" />
>>
>> <Resource name="mail/Session"
>> auth="Container"
>> type="javax.mail.Session"
>> mail.smtp.host="localhost"/>
>> </Context>
>>
>> When i restart Tomcat it oks, but in catalina.out has the next errors:
>> SEVERE Error listenerStart
>> SEVERE: Context [/archiva] startup failed due to previous errors
>> and the http://localhost:8180/archiva has the next 404 error:
>> _ The requested resource () is not available._
>>
>>
>> I need your help! :-)
>> Thanks!
>>
>
>