All the problems are fixed now.Thanks Manuranga. ---------- Forwarded message ---------- From: Ajanthan Balachandran <ajant...@wso2.com> Date: Tue, May 28, 2013 at 11:21 AM Subject: Re: [Dev] [Appfactory] Upgrade the jaggary version used in AF To: Nuwan Bandara <nu...@wso2.com>
On Tue, May 28, 2013 at 10:53 AM, Nuwan Bandara <nu...@wso2.com> wrote: > why do you guys put Geronimo in endorsed ? will fix the pom version issues. > It is coming from Kernel.We don't put.In previous jaggery version also it is avoided by commenting out importBundleDef[0]. One more problem, In RegistryHostObject.java[1] private static UserRegistry getRegistry(String username, String password) throws ScriptException { UserRegistry registry; RegistryService registryService = RegistryHostObjectContext.getRegistryService(); String tDomain; try { tDomain = username.split("@")[1]; } catch (ArrayIndexOutOfBoundsException e) { //if tenant domain is not present in the username we treat is as a super user tDomain = "carbon.super"; } try { int tId = RegistryHostObjectContext.getRealmService().getTenantManager().getTenantId(tDomain); registry = registryService.getGovernanceUserRegistry(username, password, tId); } catch (Exception e) { log.error(e.getMessage(), e); throw new ScriptException(e); } if (registry == null) { String msg = "User governance registry cannot be retrieved"; throw new ScriptException(msg); } return registry; } This function is used to initialize the registry hostsObject.But above method did not handle email username.(In AF we have ad...@admin.com,so for this user registry access fails with "The tenant is not active. tenant id: -1." ) Shall we fix this? Thanks > > Regards, > /Nuwan > > > On Tue, May 28, 2013 at 10:38 AM, Ajanthan Balachandran <ajant...@wso2.com > > wrote: > >> More problems .. >> Through jaggery geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar >> is coming into plugins folder but we have it already in endorsed >> directory.We have to disable it in feature pom.xml. >> >> >> On Tue, May 28, 2013 at 10:32 AM, Ajanthan Balachandran < >> ajant...@wso2.com> wrote: >> >>> Hi >>> Where did you guys get the code? jaggery is looking for >>> META-INF/scripts/xml.js while loading modules but in jaggery core package >>> only http.js is there xml.js is missing. >>> Thanks >>> >>> >>> On Tue, May 28, 2013 at 10:06 AM, Ajanthan Balachandran < >>> ajant...@wso2.com> wrote: >>> >>>> Hi, >>>> Is >>>> 0.9.0.ALPHA3-wso2v6<https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA3-wso2v6/> >>>> correctly >>>> branched? I can see <version>0.9.0-SNAPSHOT</version> inside all >>>> pom.xml. >>>> Thanks. >>>> >>>> >>>> On Tue, May 21, 2013 at 10:25 AM, Ramith Jayasinghe <ram...@wso2.com>wrote: >>>> >>>>> Corrected the folder structure. >>>>> >>>>> >>>>> On Mon, May 20, 2013 at 11:37 AM, Ramith Jayasinghe >>>>> <ram...@wso2.com>wrote: >>>>> >>>>>> Hi Manu, >>>>>> >>>>>> it seems >>>>>> >>>>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v6 >>>>>> contains pom.xml with a version : 0.9.0.ALPHA3-wso2v6 >>>>>> that seems incorrect. >>>>>> >>>>>> regards >>>>>> Ramith. >>>>>> >>>>>> >>>>>> On Fri, May 17, 2013 at 6:44 PM, Manuranga Perera <m...@wso2.com>wrote: >>>>>> >>>>>>> please update to latest version, which is wso2v6 when you do. >>>>>>> if you are building this locally, you have to build patch releases >>>>>>> [2] at orbit level first. >>>>>>> >>>>>>> [1] >>>>>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v6 >>>>>>> [2] >>>>>>> https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.1.0/patch-releases/4.1.2 >>>>>>> >>>>>>> >>>>>>> On Fri, May 17, 2013 at 3:40 PM, Ramith Jayasinghe >>>>>>> <ram...@wso2.com>wrote: >>>>>>> >>>>>>>> Nope. we will try this locally (with a pack) before putting it into >>>>>>>> staging. >>>>>>>> >>>>>>>> >>>>>>>> On Fri, May 17, 2013 at 3:30 PM, Manjula Rathnayake < >>>>>>>> manju...@wso2.com> wrote: >>>>>>>> >>>>>>>>> Hi Ramith, >>>>>>>>> >>>>>>>>> +1, >>>>>>>>> Have we tried this already in staging setup? I think it should be >>>>>>>>> straight forward if no API changes are done. >>>>>>>>> >>>>>>>>> thank you. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, May 17, 2013 at 3:26 PM, Ramith Jayasinghe < >>>>>>>>> ram...@wso2.com> wrote: >>>>>>>>> >>>>>>>>>> correction: >>>>>>>>>> from 0.9.0.ALPHA2-wso2v4 to 0.9.0.ALPHA2-wso2v5. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, May 17, 2013 at 3:25 PM, Ramith Jayasinghe < >>>>>>>>>> ram...@wso2.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> As the part of effort to improve the performance of AF UI we are >>>>>>>>>>> going to upgrade the jaggery from version : 0.9.0.ALPHA2-wso2v3 to >>>>>>>>>>> 0.9.0.ALPHA2-wso2v5. >>>>>>>>>>> regards >>>>>>>>>>> Ramith >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ramith Jayasinghe >>>>>>>>>> Technical Lead >>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>> lean.enterprise.middleware >>>>>>>>>> >>>>>>>>>> E: ram...@wso2.com >>>>>>>>>> P: +94 776715671 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Dev mailing list >>>>>>>>>> Dev@wso2.org >>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Manjula Rathnayaka >>>>>>>>> Software Engineer >>>>>>>>> WSO2, Inc. >>>>>>>>> Mobile:+94 77 743 1987 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ramith Jayasinghe >>>>>>>> Technical Lead >>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>> lean.enterprise.middleware >>>>>>>> >>>>>>>> E: ram...@wso2.com >>>>>>>> P: +94 776715671 >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> Dev@wso2.org >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ramith Jayasinghe >>>>>> Technical Lead >>>>>> WSO2 Inc., http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> E: ram...@wso2.com >>>>>> P: +94 776715671 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Ramith Jayasinghe >>>>> Technical Lead >>>>> WSO2 Inc., http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> E: ram...@wso2.com >>>>> P: +94 776715671 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> ajanthan >>>> -- >>>> Ajanthan Balachandiran >>>> Senior Software Engineer; >>>> Solutions Technologies Team ;WSO2, Inc.; http://wso2.com/ >>>> >>>> email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497 >>>> blog: http://bkayts.blogspot.com/ >>>> >>>> Lean . Enterprise . Middleware >>>> >>> >>> >>> >>> -- >>> ajanthan >>> -- >>> Ajanthan Balachandiran >>> Senior Software Engineer; >>> Solutions Technologies Team ;WSO2, Inc.; http://wso2.com/ >>> >>> email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497 >>> blog: http://bkayts.blogspot.com/ >>> >>> Lean . Enterprise . Middleware >>> >> >> >> >> -- >> ajanthan >> -- >> Ajanthan Balachandiran >> Senior Software Engineer; >> Solutions Technologies Team ;WSO2, Inc.; http://wso2.com/ >> >> email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497 >> blog: http://bkayts.blogspot.com/ >> >> Lean . Enterprise . Middleware >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Thanks & Regards, > > Nuwan Bandara > Technical Lead & Member, MC, Development Technologies > WSO2 Inc. - lean . enterprise . middleware | http://wso2.com > blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 > 9629 > * > <http://www.nuwanbando.com/> > [0] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v5/features/org.jaggeryjs.server.feature/pom.xml [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA3-wso2v6/components/hostobjects/org.jaggeryjs.hostobjects.registry/src/main/java/org/jaggeryjs/hostobjects/registry/RegistryHostObject.java <https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v5/features/org.jaggeryjs.server.feature/pom.xml> -- ajanthan -- Ajanthan Balachandiran Senior Software Engineer; Solutions Technologies Team ;WSO2, Inc.; http://wso2.com/ email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497 blog: http://bkayts.blogspot.com/ Lean . Enterprise . Middleware -- ajanthan -- Ajanthan Balachandiran Senior Software Engineer; Solutions Technologies Team ;WSO2, Inc.; http://wso2.com/ email: ajanthan <http://goog_595075977>@wso2.com; cell: +94775581497 blog: http://bkayts.blogspot.com/ Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev