[ 
https://jira.duraspace.org/browse/DS-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28302#comment-28302
 ] 

Mark H. Wood commented on DS-1456:
----------------------------------

Nope, each UI has its own kernel.  The only common pieces are the filesystem, 
the database, and the container, and the container works hard to prevent 
information leakage across Contexts.  The only way I see for a UI to know it 
can empty the table would be to start an exclusive transaction, then probe each 
URL and remove any row that holds a non-responding URL.  I think it's simpler 
to just accept the possibility of stale data and test for freshness whenever we 
need to know.  Each registering component makes a best-effort to clean up after 
itself at shutdown, but we cannot and so shall not rely on all rows 
representing current running app.s.  Deregistration is a convenience for other 
app.s to avoid a little unnecessary work, not something we can guarantee.  We 
can make it fairly reliable by putting the (de)registration code in a 
ContextListener, but if the container or the host crashes we have no recourse 
and must depend on active verification.
                
> "dspace version" command-line script
> ------------------------------------
>
>                 Key: DS-1456
>                 URL: https://jira.duraspace.org/browse/DS-1456
>             Project: DSpace
>          Issue Type: New Feature
>            Reporter: Ivan Masár
>            Assignee: Mark H. Wood
>             Fix For: 4.0
>
>
> We should provide a "[dspace]/bin/dspace version" script, which would gather 
> the basic information about DSpace and its environment that is necessary to 
> ask questions on dspace-tech.
> This information includes most prominently:
> * DSpace version
> * OS version
> * UI(s) used
> * is Discovery enabled?
> somewhat less often important:
> * JDK version
> * ant version
> * maven version
> * path to DSpace
> Optional flags could produce even more information, pulled from 
> configuration, e.g. database configuration, hostname/URL configuration, 
> authentication configuration (with passwords omited), etc.
> Most of this information is already available in the XMLUI admin Control 
> panel, so some of those methods could be reused.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to