How to install servlets?
by Sanju[ Edit ] 2008-07-25 12:34:08
This function allows you to install Tomcat on a specific hosting account.
> To access the Account Functions Menu, click on
Account Functions, on the main screen of your WebHost Manager interface.
> Click on
Install Servlets.
> Select the user name or domain name you wish to install servlets for from the scrolling list that appears.
> Click on
Install to install Tomcat servlets for that domain.
> Repeat steps 2 through 4 as necessary.
The above steps helps you to install servlets from WHM.
But what invokes Install Servlet?
/scripts/addservlets --domain=domain name
>> Creates
<Host> container in server.xml
>> Creates default
cp_jkmount.conf for provided site
>> Copies
jsptest.jsp into the provides site's document root.
To uninstall servlets,
/scripts/remservlets --domain=domain name
>> Remotes
<Host> container from
server.xml
>> Removes
cp_jkmount.conf for provided site