Reputation: 337
I'm unable to add MySQL datasource in the latest ESB 4.8.1. With 4.8.0 it works fine.
Steps to reproduce:
Following error appears:
Could not initialize class org.wso2.carbon.utils.i18n.Messages
Stacktrace here. http://paste.opensuse.org/55128121
Upvotes: 1
Views: 833
Reputation: 2776
This error occurs if your carbon.xml is missing the RegistryKeyStore element. If this error occurs, Add the following xml segment to your carbon.xml under <Security>
element (as a sibling of <KeyStore>
element)
<RegistryKeyStore>
<!-- Keystore file location-->
<Location>${carbon.home}/repository/resources/security/wso2carbon.jks</Location>
<!-- Keystore type (JKS/PKCS12 etc.)-->
<Type>JKS</Type>
<!-- Keystore password-->
<Password>wso2carbon</Password>
<!-- Private Key alias-->
<KeyAlias>wso2carbon</KeyAlias>
<!-- Private Key password-->
<KeyPassword>wso2carbon</KeyPassword>
</RegistryKeyStore>
Upvotes: 1
Reputation: 337
OK this seems to be fixed now. I downloaded the latest 4.8.1.zip package again and problem does not occur anymore. Just for curious I checked md5sum against the original package and the latest one and there was some difference so I believe WSO2 has re-deployed the release.
Upvotes: 0