Yes what you said just means what I said. Since when WHM creates an account with the username 'user1', it creates the directory /home/user1. So when FTP user user1 uploads a JSP script to public_html, it's automatically owned by user1. So in other words, when it's uploaded by user1, it does not need to be chowned again. Let me know if I am wrong.
When you use the Install Servlets plugin in WHM, it automatically inserts
& IfModule mod_jk.c &
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
& /IfModule &
as well as
& Host name=&domain.com& appBase=&/home/user1/public_html&&
& Context path=&& reloadable=&true& docBase=&/home/user1/public_html& debug=&1&/&
& /host &
& Host name=&www.domain.com& appBase=&/home/user1/public_html&&
& Context path=&& reloadable=&true& docBase=&/home/user1/public_html& debug=&1&/&
& /host &
So I don't think the problem is an issue with the owner of the file, nor the missing of the required codes in httpd.conf and server.xml. Are there any other possibilities?
Thank you once again. I really appreciated you guys helping me.