Tomcat and Java is installed on Solaris by default.
We need not to install it. We just need to set few environment variable and then start the service for the tomcat.
Please find the steps to enable the tomcat on Solaris OS :
1. setenv CATALINA_BASE /var/apache/tomcat
2. setenv JAVA_HOME /usr/java
3. cd /var/apache/tomcat/conf
4. cp server.xml-example server.xml
5. cd /usr/apache/tomcat
Note: setenv command is available only in csh shell. So, change the shell before executing these commands.
You need to execute these commands from the console under root directory.
You need to login as root user account to execute the tomcat server.