[opencms-dev] User/Webuser login

Jens Rickhoff jens at visualteam.de
Thu Aug 14 10:37:01 CEST 2003


Hello list,

I am running into a problem trying to login a user or a webuser on my
website.
I created a webuser (I checked that he got correctly created), but when I
try
to log him in by:

CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
response);
CmsObject cmso = cms.getCmsObject();
cmso.loginWebUser(username, password);

I get the following exception:

org.apache.jasper.JasperException: Resource loader error in file
'/system/modules/com.ovsoftware/elements/head.jsp'
Root cause:
org.apache.jasper.JasperException: com.opencms.core.CmsException:
[com.opencms.file.mySql.CmsDbAccess] /default/vfs/en/login/login.html
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
... and so on

I get the same exception when trying to log in a regular CMS user by using
the loginUser(user,pw) method.

Any ideas?
Maybe somebody already tried this and can help with additional JSP code...

Greetings,
Jens




More information about the opencms-dev mailing list