Hi,
As part of a process of migrating content, I have written Java code to retrieve binary resource stream given the Internet URL of an image. I then, create a node in the DAM and store this binary stream as its jcr:data property(under renditions/original). I have stopped all the DAM workflows as I don't need any other renditions of the image. The image is getting stored properly, but when I do the same for around 2000 images, the process somehow stops after around 1000 images. I am not storing all the images under the same node(I have a certain hierarchy which is far from the flat-file system, which ensures that there are not more than 100 images under a node).
When I inspect the loggers, I cannot find anything suspicious as well. I'm guessing there is some problem with the indexes that point to the datastore, but I really cannot pin point any particular reason. Am I doing it the correct way, or is there a better way to upload such large numbers of images to the DAM? Please help me out and thanks in advance.
Thanks
Shriram