I will attempt to answer you questions as best I can.

Your file structure of your site will typically look something like this

$CATALINA_HOME/
              webapps/
                        (PLACE YOUR WEBAPPS HERE)
                     
                common/
                    lib/
              conf/
                  Catalina/
                          localhost
                                     (CONTEXT DESCRIPTER GOES HERE)
              bin/
              server/

Now your web application will be placed in the webapp directory.  
This will setup as follows:

webapp/
      someapplication/
                     pages/
                        Place all your jsp's here
                     css/
                        Style sheets
                     images/
                        images
                     WEB-INF/
                        web.xml  <--- need to configure this
                        classes/ 
                                       <--- application specific classes
go here
                              lib/
                                 <--- application specific jars go here

Yes you can use tomcat standalone.  If you are using a unix environment,
port 80 is a priviledged port and you must either run tomcat as root (I
do not recommend this), use jscv, or Mod_JK, or Mod_Proxy.  By default,
Tomcat runs on port 8080, but this can be changed to whatever you want.

No more security issues than with any other webserver.  You need to keep
up on your patches/upgrades and monitor the security bulletins.  Don't
run it as root on a Unix box or Local System or Administrator on
Windows.

Sometimes it is easier to use the built in authentication mechanisms.
That is why developers provided this stuff....to save you time and
effort.  Tomcat provides a variety of login mechanisms.  I would read up
on them to see if they fit your needs.

I hope that helps you out.  It took me a while to figure all this stuff
out and I still don't know a 1/3 of what I should.  But this list is a
great place to get info from.

Thanks

Randall



                        
              

-----Original Message-----
From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 6:02 AM
To: Tomcat Users List
Subject: Tomcat at Standalone

This question must have been asked a million times but I can't seem to
find any information on it - any advice would be appreciated.

I need to stand up a web site that will only serve jsp and servlets.  I
suspect the number of concurrent users will be no more than 10, but it
could possibly grow in the future.

Here are my questions:

What is industry best practice for setting up a jsp/servlet site that
will not require any static HTML pages?

Can Tomcat be reliably used as standalone for this purpose?  

Is this the "normal" configuration for this type of site?

Are there known security issues with using Tomcat in standalone?

The "other" piece would be Apache, if it is standard practice to use it
even if you don't need to serve HTML pages.  Also, I will be doing all
of my own authentication into the site so no security features of Apache
or Tomcat will be required.

Thanks a lot for any advice or pointers!

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to