1
votes

I am trying to browse local H2 db for WSO2 api manager. I made the change in the WSO2_HOME/repository/conf/carbon.xml. I added below configuration.

<H2DatabaseConfiguration>
    <property name="web"/>
    <property name="webPort">8082</property>
    <property name="webAllowOthers"/>       
</H2DatabaseConfiguration>

After I restart WSO2 api server the change in the file WSO2_HOME/repository/conf/carbon.xml gets lost. As a result I am not able to connect to H2 db. I am working on version WSO2 3.0.0.

1

1 Answers

0
votes

In WSO2 APIM 3.0.0, the configuration model is different. You need to add the following to ../repository/conf/deployment.toml

[database_configuration]
enable_h2_console = true

Ref: https://apim.docs.wso2.com/en/latest/Reference/ConfigCatalog/#enabling-the-h2-database-console