Hi again,
Now i added the driverclassname in datasource tag.
the script now is..
name="DatabaseSample">
<output name="result" type="document"/>
<!-- datasource on this machine -->
<datasource url="jdbc:mysql://pc-p41049:3306/movielib"
driverclassname="com.mysql.jdbc.Driver" username="root"
password="mysql" />
<!-- execute select statement. Result is converted into XML
document -->
<sql query="select * from users" outputvariable="result"/>
<display message="result = " expr="$result//CREATED/string()"/
>
</mashup>
now it is giving me the same error as the one i m getting while
running sql.emml that comes with the sample scripts.
the error is as follows.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
<error>
<errorMessage>1002</errorMessage>
<errorMessage><![CDATA[Could not get JDBC Connection; nested exception
is org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Access denied for user 'root'@'pc-
p41049.patni.com' (using password: YES))]]> </errorMessage>
</error>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks,
Sweta