[jira] Commented: (DIRSERVER-1012) TimeLimitExceededException with
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-1012) TimeLimitExceededException with




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-1012) TimeLimitExceededException with  
Todd Kaplinger (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-16-07 06:11 PM


[ https://issues.apache.org/jira/brow...action_12543091 ]

Todd Kaplinger commented on DIRSERVER-1012:
-------------------------------------------

Thanks for the quick response.  I was not watching this bug so I was unaware
 that you had responded to the prior one so quickly.  We use maven to resolv
e our projects so we would have to wait for an official release to validate 
the changes.  Do you know w
hen the current trunk will be considered finalized?

> TimeLimitExceededException with the embedded ADS
> ------------------------------------------------
>
>                 Key: DIRSERVER-1012
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1012
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: Win XP SP2 / J2RE 1.5.0 / eclipse 3.2.0 / ADS 1.5.0
>            Reporter: hirot
>             Fix For: 1.5.2
>
>         Attachments: trace-log-0(Includes Timout Failure).txt
>
>
> I'm using embedded Apache Directory Server for the unit testing with JUnit
 in eclipse.
> The environment is :
>      - Win XP SP2
>      - J2RE 1.5.0
>      - eclipse 3.2.0
>      - ADS 1.5.0
> Only when a search takes over around 1 second, javax.naming.TimeLimitExcee
dedException is thrown as cited in the following :
> javax.naming.TimeLimitExceededException: [LDAP: error code 3 - failed 
on search operation]; remaining name 'o=hq,dc=myco,dc=com' at
> When a same search takes less than 1 second, it successfully returns resul
ts.
> I'm sure to set 30000 ms to the client side timeout using javax.naming.dir
ectory.SearchControls.setTimeLimits(int ms), so the exception is caused by t
he server side timeout, I suppose.
> Is the server side timeout of ADS 1 second ?
> Is there any measure to lengthen  the timeout ?
> (I tried MutableServerStartupConfiguration.setMaxTimeLimit(int arg0). But I am not
 sure whether a parameter specifies ms or second, and it doesn't seem to work well i
n the embedded ADS at least because a search successfully returns results when I set
 0
or 1 to "MaxTimeLimit".)

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register