We are using the PDFBox plug-in to index PDF files (http://www.pdfbox.org/)... Perhaps a problem with certain types of PDF with their library... Or is it a large PDF file (then of course, Jahia will need to index it after you attach it a field and this may take some time)? Would it be possible to send to me (privately) the PDF file you use for your tests? Thanks.
Hmm, I just noticed it is rather big: 4,24 MB
So maybe this is normal behaviour...
But sometimes when adding anything it just blocks forever.
I changed the log level to debug and noted these last lines, I hope you can make some sense:
[text/html;charset=ISO-8859-1]
1913416 [Thread-12] DEBUG - Warning, content type has already been set to [text/html; charset=ISO-8859-1]. Trying to set now to [text/html;charset=ISO-8859-1]
1913417 [Thread-12] DEBUG - Enforcing charset=[ISO-8859-1]
1913417 [Thread-12] DEBUG - Not setting parent response object because this wrapper is not in pass-through mode
1913417 [Thread-12] DEBUG - getAttribute(javax.servlet.include.servlet_path)
1913417 [Thread-12] DEBUG - getAttribute(eventName)
1913417 [Thread-12] DEBUG - getAttribute(jahiaEvent)
1913417 [Thread-12] DEBUG - Using a print writer for output
1913417 [Thread-12] DEBUG - Creating output streams for response wrapper using only stringbuffers and no pass-through...
1913417 [Thread-12] DEBUG - Using PrintWriter with encoding : ISO-8859-1
1913417 [Thread-12] DEBUG - removeAttribute(org.apache.catalina.jsp_file)
1913418 [Thread-12] DEBUG - field type is 6
1913418 [Thread-12] DEBUG - encodeURL(/jahia/Jahia/engineName/filemanager/op/edit/pid/146?matrix=1094738161082)
Wait time...
2125432 [Thread-3] DEBUG - Search engine background indexing queue empty, waiting for orders...
2125453 [Thread-12] DEBUG - loading field: id=2088 loadVersion=[[workflowState=2 versionID=0 languages=en_GB]]
2125490 [Thread-12] DEBUG - Entry [2088_2] could not be found in cache [FieldCache]!
2125490 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2125490 [Thread-12] DEBUG - Entry [2088_1] could not be found in cache [FieldCache]!
2125491 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2125491 [Thread-3] DEBUG - No connection in thread, exiting terminate call...
2125506 [Thread-12] DEBUG - Making JahiaField facade for field 2088
2125506 [Thread-12] DEBUG - fieldType: 6 classe: org.jahia.data.fields.JahiaFileFieldWrapper
2125506 [Thread-12] DEBUG - Returning JahiaField facade for field 2088 using language code=en_GB
2125707 [Thread-12] DEBUG - loading field: id=2088 loadVersion=[[workflowState=2 versionID=0 languages=shared,en_GB]
2125707 [Thread-12] DEBUG - Calling field specific load
2125723 [Thread-12] DEBUG - super.getContextPath=[/jahia]
2125723 [Thread-12] DEBUG - emulatedContextPath = [/jahia]
2125919 [Thread-12] DEBUG - Indexing field container definition name:knowledgearticlecontainer_387_articlesfilescontainer_387
2125920 [Thread-12] DEBUG - Editing .DAVFile_Field !
2125920 [Thread-12] DEBUG - Removed the entry [2088_1] from cache [FieldCache]!
2125921 [Thread-12] DEBUG - Removed the entry [2088_2] from cache [FieldCache]!
2125921 [Thread-12] DEBUG - Removed the entry [2088] from cache [ContentFieldCache]!
2125921 [Thread-12] DEBUG - saving field #0
2125921 [Thread-12] DEBUG - checking rights...
2125921 [Thread-12] DEBUG - Entry [0] could not be found in cache [ACLTreeCache]!
2125921 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2125924 [Thread-12] DEBUG - ACL 0 not found in database !
2127669 [Thread-12] DEBUG - New field ID attributed=2089
2128531 [Thread-12] DEBUG - Adding/updating key [4694] into cache [ACLTreeCache, cache size before set=3541
2128531 [Thread-12] DEBUG - Added the entry into the cache [ACLTreeCache]!
2128531 [Thread-12] DEBUG - ACL [4694] has just been created!
2128531 [Thread-12] DEBUG - CREATE - savemode: 0
2128580 [Thread-12] DEBUG - Removed the entry [2089_1] from cache [FieldCache]!
2128580 [Thread-12] DEBUG - Removed the entry [2089_2] from cache [FieldCache]!
2128580 [Thread-12] DEBUG - Removed the entry [2089] from cache [ContentFieldCache]!
2128580 [Thread-12] DEBUG - Entry [2089] could not be found in cache [ContentFieldCache]!
2128580 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2128581 [Thread-12] DEBUG - Adding/updating key [2089] into cache [ContentFieldCache, cache size before set=991
2128581 [Thread-12] DEBUG - Added the entry into the cache [ContentFieldCache]!
2128613 [Thread-12] DEBUG - loading field: id=2089 loadVersion=[[workflowState=2 versionID=0 languages=en_GB]]
2128613 [Thread-12] DEBUG - Entry [2089_2] could not be found in cache [FieldCache]!
2128613 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2128613 [Thread-12] DEBUG - Entry [2089_1] could not be found in cache [FieldCache]!
2128613 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2128613 [Thread-12] DEBUG - Making JahiaField facade for field 2089
2128613 [Thread-12] DEBUG - fieldType: 2 classe: org.jahia.data.fields.JahiaSmallTextField
2128613 [Thread-12] DEBUG - Returning JahiaField facade for field 2089 using language code=en_GB
2128614 [Thread-12] DEBUG - loading field: id=2089 loadVersion=[[workflowState=2 versionID=0 languages=shared,en_GB]
2128614 [Thread-12] DEBUG - Calling field specific load
2128615 [Thread-12] DEBUG - Indexing field container definition name:knowledgearticlecontainer_387_articlesfilescontainer_387
2128616 [Thread-12] DEBUG - Attempting to load container 900 , EntryLoadRequest=[workflowState=2 versionID=0 languages=shared,en]
2128618 [Thread-3] DEBUG - Search engine indexing in background, do not shutdown server now !...
2128677 [Thread-12] DEBUG - loading field: id=2089 loadVersion=[[workflowState=2 versionID=0 languages=shared,en_GB]]
2128677 [Thread-12] DEBUG - Entry [2089_2] could not be found in cache [FieldCache]!
2128677 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2128678 [Thread-12] DEBUG - Entry [2089_1] could not be found in cache [FieldCache]!
2128678 [Thread-12] DEBUG - could not find the associated CacheEntry instance
2128678 [Thread-12] DEBUG - Making JahiaField facade for field 2089
2128678 [Thread-12] DEBUG - fieldType: 2 classe: org.jahia.data.fields.JahiaSmallTextField
2128678 [Thread-12] DEBUG - Returning JahiaField facade for field 2089 using language code=en_GB
2128678 [Thread-12] DEBUG - loading field: id=2089 loadVersion=[[workflowState=2 versionID=0 languages=shared,en_GB]
2128678 [Thread-12] DEBUG - Calling field specific load
2128742 [Thread-12] DEBUG - template source path :/jsp/jahia/templates/intranet/intranet templates/article_page.jsp
2128742 [Thread-12] DEBUG - resolvedJSPFullFileName :/jsp/jahia/templates/intranet/intranet templates/eventlistener.jsp
2128742 [Thread-12] DEBUG - Dispatching to JSP /jsp/jahia/events/eventlistener.jsp for processing of event fieldAdded
2128742 [Thread-12] DEBUG - setAttribute(eventName, null)
2128742 [Thread-12] DEBUG - setAttribute(jahiaEvent, null)
2128742 [Thread-12] DEBUG - Dispatching to servlet path = [/jsp/jahia/events/eventlistener.jsp]
2128743 [Thread-12] DEBUG - Initializing using normal mode
2128743 [Thread-12] DEBUG - removeAttribute(org.apache.catalina.jsp_file)
2128752 [Thread-12] DEBUG - Content-type set to [text/html;charset=ISO-8859-1]
2128752 [Thread-12] DEBUG - Warning, content type has already been set to [text/html; charset=ISO-8859-1]. Trying to set now to [text/html;charset=ISO-8859-1]
2128752 [Thread-12] DEBUG - Enforcing charset=[ISO-8859-1]
2128752 [Thread-12] DEBUG - Not setting parent response object because this wrapper is not in pass-through mode
2128752 [Thread-12] DEBUG - getAttribute(javax.servlet.include.servlet_path)
2128752 [Thread-12] DEBUG - getAttribute(eventName)
2128752 [Thread-12] DEBUG - getAttribute(jahiaEvent)
2128753 [Thread-12] DEBUG - Using a print writer for output
2128753 [Thread-12] DEBUG - Creating output streams for response wrapper using only stringbuffers and no pass-through...
2128753 [Thread-12] DEBUG - Using PrintWriter with encoding : ISO-8859-1
2128753 [Thread-12] DEBUG - removeAttribute(org.apache.catalina.jsp_file)
2128755 [Thread-12] DEBUG - field type is 2
2128765 [Thread-12] DEBUG - setAttribute(JahiaEngine.mode, null)
2128765 [Thread-12] DEBUG - Saving Field description : <empty>
