Org.eclipse.birt.report.data.oda.jdbc.JDBCException:Missing properties in Connection.Open (Propertie

Source: Internet
Author: User

First, look at the settings for the "Birt_resource_path" property in the project's Web. xml file, which sets the "User resource storage path, which includes the library file, image file, and so on." The default is the current root directory. "For example, if my setting is"/library ", it means that all library files are under the log directory under the wood.

Look at the XML source code for the error report file, and discover that the library path introduced is "Library/ds.rptlibrary", which is added automatically when the library file is dragged and dropped to the report file, and the results are visible at preview and run time after the report is completed, but the error is performed under Tomcat. That is, the title prompt error.

Workaround:

A. Delete the Ds.rptlibrary reference to the report file;

B. Click on the menu bar "window" → "preferences" above Eclipse, find "report Design" → "Resources" on the left, click "Select" to locate the library directory under the current project, and then make sure to exit.

C. Re-introduce ds.rptlibrary into the report file.

D. Previewing, running reports are normal, and executing under Tomcat is normal.

Personal Understanding the resource properties set in the preferences are relative to the project's library configuration, and when the library is dragged and dropped into the report file, Birt reads this configuration and adds a relative path (the default is the current project path, so when this configuration is empty, library/is added ds.rptlibrary), the preview report is now normal. When Tomcat is started, the configuration in Web. XML will define this configuration as a library directory and then find it based on the default configuration Library/ds.rptlibrary, at which point the path to the lookup library is relative to the project "/library/library/ Ds.rptlibrary "file, of course, the library file is not found. The modification ensures that the path found in the preview and running the report under Tomcat is the Library directory under the project, thus guaranteeing the normal parsing of the report.

Org.eclipse.birt.report.data.oda.jdbc.JDBCException:Missing properties in Connection.Open (Propertie

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.