Re: [Dev] ESB pack built from trunk startup failure

2013-06-19 Thread Sinthuja Ragendran
Hi, Initially in BAM pack also we got this, but once the log4j.properties file is placed in BAM_HOME/repository/conf/bundle-config/org.wso2.carbon.logging/log4j.properties it's resolved. Thanks, Sinthuja. On Wed, Jun 19, 2013 at 11:20 AM, Isuru Udana isu...@wso2.com wrote: Hi Pradeep,

Re: [Dev] ESB pack built from trunk startup failure

2013-06-19 Thread Isuru Udana
It worked for ESB as well. I previously looked for the log4j.properties file in conf directory. But why we have changed the location ? On Wed, Jun 19, 2013 at 11:31 AM, Sinthuja Ragendran sinth...@wso2.comwrote: Hi, Initially in BAM pack also we got this, but once the log4j.properties file

Re: [Dev] ESB pack built from trunk startup failure

2013-06-19 Thread Geeth Munasinghe
Hi I got the same error. But after placing the log4j.properties in AS_HOME/repository/conf/ bundle-config/org.wso2.carbon.logging problem resolved. But in built pack log4j.properties file is located in the conf dir. Thanks *G. K. S. Munasinghe * *Software Engineer,* *WSO2, Inc. http://wso2.com

Re: [Dev] ESB pack built from trunk startup failure

2013-06-19 Thread Sinthuja Ragendran
On Wed, Jun 19, 2013 at 11:53 AM, Geeth Munasinghe ge...@wso2.com wrote: Hi I got the same error. But after placing the log4j.properties in AS_HOME/repository/conf/ bundle-config/org.wso2.carbon.logging problem resolved. But in built pack log4j.properties file is located in the conf dir.

Re: [Dev] ESB pack built from trunk startup failure

2013-06-19 Thread Darshana Gunawardana
On Wed, Jun 19, 2013 at 11:28 AM, Darshana Gunawardana darsh...@wso2.comwrote: Hi, On Wed, Jun 19, 2013 at 10:49 AM, Pradeep Fernando prad...@wso2.comwrote: Hi all, see whether you have this file[1] inside your conf dir. [1]

[Dev] [AS] [MB] Complexities in integrating AS with MB as JMS Transport is enabled for all the deployed services

2013-06-19 Thread Ishara Premadasa
Hi, I am trying to integrate MB 2.1.0 with AS 5.1.0 in order to enable a sample service deployed in App Server to be subscribed and receive messages from a queue/topic registered in MB [1]. However when doing this there are practical limitations in this scenario which makes it not useful to

Re: [Dev] [AS] [MB] Complexities in integrating AS with MB as JMS Transport is enabled for all the deployed services

2013-06-19 Thread Shammi Jayasinghe
Hi Ishara, Yes, We are unable to support dynamic queues with AMQP 0-91 version. Because of that problem we have solved this issue in a different way.[1]. If you get the latest JMS transport library in to the App Server, it should fix the problem of defining queue name in the jndi.properties file

[Dev] Better way to find isXML()?

2013-06-19 Thread Srinath Perera
Following is expensive. We generally do not throw exceptions on legal execution flow. /2.1.1-wso2v6/modules/core/src/main/java/org/apache/synapse/mediators/transform/PayloadFactoryMediator.java private boolean isXML(String value) { try { AXIOMUtil.stringToOM(value); }

[Dev] How to securely provide one time password (OTP) to users?

2013-06-19 Thread Chamath Gunawardana
Hi, We are going to implement an one time password (OTP) feature for identity server. Basically this would generate a new password when user login to the system each time and send it to the user by email. Since the user needs to know the next password, it has to be readily available to the user.

Re: [Dev] Better way to find isXML()?

2013-06-19 Thread Jeewantha Dharmaparakrama
IINM we just need to know whether the String value is xml or json. Cant we just count the , , / and / characters to figure that out. Will something like {numberOf(/) + numberOf(/) == numberOf()} do the job? Just an idea. On Wed, Jun 19, 2013 at 2:41 PM, Srinath Perera srin...@wso2.com wrote:

Re: [Dev] Better way to find isXML()?

2013-06-19 Thread Miyuru Wanninayaka
Hi Srinath, This is a dumb code written by me :) sometime back because I didn't found any other reliable way to find whether string is really a xml or not. Is there any? On Wed, Jun 19, 2013 at 2:41 PM, Srinath Perera srin...@wso2.com wrote: Following is expensive. We generally do not throw

Re: [Dev] Better way to find isXML()?

2013-06-19 Thread Vijayaratha Vijayasingam
Can we use regular expressions to identify xml tags? On 19 June 2013 15:55, Miyuru Wanninayaka miy...@wso2.com wrote: Hi Srinath, This is a dumb code written by me :) sometime back because I didn't found any other reliable way to find whether string is really a xml or not. Is there any?

[Dev] Redirect ajax requests to the carbon main login page if session is invalid.

2013-06-19 Thread Shameera Rathnayaka
Hi, With existing implementation org.wso2.carbon.ui.CarbonSecuredHttpContext prevent appearing main login page if request comes from a page name which ends with ajaxprocessor.jsp suffix. I think this is because if we redirect to the main page it will get load to the part of the exiting frame.as

[Dev] Transport adapators and CEP 3.0.0 architecture review notes

2013-06-19 Thread Rajeev Sampath
Hi, Following were discussed on CEP 3.0.0 and transport adaptors during the architecture review meeting held on 19/06/2013. 1. Instead of having multiple endpoints for different content types, having single endpoint and distinguish processing to be done using the content type. 2. Whiteboard

[Dev] [BAM2][Trunk Build Failure] org.wso2.carbon.bam.cassandra.data.archive

2013-06-19 Thread Subash Chaturanga
Hi all, INFO] WSO2 Carbon - Platform Aggregator Pom . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2:11:37.255s [INFO]

Re: [Dev] [S2][APIM] Getting error while invoking jaggery apps of API manager

2013-06-19 Thread Nuwan Bandara
is this front by ELB ? and the login request going via ELB ? do check [1] [1] https://wso2.org/jira/browse/APIMANAGER-904 On Wed, Jun 19, 2013 at 7:36 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote: Hi Team, I modified s2 base image for API manager and launched API manager node from that.

Re: [Dev] [S2][APIM] Getting error while invoking jaggery apps of API manager

2013-06-19 Thread Nirmal Fernando
Hi Sanjeewa, I think the best thing to do is, front the APIM using ELB, outside S2 and get it to a working state and then puppetize it. I doubt whether this happens due to a config issue. Sent via my mobile -- Nirmal -- On Jun 19, 2013 7:36 PM, Sanjeewa Malalgoda sanje...@wso2.com wrote: Hi

Re: [Dev] Better way to find isXML()?

2013-06-19 Thread Jayalal Kahandawa
If we are to encourage accepting proper xml format , better to check xml declaration is in the first part of xml to verify isXml , Since xml declaration has processing instructions. http://xmlwriter.net/xml_guide/xml_declaration.shtml Thanks Jayalal On Wednesday, June 19, 2013, Vijayaratha

Re: [Dev] [SecureVault] Is there a way to encrypt keystorePass attribute in catalina-server.xml?

2013-06-19 Thread Pradeep Fernando
@Asela: Is it a L1 ? :) --Pradeep On Wed, Jun 19, 2013 at 7:47 PM, Asela Pathberiya as...@wso2.com wrote: On Wed, Jun 19, 2013 at 11:09 AM, Nirmal Fernando nir...@wso2.com wrote: Hi All, Is it possible to do $subject using secure vault? I guess not, however It was there in older

Re: [Dev] [SecureVault] Is there a way to encrypt keystorePass attribute in catalina-server.xml?

2013-06-19 Thread Nirmal Fernando
Sent via my mobile -- Nirmal -- On Jun 19, 2013 10:00 PM, Pradeep Fernando prad...@wso2.com wrote: @Asela: Is it a L1 ? :) Shouldn't it be? :-) --Pradeep On Wed, Jun 19, 2013 at 7:47 PM, Asela Pathberiya as...@wso2.com wrote: On Wed, Jun 19, 2013 at 11:09 AM, Nirmal Fernando

Re: [Dev] [BAM2][Trunk Build Failure] org.wso2.carbon.bam.cassandra.data.archive

2013-06-19 Thread Sinthuja Ragendran
It's fixed now in r175689. Please get an update. Thanks, Sinthuja. On Wed, Jun 19, 2013 at 6:47 PM, Subash Chaturanga sub...@wso2.com wrote: Hi all, INFO] WSO2 Carbon - Platform Aggregator Pom . SKIPPED [INFO]

[Dev] https://wso2.org/jira/browse/CARBON-14027

2013-06-19 Thread Pradeep Fernando
Hi Manisha, Shall we commit and resolve the issue. thanks ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Please create Carbon jiras for fixed issues that went with 4.1.0-patch001

2013-06-19 Thread Pradeep Fernando
Hi, Please do the $subject. If there is a JIRA already please add the correct fixed version.(Now available in Carbon JIRA) Appreciate the help. thanks, --Pradeep ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Moved javax.cache code to a separate javax.cache module under the kernel/core

2013-06-19 Thread Afkham Azeez
Earlier this code was in org.wso2.carbon.core. However, UserManager Registry needs to use this new code, and those modules cannot take a dependency on org.wso2.carbon.core. So I have moved that code to a separate module. -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com

[Dev] [Hive] [Build Failure in Trunk] org.wso2.carbon.hive.data.source.access

2013-06-19 Thread Subash Chaturanga
Hi, $subject. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:16.173s [INFO] Finished at: Thu Jun 20 04:11:15 IST 2013 [INFO] Final Memory: 317M/1012M [INFO]

[Dev] Developer Studio 3.2.0 Milestone 3 Released !

2013-06-19 Thread Susankha Nirmala
Hi All, We have WSO2 Developer Studio 3.2.0 Milestone 3 ready to be downloaded at [1]. Installed eclipse distributions available at [2] This release includes following new features, improvements and bug fixes. New Features - [TOOLS-1596 https://wso2.org/jira/browse/TOOLS-1596] - Appfactory

Re: [Dev] [Hive] [Build Failure in Trunk] org.wso2.carbon.hive.data.source.access

2013-06-19 Thread Sinthuja Ragendran
It's already fixed in r175688. Please update the components/analytics. Thanks, Sinthuja. On Thu, Jun 20, 2013 at 4:17 AM, Subash Chaturanga sub...@wso2.com wrote: Hi, $subject. [INFO] BUILD FAILURE [INFO] [INFO]

[Dev] Notes from Code Review - BAM receiver REST API improvements Cassandra explorer improvement to support composite types

2013-06-19 Thread Inosh Goonewardena
Hi Following changes are discussed to be done in the code review. 1. Avoid extra method calls for NULL checks that were used with ternary operators. 2. Add necessary NULL checks for getStringDeserialization() methods in CassandraUtils.java(component - org.wso2.carbon.cassandra.explorer.mgt) 3.

[Dev] Invitation: Code Review - Error handling in coordination and ntask co... @ Sun Jun 23, 2013 2pm - 4pm (chan...@wso2.com)

2013-06-19 Thread Chanika Geeganage
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130623T083000Z DTEND:20130623T103000Z DTSTAMP:20130620T043005Z ORGANIZER;CN=chan...@wso2.com:mailto:chan...@wso2.com UID:d2p2ov70aelhs2qdu4ni4dj...@google.com

Re: [Dev] [Hive] [Build Failure in Trunk] org.wso2.carbon.hive.data.source.access

2013-06-19 Thread Subash Chaturanga
On Thu, Jun 20, 2013 at 9:15 AM, Sinthuja Ragendran sinth...@wso2.comwrote: It's already fixed in r175688. Please update the components/analytics. Thanks. Will update and try. Thanks, Sinthuja. On Thu, Jun 20, 2013 at 4:17 AM, Subash Chaturanga sub...@wso2.comwrote: Hi, $subject.

Re: [Dev] [AS] [MB] Complexities in integrating AS with MB as JMS Transport is enabled for all the deployed services

2013-06-19 Thread Ishara Premadasa
Hi Shammi, Thanks for this information. As the App Server 5.1.1 which comes with newly changed JMS transport library is not released yet, i patched the axis2-transport-jms_1.1.0.wso2v7 into AS 5.1.0 and now the integrations works fine. However sample REST, JS services etc. still needs to be

[Dev] Updated Invitation: Code Review - Error handling in coordination and ntask co... @ Mon Jun 24, 2013 2pm - 4pm (chan...@wso2.com)

2013-06-19 Thread Chanika Geeganage
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130624T083000Z DTEND:20130624T103000Z DTSTAMP:20130620T051511Z ORGANIZER;CN=chan...@wso2.com:mailto:chan...@wso2.com UID:d2p2ov70aelhs2qdu4ni4dj...@google.com

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-19 Thread Sriragu Arudsothy
Hi Lakmali and Dinusha, As you have been completed the tomcat valve, shall I use the tomcat valve ( kind of interceptor) to test the Registry REST API with the externally running API Manager instance ? Thanks, Ragu On Tue, Jun 18, 2013 at 1:20 PM, Dinusha Senanayaka

Re: [Dev] [Architecture] [AS] [MB] Complexities in integrating AS with MB as JMS Transport is enabled for all the deployed services

2013-06-19 Thread Prabath Abeysekera
Hi, On Wed, Jun 19, 2013 at 1:21 PM, Shammi Jayasinghe sha...@wso2.com wrote: Hi Ishara, Yes, We are unable to support dynamic queues with AMQP 0-91 version. Because of that problem we have solved this issue in a different way.[1]. If you get the latest JMS transport library in to the App

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-06-19 Thread Dinusha Senanayaka
Hi Ragu, On Thu, Jun 20, 2013 at 10:52 AM, Sriragu Arudsothy srir...@wso2.comwrote: Hi Lakmali and Dinusha, As you have been completed the tomcat valve, shall I use the tomcat valve ( kind of interceptor) to test the Registry REST API with the externally running API Manager instance