Hi Azeez, I don't get this error. As I've explained in the other thread on our test framework, different people get different errors when running the tests :(. Will try to stabilize it.
Thanks, ~Isuru On Wed, Mar 16, 2011 at 7:50 PM, Afkham Azeez <az...@wso2.com> wrote: > testTemplate(org.wso2.carbon.authenticator.test.LoginTest) Time elapsed: > 6.785 sec <<< ERROR! > java.lang.ExceptionInInitializerError > at > org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:224) > at > org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:142) > at > org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) > at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) > at > org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) > at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) > at > org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) > at > org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) > at org.apache.log4j.Category.callAppenders(Category.java:203) > at org.apache.log4j.Category.forcedLog(Category.java:388) > at org.apache.log4j.Category.log(Category.java:853) > at > org.apache.commons.logging.impl.Log4JLogger.fatal(Log4JLogger.java:280) > at > org.wso2.carbon.base.ServerConfiguration.init(ServerConfiguration.java:159) > at > org.wso2.carbon.integration.core.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:44) > at > org.wso2.carbon.integration.core.ServerUtils.startServerUsingCarbonZip(ServerUtils.java:66) > at > org.wso2.carbon.integration.core.CarbonIntegrationTestCase.setUp(CarbonIntegrationTestCase.java:59) > 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:213) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) > at org.apache.maven.surefire.Surefire.run(Surefire.java:177) > 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) > Caused by: java.lang.RuntimeException: Unable to initialize the cache > manager. > at > org.wso2.carbon.utils.multitenancy.CarbonContextHolder.<clinit>(CarbonContextHolder.java:143) > ... 37 more > Caused by: net.sf.jsr107cache.CacheException: Cache configuration file > (cache.xml) does not exist in the path > /Users/azeez/projects/wso2/org/trunk/carbon2/products/appserver/modules/integration/org.wso2.carbon.authentication.login.test/target/./carbontmp/wso2appserver-4.1.0-SNAPSHOT/repository/conf/cache.xml > at > org.wso2.carbon.caching.core.CacheConfiguration.load(CacheConfiguration.java:111) > at > org.wso2.carbon.utils.multitenancy.CarbonContextHolder.<clinit>(CarbonContextHolder.java:137) > ... 37 more > Caused by: java.io.FileNotFoundException: > /Users/azeez/projects/wso2/org/trunk/carbon2/products/appserver/modules/integration/org.wso2.carbon.authentication.login.test/target/./carbontmp/wso2appserver-4.1.0-SNAPSHOT/repository/conf/cache.xml > (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:106) > at > org.wso2.carbon.caching.core.CacheConfiguration.load(CacheConfiguration.java:109) > ... 38 more > Caused by: java.lang.RuntimeException: Unable to initialize the cache > manager. > at > org.wso2.carbon.utils.multitenancy.CarbonContextHolder.<clinit>(CarbonContextHolder.java:143) > ... 37 more > Caused by: net.sf.jsr107cache.CacheException: Cache configuration file > (cache.xml) does not exist in the path > /Users/azeez/projects/wso2/org/trunk/carbon2/products/appserver/modules/integration/org.wso2.carbon.authentication.login.test/target/./carbontmp/wso2appserver-4.1.0-SNAPSHOT/repository/conf/cache.xml > at > org.wso2.carbon.caching.core.CacheConfiguration.load(CacheConfiguration.java:111) > at > org.wso2.carbon.utils.multitenancy.CarbonContextHolder.<clinit>(CarbonContextHolder.java:137) > ... 37 more > Caused by: java.io.FileNotFoundException: > /Users/azeez/projects/wso2/org/trunk/carbon2/products/appserver/modules/integration/org.wso2.carbon.authentication.login.test/target/./carbontmp/wso2appserver-4.1.0-SNAPSHOT/repository/conf/cache.xml > (No such file or directory) > > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- Isuru Suriarachchi Technical Lead & Product Manager, WSO2 Application Server WSO2 Inc. http://wso2.com email : is...@wso2.com blog : http://isurues.wordpress.com/ lean . enterprise . middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev