Re: [Dev] [GReg] [Sample] Subscribing `internal/everyone` role fails with UserStoreException
Hi Rasika According to [1] there should be a fix for this issue. In 4.2.0 patch kernel patch0007 with r201791. Try with that patch [1]https://wso2.org/jira/browse/IDENTITY-2204 Regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Mon, Feb 23, 2015 at 5:24 PM, Rasika Perera rasi...@wso2.com wrote: Hi all, I am using GReg 4.6.0 and running `Issue Tracker Sample https://docs.wso2.com/display/Governance460/Issue+Tracker+Sample`. After creating the RXT artifact it is working as expected. At the last step, it is needed to subscribe for notifications. https://docs.wso2.com/display/Governance460/Issue+Tracker+Sample#IssueTrackerSample-SubscribingToNotifications I have added the followings to the $GREG_HOME/repository/conf/*registry.xml* . workList serverURL=local://services/ remote=false usernameadmin/username passwordadmin/password /workList Finally added subscription with the role `internal/everyone`. [image: Inline image 2] But notifications are not seen as expected when changes are done for the LC. Instead following error trace is shown; *[2015-02-23 16:31:33,218] ERROR {org.wso2.carbon.humantask.core.integration.AxisHumanTaskMessageReceiver} - Task creation failed.* *org.wso2.carbon.humantask.core.engine.runtime.api.HumanTaskRuntimeException: Error occurred while calling to realm service for operation isExistingRole* at org.wso2.carbon.humantask.core.integration.CarbonUserManagerBasedPeopleQueryEvaluator.getUserNameListForRole(CarbonUserManagerBasedPeopleQueryEvaluator.java:71) at org.wso2.carbon.humantask.core.engine.util.CommonTaskUtil.nominate(CommonTaskUtil.java:320) at org.wso2.carbon.humantask.core.dao.jpa.openjpa.HumanTaskDAOConnectionImpl.createTask(HumanTaskDAOConnectionImpl.java:56) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.createTask(HumanTaskEngine.java:81) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.access$000(HumanTaskEngine.java:38) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine$1.call(HumanTaskEngine.java:97) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine$1.call(HumanTaskEngine.java:93) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:880) at org.wso2.carbon.humantask.core.scheduler.SimpleScheduler.execTransaction(SimpleScheduler.java:829) at org.wso2.carbon.humantask.core.engine.HumanTaskEngine.invoke(HumanTaskEngine.java:93) at org.wso2.carbon.humantask.core.integration.AxisHumanTaskMessageReceiver.invokeBusinessLogic(AxisHumanTaskMessageReceiver.java:74) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169) at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82) at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45) at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.wso2.carbon.governance.notifications.worklist.stub.WorkListServiceStub.addTask(WorkListServiceStub.java:183) at org.wso2.carbon.registry.eventing.RegistryEventDispatcher.notify(RegistryEventDispatcher.java:381) at org.wso2.carbon.event.core.internal.notify.CarbonNotificationManager.sendNotification(CarbonNotificationManager.java:62) at org.wso2.carbon.event.core.internal.delivery.Worker.run(Worker.java:52) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) *Caused by: org.wso2.carbon.user.core.UserStoreException: Invalid operation. You are trying to retrieve all users from the external userstore.* at org.wso2.carbon.user.core.hybrid.HybridRoleManager.getUserListOfHybridRole(HybridRoleManager.java:272) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserListOfRole(AbstractUserStoreManager.java:1933) at org.wso2.carbon.humantask.core.integration.CarbonUserManagerBasedPeopleQueryEvaluator.getUserNameListForRole(CarbonUserManagerBasedPeopleQueryEvaluator.java:68) ... 29 more When trying the
Re: [Dev] [DEV] Problem in dynamically changing image reference
Thanks Malith. Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Fri, Feb 27, 2015 at 5:21 PM, Malith Munasinghe mali...@wso2.com wrote: Hi Ishara, To get the second list item try[1] with replacing n with intended item number. [1] $( .list1 li img:nth-child(n) ); Also add the class name into ul tag as ul class=list1. For further reference you can try [2] for JQuery :nth-child() selector. [2] http://api.jquery.com/nth-child-selector/ Regards, On Fri, Feb 27, 2015 at 3:22 PM, Ishara Cooray isha...@wso2.com wrote: Hi, I have an img tag inside a unordered list item as follows. ul liimg src=next.jpg class = img-list2UPPERCASE,/li liimg src=next.jpg class = img-list3lowercase,/li liimg src=next.jpg class = img-list4digits,/li liimg src=next.jpg class = img-list5Special characters./li /ul I want to change this image dynamically. There fore i was trying to get the img reference by var image = $('.list1 li img:first'); image.attr(src, v); But this does not update the image as i expected. How can i get this working? Also, i can get the first img as above. But how can i get the img of second list item? Thanks Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Malith Munasinghe | Software Engineer M: +94 (071) 9401122 E: mali...@wso2.com W: http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error
Hi, If you want to create a AS cartridge create a dummy file at the specified location. However normal approach is the base image approach. On Fri, Feb 27, 2015 at 6:02 PM, Sajith Abeywardhana saji...@wso2.com wrote: Hi Udara, This instance created by me to create a cartridge using *Ubuntu Cloud 14.04. *And then I installed the puppet agent. I'm following this documentation. - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+OpenStack *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com On Fri, Feb 27, 2015 at 5:54 PM, Udara Liyanage ud...@wso2.com wrote: Hi, ‘/tmp/payload/launch-params' is the file where Stratos stores the payload sent to the instance. Is this a instance created by Stratos? On Fri, Feb 27, 2015 at 5:50 PM, Sajith Abeywardhana saji...@wso2.com wrote: Hi All, I'm getting this ERROR while executing *puppet agent --test* command. I lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to run this command. I checked the /tmp/payload/ folder and it dose not have any thing. Info: Computing checksum on file /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a Info: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]: Filebucketed /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh to puppet with sum 4efaa350c2db8d342e265535bf83175a Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content: content changed '{md5}4efaa350c2db8d342e265535bf83175a' to '{md5}9b2677c68a1f45738c64a242e01c66f4' Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: change from notrun to 0 failed: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: Failed to call refresh: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content: --- /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh 2015-02-17 21:11:06.0 +0530 +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000 +0530 @@ -24,20 +24,278 @@ # -- # *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com -- 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Unsatisfied osgi component in the ESB 490 M7 pack
Here is the result of the ls -c command. osgi ls -c 161 Components in bundle org.wso2.carbon.deployment.synchronizer: IDComponent details 29Component[ name = org.wso2.carbon.deployment.synchronizer.XXX factory = null autoenable = true immediate = true implementation = org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent state = Unsatisfied properties = {service.pid=org.wso2.carbon.deployment.synchronizer.XXX} serviceFactory = false serviceInterface = null references = { Reference[name = configuration.context.service, interface = org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic, cardinality = 1..1, target = null, bind = setConfigurationContextService, unbind = unsetConfigurationContextService] Reference[name = repository.reference.service, interface = org.wso2.carbon.deployment.synchronizer.ArtifactRepository, policy = dynamic, cardinality = 0..n, target = null, bind = addArtifactRepository, unbind = removeArtifactRepository] } located in bundle = org.wso2.carbon.deployment.synchronizer_4.3.5 [161] ] Dynamic information : The component is satisfied All component references are satisfied Component configurations : Configuration properties: service.pid = org.wso2.carbon.deployment.synchronizer.XXX component.name = org.wso2.carbon.deployment.synchronizer.XXX component.id = 28 Instances: No instances were created because: Can not activate instance of component org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent. The activation throws: java.lang.NullPointerException According to the results of the above command, there is some NPE when activating the service. Thanks, Chanaka On Fri, Feb 27, 2015 at 6:10 PM, Chanaka Fernando chana...@wso2.com wrote: Hi All, I am getting the below unsatisfied osgi component error in the latest ESB 490 M7 pack. We have an integration test to check the unsatisfied osgi components list and that test is failing due to this behavior. 29Unsatisfiedorg.wso2.carbon.deployment.synchronizer.XXX org.wso2.carbon.deployment.synchronizer(bid=161) when I run the diagnosis on this bundle, I am getting the following result osgi diag 29 reference:file:../plugins/commons-collections_3.2.0.wso2v1.jar [29] No unresolved constraints. What would be the reason for this behavior? Here is the location of the pack https://svn.wso2.org/repos/wso2/people/chanakaf/M7-packs/ Thanks, Chanaka -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Tenant couldn't login to publisher when SSO is enabled with IS
Hi Senduran, Regarding the LC issue, here is what happen. 1. In your cloud setup you have a governance space[1], which contains set of assets with references to MobileAppLifeCycle. 2. Governance Registry keeps lifecycles in the config space 3. When ES is mounted to the above governance space[1] with a fresh config space[2], you don't get the MobileAppLifeCycle there in the new config[2] registry. 4. Hence, old assets will not behave as expected since the lifecycle is missing 5. Further, when you try to add the MobileAppLifeCycle through the governance API, it doesn't allow you do so saying the MobileAppLifeCycle is already there. 6. Reason for above #5 is, governance API checks whether any resource has a reference to that MobileAppLifeCycle name(instead of checking config space for available lifecycles) before allowing us to add it(which is IMO wrong) Hence, you will have to use same gov/config database pair or you will have to cleanup the governance database by removing assets which refers to non-existing lifecycles. /Ruchira On Wed, Feb 18, 2015 at 9:20 AM, Senduran Balasubramaniyam sendu...@wso2.com wrote: FYI This issue can be tracked here https://wso2.org/jira/browse/STORE-607 @Ruchira, Thanks for the workaround at the moment On Fri, Jan 23, 2015 at 9:47 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Sure Ruchira, Thanks Senduran On Fri, Jan 23, 2015 at 7:23 PM, Ruchira Wageesha ruch...@wso2.com wrote: On Fri, Jan 23, 2015 at 4:21 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Hi, Even when I add the UseAuthenticatedUserDomainCrypto to true in IS, I am still getting the same exception. Is this because IS couldn't identify whether it is tenant or admin who has logged in ? as Malithi mentioned in [IS] [ES] Signature Validation fails when tenant logs into SSO enabled Publisher Hm..I doubt how something like this could happen. If there is a logged in session, that means there is an associated user who's tenant domain can be determined. Relying on a passed tenant domain is never secure for authenticated users. Anyway, can you talk to me on Monday, so that we can have a look with the property suggested by pushpalanka. /Ruchira -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications
Hi Danushka, There is an attribute already called isBuildable. As I noticed the deployment information is now shown for non buildable application types but we are showing the build id (build id generated from the free style jenkins build). IMO this is incorrect since the build id would mislead the user. So I am +1 for having something like Manisha has mentioned. WDYT? Regards Gayan On Fri, Feb 27, 2015 at 6:58 PM, Danushka Fernando danush...@wso2.com wrote: Hi Gayan IMO we should have some configuration like buildable (AFAIR we already have this) in apptype and according to that we should draw the build section. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I am working on [1] and the I got some things to clarify. For apptypes with the build having a meaning (java web app, jaxrs, jaxws) we show a last build id,status and last deployed build id on the UI. But for jaggery applications in which we do not trigger an actual build, it does not make much sense to show the last build id (currently there is no wall message for a jaggery build as well). Showing the Build ${id} Deployed is also misleading. But when a user does some change in the application and commit it there should be some kind of a message for the user to understand whether his changes are there in the currently deployed version of the application as well. What would be the appropriate thing to do in here? [1] https://wso2.org/jira/browse/APPFAC-2978 Regards Gayan Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Deployment Synchronizer is not getting activated in ESB 4.9.0 pack
Hi Isuru, Thanks for reporting this. I have merged the fix related to this on carbon-commons master branch. Will update the thread after testing both svn based and registry based depsync. Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sun, Feb 22, 2015 at 10:43 PM, Isuru Udana isu...@wso2.com wrote: Hi Manoj, Thanks for the response. Problem is with org.wso2.carbon.deployment.synchronizer.util.ServiceReferenceHolder [1]. public static RegistryService getRegistryService() { return registryService; } Here registryService is not getting set from anywhere but it has a usage in CarbonRepositoryUtils. [1] https://github.com/wso2/carbon-commons/blob/4.3.5/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer/src/main/java/org/wso2/carbon/deployment/synchronizer/util/ServiceReferenceHolder.java On Sun, Feb 22, 2015 at 10:17 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Sameera, I think we need to release the svn-kit updated libs before the ESB final release, to support with svn newer server versions. Regards, Aruna On Sun, Feb 22, 2015 at 9:33 PM, Manoj Kumara ma...@wso2.com wrote: Hi Isuru, This was found during testing and fixed with pull request [1]. Will try to check this with ESB server tomorrow. [1] https://github.com/wso2/carbon-commons/pull/52 Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Sun, Feb 22, 2015 at 4:36 PM, Isuru Udana isu...@wso2.com wrote: Hi Kernel Team, Deployment synchronizer service component is not getting activated properly in latest ESB build with carbon-commons:4.3.5. Following is what we are getting on the osgi console. 29 Unsatisfied org.wso2.carbon.deployment.synchronizer.XXX org.wso2.carbon.deployment.synchronizer(bid=161) osgi ls -c 161 Components in bundle org.wso2.carbon.deployment.synchronizer: ID Component details 29 Component[ name = org.wso2.carbon.deployment.synchronizer.XXX factory = null autoenable = true immediate = true implementation = org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent state = Unsatisfied properties = {service.pid=org.wso2.carbon.deployment.synchronizer.XXX} serviceFactory = false serviceInterface = null references = { Reference[name = configuration.context.service, interface = org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic, cardinality = 1..1, target = null, bind = setConfigurationContextService, unbind = unsetConfigurationContextService] Reference[name = repository.reference.service, interface = org.wso2.carbon.deployment.synchronizer.ArtifactRepository, policy = dynamic, cardinality = 0..n, target = null, bind = addArtifactRepository, unbind = removeArtifactRepository] } located in bundle = org.wso2.carbon.deployment.synchronizer_4.3.5 [161] ] Dynamic information : The component is satisfied All component references are satisfied Component configurations : Configuration properties: service.pid = org.wso2.carbon.deployment.synchronizer.XXX component.name = org.wso2.carbon.deployment.synchronizer.XXX component.id = 28 Instances: No instances were created because: Can not activate instance of component org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent. The activation throws: java.lang.NullPointerException I debug deployment synchronizer component and found out that from [1] registry service is removed and we haven't cleaned up the usages of registry service properly, hence we are getting a NPE upon activation. We need to get this fixed as soon as possible. [1] removing registry based DepSync components from carbon-commons https://github.com/wso2/carbon-commons/compare/7acb524b6389fabdf2264eb95c5b55b161546094...ffa87d07ad4d28247e4e4c8bdedc6a57874815f8 Thank you. -- *Isuru Udana* Senior *Software Engineer* WSO2 Inc.; http://wso2.com email: isu...@wso2.com cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Aruna Sujith Karunarathna* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com -- *Isuru Udana* Senior *Software Engineer* WSO2 Inc.; http://wso2.com email: isu...@wso2.com cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error
Hi All, I'm getting this ERROR while executing *puppet agent --test* command. I lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to run this command. I checked the /tmp/payload/ folder and it dose not have any thing. Info: Computing checksum on file /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a Info: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]: Filebucketed /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh to puppet with sum 4efaa350c2db8d342e265535bf83175a Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content: content changed '{md5}4efaa350c2db8d342e265535bf83175a' to '{md5}9b2677c68a1f45738c64a242e01c66f4' Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: change from notrun to 0 failed: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: Failed to call refresh: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content: --- /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh 2015-02-17 21:11:06.0 +0530 +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000 +0530 @@ -24,20 +24,278 @@ # -- # *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications
IMO, we need to show something like Deploy ID: x kind of thing for Jaggery type non buidable apps and not show any build ID and build status. Thanks Manisha On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I am working on [1] and the I got some things to clarify. For apptypes with the build having a meaning (java web app, jaxrs, jaxws) we show a last build id,status and last deployed build id on the UI. But for jaggery applications in which we do not trigger an actual build, it does not make much sense to show the last build id (currently there is no wall message for a jaggery build as well). Showing the Build ${id} Deployed is also misleading. But when a user does some change in the application and commit it there should be some kind of a message for the user to understand whether his changes are there in the currently deployed version of the application as well. What would be the appropriate thing to do in here? [1] https://wso2.org/jira/browse/APPFAC-2978 Regards Gayan Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* *mobile: +94 71 8279777* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error
Hi Udara, This instance created by me to create a cartridge using *Ubuntu Cloud 14.04. *And then I installed the puppet agent. I'm following this documentation. - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+OpenStack *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com On Fri, Feb 27, 2015 at 5:54 PM, Udara Liyanage ud...@wso2.com wrote: Hi, ‘/tmp/payload/launch-params' is the file where Stratos stores the payload sent to the instance. Is this a instance created by Stratos? On Fri, Feb 27, 2015 at 5:50 PM, Sajith Abeywardhana saji...@wso2.com wrote: Hi All, I'm getting this ERROR while executing *puppet agent --test* command. I lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to run this command. I checked the /tmp/payload/ folder and it dose not have any thing. Info: Computing checksum on file /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a Info: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]: Filebucketed /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh to puppet with sum 4efaa350c2db8d342e265535bf83175a Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content: content changed '{md5}4efaa350c2db8d342e265535bf83175a' to '{md5}9b2677c68a1f45738c64a242e01c66f4' Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: change from notrun to 0 failed: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: Failed to call refresh: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content: --- /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh 2015-02-17 21:11:06.0 +0530 +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000 +0530 @@ -24,20 +24,278 @@ # -- # *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications
Hi Gayan IMO we should have some configuration like buildable (AFAIR we already have this) in apptype and according to that we should draw the build section. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I am working on [1] and the I got some things to clarify. For apptypes with the build having a meaning (java web app, jaxrs, jaxws) we show a last build id,status and last deployed build id on the UI. But for jaggery applications in which we do not trigger an actual build, it does not make much sense to show the last build id (currently there is no wall message for a jaggery build as well). Showing the Build ${id} Deployed is also misleading. But when a user does some change in the application and commit it there should be some kind of a message for the user to understand whether his changes are there in the currently deployed version of the application as well. What would be the appropriate thing to do in here? [1] https://wso2.org/jira/browse/APPFAC-2978 Regards Gayan Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] NTask coordination issue while cleaning up a Task
Hi Anjana, Currently we are implementing Message store - Message processor coordination support for ESB in worker-manager cluster mode. When a task is deactivated some housekeeping work needs to be done. For an example cleaning up JMS consumers etc. Quartz supports several types of Listeners which can be registered to get the notifications. But we could not see such a listener in our ntask core implementation. An example scenario which emphasizes this requirement is given below. Suppose that the cluster has one manager and two worker nodes at the moment where one message processor is running in one worker. This task is having a JMS connection in order to consume JMS messages from a queue. When the deactivation occurs in the manager node, the JMS connection is not teared off properly in all worker nodes where it runs. Even Though the task is deactivated this shows that there is one JMS consumer for the queue and which is not the expected behaviour. Is there any support/hook in your platform to get this done. Thanks Regards, -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Unsatisfied osgi component in the ESB 490 M7 pack
Hi All, I am getting the below unsatisfied osgi component error in the latest ESB 490 M7 pack. We have an integration test to check the unsatisfied osgi components list and that test is failing due to this behavior. 29Unsatisfiedorg.wso2.carbon.deployment.synchronizer.XXX org.wso2.carbon.deployment.synchronizer(bid=161) when I run the diagnosis on this bundle, I am getting the following result osgi diag 29 reference:file:../plugins/commons-collections_3.2.0.wso2v1.jar [29] No unresolved constraints. What would be the reason for this behavior? Here is the location of the pack https://svn.wso2.org/repos/wso2/people/chanakaf/M7-packs/ Thanks, Chanaka -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam
Congratulations Senduran!! On Fri, Feb 27, 2015 at 2:39 PM, Keerthika Mahendralingam keerth...@wso2.com wrote: Congratulations Senduran! On Fri, Feb 27, 2015 at 2:36 PM, Kesavan Yogarajah kesav...@wso2.com wrote: Congratulations senduran ! Kesavan Yogarajah Associate Software Engineer WSO2 Inc. Mob: +94 779758021 On Fri, Feb 27, 2015 at 9:40 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations ! On Fri, Feb 27, 2015 at 9:12 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Congratz Sendu On Thu, Feb 26, 2015 at 11:20 PM, Kathees Rajendram kath...@wso2.com wrote: Congratulations Senduran! On Thu, Feb 19, 2015 at 10:32 AM, Niranda Perera nira...@wso2.com wrote: Congrats Senduran! On Thu, Feb 19, 2015 at 10:16 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations Senduran!!! On Thu, Feb 19, 2015 at 10:15 AM, Thanuja Jayasinghe than...@wso2.com wrote: Congratz Senduran.. On Thu, Feb 19, 2015 at 10:11 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Congratulations, Senduran!!! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Feb 19, 2015 at 12:05 AM, Roshan Deniyage rosh...@wso2.com wrote: congrats !!! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Wed, Feb 18, 2015 at 11:57 PM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Senduran..! On Wed, Feb 18, 2015 at 11:36 PM, Samith Dassanayake sam...@wso2.com wrote: Congratz Senduran! On Wed, Feb 18, 2015 at 10:25 PM, Srisunmugaraja Paraparan parapa...@wso2.com wrote: Congratulations Senduran . On Wed, Feb 18, 2015 at 10:12 PM, Ravi Undupitiya r...@wso2.com wrote: Congratulations Senduran! On Wed, Feb 18, 2015 at 3:36 AM, Kasun Indrasiri ka...@wso2.com wrote: Hi devs, Its my pleasure to welcome Senduran Balasubramaniyam as a WSO2 Committer. Senduran, welcome aboard and keep up the good work! Thanks. -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- *Ravi Undupitiya* Senior Software Engineer; WSO2 http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ Dev mailing list
Re: [Dev] Unsatisfied osgi component in the ESB 490 M7 pack
Hi Chanaka, Please refer to the mail thread Deployment Synchronizer is not getting activated in ESB 4.9.0 pack dev@. Thanks. On Fri, Feb 27, 2015 at 6:34 PM, Chanaka Fernando chana...@wso2.com wrote: Here is the result of the ls -c command. osgi ls -c 161 Components in bundle org.wso2.carbon.deployment.synchronizer: IDComponent details 29Component[ name = org.wso2.carbon.deployment.synchronizer.XXX factory = null autoenable = true immediate = true implementation = org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent state = Unsatisfied properties = {service.pid=org.wso2.carbon.deployment.synchronizer.XXX} serviceFactory = false serviceInterface = null references = { Reference[name = configuration.context.service, interface = org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic, cardinality = 1..1, target = null, bind = setConfigurationContextService, unbind = unsetConfigurationContextService] Reference[name = repository.reference.service, interface = org.wso2.carbon.deployment.synchronizer.ArtifactRepository, policy = dynamic, cardinality = 0..n, target = null, bind = addArtifactRepository, unbind = removeArtifactRepository] } located in bundle = org.wso2.carbon.deployment.synchronizer_4.3.5 [161] ] Dynamic information : The component is satisfied All component references are satisfied Component configurations : Configuration properties: service.pid = org.wso2.carbon.deployment.synchronizer.XXX component.name = org.wso2.carbon.deployment.synchronizer.XXX component.id = 28 Instances: No instances were created because: Can not activate instance of component org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerComponent. The activation throws: java.lang.NullPointerException According to the results of the above command, there is some NPE when activating the service. Thanks, Chanaka On Fri, Feb 27, 2015 at 6:10 PM, Chanaka Fernando chana...@wso2.com wrote: Hi All, I am getting the below unsatisfied osgi component error in the latest ESB 490 M7 pack. We have an integration test to check the unsatisfied osgi components list and that test is failing due to this behavior. 29Unsatisfiedorg.wso2.carbon.deployment.synchronizer.XXX org.wso2.carbon.deployment.synchronizer(bid=161) when I run the diagnosis on this bundle, I am getting the following result osgi diag 29 reference:file:../plugins/commons-collections_3.2.0.wso2v1.jar [29] No unresolved constraints. What would be the reason for this behavior? Here is the location of the pack https://svn.wso2.org/repos/wso2/people/chanakaf/M7-packs/ Thanks, Chanaka -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- *Isuru Udana* Senior *Software Engineer* WSO2 Inc.; http://wso2.com email: isu...@wso2.com cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error
Hi, ‘/tmp/payload/launch-params' is the file where Stratos stores the payload sent to the instance. Is this a instance created by Stratos? On Fri, Feb 27, 2015 at 5:50 PM, Sajith Abeywardhana saji...@wso2.com wrote: Hi All, I'm getting this ERROR while executing *puppet agent --test* command. I lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to run this command. I checked the /tmp/payload/ folder and it dose not have any thing. Info: Computing checksum on file /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a Info: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]: Filebucketed /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh to puppet with sum 4efaa350c2db8d342e265535bf83175a Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content: content changed '{md5}4efaa350c2db8d342e265535bf83175a' to '{md5}9b2677c68a1f45738c64a242e01c66f4' Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: change from notrun to 0 failed: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such file or directory Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: Failed to call refresh: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]: mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp /tmp/payload/launch-params /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params returned 1 instead of one of [0] Notice: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content: --- /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh 2015-02-17 21:11:06.0 +0530 +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000 +0530 @@ -24,20 +24,278 @@ # -- # *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [BAM] Facing an error while creating dashboard according to the Quick Start Guide
Hi Lakshani, This error comes when the database you have pointed has the correct table, but the table does not have any records. Please make sure that the table you have given, has data. In Step 3 of 5, If you selected table as the UI element, the only input you have to give is the table name. Preview will have all the columns in the table in the database. On Fri, Feb 27, 2015 at 12:25 PM, Lakshani Gamage laksh...@wso2.com wrote: Hi Thayalan, I used H2 here. By the way, can you please tell me the relationship between Gadget UI element and database? The only Input I have to give is Table tile. I thought it was UI element table name. Thanks. On Fri, Feb 27, 2015 at 10:47 AM, Thayalan thaya...@wso2.com wrote: Are you using Mysql by any chance? Please note the fields are case sensitive. On Thu, Feb 26, 2015 at 11:53 PM, Lakshani Gamage laksh...@wso2.com wrote: Hi , When I'm trying to create a dashboard according to [1], I got following pop up box. Although, I gave all the compulsory fields. No back end exceptions observed. Is there any reason? [image: Inline image 1] [1] - https://docs.wso2.com/display/BAM250/Quick+Start+Guide 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 -- Regards, Thayalan Sivapaleswararajah Associate Technical Lead - QA Mob: +94(0)777872485 Tel : +94(0)(11)2145345 Fax : +94(0)(11)2145300 Email: thaya...@wso2.com *Disclaimer*: *This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, retransmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.* -- 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 -- Gimantha Bandara Software Engineer WSO2. Inc : http://wso2.com Mobile : +94714961919 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Class not found - org.apache.axis2.transport.mail.MailTransportSender
Thanks Hasintha and Manoj. On Fri, Feb 27, 2015 at 5:01 PM, Manoj Kumara ma...@wso2.com wrote: Hi All, This seems to be released check [1]. [1] https://github.com/wso2/wso2-axis2-transports/releases Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Feb 27, 2015 at 4:58 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Chamath, As I have mentioned in the thread [1] this feature can be found under wso2-axis2-transports features [2]. But this has not released yet. [1] Axis2-transport features are not avaialble [2] https://github.com/wso2/wso2-axis2-transports/tree/master/features On Fri, Feb 27, 2015 at 4:41 PM, Chamath Gunawardana chama...@wso2.com wrote: Hi Sameera, Is the new mail transport feature available now? Thanks, Chamath. On Mon, Nov 17, 2014 at 2:14 PM, Sameera Jayasoma same...@wso2.com wrote: Mail transport is no longer available in Carbon Kernel from now on. We are in the process of coming up with the transport features. Once they are available you can add this feature to ES. Thanks, Sameera. On Mon, Nov 17, 2014 at 12:10 PM, Sameera Jayaratna samee...@wso2.com wrote: Hi, When I enabled mailto TransportSender in axis2.xml of ES, I get class not found exception. Got this in the ES pack I built today. I have added the error log below. What could be the reason for this issue? [2014-11-17 11:42:50,102] FATAL {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon initialization Failed org.apache.axis2.AxisFault: Exception occured while loading the Axis configuration from /home/sameeraj/Documents/git/ES/enterprise-store/modules/distribution/target/wso2es-2.0.0-SNAPSHOT/repository/conf/axis2/axis2.xml at org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:186) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88) 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:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at
Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications
+1 better from the usability aspect On Fri, Feb 27, 2015 at 5:51 PM, Manisha Gayathri mani...@wso2.com wrote: IMO, we need to show something like Deploy ID: x kind of thing for Jaggery type non buidable apps and not show any build ID and build status. Thanks Manisha On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, I am working on [1] and the I got some things to clarify. For apptypes with the build having a meaning (java web app, jaxrs, jaxws) we show a last build id,status and last deployed build id on the UI. But for jaggery applications in which we do not trigger an actual build, it does not make much sense to show the last build id (currently there is no wall message for a jaggery build as well). Showing the Build ${id} Deployed is also misleading. But when a user does some change in the application and commit it there should be some kind of a message for the user to understand whether his changes are there in the currently deployed version of the application as well. What would be the appropriate thing to do in here? [1] https://wso2.org/jira/browse/APPFAC-2978 Regards Gayan Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- ~Regards *Manisha Eleperuma* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware *blog: http://manisha-eleperuma.blogspot.com/ http://manisha-eleperuma.blogspot.com/* *mobile: +94 71 8279777 %2B94%2071%208279777* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Test failure in org.wso2.carbon.registry.social.impl module due to a commit to user.core 4.4.0-SNAPSHOT
Merged pull #150 On Thu, Feb 26, 2015 at 7:23 PM, Sameera Jayasoma same...@wso2.com wrote: Thanks Thanuja. It works now. On Thu, Feb 26, 2015 at 2:54 PM, Thanuja Jayasinghe than...@wso2.com wrote: Hi Sameera, Please review and merge. https://github.com/wso2/carbon-registry/pull/31 https://github.com/wso2/carbon4-kernel/pull/150 Thanks, Thanuja On Thu, Feb 26, 2015 at 11:41 AM, Sameera Jayasoma same...@wso2.com wrote: Thanks for the quick response. Let me know once you are done. Thanks, Sameera. On Thu, Feb 26, 2015 at 11:39 AM, Thanuja Jayasinghe than...@wso2.com wrote: Hi Sameera, This test case need to be fixed. will do the needful. Thanks, Thanuja. On Thu, Feb 26, 2015 at 11:32 AM, Sameera Jayasoma same...@wso2.com wrote: I am building carbon-registry by changing the kernel version to Carbon 4.4.0-SNAPSHOT. I am getting the following build failure. This failure occurs due to the following PR. https://github.com/wso2/carbon4-kernel/pull/111 Thanuja, can you have a look at this please? We need this to be fixed for the Carbon 4.4.0-release. Running org.wso2.carbon.registry.social.impl.test.people.userprofile.PersonManagerImplTest log4j:WARN No appenders could be found for logger (org.wso2.carbon.context.internal.CarbonContextDataHolder). log4j:WARN Please initialize the log4j system properly. Warning: Could not get charToByteConverterClass! Feb 26, 2015 11:13:23 AM org.apache.tomcat.jdbc.pool.ConnectionPool init WARNING: maxIdle is larger than maxActive, setting maxIdle to: 50 Listening for transport dt_socket at address: 11000 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 129.964 sec FAILURE! - in org.wso2.carbon.registry.social.impl.test.people.userprofile.PersonManagerImplTest testGetPerson1(org.wso2.carbon.registry.social.impl.test.people.userprofile.PersonManagerImplTest) Time elapsed: 129.956 sec ERROR! org.wso2.carbon.registry.social.api.SocialDataException: Error while saving person with id admin at org.wso2.carbon.registry.social.impl.people.userprofile.PersonManagerImpl.savePerson(PersonManagerImpl.java:103) at org.wso2.carbon.registry.social.impl.test.people.userprofile.PersonManagerImplTest.testGetPerson1(PersonManagerImplTest.java:142) Caused by: org.wso2.carbon.user.core.UserStoreException: org.wso2.carbon.user.core.UserStoreException: Invalid claim URI value at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doSetUserClaimValues(JDBCUserStoreManager.java:1872) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.setUserClaimValues(AbstractUserStoreManager.java:978) at org.wso2.carbon.registry.social.impl.people.userprofile.PersonManagerImpl.savePerson(PersonManagerImpl.java:100) ... 23 more Caused by: org.wso2.carbon.user.core.UserStoreException: Invalid claim URI value at org.wso2.carbon.user.core.common.AbstractUserStoreManager.getClaimAtrribute(AbstractUserStoreManager.java:814) at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doSetUserClaimValues(JDBCUserStoreManager.java:1857) ... 25 more Results : Tests in error: org.wso2.carbon.registry.social.impl.test.people.userprofile.PersonManagerImplTest#testGetPerson1 SocialDataException Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam
Congratulations Senduran! On Fri, Feb 27, 2015 at 2:36 PM, Kesavan Yogarajah kesav...@wso2.com wrote: Congratulations senduran ! Kesavan Yogarajah Associate Software Engineer WSO2 Inc. Mob: +94 779758021 On Fri, Feb 27, 2015 at 9:40 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations ! On Fri, Feb 27, 2015 at 9:12 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Congratz Sendu On Thu, Feb 26, 2015 at 11:20 PM, Kathees Rajendram kath...@wso2.com wrote: Congratulations Senduran! On Thu, Feb 19, 2015 at 10:32 AM, Niranda Perera nira...@wso2.com wrote: Congrats Senduran! On Thu, Feb 19, 2015 at 10:16 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations Senduran!!! On Thu, Feb 19, 2015 at 10:15 AM, Thanuja Jayasinghe than...@wso2.com wrote: Congratz Senduran.. On Thu, Feb 19, 2015 at 10:11 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Congratulations, Senduran!!! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Feb 19, 2015 at 12:05 AM, Roshan Deniyage rosh...@wso2.com wrote: congrats !!! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Wed, Feb 18, 2015 at 11:57 PM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Senduran..! On Wed, Feb 18, 2015 at 11:36 PM, Samith Dassanayake sam...@wso2.com wrote: Congratz Senduran! On Wed, Feb 18, 2015 at 10:25 PM, Srisunmugaraja Paraparan parapa...@wso2.com wrote: Congratulations Senduran . On Wed, Feb 18, 2015 at 10:12 PM, Ravi Undupitiya r...@wso2.com wrote: Congratulations Senduran! On Wed, Feb 18, 2015 at 3:36 AM, Kasun Indrasiri ka...@wso2.com wrote: Hi devs, Its my pleasure to welcome Senduran Balasubramaniyam as a WSO2 Committer. Senduran, welcome aboard and keep up the good work! Thanks. -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- *Ravi Undupitiya* Senior Software Engineer; WSO2 http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. |
[Dev] Please merge pull request
Hi, Please review the pull request [1]. [1]. https://github.com/wso2/product-ues/pull/16 Thank you! -- *Vidura Mudalige* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: *+94 77 2323175* Email : vidu...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Senduran Balasubramaniyam
Congratulations senduran ! Kesavan Yogarajah Associate Software Engineer WSO2 Inc. Mob: +94 779758021 On Fri, Feb 27, 2015 at 9:40 AM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Congratulations ! On Fri, Feb 27, 2015 at 9:12 AM, Akalanka Pagoda Arachchi darsha...@wso2.com wrote: Congratz Sendu On Thu, Feb 26, 2015 at 11:20 PM, Kathees Rajendram kath...@wso2.com wrote: Congratulations Senduran! On Thu, Feb 19, 2015 at 10:32 AM, Niranda Perera nira...@wso2.com wrote: Congrats Senduran! On Thu, Feb 19, 2015 at 10:16 AM, Prasanna Dangalla prasa...@wso2.com wrote: Congratulations Senduran!!! On Thu, Feb 19, 2015 at 10:15 AM, Thanuja Jayasinghe than...@wso2.com wrote: Congratz Senduran.. On Thu, Feb 19, 2015 at 10:11 AM, Dilan Udara Ariyaratne dil...@wso2.com wrote: Congratulations, Senduran!!! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Feb 19, 2015 at 12:05 AM, Roshan Deniyage rosh...@wso2.com wrote: congrats !!! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Wed, Feb 18, 2015 at 11:57 PM, Chanuka Dissanayake chan...@wso2.com wrote: Congratulations Senduran..! On Wed, Feb 18, 2015 at 11:36 PM, Samith Dassanayake sam...@wso2.com wrote: Congratz Senduran! On Wed, Feb 18, 2015 at 10:25 PM, Srisunmugaraja Paraparan parapa...@wso2.com wrote: Congratulations Senduran . On Wed, Feb 18, 2015 at 10:12 PM, Ravi Undupitiya r...@wso2.com wrote: Congratulations Senduran! On Wed, Feb 18, 2015 at 3:36 AM, Kasun Indrasiri ka...@wso2.com wrote: Hi devs, Its my pleasure to welcome Senduran Balasubramaniyam as a WSO2 Committer. Senduran, welcome aboard and keep up the good work! Thanks. -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- *Ravi Undupitiya* Senior Software Engineer; WSO2 http://wso2.com *E-mail: r...@wso2.com http://wso2.com**M: **+94 772 930 712 %2B94%C2%A0772%20930%20712* Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Samith Dassanayake Software Engineer | Cloud TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +947 76207351 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: chan...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanuja Lakmal* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94715979891 +94758009992 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Prasanna Dangalla Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware cell: +94 777 55 80 30 | +94 718 11 27 51 twitter: @prasa77 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ 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
Re: [Dev] Jaggery server.address support in CEP 4.0.0
Hi, The issue is resolved. I had an older version of the CEP 4.0.0. Thank you all for your immediate responses. Thanks. On Fri, Feb 27, 2015 at 12:47 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi Sabra, Can you please try the latest released pack[1]. [1] : https://svn.wso2.org/repos/wso2/people/tishan/ Thanks, Damith. On Fri, Feb 27, 2015 at 12:17 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Adding Thishan and Mohan. Hi Sabra, I built product-cep and the carbon module has the address method. Thank You, Sameera On Fri, Feb 27, 2015 at 11:39 AM, Sabra Ossen sa...@wso2.com wrote: Hi Sameera, Thank you for the clarification. Depending on a fix for this issue, I will use an appropriate method to access the address of the server. Thanks. On Fri, Feb 27, 2015 at 11:30 AM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Sabra, There could be an issue with the version of the carbon module used by CEP 4.0.0.The address method has not been removed from the carbon module and was added before 3.1.0 and has not been changed since. Thank You, Sameera On Thu, Feb 26, 2015 at 5:57 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I tried it. But it returns https://null:9443; as the server address, I have shown the code segment below. The host variable is null. var carbon = require('carbon'); var getAddress = function(transport){ var process = require(process), host = process.getProperty('server.host'), ip = process.getProperty('carbon.local.ip'); var log = new Log(); var port; if(transport==http){ port = process.getProperty('mgt.transport.http.proxyPort'); if(!port){ //can use http.port as well port = process.getProperty('mgt.transport.http.port'); } }else if(transport==https){ port = process.getProperty('mgt.transport.https.proxyPort'); if(!port){ //can use https.port as well port = process.getProperty('mgt.transport.https.port'); } } var postUrl; if(host==localhost){ postUrl = https://; + ip + : + port; }else{ postUrl = https://; + host+ : +port; } return postUrl; } print(getAddress('https')); print('br'); print(carbon.server.tenantDomain()); print('br'); print(carbon.server.tenantId()); print('br'); print(carbon.server.tenantUser('admin')); print('br'); On Thu, Feb 26, 2015 at 5:39 PM, Inshaf Mahath ins...@wso2.com wrote: Hi Sabra, You can try [1] sample to get the runtime server address. [1] - https://gist.github.com/dulichan/9577696 On Thu, Feb 26, 2015 at 5:33 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I am getting the following error when trying to run the jaggery sample [1] in WSO2 CEP 4.0.0. The mentioned sample runs fine in WSO2 CEP 3.1.0. [2015-02-26 17:18:52,580] ERROR - {WebAppManager} org.mozilla.javascript.EcmaError: TypeError: Cannot find function address in object [object Object]. (/Test//index.jag#12) org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function address in object [object Object]. (/Test//index.jag#12) at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:559) at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:378) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at
[Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications
Hi all, I am working on [1] and the I got some things to clarify. For apptypes with the build having a meaning (java web app, jaxrs, jaxws) we show a last build id,status and last deployed build id on the UI. But for jaggery applications in which we do not trigger an actual build, it does not make much sense to show the last build id (currently there is no wall message for a jaggery build as well). Showing the Build ${id} Deployed is also misleading. But when a user does some change in the application and commit it there should be some kind of a message for the user to understand whether his changes are there in the currently deployed version of the application as well. What would be the appropriate thing to do in here? [1] https://wso2.org/jira/browse/APPFAC-2978 Regards Gayan Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware Mobile 071 666 2327 Office Tel : 94 11 214 5345 Fax : 94 11 214 5300 Twitter : https://twitter.com/gayanlggd ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Class not found - org.apache.axis2.transport.mail.MailTransportSender
Hi Sameera, Is the new mail transport feature available now? Thanks, Chamath. On Mon, Nov 17, 2014 at 2:14 PM, Sameera Jayasoma same...@wso2.com wrote: Mail transport is no longer available in Carbon Kernel from now on. We are in the process of coming up with the transport features. Once they are available you can add this feature to ES. Thanks, Sameera. On Mon, Nov 17, 2014 at 12:10 PM, Sameera Jayaratna samee...@wso2.com wrote: Hi, When I enabled mailto TransportSender in axis2.xml of ES, I get class not found exception. Got this in the ES pack I built today. I have added the error log below. What could be the reason for this issue? [2014-11-17 11:42:50,102] FATAL {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon initialization Failed org.apache.axis2.AxisFault: Exception occured while loading the Axis configuration from /home/sameeraj/Documents/git/ES/enterprise-store/modules/distribution/target/wso2es-2.0.0-SNAPSHOT/repository/conf/axis2/axis2.xml at org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:186) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88) 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:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by:
[Dev] [DEV] Problem in dynamically changing image reference
Hi, I have an img tag inside a unordered list item as follows. ul liimg src=next.jpg class = img-list2UPPERCASE,/li liimg src=next.jpg class = img-list3lowercase,/li liimg src=next.jpg class = img-list4digits,/li liimg src=next.jpg class = img-list5Special characters./li /ul I want to change this image dynamically. There fore i was trying to get the img reference by var image = $('.list1 li img:first'); image.attr(src, v); But this does not update the image as i expected. How can i get this working? Also, i can get the first img as above. But how can i get the img of second list item? Thanks Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Registry resource not found exception thrown at IS 5.1.0 tenant login
Hi, I get following exception when logged in as a tenant in wso2is-5.1.0-SNAPSHOT. Any Idea why this is happening? [IS]ERROR {org.wso2.carbon.registry.app.ResourceServlet} - Failed to get resource content. Resource does not exist at path /_system/governance/repository/theme/admin/main.css org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/governance/repository/theme/admin/main.css at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.getGhostResourceFromCache(CacheBackedRegistry.java:194) at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:167) at org.wso2.carbon.registry.core.session.UserRegistry.getInternal(UserRegistry.java:613) at org.wso2.carbon.registry.core.session.UserRegistry.access$400(UserRegistry.java:60) at org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:596) at org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:593) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:593) at org.wso2.carbon.registry.app.ResourceServlet.doGet(ResourceServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30) at org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:156) at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183) at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:62) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at
Re: [Dev] Class not found - org.apache.axis2.transport.mail.MailTransportSender
Hi Chamath, As I have mentioned in the thread [1] this feature can be found under wso2-axis2-transports features [2]. But this has not released yet. [1] Axis2-transport features are not avaialble [2] https://github.com/wso2/wso2-axis2-transports/tree/master/features On Fri, Feb 27, 2015 at 4:41 PM, Chamath Gunawardana chama...@wso2.com wrote: Hi Sameera, Is the new mail transport feature available now? Thanks, Chamath. On Mon, Nov 17, 2014 at 2:14 PM, Sameera Jayasoma same...@wso2.com wrote: Mail transport is no longer available in Carbon Kernel from now on. We are in the process of coming up with the transport features. Once they are available you can add this feature to ES. Thanks, Sameera. On Mon, Nov 17, 2014 at 12:10 PM, Sameera Jayaratna samee...@wso2.com wrote: Hi, When I enabled mailto TransportSender in axis2.xml of ES, I get class not found exception. Got this in the ES pack I built today. I have added the error log below. What could be the reason for this issue? [2014-11-17 11:42:50,102] FATAL {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon initialization Failed org.apache.axis2.AxisFault: Exception occured while loading the Axis configuration from /home/sameeraj/Documents/git/ES/enterprise-store/modules/distribution/target/wso2es-2.0.0-SNAPSHOT/repository/conf/axis2/axis2.xml at org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:186) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88) 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:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) 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
Re: [Dev] Class not found - org.apache.axis2.transport.mail.MailTransportSender
Hi All, This seems to be released check [1]. [1] https://github.com/wso2/wso2-axis2-transports/releases Regards, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Fri, Feb 27, 2015 at 4:58 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Chamath, As I have mentioned in the thread [1] this feature can be found under wso2-axis2-transports features [2]. But this has not released yet. [1] Axis2-transport features are not avaialble [2] https://github.com/wso2/wso2-axis2-transports/tree/master/features On Fri, Feb 27, 2015 at 4:41 PM, Chamath Gunawardana chama...@wso2.com wrote: Hi Sameera, Is the new mail transport feature available now? Thanks, Chamath. On Mon, Nov 17, 2014 at 2:14 PM, Sameera Jayasoma same...@wso2.com wrote: Mail transport is no longer available in Carbon Kernel from now on. We are in the process of coming up with the transport features. Once they are available you can add this feature to ES. Thanks, Sameera. On Mon, Nov 17, 2014 at 12:10 PM, Sameera Jayaratna samee...@wso2.com wrote: Hi, When I enabled mailto TransportSender in axis2.xml of ES, I get class not found exception. Got this in the ES pack I built today. I have added the error log below. What could be the reason for this issue? [2014-11-17 11:42:50,102] FATAL {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon initialization Failed org.apache.axis2.AxisFault: Exception occured while loading the Axis configuration from /home/sameeraj/Documents/git/ES/enterprise-store/modules/distribution/target/wso2es-2.0.0-SNAPSHOT/repository/conf/axis2/axis2.xml at org.wso2.carbon.core.CarbonAxisConfigurator.getAxisConfiguration(CarbonAxisConfigurator.java:186) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88) 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:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at
Re: [Dev] [Java 8] [AS Integration Tests] AS distribution fails to start after instrumenting using EMMA 2.1.5320
We will disable Integration tests for the moment. Thanks, Sameera. On Fri, Feb 27, 2015 at 7:26 AM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Sameera, Thank you for sharing the pack. I tried to execute integration test pointing the pack you have shared. Its not only the tomcat bundle that gives error it sees some other bundles too. Seems like EMMA is no longer have support for latest JDKs. Since EMMA is off development since 2005 we may need to change our coverage strategy by moving to jacoco Untill we figure this out you can move forward with the integration tests by disabling coverage. You can disable coverage by making coveragetrue/coverage in automation.xml Thank You, Dharshana. On Thu, Feb 26, 2015 at 7:54 PM, Sameera Jayasoma same...@wso2.com wrote: Thanks Darshana, I've uploaded the wso2as-6.0.0-SNAPSHOT distribution to an svn repository. This pack is built in Java 8. Here are the steps reproduce this error. 1) Download the AS pack from [1], unzip and start. You won't get the error coz no jar files are instrumented using EMMA. 2) Instrument carbon.tomcat bundle using the following command. I've attached emma jar file as well. java -cp emma-2.1.5320.jar emma instr -m overwrite -cp org.wso2.carbon.tomcat_4.4.0-SNAPSHOT.jar 3) Now start the pack. You will get the error. Thanks, Sameera. [1] http://svn.wso2.org/repos/wso2/people/sameera/work/emma-as-pack On Thu, Feb 26, 2015 at 7:02 PM, Dharshana Warusavitharana dharsha...@wso2.com wrote: Hi Sameera, Will have a look. Thank you, Dharshana. On Thu, Feb 26, 2015 at 6:56 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Folks, AS integration tests are failing in Java 8 due to $Subject. Following is the error. *java.lang.ClassFormatError: Illegal local variable table length 5 in method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.init()V* Looks like Java 8 cannot understand the bytecode produced by instrumentations. We are using an older version of EMMA. I guess the generated bytecode does not compatible with Java 8. Automation Team, can we find a solution to this problem? Thanks, Sameera. [2015-02-26 15:05:04,157] ERROR {org.wso2.carbon.user.core.internal.Activator} - Cannot start User Manager Core bundle *java.lang.ClassFormatError: Illegal local variable table length 5 in method org.wso2.carbon.tomcat.jndi.CarbonJavaURLContextFactory.init()V*at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:340) at org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1181) at org.wso2.carbon.context.internal.CarbonContextDataHolder$2.run(CarbonContextDataHolder.java:1177) at java.security.AccessController.doPrivileged(Native Method) at org.wso2.carbon.context.internal.CarbonContextDataHolder.classForName(CarbonContextDataHolder.java:1177) at org.wso2.carbon.context.internal.CarbonContextDataHolder.access$700(CarbonContextDataHolder.java:94) at org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextDataHolder.java:456) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:341) at javax.naming.InitialContext.lookup(InitialContext.java:417) at javax.naming.InitialContext.doLookup(InitialContext.java:290) -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com dharsha...@wso2.com Tel : +94 11 214 5345 Fax :+94 11 2145300 cell : +94770342233 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com dharsha...@wso2.com Tel : +94 11 214 5345 Fax :+94 11 2145300 cell : +94770342233 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile:
Re: [Dev] [DEV] Problem in dynamically changing image reference
Hi Ishara, To get the second list item try[1] with replacing n with intended item number. [1] $( .list1 li img:nth-child(n) ); Also add the class name into ul tag as ul class=list1. For further reference you can try [2] for JQuery :nth-child() selector. [2] http://api.jquery.com/nth-child-selector/ Regards, On Fri, Feb 27, 2015 at 3:22 PM, Ishara Cooray isha...@wso2.com wrote: Hi, I have an img tag inside a unordered list item as follows. ul liimg src=next.jpg class = img-list2UPPERCASE,/li liimg src=next.jpg class = img-list3lowercase,/li liimg src=next.jpg class = img-list4digits,/li liimg src=next.jpg class = img-list5Special characters./li /ul I want to change this image dynamically. There fore i was trying to get the img reference by var image = $('.list1 li img:first'); image.attr(src, v); But this does not update the image as i expected. How can i get this working? Also, i can get the first img as above. But how can i get the img of second list item? Thanks Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Malith Munasinghe | Software Engineer M: +94 (071) 9401122 E: mali...@wso2.com W: http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev