disable directory listing,Tomcat + cpanel,web.xml file,tomcat,cpanel,index.jsp
Category: Tomcat
Basic tomcat configuration
What is Tomcat? Tomcat is Java driven Web Application Server which Provides support for Java web applications. ie. JSP technologies. -WAR (Web Application aRchive) files - Has a self-contained HTTP server CATALINA_HOME /usr/local/jakarta/tomcat CATALINA_BASE /usr/local/jakarta/tomcat JAVA_HOME ( The path to...
WEB-INF directory structure
What is WEB-INF directory ? The WEB-INF directory is for your default Web application and is located under your home directory. You can also create other Web applications by creating subdirectories under your home directory and create a WEB-INF directory...
javax.naming.NameNotFoundException
Error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Solution : When I have access site in browser then catalina.out logs show the above error and the database is not connected , I have tried all of the possibilities...
What is appbase and docbase
What is appbase and docbase ? Ans : appBase : The Application Base directory for this virtual host. This is the path-name of a directory that may contain web applications to be deployed on this virtual host. You may specify...
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
access .jsp pages by using the temporay URL
If domain does not points to the server and you want to access .jsp pages by using the temporary URL (ex: http://domain.com/~username ) Solution: Add the following code in server.xml file under the virtual host entry for any domain. <Listener...
How to Install tomcat 6 on cpanel server
How to install tomcat 6 on the linux server ? When you have installed tomcat by using Easy-Apache then it installed Tomcat 5.5 and if you want to installed Tomcat 6.0 then you need to made some necessary changes on...
start/stop tomcat in cpanel server
How to start/stop tomcat by using " /etc/init.d/tomcat" command. Ans : 1) Check linux server run level by using following command who -r If runlevel is 3 then create the file vi /etc/rc.d/init.d/tomcat and add the following code ==================================== #!/bin/sh...
How to install JavaFX on Linux server
Installing the JavaFX SDK on Ubuntu Linux or OpenSolaris Access the URL http://java.sun.com/javafx/downloads/ and Download JavaFX 1.2.3 SDK for Linux platformon your local machine And Upload by using ftp or file manager under the /usr/local directory cd /usr/local chmod a+x...