It's all about the answers!

Ask a question

Problem when deploy a CUSTOM report (JDBC DataSource)


Andrea Ianni (1611916) | asked Dec 11 '09, 11:40 a.m.
Hi all,
I have customize a report template by added a parameter.
My parameter is a List Box with Allow multiple value; data type is String.

My report works well in Report Design but when I deploy it into server I found this error:
The type of parameter "PhaseFound" is expected as "Object[]", not "java.lang.String".

I have RTC 2.0.0.1 and I have alredy put the driver and the licence for db2 into org.eclipse.birt.report.data.oda.jdbc jar file and I have alredy stopped the server, deleted tomcat's work folder and restarted the server.

Why? Someone had the same problem?

Any suggestions?

Thanks
Andrea

2 answers



permanent link
Rafik Jaouani (4.9k16) | answered Dec 14 '09, 11:07 a.m.
JAZZ DEVELOPER
RTC 2.0 does not support BIRT's List Box with multiple value support. We implemented our own way of multiple value support so please uncheck the "Allow multiple value" option, deploy the report design and see if it works.

permanent link
Andrea Ianni (1611916) | answered Dec 16 '09, 12:19 p.m.
Thank you!!!!

The RTC's way is more easy than BIRT's way!!!! Good job!

Andrea

RTC 2.0 does not support BIRT's List Box with multiple value support. We implemented our own way of multiple value support so please uncheck the "Allow multiple value" option, deploy the report design and see if it works.

Your answer


Register or to post your answer.