<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
span.EstiloCorreo19
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ES link=blue vlink=purple>
<div class=Section1><pre><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>Hi all,<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>I’m trying to make some jsp pages to manage users and everything is working fine except when I want to change a user password.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>The code I use is: cms.getCmsObject().setPassword (name,oldPassword,newPassword); <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>but I’m getting the following exception. Can anyone tell my why?<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>PS: The user that is executing the code is the Admin user.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>Thanks for your help.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>org.opencms.file.CmsDataAccessException: Error resetting password for user borja<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.file.CmsDataAccessException.createException(CmsDataAccessException.java:82)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:212)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.db.CmsDbContext.report(CmsDbContext.java:196)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.db.CmsSecurityManager.resetPassword(CmsSecurityManager.java:4380)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.file.CmsObject.setPassword(CmsObject.java:2890)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.org_fundacionctic.elements.administration.edituser_jsp._jspService(edituser_jsp.java:109)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:385)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:421)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:323)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:453)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:398)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:674)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1307)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:114)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:126)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at java.lang.Thread.run(Thread.java:534)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>Caused by: org.opencms.file.CmsDataAccessException: The old password is missing<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.db.CmsDriverManager.resetPassword(CmsDriverManager.java:5978)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> at org.opencms.db.CmsSecurityManager.resetPassword(CmsSecurityManager.java:4378)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> </span>... 49 more<o:p></o:p></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#333333" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#333333'>**********************************************************<br>
Borja Marcos Suárez<br>
Fundación CTIC <br>
</span></font><em><b><i><font color="#333333" face="Times New Roman"><span
style='color:#333333;font-weight:bold'>-Centro Tecnológico de <st1:PersonName
ProductID="la Informaci?n"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
tabIndex="0" ns1_x003a_ProductID="la Informaci?n" w:st="on">la Información</st1:PersonName>
y <st1:PersonName tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on"><st1:PersonName ProductID="la Comunicación-" tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on">la Comunicación-<font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><br>
</span></font></st1:PersonName><span style='font-weight:normal;font-style:
normal'>E-mail</span></st1:PersonName><span style='font-weight:normal;
font-style:normal'>: </span></span></font></i></b></em><a
href="mailto:borja.suarez@fundacionctic.org"><i><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-style:italic'>borja.suarez@fundacionctic.org</span></font></i></a><o:p></o:p></p>
<p class=MsoNormal><font size=2 color="#333333" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#333333'>Tfno: +34 984 29 12 12
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#333333" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#333333'>Fax: +34 984 39
06 12</span></font><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color="#333333" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#333333'>Parque Científico Tecnológico Gijón-Asturias-Spain<br>
</span></font><a href="BLOCKED::blocked::http://www.fundacionctic.org"
title="blocked::http://www.fundacionctic.org
http://www.fundacionctic.org"><font
color="#333333"><span style='color:#333333'>www.fundacionctic.org</span></font></a><font
color="#333333"><span style='color:#333333'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-top:6.0pt'><font size=2 color="#333333"
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:#333333'>********************************************************</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-top:6.0pt'><i><font size=1 color="#ff6600"
face=Arial><span style='font-size:7.5pt;font-family:Arial;color:#FF6600;
font-style:italic'>Este e-mail y cualquiera de sus ficheros anexos son
confidenciales y pueden incluir información privilegiada. Si usted no es el
destinatario adecuado (o responsable de remitirlo a la persona indicada),
agradeceríamos lo notificase o reenviase inmediatamente al emisor. No revele
estos contenidos a ninguna otra persona, no los utilice para otra finalidad, ni
almacene y/o copie esta información en medio alguno. Opiniones, conclusiones y
otro tipo de información relacionada con este mensaje que no sean relativas a
la actividad propia de CTIC deberán ser entendidas como exclusivas del emisor.</span></font></i><font
color="#ff6600"><span style='color:#FF6600'><o:p></o:p></span></font></p>
<p><i><font size=1 color="#ff6600" face=Arial><span lang=EN-GB
style='font-size:7.5pt;font-family:Arial;color:#FF6600;font-style:italic'>------------------------------------------------------------------------------------</span></font></i><font
color="#ff6600"><span lang=EN-GB style='color:#FF6600'> <br>
</span></font><i><font size=1 color="#ff6600" face=Arial><span lang=EN-GB
style='font-size:7.5pt;font-family:Arial;color:#FF6600;font-style:italic'>This
e-mail is confidential and may contain legally privileged information. If you are
not the intended recipient it may be unlawful for you to read, copy, distribute
or otherwise make use of the information herein. If you have received this
e-mail in error, please contact us immediately. Fundación CTIC will
accept no liability for the mistransmission, interference, or interception of
any e-mail and you are reminded that e-mail is not a secure method of
communication.</span></font></i><font color="#ff6600"><span lang=EN-GB
style='color:#FF6600'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>