whiteboy_atl Posted December 10, 2013 Posted December 10, 2013 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 contextjavax.naming.OperationNotSupportedException: Context is read only at org.apache.naming.NamingContext.checkWritable(NamingContext.java:962) at org.apache.naming.NamingContext.close(NamingContext.java:762) at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProvider.java:72) at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeResourceProvider.java:56) at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:163) at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.java:92) at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.java:89) at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) Any ideas to a solution?
Solution lucianc Posted January 17, 2014 Solution Posted January 17, 2014 Try adding a file named resfactory.properties under WEB-INF/classes containing the following line:tbeller.usejndi=falseAlso log a bug for this using the trackers, the file should be already there in the war but it's missing for some reason.Regards,Lucian 2
gupta_nikhil_badal Posted July 6, 2016 Posted July 6, 2016 Is it resolved in new versions as i still don't see the file in newer version 6.0.1
gawd Posted July 12, 2018 Posted July 12, 2018 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".
SETTURGOPI Posted August 2, 2018 Posted August 2, 2018 This Problem still exists in newer versions :D
khaldi.yass Posted May 27, 2019 Posted May 27, 2019 I just installed version 7.2.0 of jasper server community, and the issue is still reproductible.
mrobinson_3 Posted September 18, 2019 Posted September 18, 2019 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
amlan.samanta Posted July 21, 2020 Posted July 21, 2020 The issue is still in 2020 with JasperServer 7.5.0 Community Edition (TIB_js-jrs-cp_7.5.0_win_x86_64). Need support.
suleklarisa Posted July 27, 2020 Posted July 27, 2020 I have the same problem on 07/27/2020. Unbelievable. In addition to fixing these bugs, they have to improve the manuals.do we simply ignore this error? Puff2020-07-27T09:51:00,023 ERROR JNDIResourceProvider,http-nio-8080-exec-5:75 - error closing context javax.naming.OperationNotSupportedException: Context is read only at org.apache.naming.NamingContext.checkWritable(NamingContext.java:963) at org.apache.naming.NamingContext.close(NamingContext.java:758) at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProvider.java:72) at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeResourceProvider.java:56) at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:163) at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.java:92) at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.java:89) at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759) at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:1087) at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:635) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:212) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348) at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
rameshwar9760881058 Posted August 14, 2020 Posted August 14, 2020 any ideas .. please provide same as for me .Issus
brodie Posted November 2, 2020 Posted November 2, 2020 Still exists in version 7.8.0.Seriously??2020-11-02T13:09:18,848 ERROR JNDIResourceProvider,main:75 - error closing context javax.naming.OperationNotSupportedException: Context is read only at org.apache.naming.NamingContext.checkWritable(NamingContext.java:990) at org.apache.naming.NamingContext.close(NamingContext.java:759) at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProvider.java:72) at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeResourceProvider.java:56) at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:163) at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.java:92) at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.java:89) at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4685) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5146) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
andrew_50 Posted November 30, 2020 Posted November 30, 2020 To me, an obvious question would be, does this problem (which is hitting me too) exist in the Enterprise version of Jasper Server?If not, then that should be a huge pointer to where the code problem lies in the Community version.
everth.saul Posted March 23, 2021 Posted March 23, 2021 El problema todavía está en marzo de 2021 con JasperServer 7.8.0 Community Edition (TIB_js-jrs-cp_7.8.0_bin.zip). AYUDA!!
everth.saul Posted March 23, 2021 Posted March 23, 2021 El problema todavía está en marzo de 2021 con JasperServer 7.8.0 Community Edition (TIB_js-jrs-cp_7.8.0_bin.zip). AYUDA!!
rode.mb Posted December 13, 2021 Posted December 13, 2021 setting tbeller.usejndi=false in resfactory.properties works. why is this file still missing in server 8.0?why is this bug still happening in server 8.0?
ricardo.herrera.87 Posted February 24, 2022 Posted February 24, 2022 Hey guys here is the solution, it works https://community.jaspersoft.com/wiki/tibco-jasperreports-server-780-installation-using-windows-binary-installer-might-have-problem
garama6503 Posted February 15, 2023 Posted February 15, 2023 FYI this is linked to jpivot, and I'm afraid that most of the OLAP tools have stopped development: sad, because the alternative to classic OLAP tools with a schema is just single big plain denormalised table
RomanHadiuchko Posted February 29, 2024 Posted February 29, 2024 On 1/17/2014 at 11:55 AM, lucianc said: Try adding a file named resfactory.properties under WEB-INF/classes containing the following line: tbeller.usejndi=false 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. Regards, Lucian Thanks Lucian, solved my issue.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now