The multi-profile related issue is fixed with r170335. But now getting the following form user.core bundle at start-up. Possibly because of the recent changes to user core. @Johann, can you please have a look?
[2013-04-16 15:34:17,981] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - User : kicha, en-US, Asia/Colombo [2013-04-16 15:34:19,016] ERROR {org.wso2.carbon.user.core.common.DefaultRealm} - Cannot create org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager java.lang.reflect.InvocationTargetException 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.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:275) at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:143) at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:109) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:103) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:116) 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: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) Caused by: org.wso2.carbon.user.core.UserStoreException: Table "UM_DOMAIN" not found; SQL statement: SELECT UM_DOMAIN_ID FROM UM_DOMAIN WHERE UM_DOMAIN_NAME=? AND UM_TENANT_ID=? [42102-140] at org.wso2.carbon.user.core.util.UserCoreUtil.persistDomain(UserCoreUtil.java:675) at org.wso2.carbon.user.core.hybrid.HybridRoleManager.<init>(HybridRoleManager.java:65) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:259) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:204) ... 27 more [2013-04-16 15:34:19,019] ERROR {org.wso2.carbon.user.core.common.DefaultRealmService} - Cannot initialize the realm. org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:316) at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:143) at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:109) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:103) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:116) 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: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) Caused by: java.lang.reflect.InvocationTargetException 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.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:275) ... 22 more Caused by: org.wso2.carbon.user.core.UserStoreException: Table "UM_DOMAIN" not found; SQL statement: SELECT UM_DOMAIN_ID FROM UM_DOMAIN WHERE UM_DOMAIN_NAME=? AND UM_TENANT_ID=? [42102-140] at org.wso2.carbon.user.core.util.UserCoreUtil.persistDomain(UserCoreUtil.java:675) at org.wso2.carbon.user.core.hybrid.HybridRoleManager.<init>(HybridRoleManager.java:65) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:259) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:204) ... 27 more [2013-04-16 15:34:19,021] ERROR {org.wso2.carbon.user.core.internal.Activator} - Cannot start User Manager Core bundle org.wso2.carbon.user.core.UserStoreException: Cannot initialize the realm. at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:231) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:103) at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:116) 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: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) Caused by: org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:316) at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:143) at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:109) at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:223) ... 19 more Caused by: java.lang.reflect.InvocationTargetException 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.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:275) ... 22 more Caused by: org.wso2.carbon.user.core.UserStoreException: Table "UM_DOMAIN" not found; SQL statement: SELECT UM_DOMAIN_ID FROM UM_DOMAIN WHERE UM_DOMAIN_NAME=? AND UM_TENANT_ID=? [42102-140] at org.wso2.carbon.user.core.util.UserCoreUtil.persistDomain(UserCoreUtil.java:675) at org.wso2.carbon.user.core.hybrid.HybridRoleManager.<init>(HybridRoleManager.java:65) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:259) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:204) ... 27 more On Tue, Apr 16, 2013 at 12:43 PM, Reka Thirunavukkarasu <r...@wso2.com>wrote: > Hi > > I'm trying to reproduce this with clean repo. Update the thread > accordingly.. > > Thanks, > Reka > > > > On Tue, Apr 16, 2013 at 10:54 AM, Dileepa Jayakody < > dileepajayak...@gmail.com> wrote: > >> Hi Kishanthan, >> >> Can you start the server with the osgi console and check the relevant >> carbon bundles are in ACTIVE state? >> Maybe some of the bundles are not added to the distribution during the >> build OR not in active state at run time. >> AFAIK The distribution structure changes with the plugins/bundles >> in relevant profile directories in the new multi-profile distribution >> during the build phase. >> >> Thanks, >> Dileepa >> >> >> On Tue, Apr 16, 2013 at 10:38 AM, Kishanthan Thangarajah < >> kishant...@wso2.com> wrote: >> >>> Hi Reka, >>> >>> I cannot start carbon server in current trunk (4.2.0-SNAPSHOT) with a >>> clean repo build. It hangs for a long time. Are you missing any more >>> commits related to multi-profile support to kernel? >>> >>> Kishanthan. >>> >>> >>> >>> On Tue, Apr 2, 2013 at 6:55 PM, Reka Thirunavukkarasu <r...@wso2.com>wrote: >>> >>>> Hi >>>> >>>> I have fixed it in r169864. >>>> >>>> Thanks, >>>> Reka >>>> >>>> >>>> On Tue, Apr 2, 2013 at 6:45 PM, Kishanthan Thangarajah < >>>> kishant...@wso2.com> wrote: >>>> >>>>> Hi Reka, >>>>> >>>>> Build failed at >>>>> kernel/trunk/distribution/product/modules/p2-profile-gen. >>>>> >>>>> Looks like it may be due to the changes on multiple profile in kernel >>>>> distribution. Can you please have a look? >>>>> >>>>> >>>>> Installing org.wso2.carbon.styles.feature.group 4.1.0.SNAPSHOT. >>>>> Installation failed. >>>>> An error occurred while installing the items >>>>> session context was:(profile=WSO2CarbonProfile, >>>>> phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null >>>>> --> [R]org.wso2.carbon.styles 4.1.0.SNAPSHOT, >>>>> action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). >>>>> Error while loading manipulator. >>>>> Caused by: Application failed, log file location: >>>>> /home/kicha/mvnRepo/m3repo/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1364903487880.log >>>>> >>>>> >>>>> *Error trace form the log file* >>>>> >>>>> !ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2013-04-02 >>>>> 17:21:30.952 >>>>> !MESSAGE Error while loading manipulator. >>>>> !STACK 0 >>>>> java.lang.IllegalStateException: The framework persistent data >>>>> location >>>>> (/home/kicha/checkouts/wso2/carbon/kernel/trunk/distribution/kernel/target/WSO2Carbon/WSO2CarbonProfile/configuration) >>>>> is not the same as the framework configuration location >>>>> (/home/kicha/checkouts/wso2/carbon/kernel/trunk/distribution/product/modules/p2-profile-gen/target/wso2carbon-core-4.1.0-SNAPSHOT/repository/components/WSO2CarbonProfile/configuration). >>>>> at >>>>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65) >>>>> at >>>>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:348) >>>>> >>>>> >>>>> Thanks, >>>>> Kishanthan. >>>>> -- >>>>> *Kishanthan Thangarajah* >>>>> Software Engineer, >>>>> Development Technologies Team, >>>>> WSO2, Inc. >>>>> lean.enterprise.middleware >>>>> >>>>> Mobile - +94773426635 >>>>> Blog - *http://kishanthan.wordpress.com* >>>>> Twitter - *http://twitter.com/kishanthan* >>>>> >>>> >>>> >>>> >>>> -- >>>> Reka Thirunavukkarasu >>>> Software Engineer, >>>> WSO2, Inc.:http://wso2.com, >>>> >>>> >>> >>> >>> -- >>> *Kishanthan Thangarajah* >>> Software Engineer, >>> Development Technologies Team, >>> WSO2, Inc. >>> lean.enterprise.middleware >>> >>> Mobile - +94773426635 >>> Blog - *http://kishanthan.wordpress.com* >>> Twitter - *http://twitter.com/kishanthan* >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > > -- > Reka Thirunavukkarasu > Software Engineer, > WSO2, Inc.:http://wso2.com, > > -- *Kishanthan Thangarajah* Software Engineer, Development Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev