QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2313|回复: 1

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

[复制链接]
发表于 2006-10-23 13:44:06 | 显示全部楼层 |阅读模式
我的系统是RedHat8Linux,安装配置的是opennms-1.2.8-1_rhl8
我按照这个网址:
http://sourceforge.net/docman/display_doc.php?docid=23937&group_id=4141#N104C6
的安装指导来安装的,前面的步骤都完成了,在我执行到第3.3.3步设定网页服务的时候,出现了下面的错误信息导致失败:

[root@localhost root]# $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完全正常,然而这里却出现这样的错误。
究竟是缺少哪个文件呢?
发表于 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.

楼主,这不是已经提示你了吗!好好看看上面这段话,有问题再探讨!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-18 19:38 , Processed in 0.059542 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表