Please or Register to create posts and topics.

jasperserver ERROR JNDIResourceProvider,main:75 - error closing context javax.naming.OperationNotSupportedException: Context is read only

Asked again and again:

When starting a fresh install of Jasperserver the logs show always after (re)start the errormessage "Context is read only". It is already a running gag in other forums:

https://community.jaspersoft.com/forums/topic/47994-error-closing-context/

In short:

  1. Create a file "<webapp>/WEB-INF/classes/resfactory.properties"
  2. Insert the line "tbeller.usejndi=false" into that file.
  3. Restart Jasperserver

Hopefully and additional help to get rid of that pain in the ass. 🙂