如何在Ubuntu上配置Tomcat [英] How to configure Tomcat at Ubuntu

查看:149
本文介绍了如何在Ubuntu上配置Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我越来越绝望了.

我已经在ubuntu 10.10上安装了tomcat 6,我试图创建一个上下文(一个虚拟目录)需要2个小时,但是没有办法.

例如,我尝试使用带有以下内容的xml文件:

I''m getting desperate.

I''ve installed tomcat 6 at ubuntu 10.10, I''m trying for 2 hours creating a context (a virtual directory) but no way possible.

For example I tried use a xml file with:

<Context path="proj"
    docBase="/home/user/proj"
    antiResourceLocking="false" />



如文档所述
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html [^ ]

我使用以下方式进行部署:

http://localhost:port/manager/deploy?config = file:/home/user/sdtf.xml [

我总是得到



as the documentation refer
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html[^]

I deploy using:

http://localhost:port/manager/deploy?config=file:/home/user/sdtf.xml[

and I always get

FAIL - Invalid context path null was specified



我试图运行/home/user/proj/teste.html中的简单html...

伙计们...我在做什么错? :(



I trying to run the simple html I have at /home/user/proj/teste.html..

guys... what am I doing wrong? :(

推荐答案

您最好询问 Tomcat邮件列表 [ ^ ]这就是Tomcat专家闲逛的地方.

干杯,
彼得
You would be much better off asking on the Tomcat mailing list[^] That''s where the Tomcat experts hang out.

Cheers,
Peter


这篇关于如何在Ubuntu上配置Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆