If App Manager and DAS are running on the same machine, follow this step. Set Offset value to 3 in <DAS_HOME>/repository/conf/carbon.xml.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Specify the datasource definition in the <DAS_HOME>/repository/conf/datasources/master-datasources.xml to connect early created APPM_STATS_DB database.
<datasource>
<name>WSO2AM_STATS_DB</name>
<description>The datasource used for setting statistics to APP Manager</description>
<jndiConfig>
<name>jdbc/WSO2AM_STATS_DB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:mysql://localhost:3306/APPM_STATS_DB?autoReconnect=true</url>
<username>db_username</username>
<password>db_password</password>
<driverClassName>com.mysql.jdbc.Driver</driverClassName>
<maxActive>50</maxActive>
<maxWait>60000</maxWait>
<testOnBorrow>true</testOnBorrow>
<defaultAutoCommit>false</defaultAutoCommit>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
</configuration>
</definition>
</datasource> Note : Auto Commit option should be disable when working with DAS.
Copy the database driver to<DAS_HOME>/repository/components/lib folders.
Restart DAS server.
Login to DAS Admin console.
Navigate to Home > Manage > Carbon Applications > Add and upload the .car file
Configuring WSO2 App Manager
Change following configurations in <APPM_HOME>/repository/conf/app-manager.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can i create sample project which uses wso2 DSS, wso2 DAS?
ReplyDelete