Re: ForgottenPasswordPortlet Problem

David S Taylor <[email protected]> Tue, 28 Jan 2014 00:06:01 -0800
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <CABm6vp_W+wW7_+sz+fPOrH44Jwfdr4P5KMrX56+YDkTPeZUJ=w@mail.gmail.com>
Sent to your email address  with attachment as jar file, send me stack
trace after installing

--
David S Taylor
CEO, Bluesunrise
707 529-9194
[email protected]



On Mon, Jan 27, 2014 at 10:43 PM, Drazen Kozic <[email protected]> wrote:

>  We did not resolve the problem. It would be nice if you send me updated
> jar file. Thanks.
>
>
>
> On 28.01.2014 01:18 AM, David S Taylor wrote:
>
> Did you ever get this resolved? I can send you an updated jar file with
> more debug information so we can see exactly what is happening. Let me
> know..
>
>   --
> David S Taylor
>  CEO, Bluesunrise
>  707 529-9194
> [email protected]
>
>
>
> On Tue, Jan 14, 2014 at 10:34 PM, Drazen Kozic <[email protected]>wrote:
>
>>  Yes, we are running Jetspeed on linux server. I checked availability of
>> port 25 on 95.140.120.85 from that linux server. Everything seems fine.
>> From Jetspeed linux server I did:
>>
>> 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
>>
>>
>>   On 11.01.2014 17:44 PM, David S Taylor wrote:
>>
>> > You mention ssh as the way to check host. Can you give me a hint?
>>
>>  Just ssh out to the machine where Jetspeed is runnng, and type the
>> telnet command
>>
>>  Are you running Jetspeed on a Linux server? I am saying that port 25 on
>> 95.140.120.85 may be blocked to the Jetspeed server, but not to the
>> computer where you typed telnet command from in the example above
>>
>>
>>   --
>> David S Taylor
>>   CEO, Bluesunrise
>> 707 529-9194
>> [email protected]
>>
>>
>>
>> On Fri, Jan 10, 2014 at 11:00 PM, Drazen Kozic <[email protected]>wrote:
>>
>>>  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 25
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Jan 10, 2014 at 12:18 PM, Drazen Kozic <[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]
>>>>
>>>>
>>>>
>>>> On Fri, Jan 10, 2014 at 6:42 AM, Drazen Kozic <[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]> <[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]
>>>>> # email of the system manager
>>>>> email.manager = [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
>>>>> # smtp email server user nameemail.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]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>>  ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [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 <%2B381%2011%202071%20400>
>>>>> Fax: +381 11 2071 409 <%2B381%2011%202071%20409>
>>>>> E-mail: [email protected]
>>>>> 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 <%2B381%2011%202071%20400>
>>>> Fax: +381 11 2071 409 <%2B381%2011%202071%20409>
>>>> E-mail: [email protected]
>>>> 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
>>> ---------------------------------------
>>>
>>>
>>
>> --
>> *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
>> ---------------------------------------
>>
>>
>
> --
> *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
> ---------------------------------------
>