Mustafa
No those parameters are for the application server credentials. I am
interested in how I can define credentials for the database schema username
and password.
I do not understand what you mean by "the database schema username and
password"...
Add these two parameters in the axis2.xml file under your connection
factory:
<parameter name="java.naming.security.principal"
locked="false">MyChannelDemoUser</parameter>
<parameter name="java.naming.security.credentials"
locked="false">MyChannelDemoPassword</parameter>
I think the above should solve your connection problem
asankha