How to enable Tomcat on Solaris 10

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
6. ./bin/startup.sh
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.
You can verify it by running http://localhost:8080
Advertisements

Author: Nimit Sharma

Hey I am Nimit Sharma, Working as a Lead Software Engineer. I am willing to learn new concepts and technologies. All content here are my personal views and not those of my employer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s