Re: [Carbon-dev] Issue in implementing JPA support on ESB Smooks Mediator

2012-03-05 Thread Hiranya Jayathilaka
In old releases we could load certain config files by placing them in the
webapps/WEB-INF/classes directory. Not sure whether that's a viable option
anymore though.

Thanks,
Hiranya

On Mon, Mar 5, 2012 at 6:30 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi all,

 I am working on extending smooks functionality on WSO2 ESB Smooks
 Mediator. When implementing JPA support with hibernate on smooks mediator,
 I am facing an issue of not being able to find the persistence provider. I
 placed the persistence.xml file inside a jar which contains the entity
 classes (as META-INF/persistence.xml). I added that jar to ESB
 repository/components/lib location. Also added all the other required jars
 (hibernate-entitymanager, persistence-api, etc) to the same location. But
 when executing a sample service I get this error as,

 javax.persistence.PersistenceException: No Persistence provider for
 EntityManager named db
 at
 javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
 at
 javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)

 It seems that although hibernate-entitymanager jar is added to the
 repository/components/lib Smooks can not find the Persistence Provider.

 This similar problem had been encountered sometime back and provided with
 a solution on a support issue [1]. There an additional script had been
 added to wso2server.sh in order to add all the jars inside  
 repository/components/lib
 to the classpath. As the client has responded the solution has worked. But
 it seems that solution doesn't work in trunk now. We exactly do not know
 how that solution worked at that time and why isn't that working now.

 So I appreciate any assistance, comments regarding this issue.

 Also I came to know that WSO2 BPS has implemented JPA functionality and I
 would like to know how you have been supported this ?


 [1] 
 https://support.wso2.com/jira/browse/THOMREUTDEVSPRT-9https://support.wso2.com/jira/browse/THOMREUTDEVSPRT-9


 Thank you!

 regards,
 Lakmali
 *
 *



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Jaggery] request.getParameter returns a string

2012-03-05 Thread Hiranya Jayathilaka
On Tue, Mar 6, 2012 at 9:50 AM, Afkham Azeez az...@wso2.com wrote:

 I was also thinking the same. But since this is JavaScript, doesn't the
 type conversion automatically happen? Perhaps not. How will it know whether
 1 is a String or int.


That's correct. And I think it's ok too. This is consistent with
JSP/Servlet API. If we are to solve this problem I think we should
introduce more methods to the API such as getParameterAsInt and
getParameterAsDouble.

Thanks,
Hiranya




 On Tue, Mar 6, 2012 at 9:33 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Samisa,

 When you take the parameters from the request they are not type bound.
 they will be always String, and if you are sure that some parameter is an
 Integer you can cast it to a Integer and do math operations on it.

 It goes same for Java HTTPServletRequest [1]

 [1]
 http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)

 Regards,
 /Nuwan

 On Tue, Mar 6, 2012 at 8:07 AM, Ruchira Wageesha ruch...@wso2.comwrote:

 I don't think it is possible to differentiate request parameters as
 strings, integers, floats etc. i.e. when we pass something as a request
 param from the client side, we don't consider their types.

 If I have understand your question properly, what is would be
 the rationale behind identifying params in [1] as numbers and [2] as
 strings?

 Thanks  Regards,
 Ruchira

 [1] http://foo.com/calc?param1=1param2=2
 [2] http://foo.com/search?param1=helloparam2=world

 On Mon, Mar 5, 2012 at 8:29 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Reason I am saying is that I wrote a cal to demo session and
 the param could not be added out of the box. I have to make use of ' *
 parseFloat'*

 See code below.

 %
 var operation = request.getParameter(operation);
 var value1 = parseFloat( request.getParameter(value1) );
 var value2 = parseFloat( request.getParameter(value2) );

 var result = 0;
 var memory = 0;

 if (operation == add ) {
 result = value1 + value2;
 } else if (operation == sub ) {
 result = value1 - value2;
 } else if (operation == mul ) {
 result = value1 * value2;
 } else if (operation == div ) {
 result = value1 / value2;
 } else if (operation == mem ) {
 memory = session.get(result);
  result = memory + value1;
 }

 session.put(result, result);

 if (operation == mem ) {
 print( memory +  +  + value1 +  =  + result );
 } else {
 print( value1 +   + operation +   + value2 +  =  + result
 );
 }
 %




 On Mon, Mar 5, 2012 at 8:27 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Cannot treat a number param as a number.

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Ruchira Wageesha
 Software Engineer - WSO2 Inc. www.wso2.com

 Email: ruch...@wso2.com Blog: ruchirawagee...@blogspot.com
 Mobile: +94775493444

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Issue in implementing JPA support on ESB Smooks Mediator

2012-03-05 Thread Hiranya Jayathilaka
On Mon, Mar 5, 2012 at 7:03 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi all,

 The JPA uses provider architecture. There it loads providers using java
 spi mechanism. The problem is with unique classLoaders, this does not work
 in OSGi. (earlier we used to load them all using
 application/carbon-bootstrap classLoader by placing them in outer lib)

 two viable options.

 1. go for OSGi JPA implementation. (eclipse gemini, apache aries are two
 impls)


This looks like the right thing to do. The development overhead will be
high but will be beneficial in the long run. Since our platform is based on
OSGi, problems such as this one are best solved in an OSGi specific manner.
Any other solution would be more or less a hack and will break when we make
significant changes to the underlying framework.

Thanks,
Hiranya


 2. use fragmenting mechanism to laod bundles using the same classLoader.


 Any other suggestions ?

 --Pradeep

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Mediator for Complex SOAP Processing

2012-02-29 Thread Hiranya Jayathilaka
http://docs.wso2.org/display/ESB403/Enrich+Mediator

Thanks,
Hiranya

On Thu, Mar 1, 2012 at 1:00 AM, metin d met...@yahoo.com wrote:

 I have found this web page about enrich but it is very restricted. Is
 there any other comprehensive source of documentation maybe with some
 examples?
 http://wso2.org/project/esb/java/3.0.1/docs/mediators/enrich.html


   --
 *From:* Rajika Kumarasiri raj...@wso2.com
 *To:* carbon-dev@wso2.org
 *Sent:* Wednesday, February 29, 2012 7:17 AM
 *Subject:* Re: [Carbon-dev] Mediator for Complex SOAP Processing

 Or you can use the enrich mediator.

 Rajika

 On Tue, Feb 28, 2012 at 8:18 PM, Vijayaratha Vijayasingam rat...@wso2.com
  wrote:

 You can  simply use existing XSLT mediator to create new soap message..

 -Ratha

 On 28 February 2012 19:16, metin d met...@yahoo.com wrote:

 I want to deploy a mediator on ESB. It will take SOAP messages as input
 and by using some parts of it, it will create new SOAP messages, send them,
 get response and according to responses create and send new SOAP messages
 and finally return a response to base request.

  Is creating such as  mediator possible in ESB? If yes, do you have any
 example ?

 Thanks.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB does not honor Accept header... [?]

2012-02-27 Thread Hiranya Jayathilaka
On Mon, Feb 27, 2012 at 3:06 PM, Miyuru Wanninayaka miy...@wso2.com wrote:

 Hi Prabath,

 It's true that ESB does not nativity support Accept header and response
 content type will be same as request content type if not overridden using
 messageType header in outSequence.


Not just ESB. None of the Axis2 HTTP transports support this properly.



 Your workaround is acceptable.

 However there is few cases which we do not have proper solutions:

 * Accept header does not contain any contetn type which particular ESB
 does not have message formatter
 * Accept header contains multiple content types

 On Sun, Feb 26, 2012 at 11:48 AM, Prabath Siriwardena prab...@wso2.comwrote:

 This what I want to - I want to send the request in SOAP and get the
 response as JSON..

 So - this is how I used curl for it.. by setting Accept header to
 application/json - and I was expecting a JSON response..

 curl -d @request.soap -H Content-Type: application/soap+xml
 action=getQuote -H Accept: application/json
 http://localhost:8080/services/test

 But this always returned back a SOAP response - ignoring the Accept
 header..

 Do I have to do anything else to get this work..? I also set
 httpContentNegotiation to true in axis2.xml but the same result..

 This is the workaround I followed and it worked..

 inSequence
property name=IN_ACCEPT_HEADER
 expression=$trp:Accept/
  /inSequence
  outSequence
log level=custom
property name=IN_ACCEPT_HEADER
 expression=get-property('IN_ACCEPT_HEADER')/
/log
property name=messageType
 expression=get-property('IN_ACCEPT_HEADER') scope=axis2/
send/
   /outSequence

 What would be the acceptable solution for this...?


 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thanks,
 Miyuru

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB API uri-template takes query params in to consideration while filtering...

2012-02-26 Thread Hiranya Jayathilaka
On Sun, Feb 26, 2012 at 11:22 AM, Prabath Siriwardena prab...@wso2.comwrote:

 On Sun, Feb 26, 2012 at 11:08 AM, Udayanga Wickramasinghe
 udaya...@wso2.com wrote:
 
 
  On Sat, Feb 25, 2012 at 7:53 PM, Hiranya Jayathilaka hira...@wso2.com
  wrote:
 
 
 
  Sent from my iPhone
 
  On Feb 25, 2012, at 5:05 AM, Prabath Siriwardena prab...@wso2.com
 wrote:
 
  Hi Hiranya,
 
  Thanks for the input..
 
  BWT won't this create some limitations.. specially in the API Gateway...
 
 
  It is a limitation. We should iteratively implement support for higher
  level uri templates.
 
  +1
  there are multiple level of constructs that is supported by uri
 templates ,
  which we will be able to support iteratively
  for example in this case following uri template can be used..
  /library/book{?author,name}

 +1. As per Hiranya.. /library/book{?author,name}... this we don't
 support yet.. I believe we can live without it for the API Gateway
 first release..


 BTW what is our plan for iterative improvements?


We can try and roll out support for level 3 templates with the next major
release. Then add support for other types of templates in future patch
releases.



 Thanks  regards,
 -Prabath

 
  Regards,
  udayanga--
 
  Udayanga Wickramasinghe
  Software Engineer; WSO2 Inc.; http://wso2.com,
  email: udaya...@wso2.com cell: +94 (77) 983-4365
  blog: http://udayangawiki.blogspot.com
  twitter: http://twitter.com/udayanga_wick
 



 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB API uri-template takes query params in to consideration while filtering...

2012-02-26 Thread Hiranya Jayathilaka
BTW Prabath, ideally we should be able to implement your use case using the
URL mapping /library/books/*. This should accept all URLs (with all
combinations of query params) you're interested in. But this didn't work in
the first cut implementation I did. I myself came across this scenario
while working on samples so I've fixed it in Synapse trunk. So if you're
using the latest Synapse core source from the Apache trunk, above URL
mapping is all you want to make this scenario work. You can access query
params using the XPath query.param.{paramName}

Thanks,
Hiranya

On Sun, Feb 26, 2012 at 11:22 AM, Prabath Siriwardena prab...@wso2.comwrote:

 On Sun, Feb 26, 2012 at 11:08 AM, Udayanga Wickramasinghe
 udaya...@wso2.com wrote:
 
 
  On Sat, Feb 25, 2012 at 7:53 PM, Hiranya Jayathilaka hira...@wso2.com
  wrote:
 
 
 
  Sent from my iPhone
 
  On Feb 25, 2012, at 5:05 AM, Prabath Siriwardena prab...@wso2.com
 wrote:
 
  Hi Hiranya,
 
  Thanks for the input..
 
  BWT won't this create some limitations.. specially in the API Gateway...
 
 
  It is a limitation. We should iteratively implement support for higher
  level uri templates.
 
  +1
  there are multiple level of constructs that is supported by uri
 templates ,
  which we will be able to support iteratively
  for example in this case following uri template can be used..
  /library/book{?author,name}

 +1. As per Hiranya.. /library/book{?author,name}... this we don't
 support yet.. I believe we can live without it for the API Gateway
 first release..

 BTW what is our plan for iterative improvements?

 Thanks  regards,
 -Prabath

 
  Regards,
  udayanga--
 
  Udayanga Wickramasinghe
  Software Engineer; WSO2 Inc.; http://wso2.com,
  email: udaya...@wso2.com cell: +94 (77) 983-4365
  blog: http://udayangawiki.blogspot.com
  twitter: http://twitter.com/udayanga_wick
 



 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB API uri-template takes query params in to consideration while filtering...

2012-02-26 Thread Hiranya Jayathilaka
On Mon, Feb 27, 2012 at 1:55 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Hi Hiranya,

 Thanks for the suggestion.. will try that out...

 Another issue I found with ESB sample 800 on API..

 If you open up the sample configuration file... Then you will see the
 following..

 resource url-pattern=/order/* methods=POST


Should be corrected as url-mapping



 But, when you load that configuration in to the ESB and go to the source
 view you will find url-pattern=/order/* is missing...

 Is this a known issue.. any reason behind this...

 Thanks  regards,
 -Prabath

 On Mon, Feb 27, 2012 at 12:15 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 BTW Prabath, ideally we should be able to implement your use case using
 the URL mapping /library/books/*. This should accept all URLs (with all
 combinations of query params) you're interested in. But this didn't work in
 the first cut implementation I did. I myself came across this scenario
 while working on samples so I've fixed it in Synapse trunk. So if you're
 using the latest Synapse core source from the Apache trunk, above URL
 mapping is all you want to make this scenario work. You can access query
 params using the XPath query.param.{paramName}

 Thanks,
 Hiranya


 On Sun, Feb 26, 2012 at 11:22 AM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 On Sun, Feb 26, 2012 at 11:08 AM, Udayanga Wickramasinghe
 udaya...@wso2.com wrote:
 
 
  On Sat, Feb 25, 2012 at 7:53 PM, Hiranya Jayathilaka hira...@wso2.com
 
  wrote:
 
 
 
  Sent from my iPhone
 
  On Feb 25, 2012, at 5:05 AM, Prabath Siriwardena prab...@wso2.com
 wrote:
 
  Hi Hiranya,
 
  Thanks for the input..
 
  BWT won't this create some limitations.. specially in the API
 Gateway...
 
 
  It is a limitation. We should iteratively implement support for higher
  level uri templates.
 
  +1
  there are multiple level of constructs that is supported by uri
 templates ,
  which we will be able to support iteratively
  for example in this case following uri template can be used..
  /library/book{?author,name}

 +1. As per Hiranya.. /library/book{?author,name}... this we don't
 support yet.. I believe we can live without it for the API Gateway
 first release..

 BTW what is our plan for iterative improvements?

 Thanks  regards,
 -Prabath

 
  Regards,
  udayanga--
 
  Udayanga Wickramasinghe
  Software Engineer; WSO2 Inc.; http://wso2.com,
  email: udaya...@wso2.com cell: +94 (77) 983-4365
  blog: http://udayangawiki.blogspot.com
  twitter: http://twitter.com/udayanga_wick
 



 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB API uri-template takes query params in to consideration while filtering...

2012-02-25 Thread Hiranya Jayathilaka


Sent from my iPhone

On Feb 25, 2012, at 5:05 AM, Prabath Siriwardena prab...@wso2.com wrote:

 Hi Hiranya,
 
 Thanks for the input..
 
 BWT won't this create some limitations.. specially in the API Gateway...

It is a limitation. We should iteratively implement support for higher level 
uri templates.

In the meantime I think you can use a URL mapping instead of a template to 
implement your use case. We have a xpath extension that allows you to access 
query param values.

 
 For example I can have a resource - where clients can do GET with different 
 optional parameters..
 
 In such case, I need to have a resource element for all those combinations 
 with different uri-templates..?
 
 Thanks  regards,
 -Prabath
 
 On Fri, Feb 24, 2012 at 1:27 AM, Hiranya Jayathilaka hira...@wso2.com wrote:
 
 
 On Thu, Feb 23, 2012 at 11:06 PM, Prabath Siriwardena prab...@wso2.com 
 wrote:
 This is my configuration..
 
 resource methods=POST GET uri-template=/library/book
 
 This will get the following...
 
 GET http://localhost:8280/library/book - and will return the book collection..
 
 But, above configuration won't get hit - when I call it like, 
 
 GET http://localhost:8280/library/book?author=hiranya
 
 If I want to handle the above, I need to introduce the following 
 configuration
 
 resource methods=POST GET uri-template=/library/book?author={author}
 
 Then once again - if I want to get books by author and book name, I need to 
 introduce following..
 
 resource methods=POST GET 
 uri-template=/library/book?author={author}name={name}
 
 Is this behavior by design..? Why..?
 
 Yes. This is how the URI template spec expects this to work.
  
 
 Can't we handle all above three scenarios through...
 
 The right template to use would be /library/book{?author,name}. But this is a 
 level 3 URI template. We don't have full support for level 3 templates yet 
 (we only support fragment expressions, label expressions and path expressions 
 so far from the level 3 category). So this won't work in the current URI 
 templates library.
 
 Thanks,
 Hiranya
 
 
 
  
 
 resource methods=POST GET uri-template=/library/book
 
 -- 
 Thanks  Regards,
 Prabath
 
 Mobile : +94 71 809 6732 
 
 http://blog.facilelogin.com
 http://RampartFAQ.com
 
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 -- 
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 -- 
 Thanks  Regards,
 Prabath
 
 Mobile : +94 71 809 6732 
 
 http://blog.facilelogin.com
 http://RampartFAQ.com
 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Editing API element by the source view of ESB is unstable..

2012-02-23 Thread Hiranya Jayathilaka
Comma separated values are not accepted for the method in this
implementation yet. As of now it has to be space separated.

Thanks,
Hiranya

On Thu, Feb 23, 2012 at 2:26 PM, Prabath Siriwardena prab...@wso2.comwrote:

 I can consistently reproduce this with a fresh ESB.. will debug and see...

 Thanks  regards,
 -Prabath


 On Thu, Feb 23, 2012 at 2:18 PM, Sandapa Handakumbura sand...@wso2.comwrote:

 Hi,

 I tried to reproduce this in the Linux environment with sample 800, but
 couldn't. When i try the same scenario, synapse configuration goes back to
 it's previous state but no UI error is given and i can continue to do
 updates using source view.

 Regards,
 Sandapa



 On Thu, Feb 23, 2012 at 12:24 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 I can recreate the same with the API [800] sample we ship with the ESB
 too...

 Thanks  regards,
 -Prabath


 On Thu, Feb 23, 2012 at 12:18 PM, Prabath Siriwardena 
 prab...@wso2.comwrote:

 This is my scenario...

 I have the following scenario..

 1. My configuration

   api name=MongoAPI context=/mongo
 resource methods=GET uri-template=/{db}/{collection}
 inSequence
 log level=full/
 property name=mongo.db
 expression=get-property('uri.var.db') scope=axis2/
 property name=mongo.db.collection
 expression=get-property('uri.var.collection') scope=axis2/
 class
 name=org.wso2.mongodb.connector.MongoDBMediator/
 /inSequence
 outSequence
 send/
 /outSequence
 /resource
 /api

 2. Update  methods=GET to methods=POST - works fine

 3.  methods=POST to  methods=GET,POST   - from the methods
 attribute I feel like this is a valid case. Now this produce error

 [2012-02-23 12:07:21,026] ERROR - SynapseTaskManager Task helper has
 not been initialized, it requires to be initialized
 [2012-02-23 12:07:21,027] ERROR - ConfigAdmin Error while updating the
 Synapse configuration
 org.apache.synapse.commons.SynapseCommonsException: Task helper has not
 been initialized, it requires to be initialized

 4. Since I get the error at [3] - synapse configuration goes back to
 the state in [2].

 5. Now I try to update the synapse configuration with valida values -
 like, update  methods=POST to methods=GET - or anything - and this
 keeps on failing..

  And I cannot do any updates via source view, till I restart

 Have I done anything wrong some where...? Appreciate a lot your
 thoughts...

 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB API uri-template takes query params in to consideration while filtering...

2012-02-23 Thread Hiranya Jayathilaka
On Thu, Feb 23, 2012 at 11:06 PM, Prabath Siriwardena prab...@wso2.comwrote:

 This is my configuration..

 resource methods=POST GET uri-template=/library/book

 This will get the following...

 GET http://localhost:8280/library/book - and will return the book
 collection..

 But, above configuration won't get hit - when I call it like,

 GET http://localhost:8280/library/book?author=hiranya

 If I want to handle the above, I need to introduce the following
 configuration

 resource methods=POST GET uri-template=/library/book?author={author}

 Then once again - if I want to get books by author and book name, I need
 to introduce following..

 resource methods=POST GET
 uri-template=/library/book?author={author}name={name}

 Is this behavior by design..? Why..?


Yes. This is how the URI template spec expects this to work.



 Can't we handle all above three scenarios through...


The right template to use would be /library/book{?author,name}. But this is
a level 3 URI template. We don't have full support for level 3 templates
yet (we only support fragment expressions, label expressions and path
expressions so far from the level 3 category). So this won't work in the
current URI templates library.

Thanks,
Hiranya






 resource methods=POST GET uri-template=/library/book

 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Excel Mediator

2012-02-22 Thread Hiranya Jayathilaka
We don't have anything OOTB. But Data Services Server is capable of
exposing spreadsheets at services which can then be invoked through ESB.
Alternatively you can develop a mediator/message builder for spreadsheets
using Apache POI libraries.

Thanks,
Hiranya

On Wed, Feb 22, 2012 at 3:44 PM, gnanaguru.sattanat...@wipro.com wrote:

  Hi WSO2 Team,

 ** **

 Do we have any mediator for manipulating data from MS Excel sheet or any
 CSV files.

 ** **

 ** **

 ** **

 Regards

 Guru

 ** **

 ** **

 ** **

 * Please do not print this email unless it is absolutely necessary. *

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.

 www.wipro.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] JSON to SOAP conversion in WSO2 ESB

2012-02-22 Thread Hiranya Jayathilaka
On Thu, Feb 23, 2012 at 2:29 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Tried out some json stuff with the ESB latest release.. and following
 what I observed...

 The original json message which I want to send is following..

 {name : Understanding JAVA , pages : 100}



Yeah I think Jettison expects a root element for it to be able to properly
convert from JSON to XML.

Thanks,
Hiranya


 When I sent this - this is the SOAP body I observed inside the ESB..

 soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
 nameUnderstanding
 JAVA/name/soapenv:Body

 You will notice that - pages element is missing there..

 When I reformat my json message to the following - with a top, parent
 element it worked fine..

 { request :{name : Understanding JAVA , pages : 100}}

 and the SOAP body produced was...

 soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
 requestnameUnderstanding
 JAVA/namepages100/pages/request/soapenv:Body

 Any thoughts.. on the behavior of the first scenario ?

 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem regarding ESB Sample 250

2012-02-21 Thread Hiranya Jayathilaka
Probably due to wrong addressing headers. I faintly remember running into
something like this.

On Tue, Feb 21, 2012 at 6:11 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 I was trying the ESB sample 250. I have an ActiveMQ running. My proxy
 service name was BarProxy (using this for ease of seperation) listening
 through the JMS transport. But by mistake the jmsclient was sending
 messages to a queue FooProxy . When the expected behaviour was not taking
 place, I checked the ActiveMQ UI and realized I was sending the messages to
 the wrong queue. Then I corrected it and sent messages as follows,

 ant jmsclient -Djms_type=pox -Djms_dest=dynamicQueues/BarProxy
 -Djms_payload=MSFT

 This is working fine. Messages are picked up by the proxy service and
 delivered to the axis2 service as expected.

 Then I put the following parameter to my proxy configuration to deliver
 the messages queued in the FooProxy queue.

 parameter
 name=transport.jms.DestinationdynamicQueues/FooProxy/parameter

 When the proxy configuration was saved, I found that the messages in the
 FooProxy queue was dequeued. But they were not delivered to the axis2
 service. No exceptions/warning in the logs.

 *Is this a known issue?*

 I was trying this with ESB 4.0.2

 Regards,
 AmilaM.
 --
 *Amila Maharachchi*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Committers += Ishan Jayawardena

2012-02-15 Thread Hiranya Jayathilaka
Hi Folks,

The integration PMC has voted in Ishan Jayawardena as a WSO2 committer. He
has been an excellent contributor for Carbon and other related projects
over the last few months. We sincerely believe that he will continue to
develop our platform with his contributions.

Ishan, welcome aboard and keep up the good work.

Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB aggregate on complete (min, max ) values dose not take xpath expressions

2012-02-14 Thread Hiranya Jayathilaka
Should be implemented at Synapse level. Better to discuss this there and
provide a patch.

Thanks,
Hiranya

On Wed, Feb 15, 2012 at 7:27 AM, Dushan Abeyruwan dus...@wso2.com wrote:

 Hi
   Regarding  $subject , Can we do this WDYT ? we do have a scenario to
 Iterate over the nodes, filter out and continue and do the operations  via
 service chaining, expression will determine how many messages it should
 wait before continue completion, and minimum number of messages will be
 count via the property expression

 Iterator
 property name=TARGET_USER expression=//a:Adviser/a:Id/
 property name=ACCOUNT_COUNT value=0/
 // doing role authentication ...returns ctx:PERM_RESULT (boolan
 value)
filter source=$ctx:PERM_RESULT regex=true
 property name=ACCOUNT_COUNT
 expression=$ctx:ACCOUNT_COUNT + 1/
  continue service chaining.
filter
 /iterator

   aggregate
 completeCondition
 messageCount min=$ctx:ACCOUNT_COUNT max=-1/
 $ctx:ACCOUNT_COUN  can we
 provide like this
 /completeCondition
 onComplete xmlns:m0=http://ws.wso2.org/dataservice;
 expression=//m0:Clients
 sequence key=sequenceClientPolcies/
 /onComplete
 /aggregate



 cheers
 Dushan Abeyruwan
 WSO2 Inc
 Senior Software Engineer

 Mobile:(+94)714408632


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Trouble with a RESTfull Axis2 Service

2012-02-11 Thread Hiranya Jayathilaka
 fulfilling this
 request./u/ppbexception/b preorg.apache.axis2.AxisFault
 org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

 org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:134)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 /pre/ppbroot cause/b prejava.lang.NullPointerException

 org.wso2.carbon.statistics.internal.ResponseTimeCalculator.updateCurrentInvocationStatistic(ResponseTimeCalculator.java:120)

 org.wso2.carbon.statistics.internal.ResponseTimeCalculator.calculateResponseTimes(ResponseTimeCalculator.java:61)

 org.wso2.carbon.statistics.module.FaultHandler.updateStatistics(FaultHandler.java:151)

 org.wso2.carbon.statistics.module.FaultHandler.invoke(FaultHandler.java:50)
 org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
 org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:516)

 org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:433)

 org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:398)

 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processFault(AxisServlet.java:857)

 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:842)

 org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:233)

 org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:131)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 /pre/ppbnote/b uThe full stack trace of the root cause is
 available in the Apache Tomcat/7.0.14 logs./u/pHR size=1
 noshade=noshadeh3Apache Tomcat/7.0.14/h3/body/html


 nirmal@nirmal:/media/wso2/new-autoscaler$ curl -X GET
 http://127.0.0.1:9763/services/MobileDirectoryService/getMobileNumber?user=nirmal-k
 ns:getMobileNumberResponse xmlns:ns=http://axis2.apache.org
 ns:return1234/ns:return/ns:getMobileNumberResponse

 --

 Thanks  regards,
 Nirmal

 Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build Break in Tenant Activity Component

2012-02-01 Thread Hiranya Jayathilaka
[ERROR] Failed to execute goal on project org.wso2.carbon.tenant.activity:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.tenant.activity:bundle:1.1.0-SNAPSHOT:
Could not find artifact org.apache.axis2:axis2:jar:1.6.1-wso2v4 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.wso2.carbon.tenant.activity


Looks like tenant activity component depends on axis2 1.6.1.wso2v4. But
this dependency is not in the Nexus repo yet.


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Tenant Activity Component

2012-02-01 Thread Hiranya Jayathilaka
This is still broken :(

[ERROR] Failed to execute goal on project org.wso2.carbon.tenant.activity:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.tenant.activity:bundle:1.1.0-SNAPSHOT: The
following artifacts could not be resolved:
org.apache.axis2:axis2:jar:1.6.1.wso2v5,
org.apache.axis2:axis2-kernel:jar:1.6.1.wso2v5: Could not find artifact
org.apache.axis2:axis2:jar:1.6.1.wso2v5 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1]

I think the correct group ID is org.apache.axis2.wso2.

Thanks,
Hiranya

On Wed, Feb 1, 2012 at 3:03 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Fixed the issue.
 Thanks.


 On Wed, Feb 1, 2012 at 2:48 PM, Shammi Jayasinghe sha...@wso2.com wrote:



 On Wed, Feb 1, 2012 at 2:44 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Sanjeewa,

 Please update the pom.xml of tenant.activity component to use
 axis2-1.6.1-wso2v5 (which is the trunk version) for now.


 Please do not update the version to  axis2-1.6.1-wso2v5 in this pom.xml .
 Please refere the version from root pom.xml.

 Thanks
 Shammi


 I am in the process of changing the versions of stratos components.
 Still some components are using older versions of dependencies. I have
 updated them and in the process of building locally to verify if there are
 any build failures.

 Regards,
 AmilaM.

 On Wed, Feb 1, 2012 at 2:28 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.tenant.activity: Could not resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.tenant.activity:bundle:1.1.0-SNAPSHOT:
 Could not find artifact org.apache.axis2:axis2:jar:1.6.1-wso2v4 in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with
 the command
 [ERROR]   mvn goals -rf :org.wso2.carbon.tenant.activity


 Looks like tenant activity component depends on axis2 1.6.1.wso2v4. But
 this dependency is not in the Nexus repo yet.


 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Amila Maharachchi*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Sanjeewa Malalgoda*
 Software Engineer
 **
 *WSO2, Inc.*
 lean.enterprise.middleware.

 mobile : +94 713068779
 web: http://wso2.com
  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/

 [image:
 http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Tenant Activity Component

2012-02-01 Thread Hiranya Jayathilaka
On Wed, Feb 1, 2012 at 3:30 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 This is still broken :(

 [ERROR] Failed to execute goal on project org.wso2.carbon.tenant.activity:
 Could not resolve dependencies for project
 org.wso2.carbon:org.wso2.carbon.tenant.activity:bundle:1.1.0-SNAPSHOT: The
 following artifacts could not be resolved:
 org.apache.axis2:axis2:jar:1.6.1.wso2v5,
 org.apache.axis2:axis2-kernel:jar:1.6.1.wso2v5: Could not find artifact
 org.apache.axis2:axis2:jar:1.6.1.wso2v5 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/) - [Help 1]

 I think the correct group ID is org.apache.axis2.wso2.


And the version of axis2-kernel should be 1.6.1-wso2v5.



 Thanks,
 Hiranya

 On Wed, Feb 1, 2012 at 3:03 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Fixed the issue.
 Thanks.


 On Wed, Feb 1, 2012 at 2:48 PM, Shammi Jayasinghe sha...@wso2.comwrote:



 On Wed, Feb 1, 2012 at 2:44 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Sanjeewa,

 Please update the pom.xml of tenant.activity component to use
 axis2-1.6.1-wso2v5 (which is the trunk version) for now.


 Please do not update the version to  axis2-1.6.1-wso2v5 in this pom.xml
 . Please refere the version from root pom.xml.

 Thanks
 Shammi


 I am in the process of changing the versions of stratos components.
 Still some components are using older versions of dependencies. I have
 updated them and in the process of building locally to verify if there are
 any build failures.

 Regards,
 AmilaM.

 On Wed, Feb 1, 2012 at 2:28 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 [ERROR] Failed to execute goal on project
 org.wso2.carbon.tenant.activity: Could not resolve dependencies for 
 project
 org.wso2.carbon:org.wso2.carbon.tenant.activity:bundle:1.1.0-SNAPSHOT:
 Could not find artifact org.apache.axis2:axis2:jar:1.6.1-wso2v4 in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with
 the command
 [ERROR]   mvn goals -rf :org.wso2.carbon.tenant.activity


 Looks like tenant activity component depends on axis2 1.6.1.wso2v4.
 But this dependency is not in the Nexus repo yet.


 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Amila Maharachchi*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Sanjeewa Malalgoda*
 Software Engineer
 **
 *WSO2, Inc.*
 lean.enterprise.middleware.

 mobile : +94 713068779
 web: http://wso2.com
  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/

 [image:
 http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Urgent - Builds Broken

2012-01-31 Thread Hiranya Jayathilaka
I'm in the process of setting up my dev environment in a new laptop. So I
installed Java, Maven etc, took a fresh checkout from the trunk and started
a build. Ran into issues almost immediately. Some of the problems were
quite obvious too, like wrong relative paths in pom files. I'm fixing these
issues locally and continuing to build. I wonder why these problems do not
show up in the builder machine. Doesn't it build with a clean repo?

Thanks,
Hiranya

On Tue, Jan 31, 2012 at 9:25 PM, Srinath Perera srin...@wso2.com wrote:

 Sorry I mean to say .. Test cases were passing until then

 On Tue, Jan 31, 2012 at 9:24 PM, Srinath Perera srin...@wso2.com wrote:
  Hi Samisa,
 
  Onces we moved the SVN to LK, it look like build get to crazy state.
  It has been running for 3 days before it was killed today AFAIK. Not
  sure what the solution can be.
 
  Test was passing until then .. but build failure earlier was due to
  assembly errors.
 
  --Srinath
 
  On Tue, Jan 31, 2012 at 9:04 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:
  Folks, the build has been broken for more than a week, and I see that
 almost
  20 back to back builds broken.
 
  To make matters worst, I see that people keep on adding code - not sure
 how
  they are testing these commits if the build is broken.
 
  It seems that we need a scrum on the build again...
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  
  Srinath Perera, Ph.D.
 http://www.cs.indiana.edu/~hperera/
 http://srinathsview.blogspot.com/



 --
 
 Srinath Perera, Ph.D.
http://www.cs.indiana.edu/~hperera/
http://srinathsview.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Urgent - Builds Broken

2012-01-31 Thread Hiranya Jayathilaka
On Wed, Feb 1, 2012 at 7:08 AM, Srinath Perera srin...@wso2.com wrote:

 It does not .. it will take longer (now it take about 4 hours)

 We can start doing that if needed?


I think we need it. Until we do that all these small errors will go
unnoticed and a new user can always run into issues building the trunk.



 --Srinath

 On Tue, Jan 31, 2012 at 10:34 PM, Hiranya Jayathilaka 
 hiranya...@gmail.com wrote:

 I'm in the process of setting up my dev environment in a new laptop. So I
 installed Java, Maven etc, took a fresh checkout from the trunk and started
 a build. Ran into issues almost immediately. Some of the problems were
 quite obvious too, like wrong relative paths in pom files. I'm fixing these
 issues locally and continuing to build. I wonder why these problems do not
 show up in the builder machine. Doesn't it build with a clean repo?

 Thanks,
 Hiranya


 On Tue, Jan 31, 2012 at 9:25 PM, Srinath Perera srin...@wso2.com wrote:

 Sorry I mean to say .. Test cases were passing until then

 On Tue, Jan 31, 2012 at 9:24 PM, Srinath Perera srin...@wso2.com
 wrote:
  Hi Samisa,
 
  Onces we moved the SVN to LK, it look like build get to crazy state.
  It has been running for 3 days before it was killed today AFAIK. Not
  sure what the solution can be.
 
  Test was passing until then .. but build failure earlier was due to
  assembly errors.
 
  --Srinath
 
  On Tue, Jan 31, 2012 at 9:04 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:
  Folks, the build has been broken for more than a week, and I see that
 almost
  20 back to back builds broken.
 
  To make matters worst, I see that people keep on adding code - not
 sure how
  they are testing these commits if the build is broken.
 
  It seems that we need a scrum on the build again...
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  
  Srinath Perera, Ph.D.
 http://www.cs.indiana.edu/~hperera/
 http://srinathsview.blogspot.com/



 --
 
 Srinath Perera, Ph.D.
http://www.cs.indiana.edu/~hperera/
http://srinathsview.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 
 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

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WS-Discovery Proxy Endpoint error

2012-01-23 Thread Hiranya Jayathilaka
Does this occur only for 1 particular service or all the discovered
services?

Thanks,
Hiranya

On Mon, Jan 23, 2012 at 7:10 PM, Shakshi Shinghal sshing...@gmail.comwrote:

 Following this guide i managed to make my services discoverable.


 http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport

 I am getting the following error

 ERROR {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Unable
 to find the endpoint specified :
 wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

 As i understand the plugin does not work properly or it cannot recognized
 the uuid for the AuthenticationService,which needs to be mapped with the
 EPR.


 This error has already been posted and havn't found any solution
 mentioned. Please if anyone has found the solution for it, do let me know.

 Thanks
 Shakshi

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WS-Discovery Proxy Endpoint error

2012-01-23 Thread Hiranya Jayathilaka
And by AuthenticationService do you mean the built-in AuthenticationAdmin
service of Carbon? If so how did you get that to be discoverable? Admin
services are not discoverable by default.

On Mon, Jan 23, 2012 at 9:26 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Does this occur only for 1 particular service or all the discovered
 services?

 Thanks,
 Hiranya

 On Mon, Jan 23, 2012 at 7:10 PM, Shakshi Shinghal sshing...@gmail.comwrote:

 Following this guide i managed to make my services discoverable.


 http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport

 I am getting the following error

 ERROR {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} -
 Unable to find the endpoint specified :
 wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

 As i understand the plugin does not work properly or it cannot recognized
 the uuid for the AuthenticationService,which needs to be mapped with the
 EPR.


 This error has already been posted and havn't found any solution
 mentioned. Please if anyone has found the solution for it, do let me know.

 Thanks
 Shakshi

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WS-Discovery Proxy Endpoint error

2012-01-23 Thread Hiranya Jayathilaka
BTW this same problem was pointed out sometime back. You can find the
relevant mail archives at [1]. Chances are this is fixed in the latest
release. If not the mail thread describes the fix so you can apply it
yourself.

Thanks,
Hiranya

[1] -  http://markmail.org/message/rgbhduqfkw6wl47u

On Mon, Jan 23, 2012 at 9:30 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 And by AuthenticationService do you mean the built-in AuthenticationAdmin
 service of Carbon? If so how did you get that to be discoverable? Admin
 services are not discoverable by default.


 On Mon, Jan 23, 2012 at 9:26 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Does this occur only for 1 particular service or all the discovered
 services?

 Thanks,
 Hiranya

 On Mon, Jan 23, 2012 at 7:10 PM, Shakshi Shinghal sshing...@gmail.comwrote:

 Following this guide i managed to make my services discoverable.


 http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport

 I am getting the following error

 ERROR {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} -
 Unable to find the endpoint specified :
 wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

 As i understand the plugin does not work properly or it cannot
 recognized the uuid for the AuthenticationService,which needs to be mapped
 with the EPR.


 This error has already been posted and havn't found any solution
 mentioned. Please if anyone has found the solution for it, do let me know.

 Thanks
 Shakshi

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WS-Discovery Proxy Endpoint error (Shakshi Shinghal)

2012-01-23 Thread Hiranya Jayathilaka
Then this is the same problem described in the previous mail archives. You
will have to apply the patch described in that thread.

Thanks,
Hiranya

On Mon, Jan 23, 2012 at 10:27 PM, Shakshi Shinghal sshing...@gmail.comwrote:

 Changing the subject line for better visibility..

 It happens for all our custom services. By the way i have wrongly
 mentioned  AuthenticationService  name but the actual name of service is
 different.

 On Mon, Jan 23, 2012 at 1:22 PM, carbon-dev-requ...@wso2.org wrote:

 Send Carbon-dev mailing list submissions to
carbon-dev@wso2.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 or, via email, send a message with subject or body 'help' to
carbon-dev-requ...@wso2.org

 You can reach the person managing the list at
carbon-dev-ow...@wso2.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Carbon-dev digest...


 Today's Topics:

   1. Re: Carbon-dev Digest, Vol 48, Issue 370 (Shakshi Shinghal)


 --

 Message: 1
 Date: Mon, 23 Jan 2012 16:52:24 +
 From: Shakshi Shinghal sshing...@gmail.com
 To: carbon-dev@wso2.org
 Subject: Re: [Carbon-dev] Carbon-dev Digest, Vol 48, Issue 370
 Message-ID:

 camo+bf9ftfjqgbuqhc+waskauqq7hgixnor6avk3zyg8y+i...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 It happens for all our custom services. By the way i have wrongly
 mentioned  AuthenticationService  name but the actual name of service is
 different.

 On Mon, Jan 23, 2012 at 1:06 PM, carbon-dev-requ...@wso2.org wrote:

  Send Carbon-dev mailing list submissions to
 carbon-dev@wso2.org
 
  To subscribe or unsubscribe via the World Wide Web, visit
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  or, via email, send a message with subject or body 'help' to
 carbon-dev-requ...@wso2.org
 
  You can reach the person managing the list at
 carbon-dev-ow...@wso2.org
 
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of Carbon-dev digest...
 
 
  Today's Topics:
 
1. Re: WS-Discovery Proxy Endpoint error (Hiranya Jayathilaka)
2. Re: WS-Discovery Proxy Endpoint error (Hiranya Jayathilaka)
3. Re: Ensure that we do not swallow exceptions (Hasini Gunasinghe)
 
 
  --
 
  Message: 1
  Date: Mon, 23 Jan 2012 21:30:42 +0530
  From: Hiranya Jayathilaka hira...@wso2.com
  To: carbon-dev@wso2.org
  Subject: Re: [Carbon-dev] WS-Discovery Proxy Endpoint error
  Message-ID:
 CAPMLFE_bHrJNyZpdcp3OvOcquJ=
 gcmp+n8aqwgyrt61_lns...@mail.gmail.com
  
  Content-Type: text/plain; charset=iso-8859-1
 
  And by AuthenticationService do you mean the built-in
 AuthenticationAdmin
  service of Carbon? If so how did you get that to be discoverable? Admin
  services are not discoverable by default.
 
  On Mon, Jan 23, 2012 at 9:26 PM, Hiranya Jayathilaka hira...@wso2.com
  wrote:
 
   Does this occur only for 1 particular service or all the discovered
   services?
  
   Thanks,
   Hiranya
  
   On Mon, Jan 23, 2012 at 7:10 PM, Shakshi Shinghal 
 sshing...@gmail.com
  wrote:
  
   Following this guide i managed to make my services discoverable.
  
  
  
 
 http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport
  
   I am getting the following error
  
   ERROR {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} -
   Unable to find the endpoint specified :
   wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
   {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}
  
   As i understand the plugin does not work properly or it cannot
  recognized
   the uuid for the AuthenticationService,which needs to be mapped with
 the
   EPR.
  
  
   This error has already been posted and havn't found any solution
   mentioned. Please if anyone has found the solution for it, do let me
  know.
  
   Thanks
   Shakshi
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
  
  
   --
   Hiranya Jayathilaka
   Associate Technical Lead;
   WSO2 Inc.;  http://wso2.org
   E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
   Blog: http://techfeast-hiranya.blogspot.com
  
 
 
 
  --
  Hiranya Jayathilaka
  Associate Technical Lead;
  WSO2 Inc.;  http://wso2.org
  E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
  Blog: http://techfeast-hiranya.blogspot.com
  -- next part --
  An HTML attachment was scrubbed...
  URL: 
 
 http://mail.wso2.org/pipermail/carbon-dev/attachments/20120123/37089558/attachment-0001.html
  
 
  --
 
  Message: 2
  Date: Mon, 23 Jan 2012 21:39:27 +0530
  From: Hiranya Jayathilaka hira...@wso2.com

Re: [Carbon-dev] Data Services Mediator for ESB

2012-01-21 Thread Hiranya Jayathilaka
=.. expression=xpath / !-- inline
 parameter value can be provided through xpath --
   params
   /operation
   target expression=xpath /   !--
 If the xpath is not provided, response message after invoking the 
 operation
 will added as fist child element of

 the SOAP body. If an xpath expression is provided then it will set in the
 given location.
 /dsCall

 !-- batch request --
 dsCall serviceName/servicePath=...
   operation/resource name/path=../
   params expression=xpath
 batch expression=xpath  !--
 xpath expression can be used to define parameter set for a one batch --
   param name=name1 value=value1 /
   param name=arrayName1 value=arrayVal1 /
   param name=arrayName1 value=arrayVal2 /
   param name=.. expression=xpath /
 batch
 batch ./batch
   params

 /dsCall

 !-- boxcarring --
 dsCall serviceName/servicePath=...
   boxcarring
 request
   operation/resource name/path=.. /
 params expression=xpath
   param name=name1 value=value1 /
   param name=arrayName1 value=arrayVal1 /
   param name=arrayName1 value=arrayVal2 /
   param name=.. expression=xpath /
 params
   /operation
 /request
 request .../request
   /boxcarring

   target expression=xpath /

 /dsCall

 Appreciate any feedback and ideas.

 Regards,
 Dinusha.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Amila Suriarachchi*

 Software Architect

 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Data Services Mediator for ESB

2012-01-21 Thread Hiranya Jayathilaka
Hi,

On Sat, Jan 21, 2012 at 11:54 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Hiranya,

 On Sat, Jan 21, 2012 at 6:37 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I'm not entirely on board with the idea of running ESB functionality and
 DSS functionality on the same box/JVM. From SOA perspective it is best to
 keep these components separate as there could be several consumers who are
 interested in accessing the data exposed by the data service. Also
 performance wise the existing model is better because we can take advantage
 of the non-blocking model of the ESB to invoke data services without much
 overhead on the ESB.

 What is the exact problem you're trying to solve here?


 I guess, maybe we didn't describe this properly :) .. The idea is not to
 deploy a data service as a web service in the ESB. But it's just a way to
 have something like extended DBReport/DBLookup functionality.


My argument was from SOA perspective it's better to have data services as a
separate component exposed as 'web services' :) Also from a performance
point of view that relieves the ESB from making expensive JDBC calls. With
the current model server worker threads are released as soon as they invoke
the data services. But with the suggested mediator approach server worker
threads will do lot more work thus adding up to decreased throughput.


 It works in the same way, where the mediator execution comprises simply of
 in-VM calls, basically calling directly the data services API. The idea was
 to give more richer functionality, than the DB-* mediators we have now. In
 the current way, even to do some simple operations such as, reading
 multiple records from the database, you can't do that with DBLookup, but
 you'll have to call an external DSS sever to get it done, which may not be
 the ideal solution all the time, specially, if it makes no sense to have
 the data related operations as a service. So the proposal was actually, not
 to necessarily ship this mediator by default with the ESB, but to make it a
 separate feature and to install it on-demand for anyone interested.


In a way this proposal is good because it provides some middle ground
between using data services and DB mediators. But OTOH it provides a third
option to access databases adding up to the existing confusion with two
options.

I guess this is one of those things that we can argue forever pointing out
various pros and cons without coming to a conclusion :) So I'm ok with
having this as an optional feature. As Amila pointed out there will always
be some users who find this useful. But lets make this a point to properly
document the 3 approaches pointing out strengths, weaknesses and potential
use cases of each technique.

Thanks,
Hiranya



 Cheers,
 Anjana.


 Thanks,
 Hiranya


 On Sat, Jan 21, 2012 at 11:52 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Fri, Jan 20, 2012 at 3:00 PM, Dinusha Senanayaka dinu...@wso2.comwrote:

 Hi Amila,

 Thanks for the clarifications and feedbacks.

 On Fri, Jan 20, 2012 at 5:16 PM, Amila Suriarachchi am...@wso2.comwrote:

 I had a chat with Dinush and suggested to have some thing like this as
 in rule service. This is also similar to callout mediator
 calling a data service. Difference is not using the soap/Axis2/tcp
 layers.

 dsMediator serviceName= operation=
 source xpath=// soapBody|soapHeader|$foo|$bar/source
 target xpath=//
 resultXpath=soapBody|soapHeader|$foo|$bar/target
 dbConfig type=inline|registry

 /dbConfig
 /dsMediator

 In this model data service is looked as some thing take an xml and
 outputs an xml. source is the way mediator finds the xml to
 invoke DS and target is the place it stores the result xml.


 Earlier what we have suggested is to map the input parameters one by
 one using xpath or provide them as inline or map the whole set of
 parameters @ once using xpath. In new suggested way, we have only above
 last option and need to have the xml that can be directly used to call
 operation or do some xslt transformation and make the incoming soap body to
 have that xml.


 When you say using xpath then we need to think against which OMElement?
 that can be soapBody, soapHeader or an xml stored in a property.

 yes it is better to have parameter xpath support. I thought Data
 Serivice support that at the .dbs level. If not it may be more meaning full
 to add that the data service level.

 Can you please send a sample mediator configuration with the .dbs file
 for paramter xpath case?

 thanks,
 Amila.



 The source can be soapBody, soapHeader or a property and we can get a
 portion of that using xpath.
 Then again when the result came back it can be saved in any place and
 a part of the result can be selected using resultXpath and can be stored 
 in
 a location given by xpath.



 Regards,
 Dinusha.


 thanks,
 Amila.


 On Thu, Jan 19, 2012 at 7:25 PM, Amila Suriarachchi am...@wso2.comwrote:



 On Wed, Jan 18, 2012 at 5:03 PM, Dinusha Senanayaka dinu...@wso2.com

Re: [Carbon-dev] Data Services Mediator for ESB

2012-01-21 Thread Hiranya Jayathilaka
On Sun, Jan 22, 2012 at 8:59 AM, Amila Suriarachchi am...@wso2.com wrote:



 On Sat, Jan 21, 2012 at 11:54 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Hiranya,

 On Sat, Jan 21, 2012 at 6:37 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I'm not entirely on board with the idea of running ESB functionality and
 DSS functionality on the same box/JVM. From SOA perspective it is best to
 keep these components separate as there could be several consumers who are
 interested in accessing the data exposed by the data service. Also
 performance wise the existing model is better because we can take advantage
 of the non-blocking model of the ESB to invoke data services without much
 overhead on the ESB.

 What is the exact problem you're trying to solve here?


 I guess, maybe we didn't describe this properly :) .. The idea is not to
 deploy a data service as a web service in the ESB. But it's just a way to
 have something like extended DBReport/DBLookup functionality. It works in
 the same way, where the mediator execution comprises simply of in-VM calls,
 basically calling directly the data services API. The idea was to give more
 richer functionality, than the DB-* mediators we have now. In the current
 way, even to do some simple operations such as, reading multiple records
 from the database, you can't do that with DBLookup, but you'll have to call
 an external DSS sever to get it done, which may not be the ideal solution
 all the time, specially, if it makes no sense to have the data related
 operations as a service.


 I think this is not a problem of data related operations. But for a
 mediator there is non concept of service and operations. It just take an
 xml and output an xml. So it is like invoking an operation directly. If you
 look at the rules service and mediator configuration this service and
 operations are there only with web service part. Rule mediator does not
 have them (Event architecturly there is no relationship with web service
 and mediator).

 But I also see some use case here as you have mentioned. Where users do
 need to enrich some xml messages with additional data. (for an example if
 ESB receives a customer Id this can be used to add all the customer
 formation with his last orders etc.. which will be send to another
 service). In this example[1] instead of using a data service we should have
 used the data service mediator to do that.


I prefer data services in this scenario for 2 reasons:

1. Batch operations are really expensive - Better to offload that overhead
from the ESB
2. There could be other applications pumping orders into the same DB

Thanks,
Hiranya



 thanks,
 Amila.

 [1]
 http://wso2.org/library/articles/2012/01/integrating-different-systems-with-wso2-esb


 So the proposal was actually, not to necessarily ship this mediator by
 default with the ESB, but to make it a separate feature and to install it
 on-demand for anyone interested.

 Cheers,
 Anjana.


 Thanks,
 Hiranya


 On Sat, Jan 21, 2012 at 11:52 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Fri, Jan 20, 2012 at 3:00 PM, Dinusha Senanayaka 
 dinu...@wso2.comwrote:

 Hi Amila,

 Thanks for the clarifications and feedbacks.

 On Fri, Jan 20, 2012 at 5:16 PM, Amila Suriarachchi am...@wso2.comwrote:

 I had a chat with Dinush and suggested to have some thing like this
 as in rule service. This is also similar to callout mediator
 calling a data service. Difference is not using the soap/Axis2/tcp
 layers.

 dsMediator serviceName= operation=
 source xpath=// soapBody|soapHeader|$foo|$bar/source
 target xpath=//
 resultXpath=soapBody|soapHeader|$foo|$bar/target
 dbConfig type=inline|registry

 /dbConfig
 /dsMediator

 In this model data service is looked as some thing take an xml and
 outputs an xml. source is the way mediator finds the xml to
 invoke DS and target is the place it stores the result xml.


 Earlier what we have suggested is to map the input parameters one by
 one using xpath or provide them as inline or map the whole set of
 parameters @ once using xpath. In new suggested way, we have only above
 last option and need to have the xml that can be directly used to call
 operation or do some xslt transformation and make the incoming soap body 
 to
 have that xml.


 When you say using xpath then we need to think against which OMElement?
 that can be soapBody, soapHeader or an xml stored in a property.

 yes it is better to have parameter xpath support. I thought Data
 Serivice support that at the .dbs level. If not it may be more meaning full
 to add that the data service level.

 Can you please send a sample mediator configuration with the .dbs file
 for paramter xpath case?

 thanks,
 Amila.



 The source can be soapBody, soapHeader or a property and we can get a
 portion of that using xpath.
 Then again when the result came back it can be saved in any place and
 a part of the result can be selected using resultXpath and can be stored 
 in
 a location given by xpath

Re: [Carbon-dev] Extracting the API name from the Synapse Message Context

2012-01-20 Thread Hiranya Jayathilaka
On Fri, Jan 20, 2012 at 10:47 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Hiranya,

 In synapse-core/API class, we set the API name to message context after
 the message is processed by handlers. So at the moment, API name is not
 available to handlers.

 But for handlers like BasicAuth and OAuth, it is required to get the API
 name at the handler level. So shall we set this property before handlers
 are invoked ?


+1

Thanks,
Hiranya



 I already modified the code locally as follows.

 void process(MessageContext synCtx) {
 if (log.isDebugEnabled()) {
 log.debug(Processing message with ID:  +
 synCtx.getMessageID() +  through the  +
 API:  + name);
 }

   *  synCtx.setProperty(RESTConstants.SYNAPSE_REST_API, name);*

 for (Handler handler : handlers) {
 if (log.isDebugEnabled()) {
 log.debug(Processing message with ID:  +
 synCtx.getMessageID() +  through  +
 handler:  + handler.getClass().getName());
 }
 

 Thanks,
 Thilina


 On Fri, Jan 20, 2012 at 9:14 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 What is the proper way to do this inside a handler ?

 Thanks,
 Thilina

 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Microsft excel adapters

2012-01-17 Thread Hiranya Jayathilaka
On Tue, Jan 17, 2012 at 2:20 PM, gnanaguru.sattanat...@wipro.com wrote:

  Hi 

 ** **

 I am in a scenario where I need to extract and push data from Excel
 Sheets. I preferred wso2 for this. In what way WSO2 ESB supports this. You
 have any specific adapter for this?


You can use VFS transport with a custom message builder to read Excel
sheets.

Thanks,
Hiranya


 

 ** **

 Please help out.

 ** **

 ** **

 Regards

 Guru

 * Please do not print this email unless it is absolutely necessary. *

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.

 www.wipro.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Migrating to latest spring framework

2012-01-15 Thread Hiranya Jayathilaka
On Mon, Jan 16, 2012 at 12:03 PM, Kishanthan Thangarajah 
kishant...@wso2.com wrote:

 Hi,
 This is related to [1]. Currently we are using 2.5.1. And we are migrating
 to 3.1.0.RELEASE, which is the latest stable, platform wide.
 Products that are using the old version in distribution are, ESB, LB, MS.
 So these will be updated too.


I believe there are major API changes in the latest version. Can you see
how easy/difficult is to migrate to the latest version? BTW no need to
consider ESB and LB as 2 products with regard to this matter.

Thanks,
Hiranya



 Thanks,

 [1] https://wso2.org/jira/browse/CARBON-12126

 --
 *Kishanthan Thangarajah*
 Software Engineer,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test failure in Carbon trunk - http NIO core 4.1.0-wso2v1

2012-01-13 Thread Hiranya Jayathilaka
(TestSuite.java:232)
  at junit.framework.TestSuite.run(TestSuite.java:227)
 at
 org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
  at
 org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
 at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
 at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
 at
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)


 Any idea what is going on?


Not really. But if I'm not mistaken this code is here because we had to
patch HTTP Core 4.1 to resolve some issue (Sadeep should know the details).
This patch should be available in the latest GA release of HTTP Core
(4.1.4). We should simply upgrade our platform to the above version and get
rid of this branch in our SVN tree.

Thanks,
Hiranya

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dynamic Load Balancing to a Cluster via ESB

2012-01-13 Thread Hiranya Jayathilaka
This is probably a bug in the  WSDiscoveryRegistryExtension. IIRC it
doesn't set a name on the endpoints returned. But when you enable
clustering, it expects all endpoints to have unique names.

Can you try with clustering turned off and see if that works?

Thanks,
Hiranya

2012/1/13 Güçlü Akkaya guclu.akk...@ardictech.com

 **


 Hi,

 i have a web service an the wso2 as and want requests to this service to
 be distributed in a stateful manner and i do not want to give the name of
 the endpoints hard coded. So my only choice is load balancing.
 Here is my synapse configuration:


 ?xml version=1.0 encoding=UTF-8?
 definitions xmlns=http://ws.apache.org/ns/synapse;
 registry provider=org.wso2.carbon.mediation.registry.WSO2Registry
 parameter
 name=extensionsorg.wso2.carbon.discovery.mediation.ext.WSDiscoveryRegistryExtension/parameter
 parameter name=discoveryProxy
 https://discovery-governance-arcsp.ardich.com:9443/services/DiscoveryProxy
 /parameter
 parameter name=cachableDuration15000/parameter
 /registry
 proxy name=DynamicWSStorageService startOnLoad=true
 trace=disable
 target
 endpoint=wsdd://urn:uuid:5552ccce-b0e7-4aef-96ee-dcd254b31c84/https
 outSequence
 send/
 /outSequence
 /target
 policy
 key=conf:/repository/axis2/service-groups/DynamicWSStorageService/services/DynamicWSStorageService/policies/WSO2CachingPolicy/
 /proxy
 proxy name=DynamicAuthenticationAdmin startOnLoad=true
 trace=disable
 target
 endpoint=wsdd://urn:uuid:e84bfadf-beb3-4412-b908-b8b9f6e411f1/https
 outSequence
 send/
 /outSequence
 /target
 /proxy
 sequence name=fault
 log level=full
 property name=MESSAGE value=Executing default 'fault'
 sequence/
 property name=ERROR_CODE
 expression=get-property('ERROR_CODE')/
 property name=ERROR_MESSAGE
 expression=get-property('ERROR_MESSAGE')/
 /log
 drop/
 /sequence
 sequence name=main
 in
 log level=full/
 send
 endpoint name=manager-storage-arcsp.ardich.com
 dynamicLoadbalance
 algorithm=org.apache.synapse.endpoints.algorithms.RoundRobin
 membershipHandler
 class=org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler
 property name=applicationDomain
 value=arcsp.storage.domain/
 /membershipHandler
 /dynamicLoadbalance
 /endpoint
 /send
 /in
 out
 send/
 /out
 /sequence
 /definitions


 I can successfully save the configuration on the ESB. But when i try to
 make a request to the proxy web services (DynamicAuthenticationAdmin and
 DynamicWSStorage) ESB gives following error:

 TID: [] [WSO2 Stratos Internal Enterprise Service Bus] [2012-01-13 
 14:51:29,604]
 ERROR {org.apache.synapse.endpoints.EndpointContext} -  For proper
 clustered mode operation, all endpoints should be uniquely named
 {org.apache.synapse.endpoints.EndpointContext}


 What have done wrong on the synapse configuration?

 Thanks


 Fatih Güçlü Akkaya

 Software Development Engineer







 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test failure in Carbon trunk - http NIO core 4.1.0-wso2v1

2012-01-13 Thread Hiranya Jayathilaka
Sadeep, can you please do the needful and upgrade the trunk to the latest
version of HTTP Core (and remove this old branch from the dependencies
section)? Should be a trivial change.

Thanks,
Hiranya

On Fri, Jan 13, 2012 at 11:19 PM, Sadeep Jayasumana sad...@wso2.com wrote:

 Hi,

 On Fri, Jan 13, 2012 at 10:25 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Fri, Jan 13, 2012 at 9:31 PM, Afkham Azeez az...@wso2.com wrote:

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:03:53.127s
 [INFO] Finished at: Fri Jan 13 17:03:34 IST 2012
 [INFO] Final Memory: 402M/743M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on
 project httpcore-nio: There are test failures.
 [ERROR]
 [ERROR] Please refer to
 /Users/azeez/projects/wso2/org/trunk/carbon/dependencies/httpcore-nio/4.1.0-wso2v1/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :httpcore-nio



 The surefire-report is shown below:


 ---
 Test set: org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor

 ---
 Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.519
 sec  FAILURE!
 testEndpointUpAndDown(org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor)
  Time elapsed: 0.007 sec   FAILURE!
 junit.framework.AssertionFailedError: expected:2 but was:1
  at junit.framework.Assert.fail(Assert.java:47)
 at junit.framework.Assert.failNotEquals(Assert.java:283)
  at junit.framework.Assert.assertEquals(Assert.java:64)
 at junit.framework.Assert.assertEquals(Assert.java:195)
  at junit.framework.Assert.assertEquals(Assert.java:201)
 at
 org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointUpAndDown(TestDefaultListeningIOReactor.java:118)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at junit.framework.TestCase.runTest(TestCase.java:168)
 at junit.framework.TestCase.runBare(TestCase.java:134)
  at junit.framework.TestResult$1.protect(TestResult.java:110)
 at junit.framework.TestResult.runProtected(TestResult.java:128)
  at junit.framework.TestResult.run(TestResult.java:113)
 at junit.framework.TestCase.run(TestCase.java:124)
  at junit.framework.TestSuite.runTest(TestSuite.java:232)
 at junit.framework.TestSuite.run(TestSuite.java:227)
  at
 org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
 at
 org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
 at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
  at
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

 testEndpointAlreadyBoundFatal(org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor)
  Time elapsed: 0.003 sec   ERROR!
 java.lang.IllegalStateException: I/O reactor has been shut down
 at
 org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.listen(DefaultListeningIOReactor.java:175)
  at
 org.apache.http.impl.nio.reactor.TestDefaultListeningIOReactor.testEndpointAlreadyBoundFatal(TestDefaultListeningIOReactor.java:179)
 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

Re: [Carbon-dev] Quartz running update checker in carbon

2012-01-12 Thread Hiranya Jayathilaka
This also means it's contacting a remote service without we knowing it. We
must stop it from doing this.

Thanks,
Hiranya

On Thu, Jan 12, 2012 at 3:38 PM, Supun Malinga sup...@wso2.com wrote:

 hi,

 $subject,
 got a log saying,
 [2012-01-12 15:29:16,433]  INFO {org.quartz.utils.UpdateChecker} -  New
 Quartz update(s) found: 2.1.2 [
 http://www.terracotta.org/kit/reflector?kitID=defaultpageID=QuartzChangeLog
 ]

 guess this is not necessary.

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Migrating from PlotKit to jQuery Flot

2012-01-08 Thread Hiranya Jayathilaka
On Fri, Jan 6, 2012 at 1:06 PM, Chanaka Jayasena chan...@wso2.com wrote:

 Hi,

 I am fixing IE8 issue in Mediation stats- Graphs (STRATOS-1193). This
 component use the charting library (PlotKit
 http://www.liquidx.net/plotkit/ ) which has no support for IE versions
 higher than seven. I am unable to find a patch for the library as well. So
 I am going to migrate the library to jQuery Flot which is available in the
 Carbon Core and widely use in our products.


+1

Thanks,
Hiranya



 thanks,
 Chanaka

 --
 Chanaka Jayasena
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: chan...@wso2.com; cell: +94 77 785 5565
 blog: http://chanaka3d.blogspot.com
 1

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Service Stubs

2012-01-04 Thread Hiranya Jayathilaka
Anybody else getting this?

Thanks,
Hiranya

On Wed, Jan 4, 2012 at 12:54 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 [ERROR] Failed to execute goal on project service-stubs: Could not resolve
 dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT:
 Failure to find org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 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 - [Help 1]

 I'm building from a clean repo.

 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] First Request Fails Between Carbon Servers

2012-01-04 Thread Hiranya Jayathilaka
I think DB connections are becoming stale due to lack of activity. This can
be avoided by specifying a validation query for the data sources. Anjana
should know more details.

Thanks,
Hiranya

On Wed, Jan 4, 2012 at 2:32 PM, Afkham Azeez az...@wso2.com wrote:

 Did you host the webapp into the super-tenant? Please post the error.

 On Wed, Jan 4, 2012 at 2:25 PM, metin d met...@yahoo.com wrote:

 We deployed a web application on AS, in some parts of web application
 there are calls to .dbs on DSS. If we don't use web application a while,
 then try to use it, first request to .dbs on DSS fails, but second and
 consecutive attempts work without any problem. We observe same situation
 during our requests to AuthenticationAdmin service .

 Do you have any idea about the source of this problem?

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Service Stubs

2012-01-04 Thread Hiranya Jayathilaka
Looks like we have to build certain stuff in the 3.2.0/3.2.2 branch. I'm
trying that out right now. Will keep the list posted.

Thanks,
Hiranya

On Wed, Jan 4, 2012 at 3:07 PM, Dharshana Warusavitharana 
dharsha...@wso2.com wrote:

 Hi Hiranya,

 Im getting the same error.

 Thank You,
 Dharshana.


 On Wed, Jan 4, 2012 at 2:15 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Anybody else getting this?

 Thanks,
 Hiranya


 On Wed, Jan 4, 2012 at 12:54 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 [ERROR] Failed to execute goal on project service-stubs: Could not
 resolve dependencies for project
 org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failure to find
 org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 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 - [Help 1]

 I'm building from a clean repo.

 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --

 Dharshana Warusavitharana
 Software Engineer , Test Automation
 WSO2 Inc. http://wso2.com
 email : dharsha...@wso2.com dharsha...@wso2.com
 cell : +94772202595
 blog : http://dharshanaw.wordpress.com/ http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] xercesImpl_2.8.1.wso2v2.jar inside plugins directory on carbon trunk.

2012-01-04 Thread Hiranya Jayathilaka
On Wed, Jan 4, 2012 at 3:31 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 On Wed, Jan 4, 2012 at 3:06 PM, Nuwan Bandara nu...@wso2.com wrote:

 We will have to find a common way to solve it, Shindig need xercesImpl
 and having it in lib/edorsed wont work.


 why is that ? can please explain why it is not woking. lib/endorsed has
 older version (?). Ideally we should try to get rid of xerces altogether
 since it gets shipped by the sunJDK. (?)


The version shipped with Sun JDK is actually a fork of the Xerces code base
(repackaged with the com.sun package name). AFAIK it's not actively
maintained. But it should be good enough for our purposes - JAXP, DOM, SAX
etc

Thanks,
Hiranya






 On Wed, Jan 4, 2012 at 2:22 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Wed, Jan 4, 2012 at 2:16 PM, Afkham Azeez az...@wso2.com wrote:

 If you remove this jar from the plugins directory does your scenario
 work?


 Yes. it worked.

 /ajith


 On Wed, Jan 4, 2012 at 2:01 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 AFAIK it should be inside  only  lib/endorsed.
 Only dashboard and gadgets features are  directly using
 xercesImpl_2.8.1.wso2v2.jar, therefore that jar has packed to plugins
 directory. Due to the above reason, I'm getting following error when
 generating reports.

 *Caused by: java.lang.ClassCastException:
 org.apache.xerces.util.XMLGrammarPoolImpl cannot be cast to
 org.apache.xerces.xni.grammars.XMLGrammarPool*
 at org.apache.xerces.impl.xs.XMLSchemaLoader.reset(Unknown Source)
 at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown
 Source)
 at
 org.apache.xerces.parsers.XML11Configuration.configurePipeline(Unknown
 Source)
 at
 org.apache.xerces.parsers.XIncludeAwareParserConfiguration.configurePipeline(Unknown
 Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
 Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
 Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
 Source)
 at
 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
* at org.apache.commons.digester.Digester.parse(Digester.java:1764)
 *
 at
 net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:235)
 at
 net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:222)
 at
 net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:210)
 at
 org.wso2.carbon.reporting.util.JasperPrintProvider.createJasperPrint(JasperPrintProvider.java:68)

 Thanks
 Ajith

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Pradeep Fernando
 Software Engineer
 WSO2 Inc; http://wso2.com/

 blog: http://pradeepfernando.blogspot.com/
 m: +94776603662

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Service Stubs

2012-01-04 Thread Hiranya Jayathilaka
On Wed, Jan 4, 2012 at 3:09 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Looks like we have to build certain stuff in the 3.2.0/3.2.2 branch. I'm
 trying that out right now. Will keep the list posted.


Building Axis2 1.6.1-wso2v4 from the 3.2.2 branch fixed the issue. Now half
way into building service stubs.



 Thanks,
 Hiranya


 On Wed, Jan 4, 2012 at 3:07 PM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Hiranya,

 Im getting the same error.

 Thank You,
 Dharshana.


 On Wed, Jan 4, 2012 at 2:15 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Anybody else getting this?

 Thanks,
 Hiranya


 On Wed, Jan 4, 2012 at 12:54 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 [ERROR] Failed to execute goal on project service-stubs: Could not
 resolve dependencies for project
 org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failure to find
 org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 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 - [Help 1]

 I'm building from a clean repo.

 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --

 Dharshana Warusavitharana
 Software Engineer , Test Automation
 WSO2 Inc. http://wso2.com
 email : dharsha...@wso2.com dharsha...@wso2.com
 cell : +94772202595
 blog : http://dharshanaw.wordpress.com/ http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Break in Service Stubs

2012-01-04 Thread Hiranya Jayathilaka
On Wed, Jan 4, 2012 at 6:01 PM, Afkham Azeez az...@wso2.com wrote:

 Did you take an svn update with --ignore-externals?


No may be that's the reason. Is that a requirement to build the trunk?

Thanks,
Hiranya




 On Wed, Jan 4, 2012 at 5:59 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Wed, Jan 4, 2012 at 3:09 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Looks like we have to build certain stuff in the 3.2.0/3.2.2 branch. I'm
 trying that out right now. Will keep the list posted.


 Building Axis2 1.6.1-wso2v4 from the 3.2.2 branch fixed the issue. Now
 half way into building service stubs.



 Thanks,
 Hiranya


 On Wed, Jan 4, 2012 at 3:07 PM, Dharshana Warusavitharana 
 dharsha...@wso2.com wrote:

 Hi Hiranya,

 Im getting the same error.

 Thank You,
 Dharshana.


 On Wed, Jan 4, 2012 at 2:15 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 Anybody else getting this?

 Thanks,
 Hiranya


 On Wed, Jan 4, 2012 at 12:54 PM, Hiranya Jayathilaka hira...@wso2.com
  wrote:

 [ERROR] Failed to execute goal on project service-stubs: Could not
 resolve dependencies for project
 org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failure to find
 org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 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 - [Help 
 1]

 I'm building from a clean repo.

 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --

 Dharshana Warusavitharana
 Software Engineer , Test Automation
 WSO2 Inc. http://wso2.com
 email : dharsha...@wso2.com dharsha...@wso2.com
 cell : +94772202595
 blog : http://dharshanaw.wordpress.com/ http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg - checkin-client test failures on Windows

2012-01-03 Thread Hiranya Jayathilaka
On Tue, Jan 3, 2012 at 2:39 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 These seem to be issues in the way the tests are written. The same might
 not happen when running check-in client, but we need to investigate.

 Its a known Windows issue that file deletes don't work while the process
 is currently running. So, there is no possible way of validating whether
 the file was deleted unless the process is shutdown. So, may be we can
 exclude those checks for Windows operating systems. WDYT?


You can delete files on Windows. In ESB we have resolved such issues using
Commons-IO and the Java FileChannel API.

Thanks,
Hiranya



 Thanks,
 Senaka.

 On Tue, Jan 3, 2012 at 1:31 PM, Thilina Buddhika thili...@wso2.comwrote:

 Please see the attached surefire-report.

 Thanks,
 Thilina

 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com
 *
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Need the Unified Endpoints Component in the Carbon JIRA Project

2012-01-03 Thread Hiranya Jayathilaka
$subject

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Need the Unified Endpoints Component in the Carbon JIRA Project

2012-01-03 Thread Hiranya Jayathilaka
Who can create this component in the Carbon JIRA? I don't have permissions
to set this up.

Thanks,
Hiranya

On Tue, Jan 3, 2012 at 6:32 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 $subject

 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Need the Unified Endpoints Component in the Carbon JIRA Project

2012-01-03 Thread Hiranya Jayathilaka
On Wed, Jan 4, 2012 at 10:07 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi Hiranya,

 I just added this component.


Thanks Charitha



 /charitha


 On Wednesday, January 4, 2012, Hiranya Jayathilaka hira...@wso2.com
 wrote:
  Who can create this component in the Carbon JIRA? I don't have
 permissions to set this up.
  Thanks,
  Hiranya
 
  On Tue, Jan 3, 2012 at 6:32 PM, Hiranya Jayathilaka hira...@wso2.com
 wrote:
 
  $subject
 
  --
  Hiranya Jayathilaka
  Associate Technical Lead;
  WSO2 Inc.;  http://wso2.org
  E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
  Blog: http://techfeast-hiranya.blogspot.com
 
 
 
  --
  Hiranya Jayathilaka
  Associate Technical Lead;
  WSO2 Inc.;  http://wso2.org
  E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
  Blog: http://techfeast-hiranya.blogspot.com
 

 --
 Charitha Kankanamge
 Senior Technical Lead, Manager QA
 WSO2 Inc.
 http://wso2.org
 email: chari...@wso2.com
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com

 wso2.com Lean Enterprise Middleware

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build Break in Service Stubs

2012-01-03 Thread Hiranya Jayathilaka
[ERROR] Failed to execute goal on project service-stubs: Could not resolve
dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT:
Failure to find org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 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 - [Help 1]

I'm building from a clean repo.

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Dynamic file name creation

2012-01-02 Thread Hiranya Jayathilaka
Use the message ID as the file name. get-property('MessageID') should give
you the current message ID.

Thanks,
Hiranya

On Tue, Jan 3, 2012 at 11:39 AM, gnanaguru.sattanat...@wipro.com wrote:

 Hi

 ** **

 I am doing a simple vfs-xsl-vfs scenario. I am successful. But while
 creating the output file using the following parameter:

 ** **

 ** **

 property name=transport.vfs.ReplyFileName
 expression=’outputfile.xml') scope=transport/ I want dynamic file
 naming. Is there any option available in the configuration ?. 

 ** **

 Like I want to create new filename for every new request.

 ** **

 ** **

 Regards

 Guru

 ** **

 * Please do not print this email unless it is absolutely necessary. *

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.

 www.wipro.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Moving back to Apache trunks

2012-01-02 Thread Hiranya Jayathilaka
On Tue, Jan 3, 2012 at 11:41 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Why do we need Apache trunks? Why cannot we live with a release Apache
 projects?

 We are adding double trouble if we depend on bleeding Apache trunks.

 This is similar to having a stable Carbon core and depend the
 products/features on a stable core.


At very least we need an Axis2 release from the trunk. But the latest we
have is 1.6.1 which is sort of ancient at the moment. We can't use that in
Carbon.

Thanks,
Hiranya




 On Tue, Jan 3, 2012 at 10:54 AM, Pradeep Fernando prad...@wso2.comwrote:



 On Tue, Jan 3, 2012 at 10:48 AM, Nuwan Bandara nu...@wso2.com wrote:

 +1, We have already pointed shindig to the apache trunk, since we need
 OS 2.0 updates.


 +1



 Regards,
 /Nuwan


 On Tue, Jan 3, 2012 at 10:43 AM, Amila Suriarachchi am...@wso2.comwrote:



 On Tue, Jan 3, 2012 at 9:13 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 How about the $subject ?

 At the moment, we are sticking with the released versions of 3.2.0.
 Moving to Apache trunks requires some changes in certain Carbon 
 components,
 for example moving to Neethi 3.0 requires some changes in rampart-* orbit
 bundles, caching and throttling modules.

 At the moment, Axis2, Axiom, Rampart, Sandesha trunks are quite
 stable.

 I think the only reason we are sticking with these released version is
 to get the Bamboo build plans stable. Shall we start the migration process
 once we get there ?


 +1

 thanks,
 Amila.


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Amila Suriarachchi*

 Software Architect

 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer

 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Pradeep Fernando
 Software Engineer
 WSO2 Inc; http://wso2.com/

 blog: http://pradeepfernando.blogspot.com/
 m: +94776603662

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] XSLT IMPLEMENTATION, Carbon-dev Digest, Vol 47, Issue 513

2011-12-26 Thread Hiranya Jayathilaka
://blog.kasunbg.org* http://blog.kasunbg.org

 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg

 *
 *
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://mail.wso2.org/pipermail/carbon-dev/attachments/20111227/506844fb
 /attachment-0001.html

 --

 Message: 2
 Date: Mon, 26 Dec 2011 13:47:31 -0800 (PST)
 From: Bamboo cbuil...@wso2.org
 To: carbon-dev@wso2.org
 Subject: [Carbon-dev] [Bamboo-Build] WSO2 Carbon 3.2.0  WSO2 Carbon -
Platform 3.2.0  #65 has FAILED
 Message-ID:

 1677252607.275.1324936051115.javamail.bam...@db6237242.aspadmin.net
 Content-Type: text/plain; charset=utf-8


 ---
 WSO2 Carbon 3.2.0  WSO2 Carbon - Platform 3.2.0  #65 failed.
 ---
 This build was triggered at the scheduled time of 12:00 PM No failed
 tests found, a possible compilation error.

 http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON320-WSO2CARBON
 PLATFORM320-65/


 --
 Failing Jobs
 --
  - WSO2 Carbon Nightly Build Process (Default Stage): No tests found.



 --
 This message is automatically generated by Atlassian Bamboo
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://mail.wso2.org/pipermail/carbon-dev/attachments/20111226/e667ffad
 /attachment.html

 --

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 End of Carbon-dev Digest, Vol 47, Issue 513
 ***

 Please do not print this email unless it is absolutely necessary.

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.

 www.wipro.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB 4.0.3 eating 2/3 cookies

2011-12-25 Thread Hiranya Jayathilaka
On Sun, Dec 25, 2011 at 3:45 AM, Pierce Wetter pie...@chegg.com wrote:


  So we have a service that sets 3 cookies in one Set-Cookie header, but
 after going through the ESB we only get the first cookie. Has anyone else
 seen this and if so do you have a workaround?


  If not, any pointers on where the cookie stuff lives so I can figure out
 how to fix the problem?


All transport headers can be manipulated as properties:

properties name=Set-Cookie value= scope=transport/

or

use the XPath '$trp:Set-Cookie'

You can use this to print/log the value of the Set-Cookie header in the ESB
and see what's going on.

Thanks,
Hiranya



 Pierce

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Throttling broken with axis2 1.6.1 on Synpase 2.1

2011-12-20 Thread Hiranya Jayathilaka
On Tue, Dec 20, 2011 at 5:26 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi devs,

 In Synpase 2.1 branch we have use axis2 1.6.1 and it comes with the
 dependency to neethi 3.0.0. However, wso2 throttling implementation still
 depends on netthi 2.0.4 and axis2 1.6.1-wso2v1.
 Due to this, throttling is boken in synapse 2.1.

 Can we switch the axis2 and neethi versions of throttling to 1.6.1 and
 3.0.0 respectively.


+1

Can you upgrade the Throttle component trunk to latest Neethi version and
see how that goes? This is currently blocking the Synapse release and will
soon materialize into a problem in Carbon trunk too.

Thanks,
Hiranya



 (On a side note, we should point axis2, synapse etc in trunk/dependencies
 to their respective apache trunks. )

 Thanks,
 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Admin service security verification failed in AppServer

2011-12-17 Thread Hiranya Jayathilaka
Shouldn't ExternalTryitService be accessible for unauthenticated users?

Thanks,
Hiranya

On Sun, Dec 18, 2011 at 10:24 AM, Afkham Azeez az...@wso2.com wrote:

 I just integrated the SecurityVerification test to WSO2 AS, and the test
 revealed the following vulnerability. AS team please fix ASAP.

 Failed tests:

 verifyAdminServiceSecurity(org.wso2.appserver.integration.tests.SecurityVerificationTestCase):
 Admin service ExternalTryitService has been exposed on https,http,


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Trunk] ESB Build Failures

2011-12-15 Thread Hiranya Jayathilaka
On Thu, Dec 15, 2011 at 4:12 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi,

 Now the previous error is not there and now getting a new error as shown
 below.


Also fixed yesterday:

r117672 | hiranya | 2011-12-14 13:34:53 +0530 (Wed, 14 Dec 2011) | 1 line

Removing a duplicate import




 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Mediators Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.mediators.feature.group 3.2.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.mediator.script.ui 3.2.0.SNAPSHOT
 (org.wso2.carbon.mediator.script.ui 3.2.0.SNAPSHOT) requires 'package
 org.wso2.carbon.mediator.service.* 0.0.0' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Mediators Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.mediators.feature.group 3.2.0.SNAPSHOT)
   To: org.wso2.carbon.mediators.ui.feature.group [3.2.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - All Mediators UI Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.mediators.ui.feature.group 3.2.0.SNAPSHOT)
   To: org.wso2.carbon.mediator.script.ui [3.2.0.SNAPSHOT]
 Application failed, log file location:
 /home/harshana/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1323942089832.log


 Thanks and Regards,
 Harshana

 On Thu, Dec 15, 2011 at 8:55 AM, Harshana Martin harsh...@wso2.comwrote:



 On Thu, Dec 15, 2011 at 8:42 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 These were fixed yesterday. Both the product and the service builds fine
 now.


 Thanks a lot Hiranya. Will take an svn up and try again.

 Regards,
 /Harshana


 Sent from my iPhone

 On Dec 15, 2011, at 8:15 AM, Harshana Martin harsh...@wso2.com wrote:

 Oops Sorry! It is ESB not BAM2!

 On Thu, Dec 15, 2011 at 8:09 AM, Harshana Martin  harsh...@wso2.com
 harsh...@wso2.com wrote:

 Hi,

 BAM2 has following build failure.

 

 Installation failed.
 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Proxy Services Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
  Missing requirement: WSO2 Carbon - Proxy Services Core Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.server.feature.group
 3.2.0.SNAPSHOT) requires 'org.wso2.carbon.proxyadmin [3.2.0.SNAPSHOT]' but
 it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Proxy Services Feature 3.2.0.SNAPSHOT
 (org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
   To: org.wso2.carbon.proxyadmin.server.feature.group [3.2.0.SNAPSHOT]
 

 Thanks and Regards,
 Harshana

 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web: http://wso2.comhttp://wso2.com
http://wso2.orghttp://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.comhttp://harshana05.blogspot.com
 Profile:  https://www.google.com/profiles/harshana05
 https://www.google.com/profiles/harshana05
 Twitter:  http://twitter.com/harshana05http://twitter.com/harshana05




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web: http://wso2.comhttp://wso2.com
http://wso2.orghttp://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.comhttp://harshana05.blogspot.com
 Profile:  https://www.google.com/profiles/harshana05
 https://www.google.com/profiles/harshana05
 Twitter:  http://twitter.com/harshana05http://twitter.com/harshana05

  ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Trunk] ESB Build Failures

2011-12-14 Thread Hiranya Jayathilaka
These were fixed yesterday. Both the product and the service builds fine now.

Sent from my iPhone

On Dec 15, 2011, at 8:15 AM, Harshana Martin harsh...@wso2.com wrote:

 Oops Sorry! It is ESB not BAM2!
 
 On Thu, Dec 15, 2011 at 8:09 AM, Harshana Martin harsh...@wso2.com wrote:
 Hi,
 
 BAM2 has following build failure.
 
 
 
 Installation failed.
 Cannot complete the install because one or more required items could not be 
 found.
  Software being installed: WSO2 Carbon - Proxy Services Feature 
 3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
  Missing requirement: WSO2 Carbon - Proxy Services Core Feature 
 3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.server.feature.group 
 3.2.0.SNAPSHOT) requires 'org.wso2.carbon.proxyadmin [3.2.0.SNAPSHOT]' but it 
 could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Proxy Services Feature 3.2.0.SNAPSHOT 
 (org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
   To: org.wso2.carbon.proxyadmin.server.feature.group [3.2.0.SNAPSHOT]
 
 
 Thanks and Regards,
 Harshana
 
 -- 
 Harshana Martin 
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org
 
 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05
 
 
 
 
 -- 
 Harshana Martin 
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org
 
 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] ESB Build Error

2011-12-13 Thread Hiranya Jayathilaka
I'm getting the following error when building the p2-profile of ESB product
(trunk):

Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Proxy Services Feature
3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
 Missing requirement: WSO2 Carbon - Proxy Services Core Feature
3.2.0.SNAPSHOT (org.wso2.carbon.proxyadmin.server.feature.group
3.2.0.SNAPSHOT) requires 'org.wso2.carbon.proxyadmin [3.2.0.SNAPSHOT]' but
it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Proxy Services Feature 3.2.0.SNAPSHOT
(org.wso2.carbon.proxyadmin.feature.group 3.2.0.SNAPSHOT)
  To: org.wso2.carbon.proxyadmin.server.feature.group [3.2.0.SNAPSHOT]



I have built all proxy components and features. What am I missing?

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Synapse build error

2011-12-12 Thread Hiranya Jayathilaka
 of wso2-m2 has
 elapsed or updates are forced
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
 at
 org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395)
 ... 24 more
 Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure
 to find net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/was 
 cached in the local repository, resolution will not be reattempted
 until the update interval of wso2-m2 has elapsed or updates are forced
 at
 org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:190)
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:430)
 ... 26 more
 [ERROR]
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :Apache-Synapse


 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Synapse build error

2011-12-12 Thread Hiranya Jayathilaka
 at
 org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:412)
 at
 org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:164)
 ... 23 more
 Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
 Failure to find net.sf.saxon:saxon-dom:jar:8.9 in
 http://dist.wso2.org/maven2/ was cached in the local repository,
 resolution will not be reattempted until the update interval of wso2-m2 has
 elapsed or updates are forced
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
 at
 org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395)
 ... 24 more
 Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
 Failure to find net.sf.saxon:saxon-dom:jar:8.9 in
 http://dist.wso2.org/maven2/ was cached in the local repository,
 resolution will not be reattempted until the update interval of wso2-m2 has
 elapsed or updates are forced
 at
 org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:190)
 at
 org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:430)
 ... 26 more
 [ERROR]
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :Apache-Synapse


 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Synapse build error

2011-12-12 Thread Hiranya Jayathilaka
On Mon, Dec 12, 2011 at 3:36 PM, Nuwan Bandara nu...@wso2.com wrote:

 Fixed. Thanks Dhanushka.


What was the issue?



 Regards,
 /nuwan


 On Mon, Dec 12, 2011 at 3:07 PM, Nuwan Bandara nu...@wso2.com wrote:

 Yeah I tried 2.1.0-wso2v5 as well getting the same error


 On Mon, Dec 12, 2011 at 3:03 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Dec 12, 2011 at 2:54 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi guys,

 Trunk build is stuck here. and I believe this should effect the branch
 as well


 Nuwan, this is an old development branch. We don't use this anymore. It
 was used for the 3.2.2 release. Current development branch of Synapse is
 2.1.0-wso2v5.



 Regards,
 /Nuwan


 On Mon, Dec 12, 2011 at 2:53 PM, Madhuka Udantha madh...@wso2.comwrote:

 hi,

 same issue

  [ERROR] Failed to execute goal on project Apache-Synapse: Could not
 resolve dependencies for project
 org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find net.sf
 ar:8.9 in http://dist.wso2.org/maven2/ was cached in the local
 repository, resolution will not be reattempted until the update interval 
 of
 wso2-m2 has elapsed or updates are



 On Mon, Dec 12, 2011 at 2:43 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Guys,

 Anybody got the same error, As I found out for some folks synapse
 builds without an issue, any idea ?

 [INFO] Final Memory: 18M/490M
 [INFO]
 
 [ERROR] Failed to execute goal on project Apache-Synapse: Could not
 resolve dependencies for project
 org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find
 net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was
 cached in the local repository, resolution will not be reattempted until
 the update interval of wso2-m2 has elapsed or updates are forced - 
 [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
 execute goal on project Apache-Synapse: Could not resolve dependencies 
 for
 project org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to 
 find
 net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was
 cached in the local repository, resolution will not be reattempted until
 the update interval of wso2-m2 has elapsed or updates are forced
 at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196)
 at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by: org.apache.maven.project.DependencyResolutionException:
 Could not resolve dependencies for project
 org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v4: Failure to find
 net.sf.saxon:saxon-dom:jar:8.9 in http://dist.wso2.org/maven2/ was
 cached in the local repository, resolution will not be reattempted until
 the update interval of wso2-m2 has elapsed or updates are forced
 at
 org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:170)
 at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171

[Carbon-dev] Error Building trunk/components

2011-12-12 Thread Hiranya Jayathilaka
[ERROR] Failed to execute goal on project org.wso2.carbon.event.core: Could
not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.event.core:bundle:3.2.0-SNAPSHOT: Failure
to find org.apache.ws.commons.axiom:axiom-dom:jar:1.2.12-20110605.013714-59
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 - [Help 1]

Any ideas?

-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Failure in LB Product

2011-12-10 Thread Hiranya Jayathilaka
On Sun, Dec 11, 2011 at 10:43 AM, Afkham Azeez az...@wso2.com wrote:

 LB does not need eventing


+1



 On Sun, Dec 11, 2011 at 10:24 AM, Harshana Martin harsh...@wso2.comwrote:

 Hi Pradeeban,

 There is a build failure in LB.

 [ERROR] Failed to execute goal on project wso2lb: Could not resolve
 dependencies for project org.wso2.lb:wso2lb:pom:1.0.0-SNAPSHOT: The
 following artifacts could not be resolved:
 org.wso2.carbon:org.wso2.carbon.eventing:jar:3.2.0-SNAPSHOT,
 org.wso2.carbon:org.wso2.carbon.eventing.core:jar:3.2.0-SNAPSHOT,
 org.wso2.carbon:org.wso2.carbon.eventing.impl:jar:3.2.0-SNAPSHOT,
 org.wso2.carbon:org.wso2.carbon.eventing.broker:jar:3.2.0-SNAPSHOT,
 org.wso2.carbon:org.wso2.carbon.eventing.eventsource:jar:3.2.0-SNAPSHOT:
 Failure to find org.wso2.carbon:org.wso2.carbon.eventing:jar:3.2.0-SNAPSHOT
 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 - [Help 1]

 When I checked the components/pom.xml it seems the eventing module is
 commented out. So I'm enabling it right now.

 Thanks and Regards,
 Harshana

  --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Removing lib/endorsed/xalan-2.7.0.wso2v1.jar from products

2011-11-30 Thread Hiranya Jayathilaka
Can we look into Saxon as an alternative?

Thanks,
Hiranya

On Thu, Dec 1, 2011 at 10:42 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Thu, Dec 1, 2011 at 10:38 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Dec 1, 2011 at 10:27 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, Nov 30, 2011 at 1:36 PM, Afkham Azeez az...@wso2.com wrote:

 Anyway, we have to find a solution to the performance issue.


 Why can't everyone use the JDK one?


 Apparently, even though the JDK one is fast, it does not contain some
 functionality. So, it breaks some of our code as well as some third party
 libraries that use Xalan.


 Ah, got it!


 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Removing lib/endorsed/xalan-2.7.0.wso2v1.jar from products

2011-11-30 Thread Hiranya Jayathilaka
On Thu, Dec 1, 2011 at 10:48 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Thu, Dec 1, 2011 at 10:46 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Can we look into Saxon as an alternative?


 We should, and I feel the driving criteria should be:

 1. That got to be much faster


Saxon gave us much better performance in our load tests.


 2. That got to have complete API


It's a very comprehensive and well maintained project with commercial
support. But we need to test.

Thanks,
Hiranya





 Thanks,
 Hiranya

 On Thu, Dec 1, 2011 at 10:42 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Thu, Dec 1, 2011 at 10:38 AM, Afkham Azeez az...@wso2.com wrote:



 On Thu, Dec 1, 2011 at 10:27 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, Nov 30, 2011 at 1:36 PM, Afkham Azeez az...@wso2.com wrote:

 Anyway, we have to find a solution to the performance issue.


 Why can't everyone use the JDK one?


 Apparently, even though the JDK one is fast, it does not contain some
 functionality. So, it breaks some of our code as well as some third party
 libraries that use Xalan.


 Ah, got it!


 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-25 Thread Hiranya Jayathilaka
Use Synapse 2.1.0-wso2v4 and point to WSO2 Nexus repo at
http://maven.wso2.org/nexus/content/groups/wso2-public/.

Thanks,
Hiranya

On Sat, Nov 26, 2011 at 3:16 AM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Thanks Hiranya.

 I try to mvn compile this Project but with a lot of missing  artifacts [1]
 around 23.

 Anyone can send me an working POM file with recent versions for this
 project?

 I use this external repositories:

 http://people.apache.org/repo/m2-incubating-repository
 http://dist.wso2.org/maven2
 http://repo1.maven.org/maven2
 http://download.java.net/maven/2/

 And I use Archiva as the repository management tool.


 [1] 6) JLex:JLex:jar:0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=JLex -DartifactId=JLex
 -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=JLex -DartifactId=JLex -Dversion=0.0
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
 org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) JLex:JLex:jar:0.0

 7) bouncycastle:bcprov-jdk13:jar:132

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=bouncycastle
 -DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar
 -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=bouncycastle
 -DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar
 -Dfile=/path/to/file
 -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
 org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.apache.rampart:rampart-policy:jar:1.4
4) bouncycastle:bcprov-jdk13:jar:132

 8) org.opensymphony:quartz:jar:1.6.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.opensymphony
 -DartifactId=quartz -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.opensymphony -DartifactId=quartz
 -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]

  Path to dependency:
1)
 org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.opensymphony:quartz:jar:1.6.0

 9) org.apache.commons:commons-vfs:jar:1.1-587797

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.commons
 -DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar
 -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.apache.commons
 -DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)
 org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT
2) org.apache.synapse:synapse-core:jar:1.2
3) org.apache.commons:commons-vfs:jar:1.1-587797



 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Hiranya Jayathilaka
 Enviado el: jueves, 24 de noviembre de 2011 9:11
 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

 Try something more recent like 2.1.0-wso2v4

 Thanks,
 Hiranya
 On Thu, Nov 24, 2011 at 6:50 PM, Jorge Infante Osorio jorg...@uci.cu
 wrote:
 Using the pom file in
 http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator I have this
 error:

 Missing:
 --
 1)  org.apache.synapse:synapse-core:jar:1.3.0.wso2v1

 Which is the right version for this artifact?


 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Sadeep Jayasumana
 Enviado el: jueves, 24 de noviembre de 2011 2:36

 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

 Hi,

 However, there was another error in the same page.
 repository/component/mediators should be corrected as
 repository/components/lib. Nirdesha will correct this.

 Thanks,
 Sadeep
 On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka hira...@wso2.com
 wrote:

 On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 On Wed, Nov 23, 2011

Re: [Carbon-dev] ESB WS Discovery Extension does not recognize service uuid

2011-11-24 Thread Hiranya Jayathilaka
2011/11/24 Güçlü Akkaya guclu.akk...@ardictech.com

 **

 This problem appears for all the services with dynamic proxy
 configuration. As you suggested i tried to use tcpmon but i cannot trace
 the message. Is there something i have done wrong in the configuration?

It works in my local setup. The sample described in the article was tested
on the same setup. It uses ESB 4.0.0 with the mediation extension kit
installed through the Carbon feature manager. If you're not seeing anything
on TCPMon, then chances are resolve operation is not invoked by the plugin
for some reason. Your best bet is to do a remote debug. You can start the
ESB with the --debug port flag and then do a remote debug using Eclipse
or Idea.






 Fatih Güçlü Akkaya

 Software Development Engineer






 ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI

 APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER

 Tel:   + 90 262 642 42 52

 GSM: + 90 554 542 48 50



 -Original Message-
 From: Hiranya Jayathilaka [mailto:hira...@wso2.com hira...@wso2.com]
 Sent: Thu 11/24/2011 10:00
 To: carbon-dev@wso2.org
 Cc: Güçlü Akkaya
 Subject: Re: [Carbon-dev] ESB WS Discovery Extension does not recognize
 service uuid

 You are already able to discover the service by executing a probe. That's
 why it shows up on the UI. But for some reason the resolve doesn't seem to
 be working. Does this happen for other services as well, or is it specific
 to the AuthenticationAdmin service?

 You can try doing a remote debug on the WSDiscoveryRegistryExtension class
 and see what happens. Or better yet try executing a direct WS-Discovery
 resolve on the the discovery proxy service. You can write a simple Java
 program to do this. Another way to trace the activities is to use TCPMon
 between ESB and the discovery proxy. You can change the discoveryProxy
 parameter in the ESB registry config to send the discovery control messages
 through TCPMon.

 Thanks,
 Hiranya

 2011/11/24 Güçlü Akkaya guclu.akk...@ardictech.com

  **

 
  When i start the esb server with osgi console i discoverd
  org.wso2.carbon.discovery.mediation.ext bundle state is resolved.
  When i try to start this bundle i get the following exception:
 
  org.osgi.framework.BundleException: The activator
  org.wso2.carbon.discovery.activator.DiscoveryActivator for bundle
  org.wso2.carbon.discovery.mediation.ext is invalid
  at
 
 org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:157)
  at
 
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:750)
  at
 
 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
  at
 
 org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
  at
 
 org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
  at
 
 org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.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)
  at
 
 org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
  at
 
 org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)
  at
 
 org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)
  at
 
 org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)
  at java.lang.Thread.run(Thread.java:662)
  Caused by: java.lang.ClassNotFoundException:
  org.wso2.carbon.discovery.activator.DiscoveryActivator
  at
 
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
  at
 
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
  at
 
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
  at
 
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  at
 
 org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
  at
 
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
  at
 
 org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:150)
  ... 14 more
  Nested Exception:
  java.lang.ClassNotFoundException:
  org.wso2.carbon.discovery.activator.DiscoveryActivator
  at
 
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489

Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-24 Thread Hiranya Jayathilaka
Try something more recent like 2.1.0-wso2v4

Thanks,
Hiranya

On Thu, Nov 24, 2011 at 6:50 PM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Using the pom file in
 http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator I have this
 error:

 ** **

 Missing:

 --

 **1)  **org.apache.synapse:synapse-core:jar:1.3.0.wso2v1

 ** **

 Which is the right version for this artifact?

 ** **

 ** **

 Saludos,

 Ing. Jorge Infante Osorio.

 J´Dpto Soluciones SOA.

 CDAE.

 Fac. 5.

 UCI.

 ** **

 *De:* carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] *En
 nombre de *Sadeep Jayasumana
 *Enviado el:* jueves, 24 de noviembre de 2011 2:36

 *Para:* carbon-dev@wso2.org
 *Asunto:* Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

 ** **

 Hi,

 However, there was another error in the same page.
 repository/component/mediators should be corrected as
 repository/components/lib. Nirdesha will correct this.

 Thanks,
 Sadeep

 On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka hira...@wso2.com
 wrote:

 ** **

 On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com
 wrote:

 ** **

 On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana sad...@wso2.com
 wrote:

 Hi Jorge,

 On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio jorg...@uci.cu
 wrote:

 Hi Hiranya, thanks.  I will try it them.

 I ask because in the same article another user post this issue:

 Hi Upal,
 Nice article. I have taken the attached zip , created a jar of it using
 maven and tried placing the jar in ESB-HOME/lib folder.


 Please note that as Hiranya mentioned, JAR has to be put into
 ESB_HOME/repository/components/lib.

 ** **

 In that case, the doc is buggy, as it mentioned ' {*ESB
 HOME}\repository\components\dropins* see:
 http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator

 ** **

 This is actually correct. The article does mention that jar should be an
 OSGi bundle:

 In this case it is necessary to make the mediator an OSGI fragment of the
 synapse-core bundler. To achieve this, use the *
 Fragment-Hostsynapse-core/Fragment-Host*.

 After you created the mediator, drop the JAR file in to the {*ESB
 HOME}\repository\components\dropins* folder.

  

 ** **

 Please fix.

 ** **


 Thanks,
 Sadeep
  

 On starting ESB, I
 see an exception as below
 Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
 java.lang.Exception: ConfigurationContext Service is not available
 at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
 xtImpl.java:999)
 at java.security.AccessController.doPrivileged(Native Method)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
 ndleContextImpl.java:993)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
 xtImpl.java:974)
 at

 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
 ava:346)
 at

 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
 e.java:350)
 at

 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
 va:1118)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
 rtLevelManager.java:634)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
 lManager.java:508)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
 tartLevelManager.java:282)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
 rtLevelManager.java:468)
 at

 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
 java:195)
 at

 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
 r.java:297)

 and this is the author´s response:

 This article applies to ESB versions prior to 2.x. The current releases are
 based on OSGi modular framework for Java, thus it the process is bit
 different. We are on the process of documenting articles related with the
 current releases of ESB.


 Any way I will reproduce the steps and see.


 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Hiranya Jayathilaka
 Enviado el: martes, 22 de noviembre de 2011 23:03
 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article


 Hi Jorge,

 The API and the development procedure hasn't changed. So you can write a
 class extending the AbstractMediator class of Synapse, compile it into a
 jar
 file and drop it into repository/components/lib directory.

 I don't think we have any recent articles on this topic.

 Thanks,
 Hiranya
 2011/11/23 Jorge Infante Osorio jorg...@uci.cu
 Hi all.

 I want to know if exits an update of $subject

Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-23 Thread Hiranya Jayathilaka
On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi Jorge,

 On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio jorg...@uci.cuwrote:

 Hi Hiranya, thanks.  I will try it them.

 I ask because in the same article another user post this issue:

 Hi Upal,
 Nice article. I have taken the attached zip , created a jar of it using
 maven and tried placing the jar in ESB-HOME/lib folder.


 Please note that as Hiranya mentioned, JAR has to be put into
 ESB_HOME/repository/components/lib.


 In that case, the doc is buggy, as it mentioned ' {ESB
 HOME}\repository\components\dropins see:
 http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator


This is actually correct. The article does mention that jar should be an
OSGi bundle:

In this case it is necessary to make the mediator an OSGI fragment of the
synapse-core bundler. To achieve this, use the
Fragment-Hostsynapse-core/Fragment-Host.

After you created the mediator, drop the JAR file in to the {ESB
HOME}\repository\components\dropins folder.



 Please fix.


 Thanks,
 Sadeep


 On starting ESB, I
 see an exception as below
 Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI
 java.lang.Exception: ConfigurationContext Service is not available
 at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte
 xtImpl.java:999)
 at java.security.AccessController.doPrivileged(Native Method)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu
 ndleContextImpl.java:993)
 at

 org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte
 xtImpl.java:974)
 at

 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
 ava:346)
 at

 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl
 e.java:350)
 at

 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja
 va:1118)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta
 rtLevelManager.java:634)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve
 lManager.java:508)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S
 tartLevelManager.java:282)
 at

 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta
 rtLevelManager.java:468)
 at

 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
 java:195)
 at

 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage
 r.java:297)

 and this is the author´s response:

 This article applies to ESB versions prior to 2.x. The current releases
 are
 based on OSGi modular framework for Java, thus it the process is bit
 different. We are on the process of documenting articles related with the
 current releases of ESB.


 Any way I will reproduce the steps and see.

 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.

 De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En
 nombre de Hiranya Jayathilaka
 Enviado el: martes, 22 de noviembre de 2011 23:03
 Para: carbon-dev@wso2.org
 Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

 Hi Jorge,

 The API and the development procedure hasn't changed. So you can write a
 class extending the AbstractMediator class of Synapse, compile it into a
 jar
 file and drop it into repository/components/lib directory.

 I don't think we have any recent articles on this topic.

 Thanks,
 Hiranya
 2011/11/23 Jorge Infante Osorio jorg...@uci.cu
 Hi all.

 I want to know if exits an update of $subject, because it was written for
 ESB versions prior to 2.x.

 Thanks,
 Saludos,
 Ing. Jorge Infante Osorio.
 J´Dpto Soluciones SOA.
 CDAE.
 Fac. 5.
 UCI.





 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com



 Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
 ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
 http://www.antiterroristas.cu
 http://justiciaparaloscinco.wordpress.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sadeep Jayasumana

 Software Engineer
 WSO2 Inc.
 Email - sad...@wso2.com
 Mobile - +94 77 22 66 507

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org

Re: [Carbon-dev] ESB WS Discovery Extension does not recognize service uuid

2011-11-22 Thread Hiranya Jayathilaka
AuthenticationAdmin is a hidden admin service and they are not
discoverable. How did you manage to get it to show up in the WS-Discovery
UI? Can you please send a screenshot which shows the service and the
endpoints?

Thanks,
Hiranya

2011/11/22 Güçlü Akkaya guclu.akk...@ardictech.com

 **

 Hi,

 I have posted this to the ESB forum.But just to be safe i will post it
 here too.

 Following this guide i managed to make my services discoverable.


 http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport

 One of my Services was AuthenticationAdmin, which originaly is a web
 service from the carbon core. I wanted to use this service with a proxy
 service DynamicAuthenticationAdmin to send authentication request.

 So far AuthenticationAdmin has an uuid and epr on WS Discovery GUI and i
 added the  WS-Discovery Mediation Extensions plug-in. Here is the source
 for the proxy services configuration:

 ?xml version=1.0 encoding=UTF-8?
 definitions xmlns=http://ws.apache.org/ns/synapse;
 registry provider=org.wso2.carbon.mediation.registry.WSO2Registry
 parameter
 name=extensionsorg.wso2.carbon.discovery.mediation.ext.WSDiscoveryRegistryExtension/parameter
 parameter name=discoveryProxy
 https://discovery-governance-arcsp.ardich.com:9443/services/DiscoveryProxy
 /parameter
 parameter name=cachableDuration15000/parameter
 /registry
 proxy name=DynamicWSStorageService startOnLoad=true
 trace=disable
 target
 endpoint=wsdd://urn:uuid:65013b0a-1858-48d3-9a31-c5938a7b589a/https
 outSequence
 send/
 /outSequence
 /target
 parameter name=wsDiscoveryParams
 Scopeshttp://ws.arcsp.ardic.com/storage/Scopes
 /parameter
 /proxy
 proxy name=DynamicAuthenticationAdmin startOnLoad=true
 trace=disable
 target
 endpoint=wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
 outSequence
 send/
 /outSequence
 /target
 publishWSDL key=local:AuthenticationAdmin.wsdl/
 parameter name=wsDiscoveryParams
 Scopeshttp://ws.arcsp.ardic.com/auth/Scopes
 /parameter
 /proxy
 proxy name=WSStorageProxy transports=https startOnLoad=true
 trace=disable
 target
 endpoint
 address uri=
 https://manager-storage-arcsp.ardich.com:9443/services/WSStorageService/
 /endpoint
 outSequence
 send/
 /outSequence
 /target
 policy
 key=conf:/repository/axis2/service-groups/WSStorageProxy/services/WSStorageProxy/policies/UTOverTransport/
 parameter name=enableMTOMtrue/parameter
 enableSec/
 /proxy
 proxy name=AuthenticationAdminProxy startOnLoad=true
 trace=disable
 target
 endpoint
 address uri=
 https://manager-storage-arcsp.ardich.com:9443/services/AuthenticationAdmin
 /
 /endpoint
 outSequence
 send/
 /outSequence
 /target
 parameter name=wsDiscoveryParams
 Scopeshttp://public.ims.traderpauls.com/sales/pricing
 /Scopes
 /parameter
 /proxy
 sequence name=fault
 log level=full
 property name=MESSAGE value=Executing default 'fault'
 sequence/
 property name=ERROR_CODE
 expression=get-property('ERROR_CODE')/
 property name=ERROR_MESSAGE
 expression=get-property('ERROR_MESSAGE')/
 /log
 drop/
 /sequence
 sequence name=main
 in
 log level=full/
 filter source=get-property('To') regex=
 http://localhost:9000.*;
 send/
 /filter
 /in
 out
 send/
 /out
 /sequence
 /definitions 


 When i try to access to the AuthenticationAdmin with the
 DynamicAuthenticationAdmin i receive following error:

 TID: [] [WSO2 Stratos Internal Enterprise Service Bus] [2011-11-21
 16:38:57,903] ERROR
 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Unable to
 find the endpoint specified :
 wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https
 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

 As i understand the plugin does not work properly or it cannot recognized
 the uuid for the AuthenticationService,which needs to be mapped with the
 EPR.






 ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI

 APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER

 Tel:   + 90 262 642 42 52

 GSM: + 90 554 542 48 50


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon

Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article

2011-11-22 Thread Hiranya Jayathilaka
Hi Jorge,

The API and the development procedure hasn't changed. So you can write a
class extending the AbstractMediator class of Synapse, compile it into a
jar file and drop it into repository/components/lib directory.

I don't think we have any recent articles on this topic.

Thanks,
Hiranya

2011/11/23 Jorge Infante Osorio jorg...@uci.cu

 Hi all.

 ** **

 I want to know if exits an update of $subject, because it was written for
 ESB versions prior to 2.x.

 ** **

 Thanks,

 Saludos,

 Ing. Jorge Infante Osorio.

 J´Dpto Soluciones SOA.

 CDAE.

 Fac. 5.

 UCI.

 ** **

   http://www.antiterroristas.cu/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.2.3 release plans

2011-11-21 Thread Hiranya Jayathilaka
I think we need a few more days to finalize the stuff we have planned for this 
release. At very least we need to build a ui for the API mgr stuff. 2 weeks is 
more like it.

Sent from my iPhone

On Nov 21, 2011, at 10:33 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote:

 Hi prabath,
 
 What would be the release date?
 
 -ratha
 
 
 On 21 November 2011 09:35, Prabath Siriwardena prab...@wso2.com wrote:
 Any updates from the PMs/RMs..? Shall we plan to code freeze by end of
 this week...?
 
 Thanks  regards,
 -Prabath
 
 
 On Tue, Nov 15, 2011 at 10:19 AM, Samisa Abeysinghe sam...@wso2.com wrote:
 We need to code freeze end of this week, if we are to release end Nov. Are
 we ready to do that?
 
 On Tue, Nov 15, 2011 at 10:16 AM, Prabath Siriwardena prab...@wso2.com
 wrote:
 
 IS also needs to go with 3.2.3..
 Shall we plan to release by end of Nov...?
 Thanks  regards,
 -Prabath
 
 On Wed, Nov 9, 2011 at 4:55 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 
 What about $subject?
 When and what products?
 
 Thanks,
 Samisa...
 
 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 --
 Thanks  Regards,
 Prabath
 
 http://blog.facilelogin.com
 http://RampartFAQ.com
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 Thanks,
 Samisa...
 
 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 
 --
 Thanks  Regards,
 Prabath
 
 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Error at 3.2.3 Branch dependency

2011-11-21 Thread Hiranya Jayathilaka
Pls remove the uri template Tests from synapse. This code has been moved to 
commons and no longer needed in synapse. 

Sent from my iPhone

On Nov 21, 2011, at 7:21 AM, Vijayaratha Vijayasingam rat...@wso2.com wrote:

 Hi Hiranya,
 There is an update in 'rest' implementation..It causes this build break..Can 
 you please check this?
 
 -Ratha
 
 On 19 November 2011 18:12, Sanjeewa Malalgoda sanje...@wso2.com wrote:
 Hi,
 I found this error when synapse builds in 3.2.3 branch dependency section. 
 please have a look
 Thanks. 
 
 
 [INFO] [dependency:copy {execution: copy}]
 [INFO] Configured Artifact: org.apache.axis2:addressing:1.6.1-wso2v2:mar
 [INFO] Copying addressing-1.6.1-wso2v2.mar to 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/target/test_repos/synapse/modules/addressing-1.6.1-wso2v2.mar
 [INFO] [antrun:run {execution: create_repo}]
 [INFO] Executing tasks
  [echo] *** Creating a testing repository ***
 [mkdir] Created dir: 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/target/test_repos/synapse/services
 [mkdir] Created dir: 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/target/test_repos/client/modules
 [INFO] Executed tasks
 [INFO] [resources:testResources {execution: default-testResources}]
 [INFO] Using encoding: 'UTF-8' to copy filtered resources.
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 Compiling 98 source files to 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/target/test-classes
 [INFO] 
 
 [ERROR] BUILD FAILURE
 [INFO] 
 
 [INFO] Compilation failure
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelTwoTemplateTest.java:[28,8]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelTwoTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelTwoTemplateTest.java:[28,35]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelTwoTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelTwoTemplateTest.java:[40,23]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelTwoTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelTwoTemplateTest.java:[51,8]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelTwoTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelTwoTemplateTest.java:[51,35]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelTwoTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[28,8]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelOneTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[28,35]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelOneTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[35,8]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelOneTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[35,35]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelOneTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[47,23]
  cannot find symbol
 symbol  : class URITemplate
 location: class org.apache.synapse.rest.uri.template.LevelOneTemplateTest
 
 /home/carbon320/323build/3.2.0/dependencies/synapse/2.1.0-wso2v5/modules/core/src/test/java/org/apache/synapse/rest/uri/template/LevelOneTemplateTest.java:[53,23]
  cannot find symbol
 symbol  : class URITemplate
 location: class 

Re: [Carbon-dev] Getting statistics per each invocation from mediation statistics

2011-11-10 Thread Hiranya Jayathilaka
This cannot be done without doing some major changes in the current
implementation. Also implementing this is probably not a good idea as that
will require Synapse to do some additional work per each invocation thus
increasing the latency. Current stat implementation has no impact on the
latency. (Current implementation is done that way for a reason)

If you want to capture additional metrics such as the user and timestamp
please consider extending the current statistics implementation so the user
can specify a list of additional parameters to keep track of along with the
statistics. We can use XPath to specify these parameters and so that way
it's very generic.

Thanks,
Hiranya

On Thu, Nov 10, 2011 at 9:05 PM, Tharindu Mathew thari...@wso2.com wrote:

 This is particularly interesting because right now we are losing data (who
 invocated, what time) that is very useful, when analyzing data later on.

 ESB folks, any help on this?



 On Thu, Nov 10, 2011 at 1:25 AM, Kasun Weranga kas...@wso2.com wrote:



 On Wed, Nov 9, 2011 at 4:58 PM, Buddhika Chamith buddhi...@wso2.comwrote:

 Hi,

 BAM currently uses a MediationStatisticsObserver implementation to
 gather mediation statistics from ESB. The obtained statistics are periodic
 and are cumulative. Is it possible to obtain these statistics per each
 invocation?


 +1,

 Currently we are getting aggregated count from last publish time, but
 when load increases sometimes we get summery of about 6000 events for that
 time period. So it is better if we can get statistics per each invocation,
 like in service stats data publisher (use axis2 handler to get statistics
 and publish asynchronously to bam). Also this will be helpful to get some
 additional data like client IP, user-agent details and etc.. In addition to
 that this change will be valuable for CEP integration in future too.

 Is there any way to get mediation statistics per invocation?


 Regards
 Buddhika



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Kasun Weranga*
 Software Engineer
 **
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog 
 :http://sanjeewamalalgoda.blogspot.com/
 http://kasunweranga.blogspot.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New Carbon Component: Coordination

2011-11-08 Thread Hiranya Jayathilaka
On Tue, Nov 8, 2011 at 7:38 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 I've created a new Carbon component called Coordination to be used for
 distributed coordination requirements. This is based on Apache ZooKeeper,
 and both client and the server components are available. The core
 constructs include the following: Barriers/Double Barriers, Queues /
 Priority Queues, Locks (can be used to create critical sections), Groups
 (for leader election, message broadcasting). I've also written some tests
 as well to test the above, the test are run by running the server component
 and making calls to it from the tests.

 I haven't included the component to any product or existing component, the
 first task is to add the coordination functionalities for the scheduled
 tasks. This is required when scheduled tasks are run in a cluster
 environment, where some leader election functionality should be there to
 select the server which will execute the tasks, and fallback to another
 option, when that server goes down. Another similar situation would be to
 register Carbon data sources in JNDI/In-Memory data repository when a data
 source is added from different server in a cluster (at the moment, this
 only goes into the registry, and other nodes aren't aware of this). So for
 requirements such as those, we can use this component.


Can we also use this to manage how artifacts are deployed in a cluster? I
know that ZooKeeper supports that. Just checking whether we can leverage
that support in Carbon?

Thanks,
Hiranya



 Cheers,
 Anjana.
 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] XPath functions and properties avilable in WSO2 ESB

2011-11-08 Thread Hiranya Jayathilaka
On Tue, Nov 8, 2011 at 11:33 PM, Senaka Fernando sen...@wso2.com wrote:



 On Tue, Nov 8, 2011 at 11:31 PM, Amila Suriarachchi am...@wso2.comwrote:

 Can some one please add links to these pages in[1]?


 +1, and also to the new wiki-based documentation of the ESB.


4.0.2 docs already has it. It's a standard doc package we build using
Maven. The wiki based documentation only contains the properties catalog -
http://docs.wso2.org/display/ESB/Properties



 Thanks,
 Senaka.


 thanks,
 Amila.

 [1] http://wso2.org/project/esb/java/4.0.2/docs/


 On Tue, Nov 8, 2011 at 9:19 AM, Kasun Indrasiri ka...@wso2.com wrote:

 ESB Properties and Parameters Catalog:

 http://wso2.org/project/esb/java/4.0.2/docs/properties_guide.html


 On Tue, Nov 8, 2011 at 10:44 PM, Sadeep Jayasumana sad...@wso2.comwrote:

 Hi,

 XPath functions  variables:
 http://wso2.org/project/esb/java/4.0.2/docs/xpath.html
 Properties:
 http://wso2.org/project/esb/java/4.0.2/docs/properties_guide.html

 Thanks,
 Sadeep

 On Tue, Nov 8, 2011 at 8:28 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 Where can I find a documentation of $Subject. At the moment I have
 only [1]. Is this available in the ESB Doc. If so, can somebody provide a
 pointer.

 [1]
 http://rajikak.blogspot.com/2010/04/xpath-functions-and-properties-avilable.html

 Thanks,
 AmilaM.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sadeep Jayasumana

 Software Engineer
 WSO2 Inc.
 Email - sad...@wso2.com
 Mobile - +94 77 22 66 507

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] New Carbon Component: Coordination

2011-11-08 Thread Hiranya Jayathilaka
On Wed, Nov 9, 2011 at 9:12 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Hiranya,


 On Tue, Nov 8, 2011 at 11:25 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Tue, Nov 8, 2011 at 7:38 PM, Anjana Fernando anj...@wso2.com wrote:

 Can we also use this to manage how artifacts are deployed in a cluster? I
 know that ZooKeeper supports that. Just checking whether we can leverage
 that support in Carbon?


 Can you explain a bit more on what you meant by managing artifacts? ..
 anyways, yeah, if ZooKeeper supports it, we can make the changes required
 to the Coordination component and make it available.


We can deploy artifacts to multiple servers through ZooKeeper. AFAIK
ZooKeeper can guarantee that artifacts get deployed on all the nodes, and
if something goes wrong artifacts are not deployed on any of the servers.
You can also monitor the state of the artifact deployment process through
ZooKeeper.



 Cheers,
 Anjana.



 Thanks,
 Hiranya



 Cheers,
 Anjana.
 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB Smooks Support

2011-11-07 Thread Hiranya Jayathilaka
On Tue, Nov 8, 2011 at 8:37 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 Basically, to support Huge Message Processing as Smooks say it, we need
 to have data streaming to the Smooks mediator from files. Can we do that
 using VFS transport? ..


Isn't that always the case due to the use of Axiom?



 Cheers,
 Anjana.


 On Mon, Nov 7, 2011 at 10:48 PM, Jasintha Dasanayake jasin...@wso2.comwrote:



 On Mon, Nov 7, 2011 at 1:14 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi all,

 We have been looking into possibility of implementing Smooks as a
 standalone feature to support all of Smooks capabilities. But as we have
 experienced by trying out their samples and other mentioned features, we
 have realized that Smooks has not straightforward mechanisms to address
 some of the scenarios such as,

 1. We can not define the data source of a Smooks filtering process
 within the Smooks configuration. It need to be fed from outside the
 configuration.
 2. We can not define flow of message filters as to take the output from
 one Smooks filter and set as the input of another Smooks filter.

 We even communicated with Tom Fennelly, a core developer of Smooks about
 those drawbacks, but there were no straightforward solutions to those.

 If we are using ESB to execute Smooks capabilities those drawbacks will
 be solved. Currently ESB only uses Smooks transformation feature. We have
 tried out other Smooks features inside current ESB Smooks mediator and they
 worked fine. Also defining a flow of Smooks filters can be done through
 ESB. So finally we have identified two features which must be implemented
 inside ESB in order to support all of Smooks capabilities from the ESB
 Smooks mediator itself.

 1. Supporting message streaming to the ESB Smooks mediator other than
 keeping the whole message inside the memory. Currently Jasintha had been
 looking into this and he has a solution for this.


   Can use “ ElememtHelper# getTextAsStream “ method from the Axiom ApI
 instead of “getTextPayload” method in the smook mediator because  that
 method enables streaming

 /Jasintha


 2. Smooks filter can output a Java Result which is a Java bean and it
 will be remain inside the Smooks ExecutionContext. So if we can set that
 Java bean result of Smooks mediator to the ESB Message Context, we can use
 it in other ESB mediators.

 If the above mentioned features are supported from ESB, all of the
 Smooks capabilities can be supported from the ESB itself.

 Thanks,

 Lakmali







 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Jasintha Dasanayake
 **Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware*
 *
 *
 *mobile :- 077 291 6596*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB Smooks Support

2011-11-07 Thread Hiranya Jayathilaka
On Tue, Nov 8, 2011 at 9:28 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Hiranya,


 On Tue, Nov 8, 2011 at 9:12 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Tue, Nov 8, 2011 at 8:37 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 Basically, to support Huge Message Processing as Smooks say it, we
 need to have data streaming to the Smooks mediator from files. Can we do
 that using VFS transport? ..


 Isn't that always the case due to the use of Axiom?


 Well .. I meant is the VFS transport is written in such a way. Like, from
 VFS, if they straightaway read the full content of a file to memory and put
 it into an XML element, that would be a problem.


No it creates the OMElement from the stream.



 Cheers,
 Anjana.





 Cheers,
 Anjana.


 On Mon, Nov 7, 2011 at 10:48 PM, Jasintha Dasanayake 
 jasin...@wso2.comwrote:



 On Mon, Nov 7, 2011 at 1:14 PM, Lakmali Baminiwatta 
 lakm...@wso2.comwrote:

 Hi all,

 We have been looking into possibility of implementing Smooks as a
 standalone feature to support all of Smooks capabilities. But as we have
 experienced by trying out their samples and other mentioned features, we
 have realized that Smooks has not straightforward mechanisms to address
 some of the scenarios such as,

 1. We can not define the data source of a Smooks filtering process
 within the Smooks configuration. It need to be fed from outside the
 configuration.
 2. We can not define flow of message filters as to take the output
 from one Smooks filter and set as the input of another Smooks filter.

 We even communicated with Tom Fennelly, a core developer of Smooks
 about those drawbacks, but there were no straightforward solutions to 
 those.

 If we are using ESB to execute Smooks capabilities those drawbacks
 will be solved. Currently ESB only uses Smooks transformation feature. We
 have tried out other Smooks features inside current ESB Smooks mediator 
 and
 they worked fine. Also defining a flow of Smooks filters can be done
 through ESB. So finally we have identified two features which must be
 implemented inside ESB in order to support all of Smooks capabilities from
 the ESB Smooks mediator itself.

 1. Supporting message streaming to the ESB Smooks mediator other than
 keeping the whole message inside the memory. Currently Jasintha had been
 looking into this and he has a solution for this.


   Can use “ ElememtHelper# getTextAsStream “ method from the Axiom ApI
 instead of “getTextPayload” method in the smook mediator because  that
 method enables streaming

 /Jasintha


 2. Smooks filter can output a Java Result which is a Java bean and it
 will be remain inside the Smooks ExecutionContext. So if we can set that
 Java bean result of Smooks mediator to the ESB Message Context, we can use
 it in other ESB mediators.

 If the above mentioned features are supported from ESB, all of the
 Smooks capabilities can be supported from the ESB itself.

 Thanks,

 Lakmali







 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Jasintha Dasanayake
 **Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware*
 *
 *
 *mobile :- 077 291 6596*


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Anjana Fernando*
 Senior Software Engineer
  WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Updated Invitation: Deployment Synchronizer Code Review @ Mon Oct 24 11am - 12pm (carbon-dev@wso2.org)

2011-10-24 Thread Hiranya Jayathilaka
On Mon, Oct 24, 2011 at 9:40 PM, Senaka Fernando sen...@wso2.com wrote:

 Had this review today. We have reviewed the code already and there wasn't
 much to chat in addition to a brief discussion to clarify possible causes of
 the recent issues.

 1. The SVN-based deployment synchronizer issue - Hiranya will check into
 this and fix this asap.


This is done. I just checked in this feature to the branch and the trunk.
Now when taking the initial checkout Carbon will check the files already
available on the SVN repo and remove any unversioned files with the same
name in the local file system:

[2011-10-25 10:09:36,137]  INFO - SVNBasedArtifactRepository Unversioned
directory:
/home/hiranya/Projects/Test/wso2esb-4.0.2/repository/deployment/server/axis2modules
will be deleted
[2011-10-25 10:09:36,145]  INFO - SVNBasedArtifactRepository Unversioned
directory:
/home/hiranya/Projects/Test/wso2esb-4.0.2/repository/deployment/server/axis2services
will be deleted
[2011-10-25 10:09:36,146]  INFO - SVNBasedArtifactRepository Unversioned
directory:
/home/hiranya/Projects/Test/wso2esb-4.0.2/repository/deployment/server/carbonapps
will be deleted
[2011-10-25 10:09:36,147]  INFO - SVNBasedArtifactRepository Unversioned
directory:
/home/hiranya/Projects/Test/wso2esb-4.0.2/repository/deployment/server/synapse-configs
will be deleted

Thanks,
Hiranya



 2. The Registry-based deployment synchronizer issues

 Short-Term: Need to improve the code such that it will clean-up the
 conflicts on the file-system (from the deployment synchronizer) -
 Senaka/Hiranya will get this done.

 Long-Term: We need to have this as an alternative to SVN, because
 customers might not always like SVN. The main issue is in the way the
 registry check-in check-out code handles conflicts and merging. Need to
 learn from SVN and implement these over time.

 We feel that the SVN-based model is more stable and the SVN-API is much
 more robust compared to ours. The deployment synchronizer logic is similar
 for both, so its just a matter to switching the implementation. There is a
 bit of data migration (for Stratos), which has already been taken care of.

 Thanks,
 Senaka.

 On Fri, Oct 21, 2011 at 10:49 PM, Senaka Fernando sen...@wso2.com wrote:

  This event has been changed.
 more details 
 »https://www.google.com/calendar/event?action=VIEWeid=OTVwZ3M3ZGxqbW5jYWcxYWlpYmJ1azdoZTQgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTUjc2VuYWthQHdzbzIuY29tYzNlNzIxOGNlZDM4NWQ5MmZkNTRkZWI5MzhlMGVlN2ExYzUxZjM3Mgctz=Asia%2FColombohl=en
 Deployment Synchronizer Code Review
 *Changed: *Review for Deployment Synchronizer and Registry
 Synchronization code.
 *When*
 Mon Oct 24 11am – 12pm Colombo
 *Where*
 #58 board room (map http://maps.google.lk/maps?q=%2358+board+roomhl=en
 )
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 sen...@wso2.com - organizer
 •
 Ajith Vitharana
 •
 Hiranya Jayathilaka
 •
 Kasun Indrasiri
 •
 carbon-dev@wso2.org
 •
 Afkham Azeez - optional
 •
 Samisa Abeysinghe - optional

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=OTVwZ3M3ZGxqbW5jYWcxYWlpYmJ1azdoZTQgY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTUjc2VuYWthQHdzbzIuY29tYzNlNzIxOGNlZDM4NWQ5MmZkNTRkZWI5MzhlMGVlN2ExYzUxZjM3Mgctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=OTVwZ3M3ZGxqbW5jYWcxYWlpYmJ1azdoZTQgY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTUjc2VuYWthQHdzbzIuY29tYzNlNzIxOGNlZDM4NWQ5MmZkNTRkZWI5MzhlMGVlN2ExYzUxZjM3Mgctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=OTVwZ3M3ZGxqbW5jYWcxYWlpYmJ1azdoZTQgY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTUjc2VuYWthQHdzbzIuY29tYzNlNzIxOGNlZDM4NWQ5MmZkNTRkZWI5MzhlMGVlN2ExYzUxZjM3Mgctz=Asia%2FColombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=OTVwZ3M3ZGxqbW5jYWcxYWlpYmJ1azdoZTQgY2FyYm9uLWRldkB3c28yLm9yZwtok=MTUjc2VuYWthQHdzbzIuY29tYzNlNzIxOGNlZDM4NWQ5MmZkNTRkZWI5MzhlMGVlN2ExYzUxZjM3Mgctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account 
 carbon-dev@wso2.orgbecause you are an attendee of this event.

 To stop receiving future notifications for this event, decline this event.
 Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633

Re: [Carbon-dev] Build error in ESB and LB

2011-10-18 Thread Hiranya Jayathilaka
On Tue, Oct 18, 2011 at 7:14 PM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 $subject. Please have a  look


Sadeep is looking into this. We added a new version of the relay transport
feature today and this looks like a result of that.

Thanks,
Hiranya



 Shankar

 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Axis2 Transport Relay
 Feature 1.0.1 (org.wso2.carbon.transports.relay.feature.group 1.0.1)
 [ERROR]  Missing requirement: WSO2 Carbon - Axis2 Transport Relay
 Feature 1.0.1 (org.wso2.carbon.transports.relay.feature.group 1.0.1)
 requires 'org.wso2.carbon.core.server.feature.group [0.0.0.null,0
 .1.0)' but it could not be found
 [ERROR] Application failed, log file location:

 E:\src\java\carbon_branch\3.2.0\src\products\lb\1.0.2\modules\p2-profile\product\target\p2-agent\configuration\1318945409810.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 18 seconds
 [INFO] Finished at: Tue Oct 18 19:13:35 IST 2011
 [INFO] Final Memory: 21M/618M
 [INFO]
 


 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] HELP: Can HTTP 200 response include empty body?

2011-10-04 Thread Hiranya Jayathilaka
On Tue, Oct 4, 2011 at 1:41 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Folks,

 Is the body optional for HTTP 200 OK messages? In other words, is the
 following response valid?


HTTP entity is always optional regardless of the status code.

Thanks,
Hiranya



 HTTP/1.1 200 OK
 Server: Apache-Coyote/1.1
 Content-Length: 0
 Date: Tue, 04 Oct 2011 07:40:56 GMT

 Thanks!
 Charitha


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Starting Multiple ESB instances

2011-10-04 Thread Hiranya Jayathilaka
On Tue, Oct 4, 2011 at 8:25 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 FYI, the documentation in [1] mentions that you need to set offset in
 carbon.xml, but this won't work properly for two ESB instances. You also
 need to change the NIO ports in axis2.xml, which is not mentioned in [1]
 (see Running Multiple Instance of the WSO2 Carbon Servers in the Same
 Machine). If this is a bug, can we please fix this for the upcoming
 release?


Already fixed

Thanks,
Hiranya



 [1]
 http://docs.wso2.org/display/ESB/Deploying+the+WSO2+ESB+on+Your+Infrastructure

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Making scheduled-tasks feature self contained

2011-10-01 Thread Hiranya Jayathilaka
On Sat, Oct 1, 2011 at 7:38 PM, Anjana Fernando anj...@wso2.com wrote:

 Hiranya agreed to refactor the Synapse tasks component to have a simpler
 API, which will make it more easier to use.


Yes will get started on this asap.

Thanks,
Hiranya


 I'm also looking into creating a coordination component, by using Apache
 ZooKeeper, to do the coordination scenarios in a cluster, which are required
 in situations like scheduling a task.

 Cheers,
 Anjana.


 On Sat, Oct 1, 2011 at 1:27 PM, Tharindu Mathew thari...@wso2.com wrote:



 On Sat, Oct 1, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 1:03 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi ESB folks,

 Right now, if we just import the carbon.task.server feature, the tasks
 do not start up during run time due to unsatisfied dependencies.

 So, we have to import whole of synapse as well just to make tasks work.
 So, can we do $subject urgently?


 This I thought was done by the new Carbon task component in the making.
 What is the ETA for that?

 AFAIU, the new tasks component, still would have the same problem since
 it will use synapse tasks. If we can make synapse tasks and scheduled-tasks
 (carbon tasks) self contained, the problem would be solved.

 IIRC, the ETA for the new component is the next major release.

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Making scheduled-tasks feature self contained

2011-10-01 Thread Hiranya Jayathilaka
I just tried to develop a little Java program using the Synapse tasks module
(just a learning exercise to see where the pain points are). However I was
able to do it without much of a hassle and without adding any Synapse
libraries except for the synapse-tasks.jar. Here's my code in the main
method:

TaskScheduler scheduler = new TaskScheduler(scheduler1);
scheduler.init(new Properties());
scheduler.start();
TaskDescription desc = new TaskDescription();
desc.setName(task1);
desc.setInterval(2000);
scheduler.scheduleTask(desc, new HashMapString,Object(), *TestJob.class*,
*new MyTask()*);

Here TestJob is an implementation of the Quartz Job interface. MyTask is an
implementation of the Task interface from Synapse. All other Task* classes
are from Synapse tasks module. Libraries in my classpath are:

   - synapse-tasks
   - quartz
   - commons-logging
   - geronimo-jta (Quartz dependency)
   - commons-collections (Quartz dependency)

So it's not that bad after all. I think the trick here is I'm using my own
Job implementation. The default implementation that comes with Synapse
(SimpleQuartzJob) is in the synapse-core module and if you try to use that
you will have to add a whole bunch of other Synapse related stuff. I don't
think anything other than Synapse are supposed to use it since it clearly
has some Synapse specific stuff in there. We use that as the bridge between
Synapse and Quartz.

I think any component trying to use the Synapse tasks component should
simply write their own Job implementation and use the framework provided by
Synapse tasks component to run it. You can put any component specific logic
in the Job impl. Here's my Job implementation BTW (used in above example):

public void execute(JobExecutionContext ctx) throws JobExecutionException {
   Task task = (Task)
ctx.getMergedJobDataMap().get(TaskDescription.INSTANCE);
   task.execute();
}

What are the other issues faced while trying to use the Synapse tasks
component?

Thanks,
Hiranya

On Sat, Oct 1, 2011 at 10:47 PM, Tharindu Mathew thari...@wso2.com wrote:



 On Sat, Oct 1, 2011 at 10:17 PM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 7:38 PM, Anjana Fernando anj...@wso2.com wrote:

 Hiranya agreed to refactor the Synapse tasks component to have a simpler
 API, which will make it more easier to use.


 Yes will get started on this asap.

 Great!

 Thanks,
 Hiranya


 I'm also looking into creating a coordination component, by using
 Apache ZooKeeper, to do the coordination scenarios in a cluster, which are
 required in situations like scheduling a task.

 These efforts can be parellel, i.e. making it self contained will
 actually help after the task tracker component as well, otherwise you will
 have to inclue all of synapse as well, just to get task dependencies.

 Cheers,
 Anjana.


 On Sat, Oct 1, 2011 at 1:27 PM, Tharindu Mathew thari...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 1:03 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi ESB folks,

 Right now, if we just import the carbon.task.server feature, the tasks
 do not start up during run time due to unsatisfied dependencies.

 So, we have to import whole of synapse as well just to make tasks
 work. So, can we do $subject urgently?


 This I thought was done by the new Carbon task component in the making.
 What is the ETA for that?

 AFAIU, the new tasks component, still would have the same problem since
 it will use synapse tasks. If we can make synapse tasks and scheduled-tasks
 (carbon tasks) self contained, the problem would be solved.

 IIRC, the ETA for the new component is the next major release.

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Making scheduled-tasks feature self contained

2011-10-01 Thread Hiranya Jayathilaka
On Sat, Oct 1, 2011 at 11:53 PM, Tharindu Mathew thari...@wso2.com wrote:

 From what I've seen, everyone uses their own job implementation. Ex: BAM
 uses AnalyzerJob.class

 The pain points maybe coming from re-using scheduled tasks. It does not
 seem to work in an OSGI environment, without having Synapse. Because we do
 not directly use synapse tasks, we re-use scheduled-tasks.

 I feel defining the carbon-tasks feature alone, will fix the problem.
 According to your explanation, Carbon tasks may have a dependency to
 synapse-core, so that it can use SimpleQuartzJob.


Ok makes sense. So may be the culprit is the scheduled tasks component. It
may be tightly coupled with rest of Synapse/ESB. Will look into that.

Thanks,
Hiranya




 On Sat, Oct 1, 2011 at 11:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I just tried to develop a little Java program using the Synapse tasks
 module (just a learning exercise to see where the pain points are). However
 I was able to do it without much of a hassle and without adding any Synapse
 libraries except for the synapse-tasks.jar. Here's my code in the main
 method:

 TaskScheduler scheduler = new TaskScheduler(scheduler1);
 scheduler.init(new Properties());
 scheduler.start();
 TaskDescription desc = new TaskDescription();
 desc.setName(task1);
 desc.setInterval(2000);
 scheduler.scheduleTask(desc, new HashMapString,Object(), *TestJob.class
 *, *new MyTask()*);

 Here TestJob is an implementation of the Quartz Job interface. MyTask is
 an implementation of the Task interface from Synapse. All other Task*
 classes are from Synapse tasks module. Libraries in my classpath are:

- synapse-tasks
- quartz
- commons-logging
- geronimo-jta (Quartz dependency)
- commons-collections (Quartz dependency)

 So it's not that bad after all. I think the trick here is I'm using my own
 Job implementation. The default implementation that comes with Synapse
 (SimpleQuartzJob) is in the synapse-core module and if you try to use that
 you will have to add a whole bunch of other Synapse related stuff. I don't
 think anything other than Synapse are supposed to use it since it clearly
 has some Synapse specific stuff in there. We use that as the bridge between
 Synapse and Quartz.

 I think any component trying to use the Synapse tasks component should
 simply write their own Job implementation and use the framework provided by
 Synapse tasks component to run it. You can put any component specific logic
 in the Job impl. Here's my Job implementation BTW (used in above example):

 public void execute(JobExecutionContext ctx) throws JobExecutionException
 {
Task task = (Task)
 ctx.getMergedJobDataMap().get(TaskDescription.INSTANCE);
task.execute();
 }

 What are the other issues faced while trying to use the Synapse tasks
 component?

 Thanks,
 Hiranya

 On Sat, Oct 1, 2011 at 10:47 PM, Tharindu Mathew thari...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 10:17 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 7:38 PM, Anjana Fernando anj...@wso2.comwrote:

 Hiranya agreed to refactor the Synapse tasks component to have a
 simpler API, which will make it more easier to use.


 Yes will get started on this asap.

 Great!

 Thanks,
 Hiranya


 I'm also looking into creating a coordination component, by using
 Apache ZooKeeper, to do the coordination scenarios in a cluster, which are
 required in situations like scheduling a task.

 These efforts can be parellel, i.e. making it self contained will
 actually help after the task tracker component as well, otherwise you will
 have to inclue all of synapse as well, just to get task dependencies.

 Cheers,
 Anjana.


 On Sat, Oct 1, 2011 at 1:27 PM, Tharindu Mathew thari...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 1:18 PM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Sat, Oct 1, 2011 at 1:03 PM, Tharindu Mathew 
 thari...@wso2.comwrote:

 Hi ESB folks,

 Right now, if we just import the carbon.task.server feature, the
 tasks do not start up during run time due to unsatisfied dependencies.

 So, we have to import whole of synapse as well just to make tasks
 work. So, can we do $subject urgently?


 This I thought was done by the new Carbon task component in the
 making. What is the ETA for that?

 AFAIU, the new tasks component, still would have the same problem
 since it will use synapse tasks. If we can make synapse tasks and
 scheduled-tasks (carbon tasks) self contained, the problem would be 
 solved.

 IIRC, the ETA for the new component is the next major release.

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/




 --
 *Anjana Fernando*
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise

Re: [Carbon-dev] WS Discovery Configuration

2011-09-29 Thread Hiranya Jayathilaka
2011/9/29 guclu akkaya guclu.akk...@ardictech.com

 Hi,

 I have recently read the blog about ws discovery with wso2 carbon here:
 http://charithaka.blogspot.com/2010/04/ws-discovery-with-wso2-carbon.html

 This post was very useful and gave me an idea about ws discovery. In the
 article wso2 as was used as the host of the web services. Is it possible
 to use other wso2 products such as dss,esb etc. as a host for web
 services using the architecture mentioned in the post for ws discovery?


Yes you can. In fact I'm currently working on an article which shows how to
build a complete SOA based on WS-Discovery. This demonstrates the
WS-Discovery capabilities of DSS, ESB, AS and GReg. This article will get
published on wso2.org very soon. So stay tuned :)

Thanks,
Hiranya



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Problem in Latest Builds

2011-09-20 Thread Hiranya Jayathilaka
Hi Folks,

We just realized that latest ESB builds from Carbon 3.2.0 branch don't even
start up. After some debugging we narrowed down the problem to an issue in
the data sources component. Activation of this component fails and as a
result it does not register some necessary OSGi services. ESB mediation
initializer component depends on these services and hence ESB cannot startup
as a consequence.

This seems to be a regression in the
DataSourceServiceComponent#getDSFromCarbonDSConfig() method. It throws an
NPE during server start and component activation fails. Appreciate if the
person who did the changes can take a look.

Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem in Latest Builds

2011-09-20 Thread Hiranya Jayathilaka
Here's the commit which caused the regression:
http://wso2.org/svn/browse/wso2/?view=revisionrevision=112337

This code assumes that JNDI provider port will be always available in
datasource.properties file. But in the ESB all the entries in this file are
commented out by default.

Thanks,
Hiranya

On Tue, Sep 20, 2011 at 8:51 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi Folks,

 We just realized that latest ESB builds from Carbon 3.2.0 branch don't even
 start up. After some debugging we narrowed down the problem to an issue in
 the data sources component. Activation of this component fails and as a
 result it does not register some necessary OSGi services. ESB mediation
 initializer component depends on these services and hence ESB cannot startup
 as a consequence.

 This seems to be a regression in the
 DataSourceServiceComponent#getDSFromCarbonDSConfig() method. It throws an
 NPE during server start and component activation fails. Appreciate if the
 person who did the changes can take a look.

 Thanks
 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Finalize all products for 3.2.2 release

2011-09-20 Thread Hiranya Jayathilaka
Just to recap, the outcomes of that meeting were:

Feature freeze on 23rd September (this Friday)
Stratos release on 14th October
Product release on 28th October

But I guess the new plan takes precedence over that.

Thanks,
Hiranya

On Tue, Sep 20, 2011 at 11:13 PM, Senaka Fernando sen...@wso2.com wrote:



 On Tue, Sep 20, 2011 at 10:01 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Hi Samisa,

 According to the [Meeting Minutes] Carbon 3.2.2 release discussion
 thread @carbon-dev, we planned to do 3.2.2 by 28th of October (followed by a
 Stratos release).


 Wasn't it Stratos release first and product release(s) next?

 Thanks,
 Senaka.


 Has that plan been changed?

 Regards
 Charitha


 On Tue, Sep 20, 2011 at 7:19 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 We are planning to release 3.2.2 as it is now from the branch by 30th
 September. Please make sure all fixes for all products are in place.

 Make sure all patch are also in 3.2.2 open source branch.

 Thanks,
 Samisa...

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [Architecture] Making Shindig apart of Carbon Core UI

2011-09-16 Thread Hiranya Jayathilaka
Right now the ground reality is, not many products use the dashboard stuff.
Also AFAIK many products currently don't have a clear vision on how to
integrate a dashboard into the product UIs. So until we get those issues
sorted I don't think we should add this to the Carbon core. In the mean time
perhaps we can look for ways to reduce the size of these components and
figure out better ways to integrate them with the products.

Thanks,
Hiranya

On Fri, Sep 16, 2011 at 10:12 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Azeez,

 On Fri, Sep 16, 2011 at 8:13 PM, Afkham Azeez az...@wso2.com wrote:

 -1 to increasing the distribution size. Big -1 to this addition. Adding
 everything to carbon core violates the component model.

 I agree the bundle is bulky in Size, and doing our best to reduce its size
 (discussion on* [carbon-dev]Shindig upgrading effort*) it was 20MB before
 and we have managed to reduce it to 12MB.

 About the component model; is there another mechanism you suggest to have
 this feature to be integrated with the carbon-core ui, the objective of this
 feature is, that any UI component developer can add a gadget simply from a
 tag, like we add properties etc. if we make this a separate component IMO we
 cannot get the model working.

 Can you suggest the correct way in doing this if it violates the component
 model.

 Regards,
 /nuwan

 
 Sent from my phone
 On Sep 16, 2011 4:19 PM, Nuwan Bandara nu...@wso2.com wrote:
  Hi All,
 
  We have done some work around gadget rendering, and we have developed a
 new
  feature so that if you need a gadget in you page you do not need the
  dashboard to show them. You can simply create a tag and add the gadget
 URL
  and the UI part will be available in ur page. an example would be
 
  c:gadget url=/foo.xml height=100 width=100 class=gadget-style
 /
 
  once you add above tag you can place the gadget where ever you want in
 your
  page.
 
  This feature can come in handy in many ways where you want to mix static
 and
  dynamic information. We are working on revamping the system statistics
 page
  with this new method just to demonstrate as a POC.
 
  However in-order to make this available we will have to add shindig a
 part
  of carbon-core. Shindig is at the moment is 14.3MB and it will go down
 for
  about 12MB with fixes to bundle plugin, hence this will increase the
 size of
  the distribution in 12MBs.
 
  However I believe there are many advantages in having this as part of
 our
  core UI framework. for an example Google it self is pushing this model
 in
  almost all the pages they published recently [1]. I believe this feature
 can
  be quite helpful for products like BPS, GREG and BAM directly. By having
  this you can have functionalities like intercommunication between UI
 parts,
  unified way to show analytics/statistics and any other dynamic content.
 
  comments and ideas welcome.
 
  [1] http://code.google.com/apis/opensocial/
 
  --
  *Thanks  Regards,
 
  Nuwan Bandara
  Senior Software Engineer
  WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 
  http://nuwan.bandara.co
   *
  http://www.nuwanbando.com/

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Senior Software Engineer
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://nuwan.bandara.co
 *
 http://www.nuwanbando.com/

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: [Group E] Deployment Synchronizer Code Review @ Thu Sep 8 11am - 12pm (carbon-dev@wso2.org)

2011-09-07 Thread Hiranya Jayathilaka
We are going to start this in the lobby at 11am. All Group-E members, please
be present.

Thanks,
Hiranya

On Mon, Sep 5, 2011 at 12:40 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 more details 
 »https://www.google.com/calendar/event?action=VIEWeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRldkB3c28yLm9yZwtok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzliMjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en
 [Group E] Deployment Synchronizer Code Review
 We had an architecture review last week with Srinath and Paul. Let's review
 the source code this week.

 Crucible project: 
 https://wso2.org/crucible/cru/COMPONENT-57http://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fcrucible%2Fcru%2FCOMPONENT-57usd=2usg=AFQjCNHNL_A_sLrfSM5gy7T-gDcuNwzmCQ
 *When*
 Thu Sep 8 11am – 12pm Colombo
 *Where*
 No 59 board room (maphttp://maps.google.lk/maps?q=No+59+board+roomhl=en
 )
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 hira...@wso2.com - organizer
 •
 Srinath Perera
 •
 Samisa Abeysinghe
 •
 Afkham Azeez
 •
 carbon-dev@wso2.org

 Going?   
 ***Yeshttps://www.google.com/calendar/event?action=RESPONDeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRldkB3c28yLm9yZwrst=1tok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzliMjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en-
 Maybehttps://www.google.com/calendar/event?action=RESPONDeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRldkB3c28yLm9yZwrst=3tok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzliMjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en-
 Nohttps://www.google.com/calendar/event?action=RESPONDeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRldkB3c28yLm9yZwrst=2tok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzliMjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en
 ***more options 
 »https://www.google.com/calendar/event?action=VIEWeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRldkB3c28yLm9yZwtok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzliMjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this courtesy email at the account 
 carbon-dev@wso2.orgbecause you are an attendee of this event.

 To stop receiving future notifications for this event, decline this event.
 Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Invitation: [Group E] Deployment Synchronizer Code Review @ Thu Sep 8 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Hiranya Jayathilaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20110908T053000Z
DTEND:20110908T063000Z
DTSTAMP:20110905T071016Z
ORGANIZER;CN=hira...@wso2.com:mailto:hira...@wso2.com
UID:mp1eljoca95uqspotqo6ukn...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Srinath Perera;X-NUM-GUESTS=0:mailto:srin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=hira...@wso2.com;X-NUM-GUESTS=0:mailto:hira...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Samisa Abeysinghe;X-NUM-GUESTS=0:mailto:sam...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=carbon-dev@wso2.org;X-NUM-GUESTS=0:mailto:carbon-dev@wso2.org
CREATED:20110905T070801Z
DESCRIPTION:We had an architecture review last week with Srinath and Paul. 
 Let's review the source code this week.\n\nCrucible project: https://wso2.o
 rg/crucible/cru/COMPONENT-57\nView your event at http://www.google.com/cale
 ndar/event?action=VIEWeid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRl
 dkB3c28yLm9yZwtok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzli
 MjIzMDY4NWMyYzk1MWI3MjMctz=Asia%2FColombohl=en.
LAST-MODIFIED:20110905T071016Z
LOCATION:No 59 board room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:[Group E] Deployment Synchronizer Code Review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Integration test failure in ESB

2011-09-02 Thread Hiranya Jayathilaka
These issues have been fixed.

On Fri, Sep 2, 2011 at 12:43 AM, Ranga Siriwardena ra...@wso2.com wrote:

 Surefire-reports attached.


 -- Forwarded message --
 From: WSO2 Carbon 3.2.2 Builder (US1) cbuil...@wso2.org
 Date: Thu, Sep 1, 2011 at 10:41 PM
 Subject: [Carbon-build] WSO2 Carbon Continuous Build has FAILED
 /home/carbon320/322_carbon/products/esb/4.0.2
 To: carbon-bu...@wso2.org


 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   WSO2 ESB - Aggregator Module
 [INFO]   WSO2 ESB - Styles Parent
 [INFO]   WSO2 ESB - Styles
 [INFO]   WSO2 Stratos ESB - Styles
 [INFO]   WSO2 ESB - Samples Parent
 [INFO]   WSO2 ESB - Samples
 [INFO]   WSO2 Stratos ESB - Samples
 [INFO]   WSO2 ESB - Features Parent
 [INFO]   WSO2 ESB - Features Aggregator Module
 [INFO]   WSO2 ESB - Styles Features
 [INFO]   WSO2 ESB - Samples Features
 [INFO]   WSO2 Stratos ESB - Login User Interface
 [INFO]   WSO2 Stratos ESB - Features Aggregator Module
 [INFO]   WSO2 Stratos ESB - Login UI Feature
 [INFO]   WSO2 Stratos ESB - Styles Features
 [INFO]   WSO2 Stratos ESB - Samples Features
 [INFO]   WSO2 ESB - P2 Profile Generation Parent
 [INFO]   WSO2 ESB - P2 Profile Generation
 [INFO]   WSO2 Stratos ESB - P2 Profile Generation
 [INFO]   WSO2 ESB - Distribution Parent
 [INFO]   WSO2 ESB - Distribution
 [INFO]   WSO2 Stratos ESB - Distribution
 [INFO]   WSO2 ESB - Integration Parent
 [INFO]   WSO2 ESB Integration Test Core
 [INFO]   Endpoint Integration Tests
 [INFO]   Local Entry Integration Tests
 [INFO]   Mediator Integration Tests
 --
 at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.642 sec
  FAILURE!

 Results :

 Failed tests:

  
 testTemplate(org.wso2.esb.integration.servlet.transport.POXOverServletTransportTest)

 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

 Shutting down server...
 Saving Code Coverage Details...
 Completed Saving Code Coverage Details.
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/carbon320/322_carbon/products/esb/4.0.2/modules/integration/servlet-transport/target/surefire-reports
 for the individual test results.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 32 minutes 29 seconds
 [INFO] Finished at: Thu Sep 01 13:11:19 EDT 2011
 [INFO] Final Memory: 340M/986M
 [INFO]
 


 Thanks.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.





-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Wrong Versions in Some 3.2.2 Components

2011-08-11 Thread Hiranya Jayathilaka
   2) org.wso2.carbon:org.wso2.carbon.security.mgt.ui.feature:zip:3.2.2

--
6 required artifacts are missing.


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Compilation Error in 3.2.2 Branch

2011-08-08 Thread Hiranya Jayathilaka
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/hiranya/Projects/Java/carbon-platform/3.2.0/components/stratos/billing/org.wso2.carbon.billing.mgt/1.5.2/src/main/java/org/wso2/carbon/billing/mgt/services/BillingDataAccessService.java:[104,32]
cannot find symbol
symbol  : method deactivateActiveSubscription(int)
location: class org.wso2.carbon.billing.core.DataAccessManager



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Synapse 2.1.0.wso2v4

2011-08-05 Thread Hiranya Jayathilaka
Hi,

Have we released Synapse 2.1.0.wso2v4? Can we use that branch for the next
ESB patch release?

Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build Error in 3.2.2 Branch

2011-08-03 Thread Hiranya Jayathilaka
Missing:
--
1) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1) org.wso2.carbon:org.wso2.carbon.core.server.feature:pom:3.2.2
   2) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2


Any ideas? I couldn't find a 3.2.2 version of the application deployer
component in the branch.


Thanks
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Error in 3.2.2 Branch

2011-08-03 Thread Hiranya Jayathilaka
Culprit is the following dependency
in core/features/org.wso2.carbon.core.server.feature/3.2.2

  dependency
groupIdorg.wso2.carbon/groupId

 artifactIdorg.wso2.carbon.application.deployer/artifactId
version${pom.version}/version
/dependency

Shall I change the version to 3.2.1?

Thanks,
Hiranya


On Wed, Aug 3, 2011 at 3:27 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Missing:
 --
 1) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1) org.wso2.carbon:org.wso2.carbon.core.server.feature:pom:3.2.2
2) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2


 Any ideas? I couldn't find a 3.2.2 version of the application deployer
 component in the branch.


 Thanks
 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build Error in 3.2.2 Branch

2011-08-03 Thread Hiranya Jayathilaka
Fixed. Also fixed a wrong file path reference in core distribution bin.xml

Thanks,
Hiranya

On Wed, Aug 3, 2011 at 3:36 PM, Kathiravelu Pradeeban pradee...@wso2.comwrote:



 On Wed, Aug 3, 2011 at 3:34 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Culprit is the following dependency
 in core/features/org.wso2.carbon.core.server.feature/3.2.2

   dependency
 groupIdorg.wso2.carbon/groupId

  artifactIdorg.wso2.carbon.application.deployer/artifactId
 version${pom.version}/version
 /dependency

 Shall I change the version to 3.2.1?


 +1. Go ahead.

 Seems that was a mistake.

 Thank you.
 Regards,
 Pradeeban.


 Thanks,
 Hiranya


 On Wed, Aug 3, 2011 at 3:27 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Missing:
 --
 1) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.application.deployer -Dversion=3.2.2
 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
1) org.wso2.carbon:org.wso2.carbon.core.server.feature:pom:3.2.2
2) org.wso2.carbon:org.wso2.carbon.application.deployer:jar:3.2.2


 Any ideas? I couldn't find a 3.2.2 version of the application deployer
 component in the branch.


 Thanks
 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Kathiravelu Pradeeban.
 Software Engineer.
 WSO2 Inc.

 Blog: [Llovizna] http://kkpradeeban.blogspot.com/


 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Distributing SVN Client Adapter

2011-07-21 Thread Hiranya Jayathilaka
Hi Folks,

I'm almost done with the SVN based deployment synchronizer. We need to
figure out a way to distribute the Subclipse SVN Client Adapter [1]. It's
Apache licensed, but they don't seem to have the latest artifacts in a Maven
repo. The best I could find was [2] but even that's fairly old and it
doesn't contain all the packages we need. How should we proceed? Can we host
the artifacts in our repo and create an Orbit bundle of it?

Thanks,
Hiranya

[1] - http://subclipse.tigris.org/svnClientAdapter.html
[2] -
http://bits.netbeans.org/maven2/org/netbeans/external/svnClientAdapter-1.6.0/RELEASE67/
-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


  1   2   3   4   5   6   >