Hi All, I observed following error[1] intermittently when try to invoke a proxy service created on a tenant space. I see this issue has reported few times earlier as well but dropped mentioning as occurs due to registry config issue. In this cluster i have mounted registry correctly(attached configs) so It seams there is some issue on platform level.
Please have a look. *Cluster Details:* niginx fronted 1 Manager/ 2 worker node ESB cluster, each node runs on separate machines. Local registry mounted to H2 Config and Governance registry mounted on a Mysql Database Config and Gov registry shared properly(check the attached configs) *Steps followed:* 1. Created a new tenant and logged in to that tenant 2. Deployed new pass through proxy service 3. Using SOAPUI tried to invoke the created proxy service [1] TID: [0] [ESB] [2015-03-09 13:01:56,064] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {test2.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor} TID: [0] [ESB] [2015-03-09 13:01:56,091] ERROR {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Error while updating wso2carbon-sts in STSDeploymentInterceptor {org.wso2.carbon.core.deployment.DeploymentInterceptor} java.lang.SecurityException: Key Store with a name : test2-com.jks does not exist. at org.wso2.carbon.core.util.KeyStoreManager.getKeyStore(KeyStoreManager.java:157) at org.wso2.carbon.sts.STSDeploymentInterceptor.updateSTSService(STSDeploymentInterceptor.java:144) at org.wso2.carbon.sts.STSDeploymentInterceptor.serviceUpdate(STSDeploymentInterceptor.java:76) at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:666) at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:420) at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:602) at org.wso2.carbon.sts.STSDeploymentListener.createService(STSDeploymentListener.java:148) at org.wso2.carbon.sts.STSDeploymentListener.createdConfigurationContext(STSDeploymentListener.java:82) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:344) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135) at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:203) at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:79) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) TID: [0] [ESB] [2015-03-09 13:01:56,091] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: org.wso2.carbon.sts - {org.apache.axis2.deployment.DeploymentEngine} TID: [0] [ESB] [2015-03-09 13:01:56,096] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: wso2carbon-sts {test2.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor} TID: [0] [ESB] [2015-03-09 13:01:56,110] ERROR {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Error while updating wso2carbon-sts in STSDeploymentInterceptor {org.wso2.carbon.core.deployment.DeploymentInterceptor} java.lang.SecurityException: Key Store with a name : test2-com.jks does not exist. at org.wso2.carbon.core.util.KeyStoreManager.getKeyStore(KeyStoreManager.java:157) at org.wso2.carbon.sts.STSDeploymentInterceptor.updateSTSService(STSDeploymentInterceptor.java:144) at org.wso2.carbon.sts.STSDeploymentInterceptor.serviceUpdate(STSDeploymentInterceptor.java:76) at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:666) at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:420) at org.wso2.carbon.sts.STSDeploymentListener.createdConfigurationContext(STSDeploymentListener.java:85) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:344) at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135) at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:203) at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:79) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <wso2registry> <!-- For details on configuring different config & governance registries see; http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances --> <currentDBConfig>wso2registry</currentDBConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <dbConfig name="wso2registry"> <dataSource>jdbc/WSO2CarbonDB</dataSource> </dbConfig> <dbConfig name="wso2Mount"> <dataSource>jdbc/WSO2RegDB</dataSource> </dbConfig> <remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2Mount</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <cacheId>root@jdbc:mysql://192.168.48.7:3306/esb480sp2regdb</cacheId> </remoteInstance> <mount path="/_system/config" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/esb</targetPath> </mount> <mount path="/_system/governance" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/governance</targetPath> </mount> <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.synapse</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.esb</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.axis2</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.wsas</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/wsdl+xml</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/x-xsd+xml</property> </filter> </handler> --> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <username>username</username> <password>password</password> </remoteInstance--> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2registry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> </remoteInstance--> <!--mount path="/_system/config" overwrite="true|false|virtual"> <instanceId>instanceid</instanceId> <targetPath>/_system/nodes</targetPath> </mount--> <versionResourcesOnChange>true</versionResourcesOnChange> <!-- NOTE: You can edit the options under "StaticConfiguration" only before the startup. --> <staticConfiguration> <versioningProperties>true</versioningProperties> <versioningComments>true</versioningComments> <versioningTags>true</versioningTags> <versioningRatings>true</versioningRatings> </staticConfiguration> </wso2registry>
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <wso2registry> <!-- For details on configuring different config & governance registries see; http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances --> <currentDBConfig>wso2registry</currentDBConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <dbConfig name="wso2registry"> <dataSource>jdbc/WSO2CarbonDB</dataSource> </dbConfig> <dbConfig name="wso2Mount"> <dataSource>jdbc/WSO2RegDB</dataSource> </dbConfig> <remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2Mount</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <cacheId>root@jdbc:mysql://192.168.48.7:3306/esb480sp2regdb</cacheId> </remoteInstance> <mount path="/_system/config" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/esb</targetPath> </mount> <mount path="/_system/governance" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/governance</targetPath> </mount> <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.synapse</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.esb</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.axis2</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.wsas</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/wsdl+xml</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/x-xsd+xml</property> </filter> </handler> --> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <username>username</username> <password>password</password> </remoteInstance--> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2registry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> </remoteInstance--> <!--mount path="/_system/config" overwrite="true|false|virtual"> <instanceId>instanceid</instanceId> <targetPath>/_system/nodes</targetPath> </mount--> <versionResourcesOnChange>true</versionResourcesOnChange> <!-- NOTE: You can edit the options under "StaticConfiguration" only before the startup. --> <staticConfiguration> <versioningProperties>true</versioningProperties> <versioningComments>true</versioningComments> <versioningTags>true</versioningTags> <versioningRatings>true</versioningRatings> </staticConfiguration> </wso2registry>
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <wso2registry> <!-- For details on configuring different config & governance registries see; http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances --> <currentDBConfig>wso2registry</currentDBConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <dbConfig name="wso2registry"> <dataSource>jdbc/WSO2CarbonDB</dataSource> </dbConfig> <dbConfig name="wso2Mount"> <dataSource>jdbc/WSO2RegDB</dataSource> </dbConfig> <remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2Mount</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <cacheId>root@jdbc:mysql://192.168.48.7:3306/esb480sp2regdb</cacheId> </remoteInstance> <mount path="/_system/config" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/esb</targetPath> </mount> <mount path="/_system/governance" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/governance</targetPath> </mount> <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.synapse</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.esb</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.axis2</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/vnd.apache.wsas</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/wsdl+xml</property> </filter> </handler> <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> <property name="mediaType">application/x-xsd+xml</property> </filter> </handler> --> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <username>username</username> <password>password</password> </remoteInstance--> <!--remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>wso2registry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> </remoteInstance--> <!--mount path="/_system/config" overwrite="true|false|virtual"> <instanceId>instanceid</instanceId> <targetPath>/_system/nodes</targetPath> </mount--> <versionResourcesOnChange>true</versionResourcesOnChange> <!-- NOTE: You can edit the options under "StaticConfiguration" only before the startup. --> <staticConfiguration> <versioningProperties>true</versioningProperties> <versioningComments>true</versioningComments> <versioningTags>true</versioningTags> <versioningRatings>true</versioningRatings> </staticConfiguration> </wso2registry>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev