Better diagnostic when Search index directory cannot be opened (Ian)
Description
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.
Attachments
2
16 Oct 2007, 11:09 PM
16 Oct 2007, 11:03 PM
Activity
Show:
Emmanuel BernardFebruary 11, 2008 at 6:54 AM
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?
IanOctober 16, 2007 at 11:09 PM
Better patch, avoid top directory, add missing parens.
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.