It is little bit surprising that can we really able to deploy drupal applications in a java servlet container like tomcat.This post will describe deployment of drupal on tomcat in fedora.
Install the following packages php5-cgi php5-gd php5-mysql tomcat mysql-server in your system.
Download the PHP/Java Bridge from http://sourceforge.net/projects/php-java-bridge/files/Binary%20package/p...
Download and extract drupal in your system.
Move the "JavaBridgeTemplate621.war" file to the Tomcat webapps directory. Wait a few seconds for Tomcat to create a "JavaBridgeTemplate621" directory.
sudo cp JavaBridgeTemplate621.war /opt/tomcat/webapps/
Copy the directory created by Tomcat and name it "drutomcat".
sudo cp -R /opt/tomcat/webapps/JavaBridgeTemplate621 /opt/tomcat/webapps/drutomcat
Remove the index.php and test.php files from the "drutomcat" directory.
sudo rm /opt/tomcat/webapps/drutomcat/index.php
sudo rm /opt/tomcat/webapps/drutomcat/test.php
Copy the Drupal files to the "drutomcat" directory, create the "settings.php" file.
sudo cp -R drupal/ /opt/tomcat/webapps/drutomcat
sudo cp /opt/tomcat/webapps/drutomcat/drupal/sites/default/default.settings.php /opt/tomcat/webapps/drutomcat/drupal/sites/default/settings.php
Now point to your browser by typing http://localhost:8080/drutomcat/drupal and run the drupal installer