Please  find the registry.xml

On Sat, Oct 26, 2013 at 9:10 PM, Shelan Perera <[email protected]> wrote:

> Hi,
>
> I think this is the same exception that you need to mount all worker
> manager separated cluster. [1]
>
> [1] https://wso2.org/jira/browse/REGISTRY-1746
>
> Thanks
>
>
> On Sat, Oct 26, 2013 at 8:35 AM, Shelan Perera <[email protected]> wrote:
>
>> Hi Dushan,
>>
>> Did you get this in a mounted setup ? If so could you please share the
>> registry.xml too.
>>
>> Thanks
>>
>>
>> On Sat, Oct 26, 2013 at 8:24 AM, Dushan Abeyruwan <[email protected]>wrote:
>>
>>>  Same reported under [1] @registry team, what would be the possible
>>> cause for this ?
>>>
>>>
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-2574
>>>
>>>
>>> On Sat, Oct 26, 2013 at 8:51 PM, Dushan Abeyruwan <[email protected]>wrote:
>>>
>>>> Hi
>>>>   $subject, can be observed when tenet getting loaded,
>>>>
>>>> ava.lang.RuntimeException: Cannot create tenant ConfigurationContext
>>>> for tenant test.com
>>>>  at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:137)
>>>> at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfiguration(TenantAxisUtils.java:104)
>>>>  at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getAxisService(TenantAxisUtils.java:195)
>>>> at
>>>> org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor.process(PassThroughNHttpGetProcessor.java:292)
>>>>  at
>>>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:156)
>>>> at
>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>>  at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>  at java.lang.Thread.run(Thread.java:662)
>>>> Caused by: java.lang.Exception: Error occurred while running deployment
>>>> for tenant
>>>> at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:359)
>>>>  at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135)
>>>> * ... 8 more*
>>>> *Caused by:
>>>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>>>> Resource does not exist at path
>>>> /_system/config/repository/transports/https/listener*
>>>> * at *
>>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
>>>>  at
>>>> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:181)
>>>> at
>>>> org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
>>>>  at
>>>> org.wso2.carbon.core.transports.TransportPersistenceManager.getTransportResource(TransportPersistenceManager.java:317)
>>>> at
>>>> org.wso2.carbon.core.transports.TransportPersistenceManager.updateEnabledTransports(TransportPersistenceManager.java:248)
>>>>  at
>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:328)
>>>> ... 9 more
>>>>
>>>>
>>>>
>>>> Cheers,
>>>> Dushan Abeyruwan
>>>> Associate Tech Lead
>>>> *Integration Technologies Team*
>>>> *WSO2 Inc. http://wso2.com/*
>>>> *Mobile:(+94)714408632*
>>>>
>>>
>>>
>>>
>>> --
>>> Dushan Abeyruwan
>>> Associate Tech Lead
>>> *Integration Technologies Team*
>>> *WSO2 Inc. http://wso2.com/*
>>> *Mobile:(+94)714408632*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Shelan Perera*
>>
>> Senior Software Engineer
>> **
>> Integration Technology Group
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Blog*             :   blog.shelan.org
>> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter*         :    https://twitter.com/#!/shelan
>>
>> *Mobile*          : +94 772 604 402
>>
>>
>
>
> --
> *Shelan Perera*
>
> Senior Software Engineer
> **
> Integration Technology Group
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Blog*             :   blog.shelan.org
> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter*         :    https://twitter.com/#!/shelan
>
> *Mobile*          : +94 772 604 402
>
>


-- 
Dushan Abeyruwan
Associate Tech Lead
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/*
*Mobile:(+94)714408632*
<?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="mounted_registry">
        <dataSource>jdbc/WSO2CarbonDBMYSQL</dataSource>
    </dbConfig>

   <!--<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-->

    <remoteInstance url="https://localhost:9444/registry";>
        <id>esb-mount</id>
        <dbConfig>mounted_registry</dbConfig>
        <readOnly>false</readOnly>
        <enableCache>true</enableCache>
        <registryRoot>/</registryRoot>
    </remoteInstance>

    <mount overwrite="true" path="/_system/governance">
	<instanceId>esb-mount</instanceId>
	<targetPath>/_system/gov-480</targetPath>
     </mount>

     <mount overwrite="true" path="/_system/config">
	<instanceId>esb-mount</instanceId>
	<targetPath>/_system/conf-480</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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to