[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-126) Better diagnostic when Search index directory cannot be opened

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sun Feb 10 23:54:34 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29492 ] 

Emmanuel Bernard commented on HSEARCH-126:
------------------------------------------

Ian I applied your patch but I don't see much difference between the first and the second patch, are you sure you uploaded the right ones?

> Better diagnostic when Search index directory cannot be opened
> --------------------------------------------------------------
>
>                 Key: HSEARCH-126
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-126
>             Project: Hibernate Search
>          Issue Type: Patch
>    Affects Versions: 3.0.0.GA
>         Environment: Found in version deployed inside JBoss-Seam 2.0.0.CR2, but affects more
>            Reporter: Ian
>            Priority: Minor
>             Fix For: 3.0.1
>
>         Attachments: DirectoryProviderHelper.diff, DirectoryProviderHelper.diff
>
>
> When Search cannot create the index directory, the message in the Exception thrown by o.h.s.util.DirectoryProviderHelper.java  contains the path as entered by the original user; it is often the case that this will be deployed inside an application server and the user will not know the correct path that is in need of permissions repair because of the way e.g., JBoss-AS creates randomly named subdirectories under e.g., server/default/deploy. This just changes the message to include the full path if the user gave an absolute path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list