Skip to main content

Tomcat settings in an production environment?

2 replies [Last post]
pompiuses
Offline
Joined: 2005-06-10
Points: 0

I'm currently about to go live with a webapp I've been working on for some time. I'm using Tomcat 5.5.1.7 as a server, and in that regard I've got some questions.

Should I place my webapp under the ROOT folder in Tomcat?
$CATALINA_HOME/webapps/ROOT/

If not how else can I get the webapp to be displayed at the Tomcat root? I.e http://www.mysite.com/ and not http://www.mysite.com/mywebapp/

Are there any other Tomcat settings that needs to be changed in an production environment?

All advices are much appreciated!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dr_learn007
Offline
Joined: 2007-02-21
Points: 0

I created users and user_roles tables in mysql database, I matched this table and column names in the JDBC realm. Authentication box is showing but not authenticating.

can anyone tell me what else i have to do???

thanks in advance.

dr_learn007
Offline
Joined: 2007-02-21
Points: 0

You can put your webapp in the Tomcat_root/webapps directory. Tomcat will find and display your index.html or index.jsp file. you also need to edit the Tomcat_root/conf/server.xml and Tomcat_root/conf/web.xml files.