Table of Contents |
---|
...
The memory allocation settings are in <APIM_HOME>/bin/wso2server.sh
file.
...
Clustering and deployment questions
...
If your identity provider is not WSO2 Identity Server, then you can , this facility comes out of the box. If not, install the identity-mgt feature in to the API Manager and configure it. For information, see Account Lock/Unlock page in the Identity Server documentation.
...
Functionality questions
How do I change the default admin password and what files should I edit after changing it?
To change the default admin password, log in to the management console with admin/admin credentials and use the "Change my password" option. After changing the password, change the following elements in <APIM_HOME>repository/comfconf/api-manager.xml
file:
Code Block | ||
---|---|---|
| ||
<AuthManager> <Username>admin</Username> <Password>newpassword</Password> </AuthManager> <APIGateway> <Username>admin</Username> <Password>newpassword</Password> </APIGateway> <APIKeyManager> <Username>admin</Username> <Password>newpassword</Password> </APIKeyManager> |
...
Use <APIM_HOME>/bin/chpasswd.sh
script.
Troubleshooting
...
questions
Anchor | ||||
---|---|---|---|---|
|
...
In JDK 1.7.0_45, all XML readers share the same XMLSecurityManager
and XMLLimitAnalyzer
. When the total count of all readers hits the entity expansion limit, which is 64000 by default, the XMLLimitanalyzer's total counter is accumulated and the XMLInputFactory
cannot create more readers. If you still want to use update 45 of the JDK, try restarting the server with a higher value assigned to the DentityExpansionLimit.
When I call a REST API, I find that a lot of temporary files are created in my server and they are not cleared. This takes up a lot of space. What should I do?
There might be multiple configuration context objects created per each API invocation. Please check whether your client is creating a configuration context object per each API invocation. Also, configure a HouseKeeping task in the <APIM_HOME>/repository/conf/carbon.xml
file to clear the temporary folders. For example.
Code Block | ||
---|---|---|
| ||
<HouseKeeping> <AutoStart>true</AutoStart> <!-- The interval in *minutes*, between house-keeping runs --> <Interval>10</Interval> <!-- The maximum time in *minutes*, temp files are allowed to live in the system. Files/directories which were modified more than "MaxTempFileLifetime" minutes ago will be removed by the house-keeping task --> <MaxTempFileLifetime>30</MaxTempFileLifetime> </HouseKeeping> |
General technology questions
...