The reason for this is that org.wso2.carbon.ndatasource.core bundle isn't
getting started due to a import package unresolved issue for javax.xml.bind
package.

I think this is due to the recent change done on jaxb bundle in greg and
it's incompatibility  with the feature installation.

org.osgi.framework.BundleException: The bundle
"org.wso2.carbon.ndatasource.core_4.0.1 [247]" could not be resolved.
Reason: Missing Constraint: Import-Package: javax.xml.bind; version="0.0.0"
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
    at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
    at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
    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.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
    at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
    at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
    at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
    at java.lang.Thread.run(Thread.java:662)


On Fri, Sep 7, 2012 at 4:27 PM, Dileepa Jayakody <[email protected]> wrote:

> I manually copied the repository/conf, repository/database,
> repository/resources folders from a fresh greg-4.5.0 to carbon.4.0.1 and
> the startup error is now not seen, however the startup doesn't complete as
> it doesn't go forward beyond this point:* INFO
> {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
> deployed Agent Client*
>
> [2012-09-07 16:23:11,799]  INFO
> {org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
> Coordination service disabled.
> [2012-09-07 16:23:12,458]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
> Carbon...
> [2012-09-07 16:23:12,460]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
> Linux 3.0.0-21-generic, amd64
> [2012-09-07 16:23:12,461]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home        :
> /usr/lib/jvm/java-6-sun-1.6.0.26/jre
> [2012-09-07 16:23:12,461]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version     :
> 1.6.0_26
> [2012-09-07 16:23:12,462]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM          :
> Java HotSpot(TM) 64-Bit Server VM 20.1-b02,Sun Microsystems Inc.
> [2012-09-07 16:23:12,463]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home      :
> /media/Carbon_Volume/Ubuntu_Resources/carbon_binaries/RELEASE/carbon_7_9/wso2carbon-core-4.0.1
> [2012-09-07 16:23:12,463]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir    :
> /media/Carbon_Volume/Ubuntu_Resources/carbon_binaries/RELEASE/carbon_7_9/wso2carbon-core-4.0.1/tmp
> [2012-09-07 16:23:12,464]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  User             :
> dileepa, en-GB, Asia/Colombo
> [2012-09-07 16:23:12,552]  INFO
> {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
> deployed Agent Client
>
>
>
> On Fri, Sep 7, 2012 at 3:52 PM, Dileepa Jayakody <[email protected]> wrote:
>
>> The failure is when initializing bpsds datasource.
>> See below;
>>
>> [2012-09-07 15:46:21,065]  INFO
>> {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent}
>> -  Initialising Attachment Server
>> [2012-09-07 15:46:21,072] ERROR
>> {org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager}
>> -  Could not initialize the DataSource:bpsds
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: localhost; nested
>> exception is:
>>     java.net.ConnectException: Connection refused]
>>     at
>> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
>>     at
>> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
>>     at
>> org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1073)
>>     at javax.naming.InitialContext.lookup(InitialContext.java:392)
>>     at
>> org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.lookupInJNDI(BasicDataSourceManager.java:134)
>>     at
>> org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.initExternalDb(BasicDataSourceManager.java:112)
>>     at
>> org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.initDataSource(BasicDataSourceManager.java:107)
>>     at
>> org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.startDataSource(BasicDataSourceManager.java:100)
>>     at
>> org.wso2.carbon.attachment.mgt.core.datasource.impl.BasicDataSourceManager.start(BasicDataSourceManager.java:67)
>>     at
>> org.wso2.carbon.attachment.mgt.server.AttachmentServer.initDataSourceManager(AttachmentServer.java:90)
>>     at
>> org.wso2.carbon.attachment.mgt.server.AttachmentServer.init(AttachmentServer.java:59)
>>     at
>> org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.initAttachmentServer(AttachmentServiceComponent.java:93)
>>     at
>> org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.activate(AttachmentServiceComponent.java:75)
>>     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:252)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>>     at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>     at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>>     at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>     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.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140)
>>     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:252)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>>     at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>     at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>>     at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>     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.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:102)
>>     at
>> org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initAllTenantUserDataSources(DataSourceServiceComponent.java:198)
>>     at
>> org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:182)
>>     at
>> org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:133)
>>     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.ComponentReference.bind(ComponentReference.java:367)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:430)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:415)
>>     at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:319)
>>     at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>>     at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>     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.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:125)
>>     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:252)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>     at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
>>     at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>>     at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
>>     at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
>>     at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
>>     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.user.core.internal.Activator.startDeploy(Activator.java:67)
>>     at
>> org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
>>     at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
>>     at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
>>     at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
>>     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)
>> Caused by: java.rmi.ConnectException: Connection refused to host:
>> localhost; nested exception is:
>>     java.net.ConnectException: Connection refused
>>     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
>>     at
>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
>>     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
>>     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
>>     at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>>     at
>> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
>>     ... 117 more
>>
>>
>> --
>> Dileepa Jayakody,
>> Software Engineer, WSO2 Inc.
>> Lean . Enterprise . Middleware
>>
>> Mobile : +94777-857616
>>
>>
>
>
> --
> Dileepa Jayakody,
> Software Engineer, WSO2 Inc.
> Lean . Enterprise . Middleware
>
> Mobile : +94777-857616
>
>


-- 
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to