Error Closing Context
Posted on December 10, 2013 at 10:39am
Just installed jasperserver 5.5... manual install... Which installed successfully however, when i go to run the server i get the following error:
2013-12-09 15:35:47,869 ERROR JNDIResourceProvider,localhost-startStop-1:75 - error closing context
javax.naming.OperationNotSupportedException: Context is read only
Any ideas to a solution?
Posted on January 17, 2014 at 1:55am
Try adding a file named resfactory.properties under WEB-INF/classes containing the following line:
Also log a bug for this using the trackers, the file should be already there in the war but it's missing for some reason.
Posted on July 6, 2016 at 6:20am
Is it resolved in new versions as i still don't see the file in newer version 6.0.1
Posted on July 12, 2018 at 2:01am
It also can be, that you have a second applicationContext.xml file named like "applicationContexWhateverYouWant.xml" (I had it as a backup). I got this error as Spring was looking for "applicationContext*.xml".
If you want to have a backup call it applicationContext.xml.bkp or something like that, but after the file extension ".xml".
Posted on August 1, 2018 at 7:29pm
This Problem still exists in newer versions :D
Posted on May 27, 2019 at 3:34pm
I just installed version 7.2.0 of jasper server community, and the issue is still reproductible.
Posted on June 23, 2019 at 9:44am
+1 Jasper Server 7.2.0 has this issue.
Posted on September 18, 2019 at 12:37pm
I am having this same issue and its 2019 and this was posted 2013. wild. I have the exact same error, and adding the resfactory.properties file did not fix the error for me. Has anyone been able to get this sorted out? @moody.youseef @khaldi.yass @setturgopi @gawd @lucianc
Posted on February 27, 2020 at 6:36pm
The support for Jasper Server is horrendous. About 5% of all reports we run fail with the above "error closing context' message, and after ***SEVEN (7) YEARS*** this issue is still present. I've tried about a dozen fixes I've found from all over the web, and nothing fixes the problem.