incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Евгений А. Ростовцев (JIRA) <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-655) Error for Forget password
Date Wed, 07 Jul 2010 09:19:49 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885894#action_12885894
] 

Евгений А. Ростовцев commented on JSPWIKI-655:
----------------------------------------------

In /conf/Catalina/niais.kemsu.ru/wiki.xml:

<Resource name="mail/Session" auth="Container"
  type="javax.mail.Session" mail.smtp.host="127.0.0.1"/>

In webapps/wiki/WEB-INF/web.xml:
<resource-ref>
  <description>Resource reference to a container-managed JNDI JavaMail factory for sending
e-mails.</description>                                                             
                  
  <res-ref-name>mail/Session</res-ref-name>
  <res-type>javax.mail.Session</res-type>
  <res-auth>Container</res-auth>
</resource-ref>

JavaMail:
Implementation-Version: 1.3.2
Specification-Title: JavaMail(TM) API Design Specification
Specification-Version: 1.3
Extension-Name: javax.mail
Created-By: 1.3.1 (Sun Microsystems Inc.)

Activation:
Implementation-Version: 1.0.2
Specification-Title: JavaBeans(TM) Activation Framework Specification
Specification-Version: 1.0
Extension-Name: javax.activation
Created-By: 1.3.0 (Sun Microsystems Inc.)

files mail.jar and activation.jar deleted from webapps/wiki/WEB-INF/lib, and now I get email
with new password. But I can't login (no errors shows).

For authorization/authentication I not use JDBC.

> Error for Forget password
> -------------------------
>
>                 Key: JSPWIKI-655
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-655
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Authentication&Authorization
>    Affects Versions: 2.8.3
>         Environment: CentOS
>            Reporter: Евгений А. Ростовцев
>            Priority: Minor
>         Attachments: catalina.log, jspwiki.log, jspwiki.properties
>
>
> Wher I try restore passworkd
> http://iais.kemsu.ru/wiki/LostPassword.jsp?tab=lostpassword
> error occured:
> 2010-07-01 17:36:15,420 [http-80-Processor18] ERROR JSPWiki Wiki:/wiki/LostPassword.jsp
Wiki:http://iais.kemsu.ru/wiki/LostPassword.jsp - Tried to reset password and got another
exception: java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Session

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message