In contrast to the remote Derby, in embedded mode, you will set the database driver name ( the driverName element) to the value org.apache.derby.jdbc.EmbeddedDriver and the database URL (the url element) to the database directory location relative to the ESB installation. In the above sample configuration, it is inside the database/WSO2CARBON_DB directory.