eclipse3.2下crystal有关问题 (满分)
eclipse3.2下crystal问题 (满分)
在这里借个地方, 问题:
1 2006-12-21 11:31:32,937 [com.businessobjects.reports.sdk.JRCCom municationAdapter]-[ERROR]
The report file was not found
2006-12-21 11:31:32,999 [com.businessobjects.reports.sdk.JRCCom municationAdapter]-[ERROR] JRCAgent1
detected an exception: not found
C:/bea/user_projects/domains/develop/my server/.wlnotdelete/extract/myserver_WebRoot_WebRoot/jarfiles/real.rpt
在CRConfig.xml, 设置 <reportlocation> ../../report </ reportlocation> , 系统找不到rpt文件
2 在rpt文件中, 我用的是jdbc数据源, 如果数据源变了,我需要一个个的去修改rpt的数据源?
希望有朋友帮我解决......
------解决方案--------------------
不需要!
------解决方案--------------------
改为
<reportlocation> ../.. </reportlocation>
试下
------解决方案--------------------
你的web路径为:
user.dir=C:\bea\user_projects\domains\develop
可以用这个dir拼出你的rpt的绝对路径
------解决方案--------------------
这是编译后的路径
把rpt目录和整个web项目打包后,再部署,看看行不?
------解决方案--------------------
jndi我也没试过,不过BO公司的人告诉我可以弄好的,你自己好好研究一下
如果弄不出来,
你可以用推的方式,把数据推入倒rpt中,这样,也可以不需要数据库的连接
在这里借个地方, 问题:
1 2006-12-21 11:31:32,937 [com.businessobjects.reports.sdk.JRCCom municationAdapter]-[ERROR]
The report file was not found
2006-12-21 11:31:32,999 [com.businessobjects.reports.sdk.JRCCom municationAdapter]-[ERROR] JRCAgent1
detected an exception: not found
C:/bea/user_projects/domains/develop/my server/.wlnotdelete/extract/myserver_WebRoot_WebRoot/jarfiles/real.rpt
在CRConfig.xml, 设置 <reportlocation> ../../report </ reportlocation> , 系统找不到rpt文件
2 在rpt文件中, 我用的是jdbc数据源, 如果数据源变了,我需要一个个的去修改rpt的数据源?
希望有朋友帮我解决......
------解决方案--------------------
不需要!
------解决方案--------------------
改为
<reportlocation> ../.. </reportlocation>
试下
------解决方案--------------------
你的web路径为:
user.dir=C:\bea\user_projects\domains\develop
可以用这个dir拼出你的rpt的绝对路径
------解决方案--------------------
这是编译后的路径
把rpt目录和整个web项目打包后,再部署,看看行不?
------解决方案--------------------
jndi我也没试过,不过BO公司的人告诉我可以弄好的,你自己好好研究一下
如果弄不出来,
你可以用推的方式,把数据推入倒rpt中,这样,也可以不需要数据库的连接