林红玉 发表于 2006-10-23 13:44:06

配置tomcat的时候发生了“文件未找到”的错误

我的系统是RedHat8Linux,安装配置的是opennms-1.2.8-1_rhl8
我按照这个网址:
http://sourceforge.net/docman/display_doc.php?docid=23937&group_id=4141#N104C6
的安装指导来安装的,前面的步骤都完成了,在我执行到第3.3.3步设定网页服务的时候,出现了下面的错误信息导致失败:

# $OPENNMS_HOME/bin/install -y -w $CATALINA_HOME/webapps -W $CATALINA_HOME/server/lib
==============================================================================
OpenNMS Installer Version $Id: Installer.java 3056 2006-03-26 19:39:16Z djgregor $
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

* using 'opennms' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL password for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
- using Top-level web application directory... Exception in thread "main" java.io.FileNotFoundException: Top-level web application directory does not exist at "/webapps". Use the -w option to specify another location.
at org.opennms.install.Installer.verifyFileExists(Installer.java:1356)
at org.opennms.install.Installer.verifyFilesAndDirectories(Installer.java:1329)
at org.opennms.install.Installer.install(Installer.java:202)
at org.opennms.install.Installer.main(Installer.java:2450)

我检查了我的tomcat4,测试页面http://localhost:8080/index.jsp完全正常,然而这里却出现这样的错误。
究竟是缺少哪个文件呢?

mldOnline 发表于 2006-10-25 12:03:24

- using Top-level web application directory... Exception in thread "main" java.io.FileNotFoundException: Top-level web application directory does not exist at "/webapps". Use the -w option to specify another location.

楼主,这不是已经提示你了吗!好好看看上面这段话,有问题再探讨!
页: [1]
查看完整版本: 配置tomcat的时候发生了“文件未找到”的错误