Re: ForgottenPasswordPortlet Problem

Drazen Kozic <[email protected]> Sat, 11 Jan 2014 08:00:41 +0100
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
Mail server availability is the very first thing we checked.

telnet 95.140.120.85 25
Trying 95.140.120.85...
Connected to mail.asw.eu (95.140.120.85).
Escape character is '^]'.
220 mail.asw.eu ESMTP Postfix

According to response above we concluded that mail server is responsive. 
You mention ssh as the way to check host. Can you give me a hint?
Also, we tried to find anything suspicious in mail server logs. Nothing 
found there.
As I said in my initial post, on that portal we have portlet application 
that sends e-mails thru the same email server. No problems at all.


On 10.01.2014 21:39 PM, David S Taylor wrote:
> I could reproduce it, by entering your email address into the 
> Forgotten password field. And you are right, it hangs for 20 seconds 
> or so. I think your mail server is not accessible from your jetspeed 
> server. Try sshing to the host running jetspeed, and telnet to the 
> mail server
>
> telnet 95.140.120.85 <tel:95.140.120.85> 25
>
>
>
>
>
> On Fri, Jan 10, 2014 at 12:18 PM, Drazen Kozic <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Regarding reproducing problem, the portal is available at
>     http://asw.eu/jetspeed/portal/, so you can play with it.
>
>     On 10.01.2014 17:47, David S Taylor wrote:
>>     Seems the stack trace is not logged, so there will be nothing in
>>     the log files. (I"ll fix that in trunk) Its getting the exception
>>     down in Spring Frameworks Mail Sender. Im wondering if maybe the
>>     "to" field is not filled out. Can you try to reproduce it using a
>>     test account? Also, make sure your send mail server is running
>>     and operational (you said there was a 15 second time out)
>>
>>     --
>>     David S Taylor
>>     CEO, Bluesunrise
>>     707 529-9194
>>     [email protected] <mailto:[email protected]>
>>
>>
>>
>>     On Fri, Jan 10, 2014 at 6:42 AM, Drazen Kozic
>>     <[email protected] <mailto:[email protected]>> wrote:
>>
>>         Hi David,
>>
>>         Thanks for quick response.
>>         I already searched for stack trace in catalina.out,
>>         jetspeed.log and other log files in logs folder, but could
>>         not find anything. On the screen, user just got message in
>>         portlet window:
>>
>>         [Failed to send password:java.lang.ArrayIndexOutOfBoundsException]
>>
>>         I forgot to mention: we are using Jestspeed 2.2.1.
>>
>>
>>
>>         On 10.01.2014 14:59 PM, David Sean Taylor wrote:
>>>         Could you send the full stack trace...
>>>
>>>>         On Jan 10, 2014, at 1:20 AM, Drazen Kozic<[email protected]>  <mailto:[email protected]>  wrote:
>>>>
>>>>         Hi,
>>>>
>>>>         I have installed several instances of Jetspeed 2.2.1 without any problem. So, I am very familiar with it.
>>>>         Now, we are facing with ForgottenPasswordProblem.
>>>>         When the user clicks on Request New Password button, after delay of 10-15 seconds, he receives following message:
>>>>         [Failed to send password:java.lang.ArrayIndexOutOfBoundsException]
>>>>
>>>>         We think, that problem is not related to network, firewall, SMTP and similar. On that Jetspeed instance we have portlet application that sends emails without any problems.
>>>>
>>>>         Any help is appreciated.
>>>>
>>>>         Environment:
>>>>         OS: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>>>>
>>>>         java version "1.6.0_20"
>>>>         Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
>>>>         Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
>>>>
>>>>         override.properties
>>>>         #-------------------------------------------------------------------------
>>>>         # E M A I L
>>>>         #-------------------------------------------------------------------------
>>>>         # email of the system administrator
>>>>         email.admin [email protected]  <mailto:[email protected]>
>>>>         # email of the system manager
>>>>         email.manager [email protected]  <mailto:[email protected]>
>>>>         # email user info attribute (non standard)
>>>>         email.userinfo.attribute = user.email
>>>>         # smtp email server address
>>>>         email.smtp.server.address=95.140.120.85  <tel:95.140.120.85>
>>>>         # smtp email server user name
>>>>         email.smtp.user.name  <http://email.smtp.user.name>=
>>>>         # smtp email server user password
>>>>         email.smtp.user.password=
>>>>         #mail.smtp.auth
>>>>         email.smtp.auth=false
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         ---------------------------------------------------------------------
>>>>         To unsubscribe, e-mail:[email protected]  <mailto:[email protected]>
>>>>         For additional commands, e-mail:[email protected]  <mailto:[email protected]>
>>>>
>>>         ---------------------------------------------------------------------
>>>         To unsubscribe, e-mail:[email protected]  <mailto:[email protected]>
>>>         For additional commands, e-mail:[email protected]  <mailto:[email protected]>
>>>
>>
>>         -- 
>>         *Drazen KoziĂŚ*
>>         Razvoj softverskih proizvoda
>>         Rukovodilac tima
>>         --------------------------------------
>>
>>         *ASW Inženjering d.o.o.*
>>         Takovska 45a
>>         11000 Beograd, Srbija
>>         Tel: +381 11 2071 400 <tel:%2B381%2011%202071%20400>
>>         Fax: +381 11 2071 409 <tel:%2B381%2011%202071%20409>
>>         E-mail: [email protected] <mailto:[email protected]>
>>         www.asw.eu <http://www.asw.eu/>
>>         ---------------------------------------
>>
>>
>
>     -- 
>     *Dražen KoziÌ*
>     Razvoj softverskih proizvoda
>     Rukovodilac tima
>     --------------------------------------
>
>     *ASW Inženjering d.o.o.*
>     Takovska 45a
>     11000 Beograd, Srbija
>     Tel: +381 11 2071 400
>     Fax: +381 11 2071 409
>     E-mail: [email protected] <mailto:[email protected]>
>     www.asw.eu <http://www.asw.eu/>
>     ---------------------------------------
>
>

-- 
*Drazen KoziĂŚ*
Razvoj softverskih proizvoda
Rukovodilac tima
--------------------------------------

*ASW Inženjering d.o.o.*
Takovska 45a
11000 Beograd, Srbija
Tel: +381 11 2071 400
Fax: +381 11 2071 409
E-mail: [email protected]
www.asw.eu <http://www.asw.eu/>
---------------------------------------