jboss安装运行问题。

03-07-31 leon3867

我下载了jboss-3.2.1_tomcat-4.1.24.zip的混合版本

有下载了example.zip. 但是用ant build时有找不到

servlet库的错误。我发现$JBOSS_DIST下没有tomcat或catalina

目录。看到build.xml以下几行:

<!-- Override with your web server servlet jar location.

The default assumes that JBOSS_DIST points to a

JBoss/Tomcat bundle distribution

-->

<available property="servlet.jar" value="${env.JBOSS_DIST}/../tomcat/lib/servlet.jar" file="${env.JBOSS_DIST}/tomcat/lib/servlet.jar"/>

<available property="servlet.jar" value="${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar" file="${env.JBOSS_DIST}/../jetty/lib/javax.servlet.jar"/>

<available property="servlet.jar" value="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar" file="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar"/>

<available property="servlet.jar" value="${env.JBOSS_DIST}/../catalina/common/lib/servlet.jar" file="${env.TOMCAT_HOME}/lib/servlet.jar"/>

<property name="servlet.jar" value="COULD_NOT_FIND_SERVLET_JAR"/>

我还用装一个tomcat么?

3xs