2 Replies Latest reply on Mar 6, 2003 4:24 AM by carstenschlicht

    What is servlet-lib.path?

    snive

      I'm following the JBoss 3.0 Quick Start Guide (QuickStart-30x.pdf) and have a question about Chapter 3 (page 28).

      I'm trying to build the template example included in JBoss.3.0TemplateAndExamples.zip. In the .Ant.Properies file i've created it calls for a "servlet-lib.path" parameter to be set. I'm confused about what am I supposed to set it to because I didn't find a JAR called "javax.servlet.jar" in any distributions. What servlet classes are we talking about here?

      Here is the line:

      # Uncomment this and adjust the path to point directly to JAR file containing the servlet classes
      # Attention: By uncommenting this line you start the creation of a WAR file
      servlet-lib.path=C:/jboss-all/build/output/jboss-3.1.0alpha/lib/javax.servlet.jar


      Also can someone tell me if the purchased documentation is any clearer on how to build an app with ANT for JBOSS than the free quick start guide. I'm also looking for a good NetBeans plugin for JBOSS if someone knows of one.

        • 1. Re: What is servlet-lib.path?
          snive

          I've found that it should be pointed to the archive containing the "javax.servlet" packages and classes.

          But pardon my ignorance but I have not been able to find which jar this should be set to.

          I'm using jboss-3.0.6_tomcat-4.1.18.

          thanks

          • 2. Re: What is servlet-lib.path?
            carstenschlicht

            I'm using jboss-3.0.6_tomcat-4.1.18

            I had the same problem. The following setting worked for me:

            servlet-lib.path=C:/jboss/jboss-3.0.6_tomcat-4.1.18/tomcat-4.1.x/common/lib/servlet.jar

            (of course you need to adapt "C:/jboss/" to your JBOSS installation directory.

            Hope this helps.

            Carsten