Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-23 Thread Pulasthi Supun
Hi Kasun

Working on a support issue right now. will take look in a little while.

Regards
Pulasthi.


On Tue, Jul 23, 2013 at 1:37 PM, Kasun Gajasinghe  wrote:

> Hi Pulasthi,
>
> Did you get a chance to look in to the latter issue?
>
> Thanks,
> KasunG
>
>
> On Sat, Jul 20, 2013 at 2:45 PM, Shameera Rathnayaka wrote:
>
>> Hi Pulasthi,
>>
>> On Fri, Jul 19, 2013 at 10:25 PM, Pulasthi Supun wrote:
>>
>>> Hi Shameera
>>>
>>> This seems to be due to a missing tenant Domain information in the
>>> thread from what i can understand from the error log.
>>>
>>
>> Yes that was the issue with caching, and i fixed that. As I have
>> explained in my previous reply, now only two test failures are there and
>> one is due to Configuration registry not found. It would be great if you
>> can check that.
>>
>> Thanks,
>> Shameera.
>>
>>
>>
>>>
>>>
>>> On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka 
>>> wrote:
>>>
 Hi,

 Caching issues have been fixed with revision 178732, Now test failure
 count is 1 and it is registry related issue. As i found following code
 segment return configRegistry value as null, this will cause to throw an
 AxisFault. Any idea how to fix this?


 configRegistry =
 (Registry)
 PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
 TransportPM

 getRegistry(RegistryType.SYSTEM_CONFIGURATION)

 if (configRegistry == null) {
 throw new AxisFault("Configuration Registry is not
 available");
 }

 Thanks,
 Shameera.


 On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe wrote:

> Hi Asela, Shameera,
>
> Yes, and this issue is fixed.. But still the service-mgt and
> module-mgt tests fail which is related to caching+registry. We should take
> a full update and build to make sure that issue is really there.
>
> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
> add the root collection to the coreRegistry.
> at
> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
> at
> org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
> at
> org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
> at
> org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
> at junit.framework.TestCase.runBare(TestCase.java:128)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
> at
> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
> at
> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> 

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-23 Thread Kasun Gajasinghe
Hi Pulasthi,

Did you get a chance to look in to the latter issue?

Thanks,
KasunG


On Sat, Jul 20, 2013 at 2:45 PM, Shameera Rathnayaka wrote:

> Hi Pulasthi,
>
> On Fri, Jul 19, 2013 at 10:25 PM, Pulasthi Supun wrote:
>
>> Hi Shameera
>>
>> This seems to be due to a missing tenant Domain information in the thread
>> from what i can understand from the error log.
>>
>
> Yes that was the issue with caching, and i fixed that. As I have explained
> in my previous reply, now only two test failures are there and one is due
> to Configuration registry not found. It would be great if you can check
> that.
>
> Thanks,
> Shameera.
>
>
>
>>
>>
>> On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka 
>> wrote:
>>
>>> Hi,
>>>
>>> Caching issues have been fixed with revision 178732, Now test failure
>>> count is 1 and it is registry related issue. As i found following code
>>> segment return configRegistry value as null, this will cause to throw an
>>> AxisFault. Any idea how to fix this?
>>>
>>>
>>> configRegistry =
>>> (Registry)
>>> PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
>>> TransportPM
>>>
>>> getRegistry(RegistryType.SYSTEM_CONFIGURATION)
>>>
>>> if (configRegistry == null) {
>>> throw new AxisFault("Configuration Registry is not
>>> available");
>>> }
>>>
>>> Thanks,
>>> Shameera.
>>>
>>>
>>> On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe wrote:
>>>
 Hi Asela, Shameera,

 Yes, and this issue is fixed.. But still the service-mgt and module-mgt
 tests fail which is related to caching+registry. We should take a full
 update and build to make sure that issue is really there.

 org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
 add the root collection to the coreRegistry.
 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
 at
 org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
 at
 org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
 at
 org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
 at junit.framework.TestCase.runBare(TestCase.java:128)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:120)
 at junit.framework.TestSuite.runTest(TestSuite.java:230)
 at junit.framework.TestSuite.run(TestSuite.java:225)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
 at
 org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
 at
 org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
 at
 org.apache.maven.surefire.booter.ProviderFactory.invok

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-20 Thread Shameera Rathnayaka
Hi Pulasthi,

On Fri, Jul 19, 2013 at 10:25 PM, Pulasthi Supun  wrote:

> Hi Shameera
>
> This seems to be due to a missing tenant Domain information in the thread
> from what i can understand from the error log.
>

Yes that was the issue with caching, and i fixed that. As I have explained
in my previous reply, now only two test failures are there and one is due
to Configuration registry not found. It would be great if you can check
that.

Thanks,
Shameera.



>
>
> On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka wrote:
>
>> Hi,
>>
>> Caching issues have been fixed with revision 178732, Now test failure
>> count is 1 and it is registry related issue. As i found following code
>> segment return configRegistry value as null, this will cause to throw an
>> AxisFault. Any idea how to fix this?
>>
>>
>> configRegistry =
>> (Registry)
>> PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
>> TransportPM
>> getRegistry(RegistryType.SYSTEM_CONFIGURATION)
>>
>> if (configRegistry == null) {
>> throw new AxisFault("Configuration Registry is not
>> available");
>> }
>>
>> Thanks,
>> Shameera.
>>
>>
>> On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe wrote:
>>
>>> Hi Asela, Shameera,
>>>
>>> Yes, and this issue is fixed.. But still the service-mgt and module-mgt
>>> tests fail which is related to caching+registry. We should take a full
>>> update and build to make sure that issue is really there.
>>>
>>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
>>> add the root collection to the coreRegistry.
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
>>> at
>>> org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
>>> at
>>> org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
>>> at junit.framework.TestCase.runBare(TestCase.java:128)
>>> at junit.framework.TestResult$1.protect(TestResult.java:106)
>>> at junit.framework.TestResult.runProtected(TestResult.java:124)
>>> at junit.framework.TestResult.run(TestResult.java:109)
>>> at junit.framework.TestCase.run(TestCase.java:120)
>>> at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>> at junit.framework.TestSuite.run(TestSuite.java:225)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
>>> at
>>> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
>>> at
>>> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>>> Caused 

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Shameera Rathnayaka
Hi,

Caching issues have been fixed with revision 178732, Now test failure count
is 1 and it is registry related issue. As i found following code segment
return configRegistry value as null, this will cause to throw an AxisFault.
Any idea how to fix this?


configRegistry =
(Registry)
PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
TransportPM
getRegistry(RegistryType.SYSTEM_CONFIGURATION)

if (configRegistry == null) {
throw new AxisFault("Configuration Registry is not available");
}

Thanks,
Shameera.


On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe  wrote:

> Hi Asela, Shameera,
>
> Yes, and this issue is fixed.. But still the service-mgt and module-mgt
> tests fail which is related to caching+registry. We should take a full
> update and build to make sure that issue is really there.
>
> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add
> the root collection to the coreRegistry.
> at
> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
> at
> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
> at
> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
> at
> org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
> at
> org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
> at
> org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
> at junit.framework.TestCase.runBare(TestCase.java:128)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
> at
> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
> at
> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: java.lang.NullPointerException
> at
> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
> at
> org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)
> at
> org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289)
> at
> org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283)
> at
> org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298)
> at
> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCR

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Pulasthi Supun
Hi Shameera

This seems to be due to a missing tenant Domain information in the thread
from what i can understand from the error log.


On Fri, Jul 19, 2013 at 9:31 PM, Shameera Rathnayaka wrote:

> Hi,
>
> Caching issues have been fixed with revision 178732, Now test failure
> count is 1 and it is registry related issue. As i found following code
> segment return configRegistry value as null, this will cause to throw an
> AxisFault. Any idea how to fix this?
>
>
> configRegistry =
> (Registry)
> PrivilegedCarbonContext.getCurrentContext(axisConfig).  //needed for
> TransportPM
> getRegistry(RegistryType.SYSTEM_CONFIGURATION)
>
> if (configRegistry == null) {
> throw new AxisFault("Configuration Registry is not available");
> }
>
> Thanks,
> Shameera.
>
>
> On Fri, Jul 19, 2013 at 2:34 PM, Kasun Gajasinghe  wrote:
>
>> Hi Asela, Shameera,
>>
>> Yes, and this issue is fixed.. But still the service-mgt and module-mgt
>> tests fail which is related to caching+registry. We should take a full
>> update and build to make sure that issue is really there.
>>
>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add
>> the root collection to the coreRegistry.
>> at
>> org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
>> at
>> org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
>> at
>> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
>> at
>> org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
>> at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
>> at
>> org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
>> at
>> org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
>> at
>> org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
>> at junit.framework.TestCase.runBare(TestCase.java:128)
>> at junit.framework.TestResult$1.protect(TestResult.java:106)
>> at junit.framework.TestResult.runProtected(TestResult.java:124)
>> at junit.framework.TestResult.run(TestResult.java:109)
>> at junit.framework.TestCase.run(TestCase.java:120)
>> at junit.framework.TestSuite.runTest(TestSuite.java:230)
>> at junit.framework.TestSuite.run(TestSuite.java:225)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
>> at
>> org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
>> at
>> org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>> Caused by: java.lang.NullPointerException
>> at
>> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
>> at
>> org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)
>>
>
This is caused because of missing tenant Domain information.

Regards.
Pulasthi

> at
>> org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:2

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Kasun Gajasinghe
Hi Asela, Shameera,

Yes, and this issue is fixed.. But still the service-mgt and module-mgt
tests fail which is related to caching+registry. We should take a full
update and build to make sure that issue is really there.

org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add
the root collection to the coreRegistry.
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:399)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:299)
at
org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:226)
at
org.wso2.carbon.registry.core.session.UserRegistry.(UserRegistry.java:205)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:276)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:262)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:219)
at
org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.(InMemoryEmbeddedRegistryService.java:61)
at
org.wso2.carbon.service.mgt.BaseTestCase.setUp(BaseTestCase.java:56)
at
org.wso2.carbon.service.mgt.TestServiceGroupAdmin.setUp(TestServiceGroupAdmin.java:46)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
at
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:121)
at
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at
org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283)
at
org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:630)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:357)
... 34 more
Caused by: java.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at
org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:78)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:289)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:283)
at
org.wso2.ca

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Asela Pathberiya
Yes...  this error is due,  svn externals are not properly  updated in
these components and they were still pointed to 4.0.0 branch...  However
when you see the "user manager" name in an error, Please do not think, it
is always an issue with our user kernel :D... It is always great,  if you
could investigate more. :)

Thanks,
Asela.


On Fri, Jul 19, 2013 at 2:18 PM, Kasun Gajasinghe  wrote:

> Hi,
>
> This particular issue is fixed..
>
>
> On Fri, Jul 19, 2013 at 2:05 PM, Prabath Siriwardena wrote:
>
>> Shameera please talk directly to Darshana or IS team..
>>
>> Thanks...
>>
>> Sent from my mobile device
>>
>> On Jul 19, 2013, at 1:13 PM, Shameera Rathnayaka 
>> wrote:
>>
>> Hi,
>>
>> Module mgt component test also effect this. Is it possible to know who is
>> looking this issue in IS team?
>>
>> ---
>>  T E S T S
>> ---
>> Running org.wso2.carbon.module.mgt.service.TestModuleAdminService
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.544 sec
>> <<< FAILURE!
>>
>> Results :
>>
>> Tests in error:
>>
>> testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
>> Failed to initialize the user manager. Error while reading realm
>> configuration from file
>>
>> testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
>> Failed to initialize the user manager. Error while reading realm
>> configuration from file
>>
>> testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
>> Failed to initialize the user manager. Error while reading realm
>> configuration from file
>>
>> testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
>> Failed to initialize the user manager. Error while reading realm
>> configuration from file
>>
>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
>>
>>
>>
>> On Fri, Jul 19, 2013 at 11:30 AM, Shameera Rathnayaka 
>> wrote:
>>
>>> Please note $Subject, If this has been fixed please mention in which
>>> components.
>>>
>>> ---
>>>  T E S T S
>>> ---
>>> Running org.wso2.carbon.service.mgt.TestServiceAdmin
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528
>>> sec <<< FAILURE!
>>> Running org.wso2.carbon.service.mgt.TestPolicyUtil
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267
>>> sec <<< FAILURE!
>>> Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013
>>> sec <<< FAILURE!
>>> Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
>>> log4j:WARN No appenders could be found for logger
>>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>>> log4j:WARN Please initialize the log4j system properly.
>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352
>>> sec <<< FAILURE!
>>>
>>> Results :
>>>
>>> Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin):
>>> Failed to initialize the registry. Caused by: Failed to initialize the user
>>> manager. Error while reading realm configuration from file
>>>   testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to
>>> initialize the registry. Caused by: Failed to initialize the user manager.
>>> Error while reading realm configuration from file
>>>   testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed
>>> to initialize the registry. Caused by: Failed to initialize the user
>>> manager. Error while reading realm configuration from file
>>>   testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator):
>>> Failed to initialize the registry. Caused by: Failed to initialize the user
>>> manager. Error while reading realm configuration from file
>>>
>>> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>>>
>>>
>>> --
>>> *Software Engineer - WSO2 Inc.*
>>> *email: shameera AT wso2.com  , shameera AT
>>> apache.org *
>>> *phone:  +9471 922 1454*
>>> *
>>> *
>>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>>> *Twitter : *https://twitter.com/Shameera_R
>>>
>>
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Kasun Gajasinghe
Hi,

This particular issue is fixed..


On Fri, Jul 19, 2013 at 2:05 PM, Prabath Siriwardena wrote:

> Shameera please talk directly to Darshana or IS team..
>
> Thanks...
>
> Sent from my mobile device
>
> On Jul 19, 2013, at 1:13 PM, Shameera Rathnayaka 
> wrote:
>
> Hi,
>
> Module mgt component test also effect this. Is it possible to know who is
> looking this issue in IS team?
>
> ---
>  T E S T S
> ---
> Running org.wso2.carbon.module.mgt.service.TestModuleAdminService
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.544 sec
> <<< FAILURE!
>
> Results :
>
> Tests in error:
>
> testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
>
>
>
> On Fri, Jul 19, 2013 at 11:30 AM, Shameera Rathnayaka 
> wrote:
>
>> Please note $Subject, If this has been fixed please mention in which
>> components.
>>
>> ---
>>  T E S T S
>> ---
>> Running org.wso2.carbon.service.mgt.TestServiceAdmin
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestPolicyUtil
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec
>> <<< FAILURE!
>>
>> Results :
>>
>> Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin):
>> Failed to initialize the registry. Caused by: Failed to initialize the user
>> manager. Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to
>> initialize the registry. Caused by: Failed to initialize the user manager.
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed to
>> initialize the registry. Caused by: Failed to initialize the user manager.
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator):
>> Failed to initialize the registry. Caused by: Failed to initialize the user
>> manager. Error while reading realm configuration from file
>>
>> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com  , shameera AT 
>> apache.org
>> *
>> *phone:  +9471 922 1454*
>> *
>> *
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter : *https://twitter.com/Shameera_R
>>
>
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com  , shameera AT 
> apache.org
> *
> *phone:  +9471 922 1454*
> *
> *
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter : *https://twitter.com/Shameera_R
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Shameera Rathnayaka
Hi Prabath,

On Fri, Jul 19, 2013 at 2:05 PM, Prabath Siriwardena wrote:

> Shameera please talk directly to Darshana or IS team..
>

great, will contact them.

Thanks,
Shameera.


>
> Thanks...
>
> Sent from my mobile device
>
> On Jul 19, 2013, at 1:13 PM, Shameera Rathnayaka 
> wrote:
>
> Hi,
>
> Module mgt component test also effect this. Is it possible to know who is
> looking this issue in IS team?
>
> ---
>  T E S T S
> ---
> Running org.wso2.carbon.module.mgt.service.TestModuleAdminService
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.544 sec
> <<< FAILURE!
>
> Results :
>
> Tests in error:
>
> testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
>
>
>
> On Fri, Jul 19, 2013 at 11:30 AM, Shameera Rathnayaka 
> wrote:
>
>> Please note $Subject, If this has been fixed please mention in which
>> components.
>>
>> ---
>>  T E S T S
>> ---
>> Running org.wso2.carbon.service.mgt.TestServiceAdmin
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestPolicyUtil
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013 sec
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
>> log4j:WARN No appenders could be found for logger
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec
>> <<< FAILURE!
>>
>> Results :
>>
>> Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin):
>> Failed to initialize the registry. Caused by: Failed to initialize the user
>> manager. Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to
>> initialize the registry. Caused by: Failed to initialize the user manager.
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed to
>> initialize the registry. Caused by: Failed to initialize the user manager.
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator):
>> Failed to initialize the registry. Caused by: Failed to initialize the user
>> manager. Error while reading realm configuration from file
>>
>> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>>
>>
>> --
>> *Software Engineer - WSO2 Inc.*
>> *email: shameera AT wso2.com  , shameera AT 
>> apache.org
>> *
>> *phone:  +9471 922 1454*
>> *
>> *
>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> *Twitter : *https://twitter.com/Shameera_R
>>
>
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com  , shameera AT 
> apache.org
> *
> *phone:  +9471 922 1454*
> *
> *
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter : *https://twitter.com/Shameera_R
>
>


-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT
apache.org
*
*phone:  +9471 922 1454*
*
*
*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___

Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Prabath Siriwardena
Shameera please talk directly to Darshana or IS team..

Thanks...

Sent from my mobile device

On Jul 19, 2013, at 1:13 PM, Shameera Rathnayaka  wrote:

> Hi, 
> 
> Module mgt component test also effect this. Is it possible to know who is 
> looking this issue in IS team? 
> 
> ---
>  T E S T S
> ---
> Running org.wso2.carbon.module.mgt.service.TestModuleAdminService
> log4j:WARN No appenders could be found for logger 
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.544 sec <<< 
> FAILURE!
> 
> Results :
> 
> Tests in error: 
>   
> testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService): 
> Failed to initialize the user manager. Error while reading realm 
> configuration from file
>   
> testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
>  Failed to initialize the user manager. Error while reading realm 
> configuration from file
>   
> testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService): 
> Failed to initialize the user manager. Error while reading realm 
> configuration from file
>   testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService): 
> Failed to initialize the user manager. Error while reading realm 
> configuration from file
> 
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
> 
> 
> 
> On Fri, Jul 19, 2013 at 11:30 AM, Shameera Rathnayaka  
> wrote:
>> Please note $Subject, If this has been fixed please mention in which 
>> components. 
>> 
>> ---
>>  T E S T S
>> ---
>> Running org.wso2.carbon.service.mgt.TestServiceAdmin
>> log4j:WARN No appenders could be found for logger 
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec 
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestPolicyUtil
>> log4j:WARN No appenders could be found for logger 
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec 
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
>> log4j:WARN No appenders could be found for logger 
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013 sec 
>> <<< FAILURE!
>> Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
>> log4j:WARN No appenders could be found for logger 
>> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
>> log4j:WARN Please initialize the log4j system properly.
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec 
>> <<< FAILURE!
>> 
>> Results :
>> 
>> Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin): 
>> Failed to initialize the registry. Caused by: Failed to initialize the user 
>> manager. Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to 
>> initialize the registry. Caused by: Failed to initialize the user manager. 
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed to 
>> initialize the registry. Caused by: Failed to initialize the user manager. 
>> Error while reading realm configuration from file
>>   testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator): 
>> Failed to initialize the registry. Caused by: Failed to initialize the user 
>> manager. Error while reading realm configuration from file
>> 
>> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>> 
>> 
>> -- 
>> Software Engineer - WSO2 Inc.
>> email: shameera AT wso2.com , shameera AT apache.org
>> phone:  +9471 922 1454
>> 
>> Linked in : http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>> Twitter : https://twitter.com/Shameera_R
> 
> 
> 
> -- 
> Software Engineer - WSO2 Inc.
> email: shameera AT wso2.com , shameera AT apache.org
> phone:  +9471 922 1454
> 
> Linked in : http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> Twitter : https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-19 Thread Shameera Rathnayaka
Hi,

Module mgt component test also effect this. Is it possible to know who is
looking this issue in IS team?

---
 T E S T S
---
Running org.wso2.carbon.module.mgt.service.TestModuleAdminService
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.544 sec
<<< FAILURE!

Results :

Tests in error:

testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
Failed to initialize the user manager. Error while reading realm
configuration from file

testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
Failed to initialize the user manager. Error while reading realm
configuration from file

testEngageModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
Failed to initialize the user manager. Error while reading realm
configuration from file

testModuleStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService):
Failed to initialize the user manager. Error while reading realm
configuration from file

Tests run: 4, Failures: 0, Errors: 4, Skipped: 0



On Fri, Jul 19, 2013 at 11:30 AM, Shameera Rathnayaka wrote:

> Please note $Subject, If this has been fixed please mention in which
> components.
>
> ---
>  T E S T S
> ---
> Running org.wso2.carbon.service.mgt.TestServiceAdmin
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec
> <<< FAILURE!
> Running org.wso2.carbon.service.mgt.TestPolicyUtil
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
> <<< FAILURE!
> Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013 sec
> <<< FAILURE!
> Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec
> <<< FAILURE!
>
> Results :
>
> Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin):
> Failed to initialize the registry. Caused by: Failed to initialize the user
> manager. Error while reading realm configuration from file
>   testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to
> initialize the registry. Caused by: Failed to initialize the user manager.
> Error while reading realm configuration from file
>   testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed to
> initialize the registry. Caused by: Failed to initialize the user manager.
> Error while reading realm configuration from file
>   testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator):
> Failed to initialize the registry. Caused by: Failed to initialize the user
> manager. Error while reading realm configuration from file
>
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0
>
>
> --
> *Software Engineer - WSO2 Inc.*
> *email: shameera AT wso2.com  , shameera AT 
> apache.org
> *
> *phone:  +9471 922 1454*
> *
> *
> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
> *Twitter : *https://twitter.com/Shameera_R
>



-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT
apache.org
*
*phone:  +9471 922 1454*
*
*
*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Test failures in sevice mgt component - Failed to initialize the user manager. Error while reading realm configuration from file

2013-07-18 Thread Shameera Rathnayaka
Please note $Subject, If this has been fixed please mention in which
components.

---
 T E S T S
---
Running org.wso2.carbon.service.mgt.TestServiceAdmin
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec
<<< FAILURE!
Running org.wso2.carbon.service.mgt.TestPolicyUtil
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec
<<< FAILURE!
Running org.wso2.carbon.service.mgt.TestServiceGroupAdmin
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.013 sec
<<< FAILURE!
Running org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec
<<< FAILURE!

Results :

Failed tests:   testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin):
Failed to initialize the registry. Caused by: Failed to initialize the user
manager. Error while reading realm configuration from file
  testSteps(org.wso2.carbon.service.mgt.TestPolicyUtil): Failed to
initialize the registry. Caused by: Failed to initialize the user manager.
Error while reading realm configuration from file
  testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin): Failed to
initialize the registry. Caused by: Failed to initialize the user manager.
Error while reading realm configuration from file
  testSteps(org.wso2.carbon.service.mgt.util.TestServiceArchiveCreator):
Failed to initialize the registry. Caused by: Failed to initialize the user
manager. Error while reading realm configuration from file

Tests run: 4, Failures: 4, Errors: 0, Skipped: 0


-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT
apache.org
*
*phone:  +9471 922 1454*
*
*
*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev