PDA

View Full Version : Resin can not find my Servlet classes when I run it as user


mabsito
04-22-2010, 01:58 PM
Hello,
I have a strange problem. If I run resin as root (if I comment <user> and <group>) it works fine and it can find the servlet classes. But if I uncomment <user> and <group> on resin.xml and try to run it as normal user and group I get the following error:


'Path.To.MyServlet' is not a known servlet. Servlets belong in the classpath, often in WEB-INF/classes.

Any idea?

Thanks.

nam
04-24-2010, 01:07 AM
Can you check the file permissions for the servlet .java and .class file, and their directories?