Re: [Dev] Oracle IDM
Hi Isura, When I was in support I worked on a similar support issue. To the above support issue the client had an Oracle IDM environemnt. But in this case it doesn't matter which environment it involves since this issue occurred due to huge number of user accounts in the database. So initially to reproduce this error I used Apache DS. If you are having something similar scenario I recommend the same. You can find a step by step guide in my blog [1] http://tutorials-for-developers.blogspot.com/. However if you need to setup Oracale IDM then the below links would help you. [1] http://tutorials-for-developers.blogspot.com/ [2] http://docs.oracle.com/cd/E12839_01/install./e10033.pdf [3] http://www.makina-corpus.org/blog/howto-install-oracle-11g-ubuntu-linux-1204-precise-pangolin-64bits Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Fri, Apr 11, 2014 at 11:27 AM, Lali Devamanthri l...@wso2.com wrote: Hi, I do remember AmalG worked on Oracle IDM related support issue. @AmalG can you shed some light on here. On Fri, Apr 11, 2014 at 10:56 AM, Isura Karunaratne is...@wso2.comwrote: Does anybody have experience with $subject installation on ubuntu -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lali Sudaththa Devamanthri* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 895 4922 http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Identifier is too long for Sequences and Triggers of some Identity tables
Let's use SEQ and TRG at the end. On Apr 11, 2014 11:50 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi all, Oracle is complaining with identifier is too long for below Sequences and Triggers. IDN_APPMGT_CLAIM_MAPPING_SEQUENCE IDN_APPMGT_CLAIM_MAPPING_TRIGGER IDN_APPMGT_ROLE_MAPPING_SEQUENCE IDN_APPMGT_ROLE_MAPPING_TRIGGER We need to change those to smaller names ( 30 chars). Thanks, Lakmali -- Lakmali Baminiwatta Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.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] Identifier is too long for Sequences and Triggers of some Identity tables
Created https://wso2.org/jira/browse/IDENTITY-2143 On Fri, Apr 11, 2014 at 12:05 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Let's use SEQ and TRG at the end. On Apr 11, 2014 11:50 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi all, Oracle is complaining with identifier is too long for below Sequences and Triggers. IDN_APPMGT_CLAIM_MAPPING_SEQUENCE IDN_APPMGT_CLAIM_MAPPING_TRIGGER IDN_APPMGT_ROLE_MAPPING_SEQUENCE IDN_APPMGT_ROLE_MAPPING_TRIGGER We need to change those to smaller names ( 30 chars). Thanks, Lakmali -- Lakmali Baminiwatta Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.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 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Difficulty Running an Axis2 Service in WSO2 AS
Hi, The service has dependency jars all those were copied into WEB-INF/lib in the Axis2 directory and then the service is invoked correctly. In WSO2 AS I copied the jars to repository/components/lib (According to the AS doc), when I deploy the .aar it is getting following error; Error: java.lang.NoClassDefFoundError: org/wso2/ws/dataservice/DataServiceFault at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.(DefaultSchemaGenerator.java:140) at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:397) at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:101) at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:82) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) 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:135) 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(CarbonServeError:java.lang.NoClassDefFoundError ,rManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77) 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:606) 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:1267) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
Re: [Dev] Identifier is too long for Sequences and Triggers of some Identity tables
Seems this is already fixed in identity-core feature. On Fri, Apr 11, 2014 at 12:10 PM, Chamath Gunawardana chama...@wso2.comwrote: Created https://wso2.org/jira/browse/IDENTITY-2143 On Fri, Apr 11, 2014 at 12:05 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Let's use SEQ and TRG at the end. On Apr 11, 2014 11:50 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi all, Oracle is complaining with identifier is too long for below Sequences and Triggers. IDN_APPMGT_CLAIM_MAPPING_SEQUENCE IDN_APPMGT_CLAIM_MAPPING_TRIGGER IDN_APPMGT_ROLE_MAPPING_SEQUENCE IDN_APPMGT_ROLE_MAPPING_TRIGGER We need to change those to smaller names ( 30 chars). Thanks, Lakmali -- Lakmali Baminiwatta Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.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 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Message Broker - 2.2.0 ALPHA Released!
WSO2 Message Broker Development team is pleased to announce the release alpha version of WSO2 Message Broker 2.2.0. This release is now available to download at location [1] and the documentation for this also can be found in the location [2]. WSO2 Message Broker, the most powerful open source distributed message broker, can be used to store and forward messages in AMQP and JMS worlds in order to integrate various systems. WSO2 Message Broker is released under the Apache Software License 2.0 http://www.apache.org/licenses/LICENSE-2.0 . *Key Features* - Point to Point Messaging - Pub/Sub Messaging *New Features In this version* - Dead letter channel - Back pressure - Queue permission - Carbon Profiles - Message Selectores - Subscription viewer *Installing* The only prerequisite required to try this release out is an installation of JDK 1.6 (Sun/Oracle JDK 1.6.0_23 or higher recommended) - Download the WSO2 MB 2.2.0-ALPHA release from http://svn.wso2.org/repos/wso2/people/shammi/MB220-ALPHA/ - Extract the downloaded archive - Go to the 'bin' directory and execute wso2server.sh (Unix/Linux) or wso2server.bat (Windows) - Point your web browser to http://localhost:9443/carbon to get started *Fixed issues* You can find the list of issues fixed in this version here [3] We highly appreciate your feedback on this release. Please report any issues at https://wso2.org/jira/browse/MB. If you want to see a particular feature changed or improved, drop us a mail at dev@wso2.org or architect...@wso2.org. [1] http://svn.wso2.org/repos/wso2/people/shammi/MB220-ALPHA/ [2] https://docs.wso2.org/display/MB220/WSO2+Message+Broker+Documentation [3]https://wso2.org/jira/issues/?filter=11761 Thanks, - WSO2 MB Team - Best Regards, * Shammi Jayasinghe* Associate Tech Lead WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Identifier is too long for Sequences and Triggers of some Identity tables
Yes. Fixed the same identifiers in apim scripts as well. Thanks, Lakmali On 11 April 2014 12:29, Chamath Gunawardana chama...@wso2.com wrote: Seems this is already fixed in identity-core feature. On Fri, Apr 11, 2014 at 12:10 PM, Chamath Gunawardana chama...@wso2.comwrote: Created https://wso2.org/jira/browse/IDENTITY-2143 On Fri, Apr 11, 2014 at 12:05 PM, Sumedha Rubasinghe sume...@wso2.comwrote: Let's use SEQ and TRG at the end. On Apr 11, 2014 11:50 AM, Lakmali Baminiwatta lakm...@wso2.com wrote: Hi all, Oracle is complaining with identifier is too long for below Sequences and Triggers. IDN_APPMGT_CLAIM_MAPPING_SEQUENCE IDN_APPMGT_CLAIM_MAPPING_TRIGGER IDN_APPMGT_ROLE_MAPPING_SEQUENCE IDN_APPMGT_ROLE_MAPPING_TRIGGER We need to change those to smaller names ( 30 chars). Thanks, Lakmali -- Lakmali Baminiwatta Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.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 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 -- Lakmali Baminiwatta Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Difference in the time CEP pack starts on windows and ubuntu
Hi All Noticed a difference in the startup time when a fresh pack starts in ubuntu and windows(run console). On windows their is a notable pause after the lines where patch changes are detected is shown. Is this normal when starting on windows Ubuntu -- on ubuntu -- [2014-04-11 14:05:49,236] INFO - {JMXServerManager} JMX Service URL : service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi [2014-04-11 14:05:49,236] INFO - {StartupFinalizerServiceComponent} Server : WSO2 Complex Event Processor-3.1.0 [2014-04-11 14:05:49,237] INFO - {StartupFinalizerServiceComponent} WSO2 Carbon started in 49 sec Windows run console - TID: [0] [CEP] [2014-04-11 14:09:49,023] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port: 9763 TID: [0] [CEP] [2014-04-11 14:09:49,132] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Service URL : service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Complex Event Processor-3.1.0 TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 116 sec 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Difference in the time CEP pack starts on windows and ubuntu
Hi Shavantha, Are the specs for which the machine which you are running on Windows and Ubuntu similar or comparable? If it is a VM, we might have to make take that into consideration as well. Thanks, Lasantha On 11 April 2014 14:26, Shavantha Weerasinghe shavan...@wso2.com wrote: Hi All Noticed a difference in the startup time when a fresh pack starts in ubuntu and windows(run console). On windows their is a notable pause after the lines where patch changes are detected is shown. Is this normal when starting on windows Ubuntu -- on ubuntu -- [2014-04-11 14:05:49,236] INFO - {JMXServerManager} JMX Service URL : service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi [2014-04-11 14:05:49,236] INFO - {StartupFinalizerServiceComponent} Server : WSO2 Complex Event Processor-3.1.0 [2014-04-11 14:05:49,237] INFO - {StartupFinalizerServiceComponent} WSO2 Carbon started in 49 sec Windows run console - TID: [0] [CEP] [2014-04-11 14:09:49,023] INFO {org.wso2.carbon.core.transports.http.HttpTransportListener} - HTTP port: 9763 TID: [0] [CEP] [2014-04-11 14:09:49,132] INFO {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent} - Successfully Initialized Eventing on Registry TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.init.JMXServerManager} - JMX Service URL : service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Complex Event Processor-3.1.0 TID: [0] [CEP] [2014-04-11 14:09:49,195] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - WSO2 Carbon started in 116 sec 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 -- *Lasantha Fernando* Software Engineer - Data Technologies Team WSO2 Inc. http://wso2.com email: lasan...@wso2.com mobile: (+94) 71 5247551 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Enterprise Store] Jaggery HTTP request returns 404 Not Found
Hello all, In a jquery library I am using at Enterprise Store, store side, I am sending HTTP GET request to http://localhost:9763/store/apis123/products; and I need a string as response for this. In my jaggery.conf file at store, I have added *{* *url: /apis123/products/*,* *path: /apis/products.jag* *}* URL mapping [1]. I have added a products.jag file at store/apis/ which contains logic I required [2]. But when I try to access this URL, I am getting 404 Not Found. Is there anything else I need to do to make this work? 1. https://gist.github.com/anonymous/10452158 2. https://gist.github.com/cdwijayarathna/10452307 https://gist.github.com/anonymous/10452158-- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Enterprise Store] Jaggery HTTP request returns 404 Not Found
On Fri, Apr 11, 2014 at 2:44 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hello all, In a jquery library I am using at Enterprise Store, store side, I am sending HTTP GET request to http://localhost:9763/store/apis123/products; and I need a string as response for this. try sending GET request to http://localhost:9763/store/apis123/products/ In my jaggery.conf file at store, I have added *{* *url: /apis123/products/*,* *path: /apis/products.jag* *}* URL mapping [1]. I have added a products.jag file at store/apis/ which contains logic I required [2]. But when I try to access this URL, I am getting 404 Not Found. Is there anything else I need to do to make this work? 1. https://gist.github.com/anonymous/10452158 2. https://gist.github.com/cdwijayarathna/10452307 https://gist.github.com/anonymous/10452158-- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Enterprise Store] Jaggery HTTP request returns 404 Not Found
Hi, It also gives the same result. Thank You! On Fri, Apr 11, 2014 at 2:46 PM, Udara Rathnayake uda...@wso2.com wrote: On Fri, Apr 11, 2014 at 2:44 PM, Chamila Wijayarathna cham...@wso2.comwrote: Hello all, In a jquery library I am using at Enterprise Store, store side, I am sending HTTP GET request to http://localhost:9763/store/apis123/products; and I need a string as response for this. try sending GET request to http://localhost:9763/store/apis123/products/ In my jaggery.conf file at store, I have added *{* *url: /apis123/products/*,* *path: /apis/products.jag* *}* URL mapping [1]. I have added a products.jag file at store/apis/ which contains logic I required [2]. But when I try to access this URL, I am getting 404 Not Found. Is there anything else I need to do to make this work? 1. https://gist.github.com/anonymous/10452158 2. https://gist.github.com/cdwijayarathna/10452307 https://gist.github.com/anonymous/10452158-- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog: http://udarakr.blogspot.com -- *Chamila Wijayarathna* Engineering Intern, WSO2 Inc. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Change the default value of Cacheble Duration in ESB
Hi, Can someone please tell how to @subject ? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Change the default value of Cacheble Duration in ESB
Hi Sohani, Can you elaborate more on your question? Are you talking about registry caching or response caching (with cache mediator) or any other caching mechanism? Thanks, Chanaka On Fri, Apr 11, 2014 at 4:22 PM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, Can someone please tell how to @subject ? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- 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] Change the default value of Cacheble Duration in ESB
Hi Chanaka, Yes it's registry caching. Thanks Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Fri, Apr 11, 2014 at 4:30 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sohani, Can you elaborate more on your question? Are you talking about registry caching or response caching (with cache mediator) or any other caching mechanism? Thanks, Chanaka On Fri, Apr 11, 2014 at 4:22 PM, Sohani Weerasinghe soh...@wso2.comwrote: Hi, Can someone please tell how to @subject ? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- 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] Change the default value of Cacheble Duration in ESB
You can change the registry caching duration using either Management Console - Source view or using the registry.xml (repository/deployment/server/synapse-configs/default/registry.xml). registry xmlns=http://ws.apache.org/ns/synapse; provider=org.wso2.carbon.mediation.registry.WSO2Registry * parameter name=cachableDuration15000/parameter* /registry This value is in milliseconds. Thanks, Chanaka On Fri, Apr 11, 2014 at 4:33 PM, Sohani Weerasinghe soh...@wso2.com wrote: Hi Chanaka, Yes it's registry caching. Thanks Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Fri, Apr 11, 2014 at 4:30 PM, Chanaka Fernando chana...@wso2.comwrote: Hi Sohani, Can you elaborate more on your question? Are you talking about registry caching or response caching (with cache mediator) or any other caching mechanism? Thanks, Chanaka On Fri, Apr 11, 2014 at 4:22 PM, Sohani Weerasinghe soh...@wso2.comwrote: Hi, Can someone please tell how to @subject ? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- 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] Change the default value of Cacheble Duration in ESB
Hi Chanaka, Thanks Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Fri, Apr 11, 2014 at 4:39 PM, Chanaka Fernando chana...@wso2.com wrote: You can change the registry caching duration using either Management Console - Source view or using the registry.xml (repository/deployment/server/synapse-configs/default/registry.xml). registry xmlns=http://ws.apache.org/ns/synapse; provider=org.wso2.carbon.mediation.registry.WSO2Registry * parameter name=cachableDuration15000/parameter* /registry This value is in milliseconds. Thanks, Chanaka On Fri, Apr 11, 2014 at 4:33 PM, Sohani Weerasinghe soh...@wso2.comwrote: Hi Chanaka, Yes it's registry caching. Thanks Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Fri, Apr 11, 2014 at 4:30 PM, Chanaka Fernando chana...@wso2.comwrote: Hi Sohani, Can you elaborate more on your question? Are you talking about registry caching or response caching (with cache mediator) or any other caching mechanism? Thanks, Chanaka On Fri, Apr 11, 2014 at 4:22 PM, Sohani Weerasinghe soh...@wso2.comwrote: Hi, Can someone please tell how to @subject ? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- 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] Unexpected behavior with Surefire plugin and TestNG
Hi Nalin, Try with defining test class in 'testng-server-mgt.xml' On Thu, Apr 10, 2014 at 5:51 PM, Nuwan Wimalasekara nuw...@wso2.com wrote: On Thu, Apr 10, 2014 at 2:57 PM, Nalin Chandraratne na...@wso2.comwrote: Hi Nalin Hi, Is there a naming convention when writing the test classes, it has to be ended with Test postfix, like XxxxXxxTest.java ? Yes. Usually we have a naming convention. Test class should be ended with TestCase like XxxTestCase.java I observed the following peculiar behavior when running test classes. 1. If the test package contain only one test class, it has to be named as XxxxXxxTest.java 2. If the test package contains more than one test class *at least one of them have to be* like XxxxXxxTest.java. If neither of the above requirements are met, surefire plugin *will not pick* the test classes. I came across this situation because my test class was named as XxxxXxx*Tests*.java and it was not picked up by the surefire plugin. This is mentioned in the Surefire documentationhttp://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html . By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns: - **/Test*.java - includes all of its subdirectories and all javafilenames that start with Test. - **/*Test.java - includes all of its subdirectories and all javafilenames that end with Test. - **/*TestCase.java - includes all of its subdirectories and all java filenames that end with TestCase. But as we are using the TestNG with Surefire, we are suppose to have any test class and point to it using testng.xml like below. test name=Flickr-Connector-Test preserve-order=true verbose=2 classes class name=org.wso2.carbon.connector.integration.test. flickr.FlickrConnectorIntegrationTests/ /classes /test This is also not working unless we have the above naming conventions. Is this a known behavior ? Any idea why this is happening ? Thanks for reporting this issue. I think this is an issue in surefire plugging. Otherwise It should pick the test class since the test class name is defined in testng.xml and the default configuration should be overridden(**/*Test.java). Thanks, Nuwanw -- Nalin Chamara Software Engineer 071-56-147-56 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lali Sudaththa Devamanthri* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 895 4922 http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Regarding the Integration Tests for ESB Connectors
Hi, I am implementing the integration test cases for a Google Tasks ESB connector. We were asked to implement the integration tests in a way that, the response of the test case though the ESB connector is asserted against the response through a *direct API call*. This is opposed to the existing method: asserting against a *known *value. Consider an API call that *creates* or *deletes a *resource. So how can we assert the connector response against the direct API call response in such a case, since the response values of the two requests would be different? -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726* Blog* - *classdeffound.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Regarding the Integration Tests for ESB Connectors
I also encountered such situations. One thing we could do is do compare both the direct response and response through connector with a known value. Example scenario is as follows. - knownValue = commentId; directApiResponse = callApiDirectly(); connectorResponse = callApiThroughConnector(); boolean condition = directApiResponse.contains(knownValue) connectorResponse.contains(knownValue); Assert.assertTrue(condition); - So in a situation when we get two values like comment commentId/commentId commentTexthello/commentText /comment comment commentIdy/commentId commentTexthello/commentText /comment we could still be sure that both gave the correct responses because the knownValue will only contain in a successful response. if we could log the 2 responses, in an event of test failure, we could determine whether the test failure is actually due to the connector failure or the 3rd party back end API failure. Thanks. On Fri, Apr 11, 2014 at 5:11 PM, Madhawa Bandara madh...@wso2.com wrote: Hi, I am implementing the integration test cases for a Google Tasks ESB connector. We were asked to implement the integration tests in a way that, the response of the test case though the ESB connector is asserted against the response through a *direct API call*. This is opposed to the existing method: asserting against a *known *value. Consider an API call that *creates* or *deletes a *resource. So how can we assert the connector response against the direct API call response in such a case, since the response values of the two requests would be different? -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 %2B94777487726* Blog* - *classdeffound.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Nalin Chamara Software Engineer 071-56-147-56 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Is it possible to override the 'Server' HTTP Header in the response headers?
Hi, $subject? By default 'WSO2 Carbon Server ' is set to 'Server' HTTP header. And even though the service sends sets the server header to different name, it's getting override with 'WSO2 Carbon Server '. Is there is a configuration to avoid this behaviour? Thanks, Sinthuja -- *Sinthuja Rajendran* Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Kernel commit to patch0006
Hi Manoj, I have attached a new patch to the JIRA. Please commit this to patch0006 On Thu, Apr 10, 2014 at 11:58 PM, Manoj Kumara ma...@wso2.com wrote: HI Chamath, I have put a comment on the ticket about slight modification about the patch. Please update with latest diff Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Thu, Apr 10, 2014 at 5:19 PM, Chamath Gunawardana chama...@wso2.comwrote: Hi Kernel team, Please apply the patch attached to jira [1]. This fix is for org.wso2.carbon.ui and org.wso2.carbon.utils. [1] - https://wso2.org/jira/browse/IDENTITY-2138 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile : +94776322240 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is it possible to override the 'Server' HTTP Header in the response headers?
Hi Sinthuja, The 'Server' header is set by the Tomcat connectors. You can configure it via catalina-server.xml file. Look for the 'server' attribute in both of the http/s connectors. Regards, KasunG On Fri, Apr 11, 2014 at 7:40 PM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, $subject? By default 'WSO2 Carbon Server ' is set to 'Server' HTTP header. And even though the service sends sets the server header to different name, it's getting override with 'WSO2 Carbon Server '. Is there is a configuration to avoid this behaviour? Thanks, Sinthuja -- *Sinthuja Rajendran* Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Is it possible to override the 'Server' HTTP Header in the response headers?
Hi KasunG, That works, thanks for the input. Thanks, Sinthuja. On Fri, Apr 11, 2014 at 4:14 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi Sinthuja, The 'Server' header is set by the Tomcat connectors. You can configure it via catalina-server.xml file. Look for the 'server' attribute in both of the http/s connectors. Regards, KasunG On Fri, Apr 11, 2014 at 7:40 PM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, $subject? By default 'WSO2 Carbon Server ' is set to 'Server' HTTP header. And even though the service sends sets the server header to different name, it's getting override with 'WSO2 Carbon Server '. Is there is a configuration to avoid this behaviour? Thanks, Sinthuja -- *Sinthuja Rajendran* Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- *Sinthuja Rajendran* Software Engineer http://wso2.com/ WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] DataMapperMediator - status update
Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Apr 9, 2014 at 10:25 AM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, DataMapperMediator requires resources for generating the output and those resources should cache in order to reduce the overhead. I have started working on it. Thanks, Sohani Hi All, As per discussed the DataMapperMediator has implemented including below mentioned functionality - Handles serialization and de-serialization of the data mapper configuration - Maintain properties/attributes to refer resources ( input schema, output schema, mapping configuration) - Caching has introduced to cache the resources needed for data mapping. Basically if a proxy invokes several times the resource loading shouldn't happen at each time. Therefore, initially the resources are loaded and then stored in a Map ( inside Synapse Core) and then checks the availability of the resources in there before loading them from the backend. Also when retrieving the cached resources, the current time checks against a cachable limit. If the cache has expired then the resources are loaded again from the backend. This cachable limit is defined as a sum of cachable duration in the registry and the initial accessed time. - Datum Writers have used to do the data format conversion and currently it supports CSV and XML. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Need Clarifications about Data Mapper Mediator
Hi All, DataMapperMediator has been implemented so far and I need to clarify few things as listed below. 1.Since user should mention the required data type for input and output as discussed, should these fields for mentioning the data types/formats be mandatory fields? As the initial step we have defined set of data types that are supported by Data Mapper mediator and has set one of those data types as the default one (Eg:JSON). Will this work? 2. Does DataMapperMediator needs to have a front end implementation ? IMO user should't give the ability to create a DataMapperMediator in ESB management console since the graphical editor for data mapping is available in developer studio and there is no point of providing a facility as such. WDYT? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Possible Dep sync issue in BAM toolbox deployment
Hi folks, We noticed following exception in dep sync enabled BAM clustered set up. It seems node1 is trying to deploy a tbox while checking out the same tbox from management node. Is it a possible behavior? TID: [0] [BAM] [2014-04-11 18:49:57,125] ERROR {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} - Exception while extracting the BAM artifact:/home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} java.io.FileNotFoundException: /home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:214) at java.util.zip.ZipFile.init(ZipFile.java:144) at java.util.zip.ZipFile.init(ZipFile.java:115) at org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.unzipFolder(BAMArtifactProcessor.java:54) at org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.extractBAMArtifact(BAMArtifactProcessor.java:48) at org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer.deploy(BAMToolBoxDeployer.java:114) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.doPausedDeployments(ServerStartUpInspector.java:49) at org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.invoke(ServerStartUpInspector.java:35) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.startup(CarbonCoreServiceComponent.java:185) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:205) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) 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) ... For full trace refer[1]. [1] https://wso2.org/jira/browse/BAM-1558 Thanks -- Malith Dhanushka Software Engineer - Data Technologies *WSO2, Inc. : wso2.com http://wso2.com/* *Mobile* : +94 716 506 693 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Need Clarifications about Data Mapper Mediator
Hi Sohani, Please find comments inline. On Fri, Apr 11, 2014 at 9:48 PM, Sohani Weerasinghe soh...@wso2.com wrote: Hi All, DataMapperMediator has been implemented so far and I need to clarify few things as listed below. 1.Since user should mention the required data type for input and output as discussed, should these fields for mentioning the data types/formats be mandatory fields? As the initial step we have defined set of data types that are supported by Data Mapper mediator and has set one of those data types as the default one (Eg:JSON). Will this work? I think we can go with this approach. IMO, we should think about the 80:20 rule and set default type as xml since most of the use cases come around xml. 2. Does DataMapperMediator needs to have a front end implementation ? IMO user should't give the ability to create a DataMapperMediator in ESB management console since the graphical editor for data mapping is available in developer studio and there is no point of providing a facility as such. WDYT? Agree with your point. I don't see any value in adding data mapper mediator in management console, since it is completely configured only through developer-studio. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Possible Dep sync issue in BAM toolbox deployment
AFAIK, DepSync doesn't work in this manner. DepSync first get a checkout. Once that is completed it tries to deploy. I guess you guys are doing something wrong here :). Let me explain. By looking at the exception stack trace, I can see that ServerStartUpInspector is invoking deployers. Deployers should only invoked by the Deployment Engine. This is not a good design. You need to let deployment engine to invoke deployers. Here the ServerStartUpInspector is invoking the deployers while deployment synchronizer is checking out the artifacts. Thanks, Sameera. On Fri, Apr 11, 2014 at 9:58 AM, Malith Dhanushka mal...@wso2.com wrote: Hi folks, We noticed following exception in dep sync enabled BAM clustered set up. It seems node1 is trying to deploy a tbox while checking out the same tbox from management node. Is it a possible behavior? TID: [0] [BAM] [2014-04-11 18:49:57,125] ERROR {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} - Exception while extracting the BAM artifact:/home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox {org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor} java.io.FileNotFoundException: /home/wso2/4.2.0/BAM241/cluster/full/10Apr/wso2bam-2.4.1/repository/deployment/server/bam-toolbox/Message_Tracing.tbox (No such file or directory) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:214) at java.util.zip.ZipFile.init(ZipFile.java:144) at java.util.zip.ZipFile.init(ZipFile.java:115) at org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.unzipFolder(BAMArtifactProcessor.java:54) at org.wso2.carbon.bam.toolbox.deployer.core.BAMArtifactProcessor.extractBAMArtifact(BAMArtifactProcessor.java:48) at org.wso2.carbon.bam.toolbox.deployer.core.BAMToolBoxDeployer.deploy(BAMToolBoxDeployer.java:114) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.doPausedDeployments(ServerStartUpInspector.java:49) at org.wso2.carbon.bam.toolbox.deployer.internal.ServerStartUpInspector.invoke(ServerStartUpInspector.java:35) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.startup(CarbonCoreServiceComponent.java:185) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:205) at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:282) 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) ... For full trace refer[1]. [1] https://wso2.org/jira/browse/BAM-1558 Thanks -- Malith Dhanushka Software Engineer - Data Technologies *WSO2, Inc. : wso2.com http://wso2.com/* *Mobile* : +94 716 506 693 -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [IS] Tenant email as tenant user name
Hi, This was probably a discussion that had taken place even before I joined. If so please point me to it so that I could learn the intention of it. When we set the user name to be an email, when a tenant registers and a tenant user is created, the tenant user's user name has the format user -email @tenant domain. for an e.g. it looks like a...@gmail.com@test.comwhere abc@gmailis the user's email and test.com is the tenant domain. I understand that this is as designed. But it looks a bit awkward to have that two @ signs representation two domains in a single user name. To my little experience I have in this industry, I have not seen any place that handles user's in this fashion. Usually in windows, when you have different domains, it let's you choose which domain you need to log into based on the domain you enter before the user name e.g. domain/user name It let's you choose this at the log in page. So I have two questions, 1) I understand that when the user name is supposed to be a name, then we could append the tenant domain to the user name, but then it looks like an email, why are we doing this? rather than having a domain/user name format? 2) When the user name is set to email, why are we not checking if the user name is of the type an email (if the property is enabled), and avoid appending the domain, but keeping the domain in the context where the rest of the login details are kept? We can basically not show this at the UI level correct? we can either let the user enter his domain in a separate field rather than appending it to the user name? This is just a wild thought I had, and please do correct me at any point. -- Thanks and Regards *, Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Missing chunk 07 [ESB/BPS features] in nexus repo
Hi all, It seems the following features are still not uploaded to nexus and had to be commented out from the chunk-08 p2-repo. org.wso2.bps:org.wso2.stratos.bps.styles.feature:3.2.0 org.wso2.bps:org.wso2.stratos.bps.dashboard.ui.feature:3.2.0 org.wso2.bps:org.wso2.bps.samples.utils.feature:3.2.0 Can chunk-07 release manager or someone from BPS team look into this and upload the above artifacts please? Thanks, Lasantha On 1 April 2014 09:14, Malaka Silva mal...@wso2.com wrote: Hi, It's deployed. Best Regards, Malaka On Thu, Mar 27, 2014 at 9:48 PM, Thilini Ishaka thil...@wso2.com wrote: Hi Malaka, Yes, please move nested features too to nexus repo (for eg: [1]). Also make sure all the released features in chunk 07 are deployed to nexus repo. [1] http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/appserver/ Thanks Thilini On Thu, Mar 27, 2014 at 7:28 PM, Malaka Silva mal...@wso2.com wrote: Do we need to add nested.category features to nexus repo? On Thu, Mar 27, 2014 at 6:50 PM, Lalaji Sureshika lal...@wso2.comwrote: Hi, When trying to create chunk -08 p2-repo ,I'm getting errors from chunk-07 features,due to below features are not uploaded to nexus repo. 1) org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 2) org.wso2.esb:org.wso2.esb.esb-manager.nested.category.feature:zip:4.8.1 3) org.wso2.bps:org.wso2.stratos.bps.styles.feature:zip:3.2.0 4) org.wso2.stratos.bps.dashboard.ui.feature:3.2.0 5) org.wso2.bps:org.wso2.bps.samples.utils.feature:zip:3.2.0 Can chunk 07 release manager verify building p2-repo in a clean repo and upload the above features to nexus repo? - Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Failure to find org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.wso2.bps -DartifactId=org.wso2.bps.bps-manager.nested.category.feature -Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.wso2.bps -DartifactId=org.wso2.bps.bps-manager.nested.category.feature -Dversion=3.2.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 from the specified remote repositories: wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525) at org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39) ... 24 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213) ... 27 more Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.wso2.bps:org.wso2.bps.bps-manager.nested.category.feature:zip:3.2.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230) at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204) at
[Dev] [CEP] Units for Time Windows
Hi, What would be the difference between min and minutes here [1]? [1] https://docs.wso2.org/display/CEP300/Windows#Windows-timeBatchWindow Thanks -- *Imesh Gunaratne* Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [CEP] Units for Time Windows
all ( minutes | min | minute ) will do the same in the window batch case its denotes time E.g 5 min you can also add 30 which denotes 5 min in milli seconds Suho On Sat, Apr 12, 2014 at 7:46 AM, Imesh Gunaratne im...@wso2.com wrote: Hi, What would be the difference between min and minutes here [1]? [1] https://docs.wso2.org/display/CEP300/Windows#Windows-timeBatchWindow Thanks -- *Imesh Gunaratne* Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *S. Suhothayan* Associate Technical Lead, *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev