[Dev] Issue in ./wso2server.sh restart
Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets killed it gives startup exceptions. So I have changed wso2server.sh to wait until the process gets killed before a restart. I have updated the fix in the core[1], please update if anyone keeping product specific wso2server.sh files. Thanks ~sanjaya [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh -- Sanjaya Ratnaweera Senior Software Engineer; WSO2 Inc; http://www.wso2.com/. blog: http://www.samudura.org homepage: http://www.samudura.net twitter: http://twitter.com/sanjayar Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.
Hi all, I have used PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() to obtain the username of the logged in user at the back end, which correctly returned the username in carbon 4.0.3 (i.e IS 4.0.0) But now this returns null, even though a user is logged in (encountered in IS 4.0.1). Was there any changes in this space which might have caused this issue? Appreciate any feedback since this is a blocking issue.. Thanks, Hasini. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.
Hi, Similar issue was found earlier and fixed in r150208. Please update core/org.wso2.carbon.tomcat.ext/4.0.5 and check. Thanks, Sinthuja. On Thu, Dec 6, 2012 at 2:32 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi all, I have used PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() to obtain the username of the logged in user at the back end, which correctly returned the username in carbon 4.0.3 (i.e IS 4.0.0) But now this returns null, even though a user is logged in (encountered in IS 4.0.1). Was there any changes in this space which might have caused this issue? Appreciate any feedback since this is a blocking issue.. Thanks, Hasini. ___ 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] Exception when retrieving the MBeans list from BAM as a tenant
Please follow the format of creating a patch and assigning to a related person. Also, it will help if you bug them to commit it ;) On Thu, Dec 6, 2012 at 12:07 PM, Ishan Somasiri ish...@wso2.com wrote: Hi all, As per Senakas suggestion, I changed the code as follows and everything is working fine now. public void close() throws NamingException { if (isSubTenant(getCurrentCarbonContextHolder().getTenantId()) !isBaseContextRequested()) { * //throw new NamingException(Tenants cannot close the context.); CarbonUtils.checkSecurity();* } Context ctx = this.getInitialContext(); /* the below condition is there, because of a bug in Tomcat JNDI context close method, * see org.apache.naming.NamingContext#close() */ if (!ctx.getClass().getName().equals(org.apache.naming.SelectorContext)) { ctx.close(); } } Can somebody please commit this change since I don't have commit rights..? (patch file is attached with this). On Wed, Dec 5, 2012 at 2:33 PM, Senaka Fernando sen...@wso2.com wrote: Hi all, public void close() throws NamingException { if (isSubTenant(getCurrentCarbonContextHolder().getTenantId()) !isBaseContextRequested()) { *throw new NamingException(Tenants cannot close the context.);* } Context ctx = this.getInitialContext(); /* the below condition is there, because of a bug in Tomcat JNDI context close method, * see org.apache.naming.NamingContext#close() */ if (!ctx.getClass().getName().equals(org.apache.naming.SelectorContext)) { ctx.close(); } } AFAIU, the line in bold is wrong. What we should disallow is tenant code closing this, but not our code running within a tenant scope closing this. We should add the security checks here in place of this exception. WDYT? Thanks, Senaka. On Wed, Dec 5, 2012 at 2:23 PM, Afkham Azeez az...@wso2.com wrote: When it comes to external JMX calls, the JMXAuthenticator explicitly checks that only super tenant admin users can make JMX calls. Is this related? Azeez On Wed, Dec 5, 2012 at 11:09 AM, Tharindu Mathew thari...@wso2.comwrote: Anyone knows who owned this area? We basically want a tenant to be able to monitor a JMX enabled program, and Ishan is facing some blockers... On Wed, Dec 5, 2012 at 10:59 AM, Ishan Somasiri ish...@wso2.comwrote: Hi all, As per the request of Senaka, I added UrlContext Schemermi/Scheme /UrlContext to the following lines in carbon.xml and retired again (without any source code modifications) AllTenants UrlContexts UrlContext Schemejava/Scheme /UrlContext !-- UrlContext Schemefoo/Scheme /UrlContext -- /UrlContexts /AllTenants But got the same exception. Caused by: javax.naming.NamingException: Tenants cannot close the context. at org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContext.close(CarbonContextDataHolder.java:1143) at javax.naming.InitialContext.close(InitialContext.java:531) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1887) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:255) ... 73 more On Tue, Dec 4, 2012 at 8:55 PM, Ishan Somasiri ish...@wso2.comwrote: Hi all, I tried the fix that was suggested and now the following exception gets thrown. java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NamingException: Tenants cannot close the context. at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at org.wso2.carbon.bam.jmx.agent.JmxAgentWebInterface.getMBeans(JmxAgentWebInterface.java:253) 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) .. .. .. .. Caused by: javax.naming.NamingException: Tenants cannot close the context. at org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContext.close(CarbonContextDataHolder.java:1147) at
[Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default
Hi All, As a fix to [1], UTF8 characters not supported on Windows by default, I added the *-Dfile.encoding=UTF8 * parameter to wso2server.bat file in Kernel [2]. If anyone uses different/updated startup script please update the .bat script accordingly. Thanks, Dileepa [1] https://wso2.org/jira/browse/CARBON-14012 [2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default
Only changed the .bat file [1] because this is specific to Windows [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.bat On Thu, Dec 6, 2012 at 2:59 PM, Dileepa Jayakody dile...@wso2.com wrote: Hi All, As a fix to [1], UTF8 characters not supported on Windows by default, I added the *-Dfile.encoding=UTF8 * parameter to wso2server.bat file in Kernel [2]. If anyone uses different/updated startup script please update the .bat script accordingly. Thanks, Dileepa [1] https://wso2.org/jira/browse/CARBON-14012 [2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Developer Studio 3.0.0 Alpha Released !
We have WSO2 Developer Studio 3.0.0 Alpha ready to be downloaded at [1]. Installed eclipse distributions available at [2] New Feature - [TOOLS-1342 https://wso2.org/jira/browse/TOOLS-1342] - Support for named endpoints to be opened in a separate editor page. - [TOOLS-1343 https://wso2.org/jira/browse/TOOLS-1343] - Support Task and Local Entry to be opened in separate editor pages. - [TOOLS-1189 https://wso2.org/jira/browse/TOOLS-1189] - Support for Task Scheduling (Startup jobs) - [TOOLS-1305 https://wso2.org/jira/browse/TOOLS-1305] - Each and every proxy service should be able to open in separate editor page. - [TOOLS-1171 https://wso2.org/jira/browse/TOOLS-1171] - Enabled Content Assist support for ESB editor Source view - [TOOLS-1192 https://wso2.org/jira/browse/TOOLS-1192] - Implement Failover and Loadbalance endpoints - [TOOLS-1273 https://wso2.org/jira/browse/TOOLS-1273] - BRS rule plugin for Developer studio. - [TOOLS-1302 https://wso2.org/jira/browse/TOOLS-1302] - Maven BRS plugin for Developer Studio Improvement - [TOOLS-1345 https://wso2.org/jira/browse/TOOLS-1345] - Adding a new folder structure for ESB Graphical editor - [TOOLS-1346 https://wso2.org/jira/browse/TOOLS-1346] - Changing the figures of elements. (Mediators, Endpoints etc) - [TOOLS-1336 https://wso2.org/jira/browse/TOOLS-1336] - Provide a wizard to create a ESB Sequence configation diagrams - [TOOLS-1338 https://wso2.org/jira/browse/TOOLS-1338] - BRS rule plugin for Developer studio- Usability improvement - [TOOLS-1347 https://wso2.org/jira/browse/TOOLS-1347] - BRS rule plugin for Developer studio- Usability improvement - [TOOLS-1350 https://wso2.org/jira/browse/TOOLS-1350] - When we create a named endpoint, there should be an option to select the endpoint type. - [TOOLS-1351 https://wso2.org/jira/browse/TOOLS-1351] - BRS rule plugin for Developer studio- Usability improvement-Fact type - [TOOLS-1355 https://wso2.org/jira/browse/TOOLS-1355] - Proxy Service's InSequence, OutSequence FaultSequence can be named sequences. - [TOOLS-1357 https://wso2.org/jira/browse/TOOLS-1357] - BRS rule plugin for Developer studio- Usability improvement-Edit functionality - [TOOLS-1359 https://wso2.org/jira/browse/TOOLS-1359] - BRS rule plugin for Developer studio-documentation - [TOOLS-1365 https://wso2.org/jira/browse/TOOLS-1365] - If we connect an endpoint to a mediator, editor should generate the send mediator. - [TOOLS-1370 https://wso2.org/jira/browse/TOOLS-1370] - API Resource's InSequence, OutSequence FaultSequence can be named sequences. - [TOOLS-1376 https://wso2.org/jira/browse/TOOLS-1376] - Sort the Project Artifact List in the C-App project editor according to the lexical order for clarity - [TOOLS-1364 https://wso2.org/jira/browse/TOOLS-1364] - Implement main sequence and fault sequence. - [TOOLS-1391 https://wso2.org/jira/browse/TOOLS-1391] - Allow users to select registry resource as endpoint at the time of creating a proxy service - [TOOLS-1395 https://wso2.org/jira/browse/TOOLS-1395] - Adding BAM, EJB, Bean mediator support - [TOOLS-1407 https://wso2.org/jira/browse/TOOLS-1407] - Enabling Copy, Cut, Paste for the editor - [TOOLS-1384 https://wso2.org/jira/browse/TOOLS-1384] - Complete mediators : Round 1 - [TOOLS-1385 https://wso2.org/jira/browse/TOOLS-1385] - Complete mediators : Round 2 Bug Fixes - [TOOLS-1318 https://wso2.org/jira/browse/TOOLS-1318] - Graphical editor need to save synapse confg into distributed artifacts - [TOOLS-1339 https://wso2.org/jira/browse/TOOLS-1339] - Can not select existing endpoints within the Esb Configuration project. - [TOOLS-1340 https://wso2.org/jira/browse/TOOLS-1340] - Can not create custom proxy templates to extend the existing templates. - [TOOLS-1344 https://wso2.org/jira/browse/TOOLS-1344] - Sequence name doesn't get serialized in sequence editor - [TOOLS-1335 https://wso2.org/jira/browse/TOOLS-1335] - Importing a multi-maven project requires the parent directory to have the project name - [TOOLS-1366 https://wso2.org/jira/browse/TOOLS-1366] - Proxy service's name should be appeared in the proxy figure. - [TOOLS-1367 https://wso2.org/jira/browse/TOOLS-1367] - In connections there is a discontinuous behavior between arrow and the arrow head. - [TOOLS-1372 https://wso2.org/jira/browse/TOOLS-1372] - If we create a new endpoint or sequence by dragging and dropping, they don't get added to artifact.xml - [TOOLS-1373 https://wso2.org/jira/browse/TOOLS-1373] - First element of the Out Sequence should be able to hold multiple incoming links from Endpoints. - [TOOLS-1360 https://wso2.org/jira/browse/TOOLS-1360] - API's InSequence, OutSequence FaultSequence can be named sequences. - [TOOLS-1354 https://wso2.org/jira/browse/TOOLS-1354] - Document the
Re: [Dev] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}
On Thu, Dec 6, 2012 at 12:12 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi, I was checking the IS p2-profile to clean up if any unnecessary features are present. Out of the existing features, I am not very much clear whether following features are must to have in IS. Appreciate the feedback to get this confirmed.. org.wso2.carbon.databridge.datapublisher.feature We need databridge.datapublisher in IS to publish IS logs to BAM in logging (For BAMLogEventAppender). org.wso2.carbon.xfer.feature org.wso2.carbon.mex.feature org.wso2.carbon.registry.profiles.feature Got clarified from Sanjeewa that org.wso2.carbon.stratos.usage.agent.feature, org.wso2.carbon.stratos.throttling.agent.feature and org.wso2.carbon.load.balance.agent.server.feature are needed. On a side note, I think it would be useful if we can maintain a wiki page/doc containing the information about the features - such as the purpose/functionality, owner etc, so that we can look at it when needed and can update it when ever we add a new feature. Thanks, Hasini. -- Forwarded message -- From: Srinath Perera srin...@wso2.com Date: Wed, Nov 28, 2012 at 9:45 AM Subject: [Dev] Lot of unneccasry Jars in Carbon Core To: architecture architect...@wso2.org, dev dev@wso2.org We were building a minimal pack and observed this. I created a L1 for this https://wso2.org/jira/browse/CARBON-14010 For example we have solr jar, jgorups, both ehcache and inifnispan etc in carbon core .. Pradeep please send the list we created Also there are similar problems in IS, and I am sure in others. Please check the product profiles. --Srinath -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ 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
Re: [Dev] [DEV] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns null.
Thanks Sinthuja.. Yes, it is fixed after updating the kernel. On Thu, Dec 6, 2012 at 2:44 PM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, Similar issue was found earlier and fixed in r150208. Please update core/org.wso2.carbon.tomcat.ext/4.0.5 and check. Thanks, Sinthuja. On Thu, Dec 6, 2012 at 2:32 PM, Hasini Gunasinghe has...@wso2.com wrote: Hi all, I have used PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() to obtain the username of the logged in user at the back end, which correctly returned the username in carbon 4.0.3 (i.e IS 4.0.0) But now this returns null, even though a user is logged in (encountered in IS 4.0.1). Was there any changes in this space which might have caused this issue? Appreciate any feedback since this is a blocking issue.. Thanks, Hasini. ___ 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] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}
Thanks all.. @Nirmal, then I will remove org.wso2.carbon.load.balance.agent.server.feature from p2-profile for the moment. Hope it can be added back when the functionality you have mentioned is supported.. Thanks, Hasini. On Thu, Dec 6, 2012 at 3:40 PM, Amani Soysa am...@wso2.com wrote: On Thu, Dec 6, 2012 at 12:12 PM, Hasini Gunasinghe has...@wso2.comwrote: Hi, I was checking the IS p2-profile to clean up if any unnecessary features are present. Out of the existing features, I am not very much clear whether following features are must to have in IS. Appreciate the feedback to get this confirmed.. org.wso2.carbon.databridge.datapublisher.feature We need databridge.datapublisher in IS to publish IS logs to BAM in logging (For BAMLogEventAppender). org.wso2.carbon.xfer.feature org.wso2.carbon.mex.feature org.wso2.carbon.registry.profiles.feature Got clarified from Sanjeewa that org.wso2.carbon.stratos.usage.agent.feature, org.wso2.carbon.stratos.throttling.agent.feature and org.wso2.carbon.load.balance.agent.server.feature are needed. On a side note, I think it would be useful if we can maintain a wiki page/doc containing the information about the features - such as the purpose/functionality, owner etc, so that we can look at it when needed and can update it when ever we add a new feature. Thanks, Hasini. -- Forwarded message -- From: Srinath Perera srin...@wso2.com Date: Wed, Nov 28, 2012 at 9:45 AM Subject: [Dev] Lot of unneccasry Jars in Carbon Core To: architecture architect...@wso2.org, dev dev@wso2.org We were building a minimal pack and observed this. I created a L1 for this https://wso2.org/jira/browse/CARBON-14010 For example we have solr jar, jgorups, both ehcache and inifnispan etc in carbon core .. Pradeep please send the list we created Also there are similar problems in IS, and I am sure in others. Please check the product profiles. --Srinath -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ 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
Re: [Dev] Clarification on features present in the IS p2-profile {was:Lot of unnecessary Jars in Carbon Core}
On Thu, Dec 6, 2012 at 4:24 PM, Hasini Gunasinghe has...@wso2.com wrote: Thanks all.. @Nirmal, then I will remove org.wso2.carbon.load.balance.agent.server.feature from p2-profile for the moment. Hope it can be added back when the functionality you have mentioned is supported.. +1 Thanks, Hasini. On Thu, Dec 6, 2012 at 3:40 PM, Amani Soysa am...@wso2.com wrote: On Thu, Dec 6, 2012 at 12:12 PM, Hasini Gunasinghe has...@wso2.comwrote: Hi, I was checking the IS p2-profile to clean up if any unnecessary features are present. Out of the existing features, I am not very much clear whether following features are must to have in IS. Appreciate the feedback to get this confirmed.. org.wso2.carbon.databridge.datapublisher.feature We need databridge.datapublisher in IS to publish IS logs to BAM in logging (For BAMLogEventAppender). org.wso2.carbon.xfer.feature org.wso2.carbon.mex.feature org.wso2.carbon.registry.profiles.feature Got clarified from Sanjeewa that org.wso2.carbon.stratos.usage.agent.feature, org.wso2.carbon.stratos.throttling.agent.feature and org.wso2.carbon.load.balance.agent.server.feature are needed. On a side note, I think it would be useful if we can maintain a wiki page/doc containing the information about the features - such as the purpose/functionality, owner etc, so that we can look at it when needed and can update it when ever we add a new feature. Thanks, Hasini. -- Forwarded message -- From: Srinath Perera srin...@wso2.com Date: Wed, Nov 28, 2012 at 9:45 AM Subject: [Dev] Lot of unneccasry Jars in Carbon Core To: architecture architect...@wso2.org, dev dev@wso2.org We were building a minimal pack and observed this. I created a L1 for this https://wso2.org/jira/browse/CARBON-14010 For example we have solr jar, jgorups, both ehcache and inifnispan etc in carbon core .. Pradeep please send the list we created Also there are similar problems in IS, and I am sure in others. Please check the product profiles. --Srinath -- Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902 ___ 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 -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue in ./wso2server.sh restart
BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera sanj...@wso2.com wrote: Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets killed it gives startup exceptions. So I have changed wso2server.sh to wait until the process gets killed before a restart. I have updated the fix in the core[1], please update if anyone keeping product specific wso2server.sh files. Thanks ~sanjaya [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh -- Sanjaya Ratnaweera Senior Software Engineer; WSO2 Inc; http://www.wso2.com/. blog: http://www.samudura.org homepage: http://www.samudura.net twitter: http://twitter.com/sanjayar Lean . Enterprise . Middleware -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default
There are different Unix/Linux distros not having UTF8 by default. So we might have to consider doing this for .sh file too? - chethiya software engineer, WSO2 On Dec 6, 2012 3:09 PM, Dileepa Jayakody dile...@wso2.com wrote: Only changed the .bat file [1] because this is specific to Windows [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.bat On Thu, Dec 6, 2012 at 2:59 PM, Dileepa Jayakody dile...@wso2.com wrote: Hi All, As a fix to [1], UTF8 characters not supported on Windows by default, I added the *-Dfile.encoding=UTF8 * parameter to wso2server.bat file in Kernel [2]. If anyone uses different/updated startup script please update the .bat script accordingly. Thanks, Dileepa [1] https://wso2.org/jira/browse/CARBON-14012 [2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 ___ 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] Issue in ./wso2server.sh restart
I will add this. In fact there was another separate fix committed to Windows script today. Regards Buddhika On Thu, Dec 6, 2012 at 7:41 PM, Tharindu Mathew thari...@wso2.com wrote: BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera sanj...@wso2.comwrote: Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets killed it gives startup exceptions. So I have changed wso2server.sh to wait until the process gets killed before a restart. I have updated the fix in the core[1], please update if anyone keeping product specific wso2server.sh files. Thanks ~sanjaya [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh -- Sanjaya Ratnaweera Senior Software Engineer; WSO2 Inc; http://www.wso2.com/. blog: http://www.samudura.org homepage: http://www.samudura.net twitter: http://twitter.com/sanjayar Lean . Enterprise . Middleware -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ 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] Issue in ./wso2server.sh restart
I added this fix to ELB, thanks Sanjaya! Buddhika, On Thu, Dec 6, 2012 at 8:57 PM, Buddhika Chamith buddhi...@wso2.com wrote: I will add this. In fact there was another separate fix committed to Windows script today. Can you point to this change, please? Regards Buddhika On Thu, Dec 6, 2012 at 7:41 PM, Tharindu Mathew thari...@wso2.com wrote: BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera sanj...@wso2.comwrote: Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets killed it gives startup exceptions. So I have changed wso2server.sh to wait until the process gets killed before a restart. I have updated the fix in the core[1], please update if anyone keeping product specific wso2server.sh files. Thanks ~sanjaya [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh -- Sanjaya Ratnaweera Senior Software Engineer; WSO2 Inc; http://www.wso2.com/. blog: http://www.samudura.org homepage: http://www.samudura.net twitter: http://twitter.com/sanjayar Lean . Enterprise . Middleware -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ 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 regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Issue in ./wso2server.sh restart
On Thu, Dec 6, 2012 at 9:11 PM, Buddhika Chamith buddhi...@wso2.com wrote: Revision is r150451. Also the thread wso2server.bat is updated to support UTF8 encoding on Windows by default Cool! Thanks. Regards Buddhika On Thu, Dec 6, 2012 at 9:06 PM, Nirmal Fernando nir...@wso2.com wrote: I added this fix to ELB, thanks Sanjaya! Buddhika, On Thu, Dec 6, 2012 at 8:57 PM, Buddhika Chamith buddhi...@wso2.comwrote: I will add this. In fact there was another separate fix committed to Windows script today. Can you point to this change, please? Regards Buddhika On Thu, Dec 6, 2012 at 7:41 PM, Tharindu Mathew thari...@wso2.comwrote: BAM folks, In case you forgot we have one of these... On Thu, Dec 6, 2012 at 1:48 PM, Sanjaya Ratnaweera sanj...@wso2.comwrote: Hi all, When we restart a server using ./wso2ver.sh restart It first sends the signal to kill the process looking at wso2carbon.pid and starts the server. It kills the server using kill -term and sometimes it takes some time to kill a process. If the server starts before earlier process gets killed it gives startup exceptions. So I have changed wso2server.sh to wait until the process gets killed before a restart. I have updated the fix in the core[1], please update if anyone keeping product specific wso2server.sh files. Thanks ~sanjaya [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh -- Sanjaya Ratnaweera Senior Software Engineer; WSO2 Inc; http://www.wso2.com/. blog: http://www.samudura.org homepage: http://www.samudura.net twitter: http://twitter.com/sanjayar Lean . Enterprise . Middleware -- Regards, Tharindu blog: http://mackiemathew.com/ M: +9459908 ___ 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 regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ http://nirmalfdo.blogspot.com/ -- Thanks regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Kernel 4.0.5 #41 has FAILED. Change made by dileepa, supunm and sanjaya.
--- WSO2 Carbon 4.0.x Kernel 4.0.5 #41 failed. --- Code has been updated by dileepa, supunm, sanjaya. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WCB001-KER005-41/ - Currently Responsible - Asela Pathberiya (Assigned by Maheshika Goonetilleke) Dushan Abeyruwan (Assigned by Maheshika Goonetilleke) -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- dileepa (150451): fixing CARBON-14012 by introducing -Dfile.encoding=UTF8 as a parameter supunm (150457): handling NPE sanjaya (150444): Fixing issue https://wso2.org/jira/browse/STRATOS-2282 -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.bat is updated to support UTF8 encoding on Windows by default
On Thu, Dec 6, 2012 at 7:44 PM, Chethiya Abeysinghe cheth...@wso2.comwrote: There are different Unix/Linux distros not having UTF8 by default. So we might have to consider doing this for .sh file too? +1. - chethiya software engineer, WSO2 On Dec 6, 2012 3:09 PM, Dileepa Jayakody dile...@wso2.com wrote: Only changed the .bat file [1] because this is specific to Windows [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.bat On Thu, Dec 6, 2012 at 2:59 PM, Dileepa Jayakody dile...@wso2.comwrote: Hi All, As a fix to [1], UTF8 characters not supported on Windows by default, I added the *-Dfile.encoding=UTF8 * parameter to wso2server.bat file in Kernel [2]. If anyone uses different/updated startup script please update the .bat script accordingly. Thanks, Dileepa [1] https://wso2.org/jira/browse/CARBON-14012 [2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x - Nightly Kernel_4.0.5 #23 has FAILED. Change made by 4 authors.
--- WSO2 Carbon 4.0.x - Nightly Kernel_4.0.5 #23 failed. --- This build occurred because it is a dependant of WCB002-NORB003-13. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WCB002-NKER003-23/ - Currently Responsible - No one is responsible for fixing this build. -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- dileepa (150505): improving query logic to get product categories from repo dileepa (150513): supporting new product specific composite, mandatory features in feature.mgt.ui dileepa (150451): fixing CARBON-14012 by introducing -Dfile.encoding=UTF8 as a parameter -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Platform 4.0.5 #75 has FAILED. Change made by 15 authors.
--- WSO2 Carbon 4.0.x Platform 4.0.5 #75 failed. --- Code has been updated by hasini, krishantha, sinthuja, vijitha, dushan, subash, senaka, chethiya, anjana, ruchira, amani, shammi, supunm, ajithn, buddhikac. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WCB001-PLA005-75/ - Currently Responsible - No one is responsible for fixing this build. -- Failing Jobs -- - Default Job (Default Stage): 1772 tests passed. -- Code Changes -- hasini (150425): updating IS p2-profile gen to the latest version ruchira (150415): fixing NPE supunm (150465): committing Andun's patch from WSAS-891 -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Kernel 4.0.5 #42 has FAILED. Change made by Kishanthan Thangarajah and dileepa.
--- WSO2 Carbon 4.0.x Kernel 4.0.5 #42 failed. --- Code has been updated by Kishanthan Thangarajah, dileepa. No failed tests found, a possible compilation error. http://wso2.org/bamboo/browse/WCB001-KER005-42/ - Currently Responsible - Asela Pathberiya (Assigned by Maheshika Goonetilleke) Dushan Abeyruwan (Assigned by Maheshika Goonetilleke) -- Failing Jobs -- - Default Job (Default Stage): No tests found. -- Code Changes -- dileepa (150505): improving query logic to get product categories from repo dileepa (150513): supporting new product specific composite, mandatory features in feature.mgt.ui Kishanthan Thangarajah (150516): fixing CARBON-14020 -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [BUILD FAILED] WSO2 Carbon 4.0.x Kernel 4.0.5 build #42
Hi all Kernel 4.0.5 build #42 has failed due to the following error; 06-Dec-2012 15:29:21[INFO] BUILD FAILURE06-Dec-2012 15:29:21[INFO] 06-Dec-2012 15:29:21[INFO] Total time: 45:14.394s06-Dec-2012 15:29:21[INFO] Finished at: Thu Dec 06 15:29:21 PST 201206-Dec-2012 15:29:24[INFO] Final Memory: 498M/1267M06-Dec-2012 15:29:24[INFO] 06-Dec-2012 15:29:24[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project org.wso2.carbon.core: There are test failures.06-Dec-2012 15:29:24[ERROR] 06-Dec-2012 15:29:24[ERROR] Please refer to /home/bamboo/Bamboo-3.4/source-repository/build-dir/WCB001-KER005-JOB1/core/org.wso2.carbon.core/4.0.5/target/surefire-reports for the individual test results.06-Dec-2012 15:29:24[ERROR] - [Help 1]06-Dec-2012 15:29:24[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen (4-p2-feature-generation) on project org.wso2.carbon.core.common.feature: Unable to retreive osgi bundle info: org.wso2.carbon:org.wso2.carbon.core:4.0.5: error in opening zip file - [Help 2]06-Dec-2012 15:29:24[ERROR] Can someone look into this? http://wso2.org/bamboo/browse/WCB001-KER005-JOB1-42/log -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator WSO2 Inc www.wso2.com/ M : 0773 596707 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Platform 4.0.5 #76 was SUCCESSFUL (with 1772 tests). Change made by 16 authors.
--- WSO2 Carbon 4.0.x Platform 4.0.5 #76 was successful. --- Code has been updated by krishantha, hasini, sinthuja, vijitha, hasithah, dileepa, subash, senaka, chethiya, anjana, johann, amani, deep, shammi, nirmal, buddhikac. 1772 tests in total. http://wso2.org/bamboo/browse/WCB001-PLA005-76/ -- Code Changes -- subash (150539): Adding chceklist.stub 405 to build johann (150509): Creating patch-release version 4.0.5 for OAuth mediator subash (150525): Addign 405 -- This message is automatically generated by Atlassian Bamboo___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev