- 浏览: 1754998 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (723)
- IE 国际化 (1)
- java (310)
- python (52)
- Spring (101)
- eclipse (43)
- birt (10)
- exe4j (1)
- ActiveMQ (3)
- HornetQ (7)
- Ext (16)
- Linux (50)
- james (1)
- mail (3)
- 经验 (288)
- tomcat (5)
- Netty (3)
- ant (6)
- rsync (2)
- MD5 (3)
- 正则表达式 (3)
- 非技术 (59)
- mysql (28)
- sftp (1)
- Commons (2)
- oracle (3)
- vsftp (1)
- jdoc (1)
- socket (3)
- SEDA (2)
- UUID (1)
- quartz (7)
- javascript (50)
- sql (5)
- array (3)
- POI (3)
- redis (2)
- junit (4)
- 二维码 (1)
- jdk (8)
- h2 (6)
- maven (37)
- JVM (5)
- html (4)
- css (1)
- excel (4)
- myeclipse (2)
- scala (0)
- jQuery (5)
- log (10)
- slf4j (2)
- log4j (9)
- REST (15)
- guava (18)
- Joda-Time (7)
- ini4j (1)
- 配置文件 (2)
- lucene (1)
- database (3)
- curator (2)
- zookeeper (3)
- 并发 (2)
- jetty (6)
- ehcache (5)
- windows (1)
- protobuf (1)
- select2 (2)
- easyui (10)
- Freemarker (1)
- Filter (1)
- twisted (1)
- DateTime (11)
- mockrunner (1)
- DataSource (4)
- ajax (1)
- shell (18)
- powermockito (5)
- json (5)
- lombok (1)
- jointjs (1)
- cookie (1)
- mybatis (11)
- 加密解密 (2)
- 安全 (2)
- web (1)
- notepad++ (3)
- mac (48)
- sublime (14)
- git (7)
- docker (10)
- jar (1)
- gson (5)
- ubuntu (3)
- 模式 (1)
- neo4j (2)
- elasticsearch (1)
- OmniGranffle (1)
- ASCII (1)
- jdbc (3)
- kafka (1)
- MQ (1)
- chrome (3)
- 华为 (1)
- 路由器 (1)
- api (2)
- 架构 (1)
- 设计模式 (1)
- pip (4)
- springboot (48)
- 数据库 (4)
- thread (1)
- java.thread (1)
- sqlite (1)
- postman (1)
- springboot-actuator (2)
- jwt (1)
- token (1)
- brew (9)
- vim (1)
- virtualbox (1)
- Swagger (1)
- spring-retry (3)
- 调度 (1)
- item2 (5)
- graph (12)
- jgrapht (12)
- tuple (1)
- hadoop (5)
- curl (1)
- 算法 (3)
- Jekyll (1)
- github (1)
- ssh-keygen (1)
- zip (2)
- http (2)
- RestTemplate (8)
- 文件处理 (2)
- XStream (1)
- XML (3)
- JAXB (1)
- 笛卡尔积 (2)
- hive (1)
- 搜狗输入法 (1)
- 常用java类 (2)
- nginx (1)
- log4j2 (1)
- drawio (2)
- 安卓 (1)
- 小米 (1)
- okhttp (1)
- requests (1)
- 格式化 (2)
- MySQL Workbench (1)
- 分布式 (1)
- zip4j (1)
- hbase (5)
- hikari (1)
- javers (1)
- pydatetime (4)
- pyassert (1)
- pylog (2)
- tree (2)
- download (1)
- zeppelin (1)
- utils (2)
- wget (1)
- 鼠标 (1)
- 位运算 (2)
- open api (1)
- 域名 (1)
最新评论
-
youngcoder:
haohaohao~
Spring cache 注解功能不起作用的解决方案 -
kanpiaoxue:
lixz 写道有具体实例demo吗好多年前写的了。你还是去官网 ...
spring batch(一):基础部分 -
lixz:
有具体实例demo吗
spring batch(一):基础部分 -
BuDongOrz:
...
Spring MVC controller 读取配置文件 -
hvang1988:
理解错了,原来还是计数,不是时间
spring batch(二):核心部分(1):配置Spring batch
The viewing session is not available or has expired
最近研究birt的使用,发现birt不支持集群。
所以我就另外搭建了一个tomcat,做专门的birt报表服务器。那么我就需要把它继承在现有的web程序中。用的是iframe。
发现,还是有问题,总是报错“The viewing session is not available or has expired”。
搞了半天,查了半天的资料。发现没有好的办法。老外也遇到这个问题,也在惆怅。
我试了IE的设置,找到一个勉强可以接受的方法来解决。
方法如下:
IE - Intetnet 选项 - 隐私 - 设置:这里有个拉动条,可以设置IE的cookie。将它调到“低”或者“最低”,可以达到解决问题的目的。
不过,这个方法我认为不好。你不能让每个用你的birt程序的人都去修改IE浏览器吧?!所以,也希望看见blog的朋友要是解决过这类的问题,说一下你们解决的方法。还有,谁尝试过birt的集群,也希望能给我一些帮助。谢谢
------------------------------------ 2012-01-10 [解决如下] -------------
birt the viewing session is not avaliable or has expired
问题描述:
http://11.23.26.3:8084/biReport/frameset?__report=VIP_kefu.rptdesign&__masterpage=true&__format=html&__parameterpage=true&__toolbar=true&__showtitle=false
我采用上面的url,在一个项目中访问另一个项目biReport中的birt报表,发生错误:
birt the viewing session is not avaliable or has expired
我在google的很多地方,都没有找到解决的方案。最终,在 http://www.birt-exchange.org/org/forum/index.php/topic/17735-the-viewing-session-is-not-available-or-has-expired-again/page__s__e25ec58943536503b7b10f91ccd1e87e 里面找到一个方案,解决了这个问题。原文描述如下:
Posted 23 December 2010 - 06:25 AM
Today I encountered the same "The viewing session is not available or has expired." message again. Some months ago I managed to find a solution (see this post).
This time the issue was a bit different: it only happened when the reports were accessed from IE, but not from Firefox and only for some of them. Looking at the differences I saw that for some of the reports the URL included the hostname and for the others the IP address of the Tomcat server. The ones that were failing to be displayed were the ones accessed by IP.
So you could check how you are accessing the reports and how the URL is specified. In my case using the hostname of the machine hosting the Tomcat did the trick.
Regards,
Mudor
呵呵,困扰了很久的问题,终于得到解决。爽啊!(备注:这个问题已经被官网列为BUG,但是一直没有修复,很奇怪。必须用域名,而不能用IP)
发表评论
-
birt的CSS样式应用
2012-05-11 14:00 4155birt的CSS样式应用: 注意,只能应用于一般HTML的元 ... -
birt 的权限控制
2012-01-30 18:15 2350很多兄弟问到birt的权限控制问题,我这里只是简单的说两个方法 ... -
birt参数选择中添加日历控件
2012-01-10 18:19 2180birt参数选择中添加日历控件 默认的birt报 ... -
birt汉化
2012-01-10 16:23 1628在birt的运行时,默认是英文的。需要进行汉化,符合国人使用的 ... -
birt Servlet模式说明
2011-11-12 17:51 2111<!-- Viewer Servlet, Supp ... -
birt uil详细说明
2011-11-12 16:09 1506birt uil详细说明__report: 指定要显示的报表名 ... -
birt chart和jFree chart 汉字乱码问题
2011-11-12 14:42 3561这个问题适合Java环境下Linux图表乱码问题,包括Birt ... -
birt去除报表下面的日期
2011-11-02 14:06 1430birt去除报表下面的日期 首先点击设计器主页 - 点击属性, ... -
birt开发整理(个人)
2011-09-15 18:52 2351解决问题的网址: http://www.birthom ...
相关推荐
解决springboot实现跨域session共享问题,防止sql注入。可以更有效的解决token问题,欢迎下载,有问题可以再评论下方留言,及时解答!!加群:687942640
iframe 跨域访问session问题解决方法
class Session { //mysql的主机地址 const db_host = "localhost"; //需要第三方指定ip地址 //数据库用户名 const db_user = "root"; //需要第三方指定自己的用户名 //数据库密码 const db_pwd = ""; /...
Spring Boot 使用 Redis 进行配置 Session 共享(Ajax 跨域) 源码下载。
主要介绍了ThinkPHP框架实现session跨域问题的解决方法,需要的朋友可以参考下
session共享
主要介绍了iframe跨域与session失效问题的解决办法,有需要的朋友可以参考一下
项目采用Spring、SpringMVC技术、具体实现的功能为基于Cookie技术的Session跨域功能
【ASP.NET编程知识】iframe跨域与session失效问题的解决办法.docx
NULL 博文链接:https://thoreau.iteye.com/blog/745100
主要给大家介绍了关于express如何解决ajax跨域访问session失效问题的相关资料,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面来一起学习学习吧
整理的一个解决Yii单点登陆/多子站登陆的方法。可以借鉴一下。如果有哪里不对的地方,只管留言,只需要1分。
更改配置文件,实现session的跨域共享,记住登录的状态
该文件可以通过代码实例,让你清楚的理解session和cookie的意思,当你明白了这点,你就可以设计出来单点登录功能,同一账号在同一时间只能登录一次功能。同时你可以通过ie、firefox去测试你对session、cookie的理解...
本篇文章主要介绍了vue2 前后端分离项目ajax跨域session问题解决方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
解决Cesium访问数据跨域问题,数据使用tomcat部署在服务器上。
跨域 原因: 浏览器限制 跨域(域名,端口,协议,ip不一样) 在使用XMLHTTPRequest对象发送HTTP请求时,会遇到同源策略问题,域不同请求会被浏览器拦截。
解决arcgis server跨域问题: 1、停掉ArcGIS Server的服务。 2、 打开<ArcGIS Server> \framework\runtime\tomcat\conf\web.xml,注册跨域bean 3、lib下拷贝 cors-filter-2.5.jar java-property-utils-1.9.1.jar包 4...
前端跨域问题解决