How do I deploy a Java War archive/web application into a server that uses the latest version of Cpanel control panel? The server has Cent OS 6.2 OS.
Update: i might have misunderstood your request, if you don't have any Java Application server, then you can install tomcat using the following commands as root at an ssh/telnet console;
that command will install a lot of dependencies, but importantly it sets up tomcat and httpd as services, which can be started like so;
and to add to be started automatically every reboot;
You can setup SSH from cpanel folowing these instructions; - http://docs.cpanel.net/twiki/bin/view/11_30/CpanelDocs/ShellAccess
or this tutorial; - http://www.cpanel.net/media/tutorials/ssh.htm
So assuming that either you have tomcat or that the Java application server supports some form of auto-deployment, then you should copy the war file to the appropriate directory;
1) tomcat auto-deploy folder under CentOS is
2) glassfish supports auto-deployment under the auto-deploy folder under domain1;
You should be able to copy the file from your local machine to these folders using the cpanel File Manager.
If you do not have a war file, then the alternative is to create context fragment into the
/usr/share/tomcat6/conf/Catalina/localhost/ folder like this post describes;
Both glassfish and tomcat also support their own manager interfaces via the various admin tools (which you almost certainly want to configure eventually, in order to effectively manage these apps) which you can alternatively use to deploy WAR archives remotely.
However be aware that securing tomcat manager is important, as its easy to leave open with silly easy password etc.