created an attachment (id=158563)
report

description:
property binding does not work [0703]

build:
<2.5.2.v20100209-0630>

steps to reproduce:
1. new a dataset binding to sampledb
2. drag a data item into layout
3. new another jdbc datasource and set property binding which can link to sampledb
4. change dataset's datasource to the new jdbc datasource
5. preview

actual result:
data item shows nothing and exception thrown out

expect result:
no error and data shows up.

error log:
org.eclipse.birt.report.engine.api.engineexception: an exception occurred during processing. please see the following message for details:
cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
cannot load jdbc driver class: org.eclipse.birt.report.data.oda.sampledb.driver (classic models inc. sampledb driver).
   at org.eclipse.birt.report.engine.executor.executioncontext.addexception(executioncontext.java:1215)
   at org.eclipse.birt.report.engine.executor.executioncontext.addexception(executioncontext.java:1179)
   at org.eclipse.birt.report.engine.executor.queryitemexecutor.executequery(queryitemexecutor.java:96)
   at org.eclipse.birt.report.engine.executor.dataitemexecutor.execute(dataitemexecutor.java:75)
   at org.eclipse.birt.report.engine.internal.executor.wrap.wrappedreportitemexecutor.execute(wrappedreportitemexecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.emitter.reportitememitterexecutor.execute(reportitememitterexecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.dup.suppressduplicateitemexecutor.execute(suppressduplicateitemexecutor.java:43)
   at org.eclipse.birt.report.engine.layout.html.htmlblockstackinglm.layoutnodes(htmlblockstackinglm.java:65)
   at org.eclipse.birt.report.engine.layout.html.htmlpagelm.layout(htmlpagelm.java:90)
   at org.eclipse.birt.report.engine.layout.html.htmlreportlayoutengine.layout(htmlreportlayoutengine.java:99)
   at org.eclipse.birt.report.engine.presentation.reportdocumentbuilder.build(reportdocumentbuilder.java:258)
   at org.eclipse.birt.report.engine.api.impl.runtask.dorun(runtask.java:252)
   at org.eclipse.birt.report.engine.api.impl.runtask.run(runtask.java:85)
   at org.eclipse.birt.report.service.reportengineservice.runreport(reportengineservice.java:1307)
   at org.eclipse.birt.report.service.birtviewerreportservice.runreport(birtviewerreportservice.java:158)
   at org.eclipse.birt.report.service.actionhandler.birtrunreportactionhandler.__execute(birtrunreportactionhandler.java:81)
   at org.eclipse.birt.report.service.actionhandler.birtgetpageactionhandler.__checkdocumentexists(birtgetpageactionhandler.java:58)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.prepareparameters(abstractgetpageactionhandler.java:119)
   at org.eclipse.birt.report.service.actionhandler.abstractgetpageactionhandler.__execute(abstractgetpageactionhandler.java:104)
   at org.eclipse.birt.report.service.actionhandler.abstractbaseactionhandler.execute(abstractbaseactionhandler.java:90)
   at org.eclipse.birt.report.soapengine.processor.abstractbasedocumentprocessor.__executeaction(abstractbasedocumentprocessor.java:47)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.executeaction(abstractbasecomponentprocessor.java:143)
   at org.eclipse.birt.report.soapengine.processor.birtdocumentprocessor.handlegetpage(birtdocumentprocessor.java:87)
   at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
   at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.eclipse.birt.report.soapengine.processor.abstractbasecomponentprocessor.process(abstractbasecomponentprocessor.java:112)
   at org.eclipse.birt.report.soapengine.endpoint.birtsoapbindingimpl.getupdatedobjects(birtsoapbindingimpl.java:66)
   at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
   at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
   at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
   at java.lang.reflect.method.invoke(method.java:585)
   at org.apache.axis.providers.java.rpcprovider.invokemethod(rpcprovider.java:397)
   at org.apache.axis.providers.java.rpcprovider.processmessage(rpcprovider.java:186)
   at org.apache.axis.providers.java.javaprovider.invoke(javaprovider.java:323)
   at org.apache.axis.strategies.invocationstrategy.visit(invocationstrategy.java:32)
   at org.apache.axis.simplechain.dovisiting(simplechain.java:118)
   at org.apache.axis.simplechain.invoke(simplechain.java:83)
   at org.apache.axis.handlers.soap.soapservice.invoke(soapservice.java:454)
   at org.apache.axis.server.axisserver.invoke(axisserver.java:281)
   at org.apache.axis.transport.http.axisservlet.dopost(axisservlet.java:699)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.dopost(birtsoapmessagedispatcherservlet.java:265)
   at javax.servlet.http.httpservlet.service(httpservlet.java:727)
   at org.apache.axis.transport.http.axisservletbase.service(axisservletbase.java:327)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.birt.report.servlet.birtsoapmessagedispatcherservlet.service(birtsoapmessagedispatcherservlet.java:122)
   at org.eclipse.equinox.http.registry.internal.servletmanager$servletwrapper.service(servletmanager.java:180)
   at org.eclipse.equinox.http.servlet.internal.servletregistration.handlerequest(servletregistration.java:90)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.processalias(proxyservlet.java:111)
   at org.eclipse.equinox.http.servlet.internal.proxyservlet.service(proxyservlet.java:59)
   at javax.servlet.http.httpservlet.service(httpservlet.java:820)
   at org.eclipse.equinox.http.jetty.internal.httpservermanager$internalhttpserviceservlet.service(httpservermanager.java:318)
   at org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:502)
   at org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:380)
   at org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181)
   at org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:765)
   at org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152)
   at org.mortbay.jetty.server.handle(server.java:324)
   at org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:535)
   at org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:880)
   at org.mortbay.jetty.httpparser.parsenext(httpparser.java:748)
   at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:219)
   at org.mortbay.jetty.httpconnection.handle(httpconnection.java:404)
   at org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:409)
   at org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:520)
caused by: org.eclipse.birt.report.data.adapter.api.adapterexception: an exception occurred during processing. please see the following message for details:
cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
cannot load jdbc driver class: org.eclipse.birt.report.data.oda.sampledb.driver (classic models inc. sampledb driver).
   at org.eclipse.birt.report.data.adapter.impl.datarequestsessionimpl.execute(datarequestsessionimpl.java:580)
   at org.eclipse.birt.report.engine.data.dte.dtedataengine.doexecutequery(dtedataengine.java:152)
   at org.eclipse.birt.report.engine.data.dte.datagenerationengine.doexecutequery(datagenerationengine.java:74)
   at org.eclipse.birt.report.engine.data.dte.abstractdataengine.execute(abstractdataengine.java:265)
   at org.eclipse.birt.report.engine.executor.executioncontext.executequery(executioncontext.java:1875)
   at org.eclipse.birt.report.engine.executor.queryitemexecutor.executequery(queryitemexecutor.java:80)
... 63 more
caused by: org.eclipse.birt.data.engine.core.dataexception: cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
cannot load jdbc driver class: org.eclipse.birt.report.data.oda.sampledb.driver (classic models inc. sampledb driver).
   at org.eclipse.birt.data.engine.odaconsumer.connectionmanager.openconnection(connectionmanager.java:177)
   at org.eclipse.birt.data.engine.executor.datasource.newconnection(datasource.java:190)
   at org.eclipse.birt.data.engine.executor.datasource.open(datasource.java:178)
   at org.eclipse.birt.data.engine.impl.datasourceruntime.openodidatasource(datasourceruntime.java:208)
   at org.eclipse.birt.data.engine.impl.queryexecutor.opendatasource(queryexecutor.java:396)
   at org.eclipse.birt.data.engine.impl.queryexecutor.prepareexecution(queryexecutor.java:315)
   at org.eclipse.birt.data.engine.impl.preparedquery.doprepare(preparedquery.java:448)
   at org.eclipse.birt.data.engine.impl.prepareddatasourcequery.producequeryresults(prepareddatasourcequery.java:190)
   at org.eclipse.birt.data.engine.impl.prepareddatasourcequery.execute(prepareddatasourcequery.java:178)
   at org.eclipse.birt.data.engine.impl.preparedodadsquery.execute(preparedodadsquery.java:145)
   at org.eclipse.birt.report.data.adapter.impl.datarequestsessionimpl.execute(datarequestsessionimpl.java:560)
... 68 more
caused by: org.eclipse.birt.report.data.oda.jdbc.jdbcexception: cannot load jdbc driver class: org.eclipse.birt.report.data.oda.sampledb.driver (classic models inc. sampledb driver).
   at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.finddriver(jdbcdrivermanager.java:760)
   at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.registerdriver(jdbcdrivermanager.java:879)
   at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.loadandregisterdriver(jdbcdrivermanager.java:862)
   at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.doconnect(jdbcdrivermanager.java:246)
   at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.getconnection(jdbcdrivermanager.java:212)
   at org.eclipse.birt.report.data.oda.jdbc.connection.connectbyurl(connection.java:234)
   at org.eclipse.birt.report.data.oda.jdbc.connection.open(connection.java:160)
   at org.eclipse.datatools.connectivity.oda.consumer.helper.odaconnection.open(odaconnection.java:239)
   at org.eclipse.birt.data.engine.odaconsumer.connectionmanager.openconnection(connectionmanager.java:165)
... 78 more
the driver class should be "org.eclipse.birt.report.data.oda.sampledb.driver" not "org.eclipse.birt.report.data.oda.sampledb.driver (classic models inc. sampledb driver)". mark it as invalid.
verified