| Summary: | JNDI Inconsistencies using WebSphere and BIRT 2.6.2 - XP and Linux WAS | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Len Burt <lenburt> |
| Component: | BIRT | Assignee: | Birt-DataAccess <Birt-DataAccess-inbox> |
| Status: | NEW --- | QA Contact: | Maggie Shen <lshen> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Len Burt
7/28 -- it seems that there are two separate issues; one is some sort of date parsing problem. When date the problem occurs, a msg like this is written: Throwable occurred: org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred. See next exception for more information. Can not convert the value of 2011-07-28 16:08:51.999971 to Date type. at org.eclipse.birt.data.engine.core.DataException.wrap(DataException.java:118) If i delete this row, the report works fine. It seems that the upper boundaries of the ms portion of the timestamp field are causing the issue (e.g. 999686, 999699, etc.) The other problem seem different but i will continue to try and isolate. Update below: The root cause of the failures turns out to be the inability of BIRT code to properly round up the ms portion of the timestamp fields that we use on several tables. When you use a timestamp field, by default you get 6 digits of precision. The problem occurs when BIRT has a ‘5’ in the 4th digit of precision – I assume it tries to ‘round up’ and it fails badly. Example: This works: 01-AUG-11 12.11.03.999499000 PM This fails : 01-AUG-11 12.11.03.999500000 PM (In reply to comment #2) > Update below: > > > The root cause of the failures turns out to be the inability of BIRT code to > properly round up the ms portion of the timestamp fields that we use on several > tables. When you use a timestamp field, by default you get 6 digits of > precision. The problem occurs when BIRT has a ‘5’ in the 4th digit of > precision – I assume it tries to ‘round up’ and it fails badly. > > Example: > > This works: 01-AUG-11 12.11.03.999499000 PM > This fails : 01-AUG-11 12.11.03.999500000 PM Hi, so would you please attach such a report that contains a timestamp field ? I make a datetime data item and preview. It works both your examples. This might not be your case. Thanks. |