directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-2081) ApacheDS taking up to 30 seconds stop stop politely
Date Mon, 13 Jul 2015 07:27:04 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kiran Ayyagari updated DIRSERVER-2081:
--------------------------------------
    Fix Version/s: 2.0.0-M21

> ApacheDS taking up to 30 seconds stop stop politely
> ---------------------------------------------------
>
>                 Key: DIRSERVER-2081
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2081
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M20
>            Reporter: lucas theisen
>            Assignee: Kiran Ayyagari
>             Fix For: 2.0.0-M21
>
>         Attachments: forgotpassword_schema.ldif, portalperson_schema.ldif
>
>
> To reproduce:
> # {{svn update}} to the _-M21-SNAPSHOT_
> # Unpack an archive apacheds
> # Tune your {{$ADS_HOME/insances/default/conf/log4j.properties}} as follows:
> ## {code}
> log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ALL
> log4j.logger.org.apache.directory.server.config=INFO
> log4j.logger.org.apache.directory.server.UberjarMain=ALL
> {code}
> # From $ADS_HOME
> ## {code}
> cd instances/default/;
> rm -rf .dirservice.lock partitions/* cache/* log/* run/* run/.s* syncrepl-data/*;
> cd ../..;
> bin/apacheds.sh start
> {code}
> ## In a separate window
> ### {{tail -f $ADS_HOME/instances/default/log/apacheds.out}}
> ## Import the attached {{.ldif}} files (i dont think the specifics of the ldif files
matters)
> ## {{apacheds.sh stop}}
> This is not 100% of the time, but if done fairly close together, you should see the log
look something like this:
> {code}
> [16:22:23] INFO [org.apache.directory.server.UberjarMain] - Stopping the service.
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService
Shutdown required
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Syncing
the nexus
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Flushing
everything before quitting
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Syncing
the changeLog
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Destroying
the nexus
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Deleting
the cache service
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - ---Deleting
the DnCache
> [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService
stopped
> [16:22:23] INFO [org.apache.directory.server.UberjarMain] - Service stopped successfully.
> [16:22:43] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService
Shutdown required
> {code}
> And you can see that the last log message was 10's of seconds after the initial shutdown
request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message