We configured JackRabbit repository for storing the files and other file manipulation. Here we are trying to upload large files to the JackRabbit Repository
using CreateDocumentFromFilePath API
. It is throwing below error message "com.rovicorp.jackrabbit.exception.JackrabbitException: JE_00002/nShort Message:::Exception from Jackrabbit Repository"
.
We tried to upload the file less than 30MB
and it is working fine. But if we go more than that, it is throwing an error message.
We further debugged on this issue and we see that the below error message:
"Caused by: org.apache.jackrabbit.rmi.client.RemoteRepositoryException:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException:
org.apache.jackrabbit.core.data.DataStoreException (no security manager: RMI
class loader disabled)"
We read in the internet and need to configure Repository.xml
file for maximum size of the uploaded file. We are not able to figure it out how to configure it in the Repository.xml
. Attached the error message of the screen shot.
We want to upload large files to the 'JackRabbit Repository' using CreateDocumentFromFilePath API
.
Can you help us to fix this issue?
Thanks in Advance