Hi Lasitha,
Thanks for the quick response. I'll try it.

Thank you,

On Fri, Mar 13, 2015 at 3:24 PM, Lasitha Wattaladeniya <lasit...@wso2.com>
wrote:

> Hi Lakshani,
>
> You can build product-is without any other prerequisites. Just check out
> the branch "release-5.1.0" and build.
>
> You'll find the build pack in the
> path ~/path-to-your-git-repo/product-is/modules/distribution/target
> , wso2is-5.1.0-SNAPSHOT.zip. Extract the zip file and run, it should run
> without any prob.
>
> On Fri, Mar 13, 2015 at 3:09 PM, Lakshani Gamage <laksh...@wso2.com>
> wrote:
>
>> Hi,
>> I cloned carbon-identity[1] and product_is[2] from github. I created IS
>> pack using fresh code. When I started carbon server using the fresh pack, I
>> got following exception.
>>
>> log4j:ERROR Could not instantiate appender named "CARBON_MEMORY".
>> log4j:ERROR Could not instantiate class
>> [org.wso2.carbon.logging.service.appender.CarbonMemoryAppender].
>> java.lang.ClassNotFoundException:
>> org.wso2.carbon.logging.service.appender.CarbonMemoryAppender
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>     at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>     at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>     at java.lang.Class.forName0(Native Method)
>>     at java.lang.Class.forName(Class.java:171)
>>     at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)
>>     at
>> org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:327)
>>     at
>> org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:124)
>>     at
>> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:785)
>>     at
>> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
>>     at
>> org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672)
>>     at
>> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
>>     at
>> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
>>     at
>> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
>>     at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
>>     at org.apache.log4j.Logger.getLogger(Logger.java:104)
>>     at
>> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
>>     at
>> org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>     at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>     at
>> org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
>>     at
>> org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
>>     at
>> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
>>     at
>> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
>>     at
>> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
>>     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
>>     at
>> org.wso2.carbon.axis2.internal.Activator.<clinit>(Activator.java:32)
>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>     at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>     at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>     at java.lang.Class.newInstance0(Class.java:357)
>>     at java.lang.Class.newInstance(Class.java:310)
>>     at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
>>     at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
>>     at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
>>     at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
>>     at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>     at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
>>
>> Why am I getting this ?
>>
>> [1] https://github.com/wso2/carbon-identity
>> [2]. https://github.com/wso2/product-is
>>
>> Thank you.
>> --
>> Lakshani Gamage
>>
>> *Software Engineer*
>> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.blogspot.com
>



-- 
Lakshani Gamage

*Software Engineer*
Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to