jboss配置虚拟目录问题,帮忙看下?

03-11-19 zming
我的发布目录结构是这样的

\jboss301\server\default\deploy\broker.ear\brokerweb.war

我修改了deploy目录下的tomcat4-service.xml 文件

<attribute name="Config">

<Server>

<Service name = "JBoss-Tomcat">

<Engine name="MainEngine" defaultHost="localhost">

<Logger className = "org.jboss.web.catalina.Log4jLogger"

verbosityLevel = "trace" category = "org.jboss.web.localhost.Engine"/>

<Host name="localhost">

<Valve className = "org.apache.catalina.valves.AccessLogValve"

prefix = "localhost_access" suffix = ".log"

pattern = "common" directory = "../server/default/log" />

<DefaultContext cookies = "true" crossContext = "true" override = "true" />

<Context path="/zming"

docBase="d:/tmp"

crossContext="true"

debug="0"

reloadable="true"

trusted="false" >

</Context>

</Host>

加入了

<Context path="/zming"

docBase="d:/tmp"

crossContext="true"

debug="0"

reloadable="true"

trusted="false" >

</Context>

的配置,可是不起作用,我该在那里配置呢??

1
banq
2003-11-20 09:04
tomcat4-service.xml ?

应用应该是web.xml吧。

猜你喜欢