Jasper Report Server operationnotsupportedexception context is read only
2014-07-10 15:42
113 查看
1. Environment
Windows 7 Professional 64-bit, jasper-server-5.6-x64, Tomcat 7, MySQL 5
2. Problem Description
When starts Tomcat 7, encounters this always:
3. Analysis:
Jasper server tries to bind sessionfactory to JNDI, but Tomcat 7's JNDI is read only, so the exception occurs.
4. Solution
As reference 1 says: Try adding a file named resfactory.properties under WEB-INF/classes containing the following line:
tbeller.usejndi=false
Meanwhile, attention, please make sure there is no JNDI configuration named 'jdbc/jasperserver' in your Tomcat's server.xml and context.xml, otherwise, you would encounter sessionFactory null error.
5. Reference
5.1 http://community.jaspersoft.com/questions/822153/error-closing-context
Windows 7 Professional 64-bit, jasper-server-5.6-x64, Tomcat 7, MySQL 5
2. Problem Description
When starts Tomcat 7, encounters this always:
3. Analysis:
Jasper server tries to bind sessionfactory to JNDI, but Tomcat 7's JNDI is read only, so the exception occurs.
4. Solution
As reference 1 says: Try adding a file named resfactory.properties under WEB-INF/classes containing the following line:
tbeller.usejndi=false
Meanwhile, attention, please make sure there is no JNDI configuration named 'jdbc/jasperserver' in your Tomcat's server.xml and context.xml, otherwise, you would encounter sessionFactory null error.
5. Reference
5.1 http://community.jaspersoft.com/questions/822153/error-closing-context
相关文章推荐
- SSRS 2012 创建ReportServer数据库失败: The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
- Operation category READ is not supported in state standby解决
- HBase Operation category READ is not supported in state standby
- Operation not supported on read-only collection 的解决方法 - [Windows Phone开发技巧系列1]
- 执行“hdfs dfs -ls /”出现“Operation category READ is not supported in state standby”报错解决
- 解决: ERROR JDBCExceptionReporter:78 - Could not retrieve transation read-only status server
- Operation category READ is not supported in state standby
- Operation category READ is not supported in state standby
- operation category read is not supported in state standby
- java.lang.UnsupportedOperationException: setXIncludeAware is not supported on this JAXP implementation or earlier: class gnu.xml.dom.JAXPFactory的解决办法(图文详解)
- [转]sql server profiler only TrueType fonts are supported. this is not a truetype font
- SQL Server Profiler only true fonts are supported. this is not a truetype font
- Rorr:Operation category READ is not supported in state standy
- Operation category READ is not supported in state standby 故障解决
- Operation category READ is not supported in state standby
- Operation category READ is not supported in state standby解决办法
- Unable to start activity:UnsupportedOperationException: addView(View, LayoutParams) is not supported
- java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView
- Operation category READ is not supported in state standby解决
- java.sql.SQLException: Could not retrieve transation read-only status server