2011-08-08 39 views
0

我在Debian Lenny上使用APT安裝了Tomcat 5.5(tomcat5.5)和corrsponding admin軟件包(tomcat5.5-admin) x64服務器。 我配置了tomcat-users.xml,tomcat出現了我的預期。然後,我使用tomcat-manager webapp部署了Nexus 1.9.2 webapp WAR-File。 經理上傳nexus到tomcat並提取webapps目錄中的文件。tomcat 5.5 + nexus 1.9.2:Nexus不啓動,Tomcat不記錄任何東西

當嘗試啓動承上啓下的tomcat告訴我,在管理Web應用程序如下:

FAIL - Application at context path /nexus-webapp-1.9.2 could not be started 

上面寫着here,我需要/usr/share/tomcat5.5下創建sonatype-work/目錄,並使其到tomcat訪問:

chown tomcat55 /usr/share/tomcat5.5/sonatype-work 

我重新啓動了tomcat /etc/init.d/tomcat55 restart但沒有任何改變。當我查找tomcat日誌文件時,我發現一個空目錄/var/log/tomcat5.5

有沒有人知道我在做什麼錯?

+0

檢查sonatype工作中的nexus日誌。它不會運行,因爲你的tomcat是老的。您至少需要6個和Java 5甚至6個才能運行它。 –

+0

我查看了sonatype-work目錄,但nexus沒有在其中創建任何文件。我使用的是JDK 6,所以它可能是tomcat的舊版本。我看到tomcat 6在Debian Squeeze的回購中。是否有鏡像爲Lenny提供tomcat6? –

+0

您可以通過直接下載Tomcat來進行快速測試,解壓縮並部署Nexus。這應該足以證明。如果這樣做,你可以運行apt來更新它。 –

回答

1

檢查sonatype工作中的nexus日誌。它不會運行,因爲你的tomcat是老的。您至少需要6個和Java 5甚至6個才能運行它。 您可以通過直接下載Tomcat來進行快速測試,解壓縮並部署Nexus。這應該足以證明。如果這樣做,你可以運行apt來更新它。