stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bala ajanthan <balaajant...@gmail.com>
Subject Re: NameNotFoundException: jdbc/WSO2CarbonDB While Starting apache-stratos-sc
Date Mon, 06 Jan 2014 09:52:37 GMT
On Mon, Jan 6, 2014 at 1:32 PM, Imesh Gunaratne <imesh@apache.org> wrote:

> Hi Ajanthan,
>
> Great work!! Do we have a JIRA Issue for this? If so it would be great if
> you could attach it to the issue.
>
I have attached to this [0] jira

>
> Thanks
> Imesh
>
>
> On Sun, Jan 5, 2014 at 8:40 PM, bala ajanthan <balaajanthan@gmail.com>wrote:
>
>> I am here attaching the patch for fix
>>
>>
>> On Sun, Jan 5, 2014 at 5:54 PM, Pradeep Fernando <pradeepfn@gmail.com>wrote:
>>
>>> sorry for the noise guys. wrong list. :) ignore above
>>>
>>>
>>> On Sun, Jan 5, 2014 at 5:53 PM, Pradeep Fernando <pradeepfn@gmail.com>wrote:
>>>
>>>> I think ajanthan has provided the solution in dev list (?)
>>>>
>>>>
>>>> On Sun, Jan 5, 2014 at 1:19 PM, Udara Liyanage <udara@wso2.com> wrote:
>>>>
>>>>> Hi Ajanthan,
>>>>>
>>>>> Great. Could you provide the patch file, so we can apply it.
>>>>> Thanks for the contribution.
>>>>>
>>>>>
>>>>> On Sun, Jan 5, 2014 at 1:30 AM, bala ajanthan <balaajanthan@gmail.com>wrote:
>>>>>
>>>>>> Here the problem is the ThrottlingAgent is waiting for osgi serviceorg.apache.stratos.common.util.StratosConfiguration.But in the code it not
>>>>>> registered any where.I have uncommented following in
>>>>>> components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/CloudCommonServiceComponent.java.
>>>>>>
>>>>>>   //Register manager configuration OSGI service
>>>>>>
>>>>>>
>>>>>>
>>>>>>              try {
>>>>>>
>>>>>>
>>>>>>
>>>>>> -                //StratosConfiguration stratosConfiguration = CommonUtil.loadStratosConfiguration();
>>>>>>
>>>>>>
>>>>>>
>>>>>> -                //bundleContext.registerService(StratosConfiguration.class.getName(), stratosConfiguration, null);
>>>>>>
>>>>>>
>>>>>>
>>>>>> +                StratosConfiguration stratosConfiguration = CommonUtil.loadStratosConfiguration();
>>>>>>
>>>>>>
>>>>>>
>>>>>> +                bundleContext.registerService(StratosConfiguration.class.getName(), stratosConfiguration, null);
>>>>>>
>>>>>>
>>>>>>
>>>>>>                  if (log.isDebugEnabled()) {
>>>>>>
>>>>>>
>>>>>>
>>>>>>                      log.debug("******* Cloud Common Service bundle is activated ******* ");
>>>>>>
>>>>>>
>>>>>>
>>>>>>                  }
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> And updated the org.apache.stratos.common jar in SC.After that i was
>>>>>> able to start  SC properly.
>>>>>> Please fix it properly.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> On Sun, Jan 5, 2014 at 11:05 AM, bala ajanthan <
>>>>>> balaajanthan@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Jan 5, 2014 at 10:55 AM, Udara Liyanage <udara@wso2.com>wrote:
>>>>>>>
>>>>>>>> Hi Ajanthan,
>>>>>>>>
>>>>>>>> M5 released packs can be found at [1]
>>>>>>>>
>>>>>>>> [1]
>>>>>>>> https://dist.apache.org/repos/dist/dev/incubator/stratos/milestones/4.0.0-incubating-m5/
>>>>>>>>
>>>>>>> I have downloaded all the Apache Stratos related packs from here as
>>>>>>> I said earlier in the mail.
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Jan 5, 2014 at 12:24 AM, Udara Liyanage <udara@wso2.com>wrote:
>>>>>>>>
>>>>>>>>> Hi Ajanthan,
>>>>>>>>>
>>>>>>>>> This was a know problem I guess. Try using the m5 released SC
>>>>>>>>> pack.It should start without this error.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Jan 5, 2014 at 12:04 AM, bala ajanthan <
>>>>>>>>> balaajanthan@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> @Udara
>>>>>>>>>> Removing provider url from the jndi.properties file solve
>>>>>>>>>> NameNotFoundException.
>>>>>>>>>> But still it is keep on printing
>>>>>>>>>>
>>>>>>>>>> [2014-01-05 10:33:08,160]  WARN
>>>>>>>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Waiting
>>>>>>>>>> for required OSGi services:
>>>>>>>>>> org.apache.stratos.throttling.agent.ThrottlingAgent
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Do you have any idea on how to solve this problem?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sat, Jan 4, 2014 at 10:31 PM, Udara Liyanage <udara@wso2.com>wrote:
>>>>>>>>>>
>>>>>>>>>>> I remember getting this error once. But unfortunately don't
>>>>>>>>>>> remember the reason. Could you try removing provider. Url property from
>>>>>>>>>>> jndi.properties file.
>>>>>>>>>>>
>>>>>>>>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>>>>>>>> On Jan 4, 2014 9:11 PM, "bala ajanthan" <balaajanthan@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>> I am getting following exception trace[0] while starting
>>>>>>>>>>>> apache-stratos-sc-4.0.0-SNAPSHOT(M5[1]).I have used the setup.sh script to
>>>>>>>>>>>> setup.Following can be found in master-datasources.xml.
>>>>>>>>>>>> <datasource>
>>>>>>>>>>>>             <name>WSO2_CARBON_DB</name>
>>>>>>>>>>>>             <description>The datasource used for registry and
>>>>>>>>>>>> user manager</description>
>>>>>>>>>>>>             <jndiConfig>
>>>>>>>>>>>>                 <name>jdbc/WSO2CarbonDB</name>
>>>>>>>>>>>>             </jndiConfig>
>>>>>>>>>>>>             <definition type="RDBMS">
>>>>>>>>>>>>                 <configuration>
>>>>>>>>>>>>                     <url>jdbc:mysql://
>>>>>>>>>>>> stratos.apache.org:3306/userstore?autoReconnect=true</url>
>>>>>>>>>>>>                     <username>root</username>
>>>>>>>>>>>>                     <password>root</password>
>>>>>>>>>>>>
>>>>>>>>>>>> <driverClassName>com.mysql.jdbc.Driver</driverClassName>
>>>>>>>>>>>>                     <maxActive>50</maxActive>
>>>>>>>>>>>>                     <maxWait>60000</maxWait>
>>>>>>>>>>>>                     <testOnBorrow>true</testOnBorrow>
>>>>>>>>>>>>                     <validationQuery>SELECT 1</validationQuery>
>>>>>>>>>>>>
>>>>>>>>>>>> <validationInterval>30000</validationInterval>
>>>>>>>>>>>>                 </configuration>
>>>>>>>>>>>>             </definition>
>>>>>>>>>>>>         </datasource>
>>>>>>>>>>>> And followings are the contents of jndi.properties.
>>>>>>>>>>>> connectionfactoryName=topicConnectionfactory
>>>>>>>>>>>>
>>>>>>>>>>>> connectionfactory.topicConnectionfactory=amqp://admin:admin@clientID
>>>>>>>>>>>> /carbon?brokerlist='tcp://mb.stratos.apache.org:5677
>>>>>>>>>>>> '&reconnect='true'
>>>>>>>>>>>> java.naming.provider.url=repository/conf/jndi/jndi.properties
>>>>>>>>>>>>
>>>>>>>>>>>> java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory
>>>>>>>>>>>>
>>>>>>>>>>>> Have anybody faced similar issue?How can i get rid of this
>>>>>>>>>>>> error?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks in advanced
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [0]
>>>>>>>>>>>> [2014-01-04 20:28:25,333] ERROR
>>>>>>>>>>>> {org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager} -  Error
>>>>>>>>>>>> when looking up the Identity Data Source.
>>>>>>>>>>>> javax.naming.NameNotFoundException: jdbc/WSO2CarbonDB
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.andes.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:271)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContext.lookup(CarbonContextDataHolder.java:1030)
>>>>>>>>>>>>     at
>>>>>>>>>>>> javax.naming.InitialContext.lookup(InitialContext.java:392)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.initDataSource(JDBCPersistenceManager.java:84)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.<init>(JDBCPersistenceManager.java:51)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.getInstance(JDBCPersistenceManager.java:108)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:70)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.security.internal.SecurityMgtServiceComponent.activate(SecurityMgtServiceComponent.java:81)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:513)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:69)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>>>>>>>>>>     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>>>>>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>>>>>>>> [2014-01-04 20:28:25,368] ERROR
>>>>>>>>>>>> {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
>>>>>>>>>>>> Error occurred while populating identity configuration properties
>>>>>>>>>>>> org.wso2.carbon.identity.base.IdentityException: Error when
>>>>>>>>>>>> looking up the Identity Data Source.
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.initDataSource(JDBCPersistenceManager.java:93)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.<init>(JDBCPersistenceManager.java:51)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.getInstance(JDBCPersistenceManager.java:108)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:70)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.security.internal.SecurityMgtServiceComponent.activate(SecurityMgtServiceComponent.java:81)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:513)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:69)
>>>>>>>>>>>>     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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>>>>>>>>>>     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>>>>>>>>>>     at
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>>>>>>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>>>>>>>>> Caused by: javax.naming.NameNotFoundException: jdbc/WSO2CarbonDB
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.andes.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:271)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContext.lookup(CarbonContextDataHolder.java:1030)
>>>>>>>>>>>>     at
>>>>>>>>>>>> javax.naming.InitialContext.lookup(InitialContext.java:392)
>>>>>>>>>>>>     at
>>>>>>>>>>>> org.wso2.carbon.identity.core.persistence.JDBCPersistenceManager.initDataSource(JDBCPersistenceManager.java:84)
>>>>>>>>>>>>     ... 86 more
>>>>>>>>>>>> [2014-01-04 20:28:26,104]  INFO
>>>>>>>>>>>> {org.wso2.andes.client.security.DynamicSaslRegistrar} -  Additional SASL
>>>>>>>>>>>> providers successfully registered.
>>>>>>>>>>>> [2014-01-04 20:28:26,136]  INFO
>>>>>>>>>>>> {org.wso2.andes.client.security.CallbackHandlerRegistry} -  Callback
>>>>>>>>>>>> handlers available for SASL mechanisms: CRAM-MD5 CRAM-MD5-HASHED AMQPLAIN
>>>>>>>>>>>> PLAIN
>>>>>>>>>>>> [2014-01-04 20:28:26,179]  WARN
>>>>>>>>>>>> {org.wso2.andes.common.QpidProperties} -  Unable to find resource
>>>>>>>>>>>> qpidversion.properties from classloader
>>>>>>>>>>>> [2014-01-04 20:28:26,987]  INFO
>>>>>>>>>>>> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
>>>>>>>>>>>> : https://10.217.58.40:9445/carbon/
>>>>>>>>>>>> [2014-01-04 20:29:18,189]  INFO
>>>>>>>>>>>> {org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor}
>>>>>>>>>>>> -  Topology initialized
>>>>>>>>>>>> [2014-01-04 20:29:24,376]  WARN
>>>>>>>>>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Waiting
>>>>>>>>>>>> for required OSGi services:
>>>>>>>>>>>> org.apache.stratos.throttling.agent.ThrottlingAgent,
>>>>>>>>>>>> [2014-01-04 20:30:24,371]  WARN
>>>>>>>>>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Waiting
>>>>>>>>>>>> for required OSGi services:
>>>>>>>>>>>> org.apache.stratos.throttling.agent.ThrottlingAgent,
>>>>>>>>>>>>
>>>>>>>>>>>> [1]
>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/incubator/stratos/milestones/4.0.0-incubating-m5/apache-stratos-sc-4.0.0-SNAPSHOT.zip
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Balachandiran Ajanthan
>>>>>>>>>>>> Phone:+94775581497
>>>>>>>>>>>> skype  :bala.ajanthan
>>>>>>>>>>>> gtalk   :balaajanthan
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Balachandiran Ajanthan
>>>>>>>>>> Phone:+94775581497
>>>>>>>>>> Blog   : http://ajanthan87.blogspot.com
>>>>>>>>>> Twitter: ajanthan87
>>>>>>>>>> skype  :bala.ajanthan
>>>>>>>>>> gtalk   :balaajanthan
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Udara Liyanage
>>>>>>>>> Software Engineer
>>>>>>>>>  WSO2, Inc.: http://wso2.com
>>>>>>>>> lean. enterprise. middleware
>>>>>>>>>
>>>>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>>>>> phone: +94 71 443 6897
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Udara Liyanage
>>>>>>>> Software Engineer
>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>> lean. enterprise. middleware
>>>>>>>>
>>>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>>>> phone: +94 71 443 6897
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Balachandiran Ajanthan
>>>>>>> Phone:+94775581497
>>>>>>> Blog   : http://ajanthan87.blogspot.com
>>>>>>> Twitter: ajanthan87
>>>>>>> skype  :bala.ajanthan
>>>>>>> gtalk   :balaajanthan
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Balachandiran Ajanthan
>>>>>> Phone:+94775581497
>>>>>> Blog   : http://ajanthan87.blogspot.com
>>>>>> Twitter: ajanthan87
>>>>>> skype  :bala.ajanthan
>>>>>> gtalk   :balaajanthan
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Udara Liyanage
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean. enterprise. middleware
>>>>>
>>>>> web: http://udaraliyanage.wordpress.com
>>>>> phone: +94 71 443 6897
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Pradeep Fernando.
>>>> http://pradeepfernando.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Pradeep Fernando.
>>> http://pradeepfernando.blogspot.com/
>>>
>>
>>
>>
>> --
>> Balachandiran Ajanthan
>> Phone:+94775581497
>> Blog   : http://ajanthan87.blogspot.com
>> Twitter: ajanthan87
>> skype  :bala.ajanthan
>> gtalk   :balaajanthan
>>
>
>
[0]https://issues.apache.org/jira/browse/STRATOS-334

-- 
Balachandiran Ajanthan
Phone:+94775581497
Blog   : http://ajanthan87.blogspot.com
Twitter: ajanthan87
skype  :bala.ajanthan
gtalk   :balaajanthan

Mime
View raw message