cancel
Showing results for 
Search instead for 
Did you mean: 

Reading alfresco metadata from java code

sanketmohite
Champ on-the-rise
Champ on-the-rise

Hello Alfresco experts,

Need your urgent help in one issue which we are facing.

We are using alfresco community version 4.0 with Tomcat 6.0 and postgres 9.5

We wanted to store encrypted data in alfresco. As there was already some data posted to alfresco we wanted to distinguish this data with newly uploaded encrypted data. We decided to use a flag in alfresco metata. So we deployed alfresco model file adding this metadata and deployed code.

Attached below is the code sniplet (readModel.txt) which we used.

This functionality works fine stand alone but in production environment where lot many users using it for download, it throws "Too many file open error" (attached error screenshot)

Any suggestion to get this resolved will be highly appreciated

Thanking in anticipation. 

2 REPLIES 2

kintu_barot
Star Collaborator
Star Collaborator

There is already one thread present with the explanation.

Please refer Too many open files 

Regards,

Kintu

ContCentric

Regards,
Kintu

Hi Kintu

Thank you for your quick response.

However, issue is not because of error. My adding attached code, we started getting error else servers were operating normally.

I need expert opinion on if any changes needed to code which will do away with too many files error or is there any otehr way by which we can access alfresco metadata via java code?

Thanks