Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » problem with open report outside directory deployed
problem with open report outside directory deployed [message #1011921] Wed, 20 February 2013 14:11 Go to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
Hi All,
hi deployed a birt viewer 4.2.1, and if i run a report present inside report folder of the deployed viewer it works fine, but if i move the report outside this folder i receive this error:

- There is no report design object available.

org.eclipse.birt.report.exception.ViewerException: There is no report design object available.
at org.eclipse.birt.report.context.ViewerAttributeBean.__init(ViewerAttributeBean.java:226)
at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
at org.eclipse.birt.report.context.BirtContext.__init(BirtContext.java:44)
at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
at org.eclipse.birt.report.context.BirtContext.<init>(BirtContext.java:30)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:150)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)



What is wrong?
Re: problem with open report outside directory deployed [message #1011936 is a reply to message #1011921] Wed, 20 February 2013 14:39 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
I forget to write that i use the birt designer that has the same version of viewer, as indicated below:

Version: 4.2.1.v20120820-ChBG8UGYgRQlJ7y9Lz-wS7nDcRL4
Build id: v20120912-1721
icon14.gif  [SOLVED]: problem with open report outside directory deployed [message #1011957 is a reply to message #1011936] Wed, 20 February 2013 15:36 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
I change this parameter in the web.xml of my birt viewer:
	<context-param>
		<param-name>URL_REPORT_PATH_POLICY</param-name>
		<param-value>all</param-value>
	</context-param>

	<context-param>
		<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
		<param-value>false</param-value>
	</context-param>
icon14.gif  [SOLVED]: problem with open report outside directory deployed [message #1011958 is a reply to message #1011921] Wed, 20 February 2013 15:38 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
I change the value of these parameter:
	<context-param>
		<param-name>URL_REPORT_PATH_POLICY</param-name>
		<param-value>all</param-value>
	</context-param>

	<context-param>
		<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
		<param-value>false</param-value>
	</context-param>
icon14.gif  Re: [SOLVED]: problem with open report outside directory deployed [message #1018434 is a reply to message #1011958] Wed, 13 March 2013 20:49 Go to previous messageGo to next message
Jay Sullivan is currently offline Jay Sullivan
Messages: 2
Registered: March 2013
Junior Member
Thanks for this! It helped me get over my same issue.
icon12.gif  Re: [SOLVED]: problem with open report outside directory deployed [message #1019294 is a reply to message #1018434] Fri, 15 March 2013 11:41 Go to previous message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
Jay Sullivan wrote on Wed, 13 March 2013 16:49
Thanks for this! It helped me get over my same issue.

I'm happy to help you!
Previous Topic:break in columns after certain width
Next Topic:Table drop cell
Goto Forum:
  


Current Time: Fri Sep 19 07:49:46 GMT 2014

Powered by FUDForum. Page generated in 0.02271 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software