[Dev] WSO2 Enterprise Store Milestone-3 Released !
*WSO2 Enterprise Store Milestone-3 Released !* This is the third milestone of WSO2 Enterprise Store, which will create a marketplace for your enterprise assets. You can download the milestone at [1]. Milestone-3 specifically contains, [STORE-32 https://wso2.org/jira/browse/STORE-32] - SSO between publisher and store [STORE-16 https://wso2.org/jira/browse/STORE-16] - Publish an asset to store: Fill asset propertise [STORE-30 https://wso2.org/jira/browse/STORE-30] - Publisher theming [STORE-33 https://wso2.org/jira/browse/STORE-33] - Publisher asset listing The milestone-3 of WSO2 Enterprise Store is in its very early stages, you will encounter number of bugs and feature limitations, we are working on improving these in future milestones. Product road-map can be found at [4] and issues can be reported at [5] [1] http://dist.wso2.org/milestone/es/1.0.0-M3/wso2store-1.0.0.zip [2] Store Front URL : http://{host}:{9763}/store [3] Store Back-office (Publisher) : http://{host}:{9763}/publisher [4] Store Roadmap : https://wso2.org/jira/browse/STORE#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel [5] https://wso2.org/jira/browse/STORE -- *Thanks Regards,* * * *Enterprise Store Team * http://www.nuwanbando.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Build Failure] [trunk] Rass manager core build failing
Seemed a local repo issue. Resolved in clean repo. Thanks and sorry for inconvenience. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Aug 10, 2013 at 8:21 AM, Prabath Abeysekera praba...@wso2.comwrote: Hi Danushka, On Sat, Aug 10, 2013 at 7:34 AM, Danushka Fernando danush...@wso2.comwrote: Hi Prabath I svn up just before start build. I see. I can't seem to locally reproduce this and the missing methods are properly there in the source code, if you browse the SVN repository online as well. Maybe there's something wrong with your working copy. Would you be able remove the rss-manager sources from your working-copy and do an SVN up? Cheers, Prabath Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Aug 9, 2013 at 7:08 PM, Prabath Abeysekera praba...@wso2.comwrote: Hmm.. Looks like you haven't taken an SVN up for ages. :) Cheers, Prabath On Fri, Aug 9, 2013 at 4:24 PM, Danushka Fernando danush...@wso2.comwrote: Hi Trunk build failed in RSS Manager core. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.rssmanager.core: Compilation failure: Compilation failure: [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[177,10] createDatabaseUser(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.DatabaseUser) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.DatabaseUser) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[183,10] createDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.DatabasePrivilegeTemplate) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.DatabasePrivilegeTemplate) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[186,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[190,10] createDatabase(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.Database) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.Database) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[193,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[194,10] dropDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,java.lang.String) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (java.lang.String) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[198,73] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[201,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[202,10] dropDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,java.lang.String) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (java.lang.String) [ERROR]
[Dev] [Build Issue] [trunk] org.apache.synapse.transport.nhttp.feature build fails
Hi, $subject with following error. Failed to execute goal on project org.apache.synapse.transport.nhttp.feature: Could not resolve dependencies for project org.wso2.carbon:org.apache.synapse.transport.nhttp.feature:pom:2.1.1-wso2v8: The repository system is offline but the artifact org.apache.httpcomponents.wso2:httpcore-nio:jar:4.3.0.wso2v1 is not available in the local repository. - [Help 1] I found that build is serching the http-core nio jar in the location /home/wdfdo1986/.m2/repository/org/apache/httpcomponents/wso2/httpcore-nio/4.3.0 *.*wso2v1 instead of /home/wdfdo1986/.m2/repository/org/apache/httpcomponents/wso2/httpcore-nio/4.3.0 *-*wso2v1 where the actually jar and pom file is. So I copied the jar and pom in to first location from second location and rename them. Then build started to work. But I think something needed to be fixed. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Cannot restart Carbon servers with Ghost deployer turned on
Hi All, I switched on GD and started the server (tried with Application Server). The server started successfully. Then restarted the server and it failed with the below exception. (All configuration files are attached to the JIRA) ** [2013-08-10 14:36:13,403] INFO {org.wso2.carbon.utils.deployment.GhostDeployer} - Ghost Deployer Deploying Artifact : /home/evanthika/WSO2/CARBON/CARBON-4.2.0/9thAug/setup/mgr/wso2as-5.2.0-SNAPSHOT/repository/deployment/server/webapps/STRATOS_ROOT [2013-08-10 14:36:13,408] ERROR {org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils} - Error while creating Ghost Webapp from Ghost File : /home/evanthika/WSO2/CARBON/CARBON-4.2.0/9thAug/setup/mgr/wso2as-5.2.0-SNAPSHOT/repository/deployment/server/ghostmetafiles/ghostWebapps/webapps_STRATOS_ROOT.xml java.lang.NullPointerException at org.apache.catalina.core.ApplicationContext.populateSessionTrackingModes(ApplicationContext.java:1190) at org.apache.catalina.core.ApplicationContext.init(ApplicationContext.java:125) at org.apache.catalina.core.StandardContext.getServletContext(StandardContext.java:2323) at org.wso2.carbon.webapp.mgt.WebApplication.init(WebApplication.java:79) at org.wso2.carbon.webapp.mgt.utils.GhostWebappDeployerUtils.createGhostWebApp(GhostWebappDeployerUtils.java:356) at org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:102) at org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:123) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139) at org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) 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:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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
[Dev] Continuous INFO logs : Artifact synchronization is completed - just after starting the IS server...
Please have a look.. [2013-08-10 15:31:21,345] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:31:36,361] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:31:51,374] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:32:21,402] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:32:36,417] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… -- Thanks Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com http://RampartFAQ.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Icon of Multitenancy Menu still wrong and JIRA resolved
Hi all, Just realized that a bug that was reported more than an year ago is still observed and the relevant JIRA has been resolved, :). Can we please ensure that this is fixed properly. Thanks, Senaka. -- * http://us13.wso2con.com/ * * * *Senaka Fernando* Senior Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Icon of Multitenancy Menu still wrong and JIRA resolved
The link is https://wso2.org/jira/browse/STRATOS-2062. Thanks, Senaka. On Sat, Aug 10, 2013 at 6:02 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, Just realized that a bug that was reported more than an year ago is still observed and the relevant JIRA has been resolved, :). Can we please ensure that this is fixed properly. Thanks, Senaka. -- * http://us13.wso2con.com/ * * * *Senaka Fernando* Senior Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware -- * http://us13.wso2con.com/ * * * *Senaka Fernando* Senior Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Continuous INFO logs : Artifact synchronization is completed - just after starting the IS server...
Hi Prabath, This was due to fix on issue [1] and I have mistakenly placed the log info message. This was reverted and fixed on trunk. Sorry for the inconvenience. [1] https://wso2.org/jira/browse/CARBON-14337 Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Sat, Aug 10, 2013 at 3:33 PM, Prabath Siriwardena prab...@wso2.comwrote: Please have a look.. [2013-08-10 15:31:21,345] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:31:36,361] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:31:51,374] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:32:21,402] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… [2013-08-10 15:32:36,417] INFO {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Artifact synchronization is completed… -- Thanks Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com http://RampartFAQ.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
Re: [Dev] [Build Failure] [trunk] Rass manager core build failing
On Sat, Aug 10, 2013 at 12:17 PM, Danushka Fernando danush...@wso2.comwrote: Seemed a local repo issue. Resolved in clean repo. Thanks and sorry for inconvenience. Great! Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Aug 10, 2013 at 8:21 AM, Prabath Abeysekera praba...@wso2.comwrote: Hi Danushka, On Sat, Aug 10, 2013 at 7:34 AM, Danushka Fernando danush...@wso2.comwrote: Hi Prabath I svn up just before start build. I see. I can't seem to locally reproduce this and the missing methods are properly there in the source code, if you browse the SVN repository online as well. Maybe there's something wrong with your working copy. Would you be able remove the rss-manager sources from your working-copy and do an SVN up? Cheers, Prabath Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Aug 9, 2013 at 7:08 PM, Prabath Abeysekera praba...@wso2.comwrote: Hmm.. Looks like you haven't taken an SVN up for ages. :) Cheers, Prabath On Fri, Aug 9, 2013 at 4:24 PM, Danushka Fernando danush...@wso2.comwrote: Hi Trunk build failed in RSS Manager core. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.wso2.carbon.rssmanager.core: Compilation failure: Compilation failure: [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[177,10] createDatabaseUser(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.DatabaseUser) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.DatabaseUser) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[183,10] createDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.DatabasePrivilegeTemplate) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.DatabasePrivilegeTemplate) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[186,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[190,10] createDatabase(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.core.entity.Database) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (org.wso2.carbon.rssmanager.core.entity.Database) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[193,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[194,10] dropDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,java.lang.String) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (java.lang.String) [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[198,73] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[201,49] cannot find symbol [ERROR] symbol : method getUsername() [ERROR] location: class org.wso2.carbon.rssmanager.core.entity.DatabaseUser [ERROR] /home/wdfdo1986/Source_Code/platform/trunk/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java:[202,10] dropDatabasePrivilegesTemplate(org.wso2.carbon.rssmanager.core.config.environment.RSSEnvironmentContext,java.lang.String) in org.wso2.carbon.rssmanager.core.service.RSSAdmin cannot be applied to (java.lang.String) [ERROR]
Re: [Dev] Upgrading Jettison from 1.1.wso2v1 to 1.3.4.wso2v1
Hi, I have the fixed the issue with Axis2 json message formatter with r180584. The axis2-json tests are passing fine, and the Json sample is working fine too after the change. The issue was that with Jettison MappedXMLStreamWriter, we always need to call XMLStreamWriter#writeStartDocument before serializing the xml elements to json via XMLStreamWriter#writeStartElement. Created JIRA [1] [1] https://wso2.org/jira/browse/CARBON-14352 Thanks, KasunG On Fri, Aug 9, 2013 at 9:14 PM, Supun Malinga sup...@wso2.com wrote: Hi Kasun, Seems axis2 Json sample also fails due to this. See the jira, https://wso2.org/jira/browse/WSAS-1456 thanks, On Thu, Aug 8, 2013 at 1:46 PM, Kasun Gajasinghe kas...@wso2.com wrote: Two tests are failing in Axis2 Json module with NPE both of which happened in method MappedXMLStreamWriter#writeEndElement. Any ideas on how to fix this? testEchoOMWithJSON(org.apache.axis2.json.JSONIntegrationTest) Time elapsed: 0.028 sec ERROR! java.lang.NullPointerException: null at org.codehaus.jettison.mapped.MappedXMLStreamWriter.writeEndElement(MappedXMLStreamWriter.java:252) at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeEndElement(MTOMXMLStreamWriter.java:171) at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeEndpart(OMSerializerUtil.java:58) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:876) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:117) at org.apache.axis2.json.AbstractJSONMessageFormatter.serializeChildren(AbstractJSONMessageFormatter.java:317) at org.apache.axis2.json.AbstractJSONMessageFormatter.writeTo(AbstractJSONMessageFormatter.java:193) at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:622) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278) 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.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530) at org.apache.axis2.json.JSONIntegrationTest.doEchoOM(JSONIntegrationTest.java:117) at org.apache.axis2.json.JSONIntegrationTest.testEchoOMWithJSON(JSONIntegrationTest.java:128) On Thu, Aug 8, 2013 at 1:33 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Miyuru, I did not test this with Axis2 JSON module. I will do it now, and update here. There are API changes between these two versions. Notably in AbstractXMLStreamWriter class. See the attached screenshots for api method changes. Thanks, KasunG On Thu, Aug 8, 2013 at 1:22 PM, Miyuru Wanninayaka miy...@wso2.comwrote: Axis2 JSON module too using jettison [1]. Did you tested that with jettison 1.3.4? I have tried to use axis2 json formatter with jettison 1.3.4 in repo/comp/libs and it trowed a NPE. We might need code change if there is any API change. Anyway we need to upgrade to latest jettison as 1.1.0 has a bug which fails to convert deeply nested large xml. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/dependencies/axis2/1.6.1-wso2v10/modules/json/ On Thu, Aug 8, 2013 at 12:46 PM, Kasun Gajasinghe kas...@wso2.comwrote: Thanks Nuwan.. Regards.. On Thu, Aug 8, 2013 at 6:52 AM, Nuwan Bandara nu...@wso2.com wrote: On Thu, Aug 8, 2013 at 12:46 AM, Kasun Gajasinghe kas...@wso2.comwrote: Hi, We need to $subject since CXF requires Jettison 1.3.4 to function properly. [1] As I see, Synapse core uses Jettison, and as I see, Synapse core successfully passed with tests. I haven't committed the
Re: [Dev] [dev] Axis2 Jettision depenency to be changed to jettison-1.1.0.wso2v2 instead jettison-1.1.0.wso2v1
Hi Dushan, We have upgraded Axis2 Jettison version from 1.1.0.wso2v1 to 1.3.4.wso2v1. Currently Jettison 1.3.4.wso2v1 resides in orbit. So, if you are going forward with this, please use the newer version. You can find the related discussion in Upgrading Jettison from 1.1.wso2v1 to 1.3.4.wso2v1 in Dev. Thanks, KasunG On Fri, Aug 9, 2013 at 7:06 PM, Dushan Abeyruwan dus...@wso2.com wrote: $subject any objections ? This has to be done due to some JSONPhaser limitation which is not fixed either at the latest jettision version which is critical and blocker. *ISSUES* *[1]* If received json response as follows [1.1] and Jettision phrase failed to convert *16x16 ,**24x24 .. * since those aren't valid XML representation,due to that reason we can do any content base operation on json responses received from JIRA.. [1.1] {self:xxxjhttps://wso2.org/jira/rest/api/2/user?username=dus...@wso2.comxx,key:gg,name:k,emailAddress:xxx at xxdot com,avatarUrls:{16x16:y,24x24:,32x32:m,48x48:c},displayName:nn,active:true,timeZone:Asia/Colombo,groups:{size:3,items:[]},expand:groups} corresponding XML suppose to be selfxx/self keyx dus...@wso2.com/key namendus...@wso2.comn/name emailAddressx/emailAddress avatarUrls *16x16/16x16 24x24/24x24 32x32c/32x32 48x48b/48x48*/avatarUrls displayNamexx/displayName activetrue/active timeZoneAsia/Colombo/timeZone groups size3/size /groups expandgroups/expand *Fix* *MappedXMLStreamReader in Jettision 1.1* } else { nextKey = (String) node.getKeys().next(); * Matcher matcher = degitPattern.matcher(nextKey);* *newObj = node.getObject().get(nextKey);* *if(matcher.matches()){* * nextKey = _+nextKey;* *}* *}* a simple fix and it works the response now looks as follows { self: https://x/jira/rest/api/2/user?username=https://wso2.org/jira/rest/api/2/user?username=dus...@wso2.com xxx, key: xx...@wso2.com dus...@wso2.com, name: dx dus...@wso2.comxxx, emailAddress: xxx, avatarUrls:{ * _16x16: xxxavatarId=10142https://wso2.org/jira/secure/useravatar?size=xsmallavatarId=10142 ,* * _24x24: sss=10142https://wso2.org/jira/secure/useravatar?size=smallavatarId=10142 ,* * _32x32: yy10142https://wso2.org/jira/secure/useravatar?size=mediumavatarId=10142 ,* * _48x48: nnn=10142https://wso2.org/jira/secure/useravatar?avatarId=10142 * }, displayName: xx xxx, active: true, timeZone: Asia/xxx, groups: {size: 3}, expand: groups } cheers, Dushan Abeyruwan Associate Tech Lead *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe* Software Engineer; Development Technologies Team, WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com ** cell: **+94 (77) 678-0813* *linked-in: *http://lk.linkedin.com/in/gajasinghe * * *blog: **http://kasunbg.org* http://kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] AS build failure
Seems like wrong rampart dependencies were referred. [ERROR] Failed to execute goal on project wso2appserver-samples- commodityquote: Could not resolve dependencies for project org.wso2. appserver:wso2appserver-samples-commodityquote:jar:5.2.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.rampart.wso2: rampart-policy:jar:1.6.1.wso2v10, org.apache.rampart.wso2:rampart-trust:jar: 1.6.1.wso2v10, org.apache.rampart.wso2:rampart-core:jar:1.6.1.wso2v10: Could not find artifact org.apache.rampart.wso2:rampart-policy:jar:1.6.1.wso2v10 in wso2-Nexus (http://dist.wso2.org/maven2) Thanks, Krishantha. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [dev] Axis2 Jettision depenency to be changed to jettison-1.1.0.wso2v2 instead jettison-1.1.0.wso2v1
Hi KasunG We have upgraded Axis2 Jettison version from 1.1.0.wso2v1 to 1.3.4.wso2v1. Currently Jettison 1.3.4.wso2v1 resides in orbit. So, if you I couldn't find any changers done related to axis2 in your commit r180586, btw if anything to be change in axis2 level, all the are to be introduced in kernel/parent , kernel/feature etc.. can you please review the commits and please introduce axis2 jettion update to 1.3.4 accordingly [1] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/parent *version.jettison1.1.wso2v1/version.jettison* version.axis2.json1.6.1.wso2v10/version.axis2.json [2] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/features/org.wso2.carbon.core.common.feature * bundleDeforg.codehaus.jettison.wso2:jettison:1.1.wso2v1/bundleDef * we need to update all otherwise the feature bundle may have different jettision versions... are going forward with this, please use the newer version. You can find the related discussion in Upgrading Jettison from 1.1.wso2v1 to 1.3.4.wso2v1 in Dev. Thanks, KasunG On Fri, Aug 9, 2013 at 7:06 PM, Dushan Abeyruwan dus...@wso2.com wrote: $subject any objections ? This has to be done due to some JSONPhaser limitation which is not fixed either at the latest jettision version which is critical and blocker. *ISSUES* *[1]* If received json response as follows [1.1] and Jettision phrase failed to convert *16x16 ,**24x24 .. * since those aren't valid XML representation,due to that reason we can do any content base operation on json responses received from JIRA.. [1.1] {self:xxxjhttps://wso2.org/jira/rest/api/2/user?username=dus...@wso2.comxx,key:gg,name:k,emailAddress:xxx at xxdot com,avatarUrls:{16x16:y,24x24:,32x32:m,48x48:c},displayName:nn,active:true,timeZone:Asia/Colombo,groups:{size:3,items:[]},expand:groups} corresponding XML suppose to be selfxx/self keyx dus...@wso2.com/key namendus...@wso2.comn/name emailAddressx/emailAddress avatarUrls *16x16/16x16 24x24/24x24 32x32c/32x32 48x48b/48x48*/avatarUrls displayNamexx/displayName activetrue/active timeZoneAsia/Colombo/timeZone groups size3/size /groups expandgroups/expand *Fix* *MappedXMLStreamReader in Jettision 1.1* } else { nextKey = (String) node.getKeys().next(); * Matcher matcher = degitPattern.matcher(nextKey);* *newObj = node.getObject().get(nextKey);* *if(matcher.matches()){* * nextKey = _+nextKey;* *}* *}* a simple fix and it works the response now looks as follows { self: https://x/jira/rest/api/2/user?username=https://wso2.org/jira/rest/api/2/user?username=dus...@wso2.com xxx, key: xx...@wso2.com dus...@wso2.com, name: dx dus...@wso2.comxxx, emailAddress: xxx, avatarUrls:{ * _16x16: xxxavatarId=10142https://wso2.org/jira/secure/useravatar?size=xsmallavatarId=10142 ,* * _24x24: sss=10142https://wso2.org/jira/secure/useravatar?size=smallavatarId=10142 ,* * _32x32: yy10142https://wso2.org/jira/secure/useravatar?size=mediumavatarId=10142 ,* * _48x48: nnn=10142https://wso2.org/jira/secure/useravatar?avatarId=10142 * }, displayName: xx xxx, active: true, timeZone: Asia/xxx, groups: {size: 3}, expand: groups } cheers, Dushan Abeyruwan Associate Tech Lead *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe* Software Engineer; Development Technologies Team, WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com ** cell: **+94 (77) 678-0813* *linked-in: *http://lk.linkedin.com/in/gajasinghe * * *blog: **http://kasunbg.org* http://kasunbg.org * twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg * * -- Dushan Abeyruwan Associate Tech Lead *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632* -- Dushan Abeyruwan Associate Tech Lead *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev