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.1.0
Environment: Found in version deployed inside JBoss-Seam 2.0.0.CR2, but affects
more
Reporter: Ian
Priority: Minor
Attachments: 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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira