Web Hosting Talk







View Full Version : tomcat on cpanel


Bashar
09-21-2003, 03:28 PM
have this setup:
<VirtualHost xx.xx.xx.xx>
ServerAlias www.xx*********** xxx***********
ServerAdmin webmaster@xx***********
DocumentRoot /home2/xxxxxx/public_html
BytesLog domlogs/***********-bytes_log
User xxxxxx
Group xxxxxx
ServerName www.xxx***********
CustomLog domlogs/xx*********** combined
ScriptAlias /cgi-bin/ /home2/xxxxx/public_html/cgi-bin/

<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
</IfModule>
</VirtualHost>


i dont know what does this mean? where this user can put his servlets file ?
what i did is enabled servlets to this website from WHM, but i dont know from where should the user could put his files?

essexguy
09-21-2003, 07:50 PM
WEB-INF
WEB-INF/classes
WEB-INF/lib

you need to create the above folders in the users directory.

word of warning when offering JSP, make sure you know a bit about it. go get yourself a book ;)

H-U.net
09-21-2003, 08:20 PM
And another 1GB of RAM ;)

Kevin

Bashar
09-22-2003, 04:06 AM
essexguy: after creating the folders
should he move all .jps files to there?
and cal them by www.xxxx.com/servlets/filename.jsp?

his index page is .jsp fle

wheimeng
10-21-2003, 09:37 PM
Is Tomcat CPU/RAM intensive?

Bashar
10-23-2003, 09:17 PM
big time especially if you use it for lots of heavy loaded sites