Hi all,

While going through the code that is used to create the database with
-Dsetup command, I noticed that we can't do it for oracle rac script. [1]
is used to find the database type and the returned type is used to find the
script location in [2]. So the getDatabaseType method does not return a
database type as oracle_rac and hence the oracle_rac script is not picked
up.

Is there any way we can execute oracle rac script and create database at
the server startup?


[1]
https://github.com/wso2/carbon-kernel/blob/master/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java#L233
[2]
https://github.com/wso2/carbon-kernel/blob/master/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java#L344

Thanks,
-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc.

email: [email protected]
mobile: +94718990591
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to