tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jhager" <>
Subject RE: Tomcat 4.0 Milestone 2 - Trying to run it
Date Wed, 11 Oct 2000 16:30:49 GMT

That's right, this always happens for me at least. The best solution is to
simply go into the jarkata-tomcat-4.0-m1-src/webapps folder and run the
build script, then copy the dist/webapps folder into the tomcat-4.0/ and
you'll be fine.  The uber-build script crashes with the webapps folder every

-----Original Message-----
From: Lujo, Rodrigo []
Sent: Wednesday, October 11, 2000 6:10 AM
To: ''
Subject: RE: Tomcat 4.0 Milestone 2 - Trying to run it

Everything in the reply at the end is OK, except that DOES NOT
create a "webapps" directory under JAKARTA_HOME/tomcat4.0/ which is where
the tomcat runtime environment started from

        cd $JAKARTA_HOME/build/tomcat-4.0
        ./bin/ start

expects to find it.  Maybe the script fails to create such a

-----Original Message-----
From: Craig R. McClanahan []
Sent: Tuesday, October 10, 2000 9:47 PM
Subject: Re: Tomcat 4.0 Milestone 2 - Trying to run it

"Lujo, Rodrigo" wrote:

> Hi all:
> I downloaded and compiled the above with JDK 1.3 on Solaris 2.6.  I did
> a problem
> that you may run into so I will share it.
> 1) After the "" finishes it sets up the ./build/ area where the
> can be run from.
>    This is in JAKARTA_HOME/build.  The problem is that the "webapps"
> is created
>    right under JAKARTA_HOME/webapps.  However, when running from
> JAKARATA_HOME/tomcat4.0 it
>    expects that directory to be under JAKARTA_HOME/tomcat4.0/webapps.
> 2) For now I got around this by replicating the above "webapps" directory
> it is expected.

Assume you installed the source tree into


Then the following commands should build the entire thing (assuming you have
required environment variables set correctly):

    cd $JAKARTA_HOME/jakarta-tomcat-4.0-m2-src

This will create a build directory with the following contents:

        catalina/            The servlet container components
        jasper/               The JSP engine components
        webapps/           The web application components
        tomcat-4.0/        All of Tomcat 4.0 assembled together

To run, you need to do one of the following:

        cd $JAKARTA_HOME/build/tomcat-4.0
        ./bin/ start


        export CATALINA_HOME=$JAKARTA_HOME/build/tomcat-4.0
        $CATALINA_HOME/bin/ start

The other three build directories (catalina, jasper, and webapps) are not
-- they are used when you want to package the pieces individually with other

Craig McClanahan

See you at ApacheCon Europe <>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat

View raw message