EWS contains ASF Tomcat6 and Tomcat5.5 which one are you using?
I am using Tomcat6.
"1 .How do I create a profile?"
I guess you mean server/all, server/default etc:
you have to use CATALINA_BASE / CATALINA_HOME See http://tomcat.apache.org/tomcat-6.0-doc/setup.html
"2 - What changes do I have to do for datasource creation?"
Look to the Tomcat6 documentation.
What do you want to do?
We want to register our jdbc driver.
In WAS we have a UI where we configure jdbc driver.
EWS does not have any UIs as such, so where do I make configuration changes. We are automating following operations in our application for EWS -
1. Profile creation.
2. Datasource creation.