Re: [Dev] Carbon 4.2.0- patch0010 Registry Core test failures due to user code changes

2015-03-03 Thread Johann Nallathamby
We did complete code reformatting for user.core because every time IS
member gives a patch there are code formatting issues due to existing code.
So I completely reformatted the user.core code. This caused test failure.

Couldn't revert it immediately because there was a pending diff to be
applied on the formatted code which was quite large. So had to apply the
diff and then fix the tests.

Thanks.

On Mon, Mar 2, 2015 at 5:54 PM, Sameera Jayasoma same...@wso2.com wrote:

 What is the commit? Who has broken the build?

 Thanks,
 Sameera.

 On Mon, Mar 2, 2015 at 5:51 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 Hi IS Team,

 We have noticed Carbon 4.2.0 kernel patch0010 Registry Core has 3 test
 failures due to recent user core changes (r211611). We (Manoj and I) have
 verified it with/without user core changes and these test failures are only
 noticeable with mentioned user core changes.

 Can you guys please have a look?

 Regards,
 Chandana
 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299
 %2B94718169299*

 *Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications

2015-03-03 Thread Gayan Dhanushka
Hi all,

Suppose we move away from the Jenkins freestyle builds that we are
triggering currently. Then we will not have a build number anyway. In that
case we need to have an alternative approach. One would be to show the last
deployed time since we already have that information in the AF_DEPLOY table
in the runtime database.

Then again this would affect the consistency of the user experience.

WDYT ?

Regards
Gayan

On Fri, Feb 27, 2015 at 8:25 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 There is an attribute already called isBuildable. As I noticed the
 deployment information is now shown for non buildable application types but
 we are showing the build id (build id generated from the free style jenkins
 build). IMO this is incorrect since the build id would mislead the user. So
 I am +1 for having something like Manisha has mentioned.

 WDYT?

 Regards
 Gayan

 On Fri, Feb 27, 2015 at 6:58 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Gayan
 IMO we should have some configuration like buildable (AFAIR we already
 have this) in apptype and according to that we should draw the build
 section.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi all,

 I am working on [1] and the I got some things to clarify. For apptypes
 with the build having a meaning (java web app, jaxrs, jaxws) we show a last
 build id,status and last deployed build id on the UI. But for jaggery
 applications in which we do not trigger an actual build, it does not make
 much sense to show the last build id (currently there is no wall message
 for a jaggery build as well). Showing the Build ${id} Deployed is also
 misleading. But when a user does some change in the application and commit
 it there should be some kind of a message for the user to understand
 whether his changes are there in the currently deployed version of the
 application as well.

 What would be the appropriate thing to do in here?

 [1] https://wso2.org/jira/browse/APPFAC-2978

 Regards
 Gayan

 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd

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





 --
 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd




-- 
Gayan Dhanuska
Software Engineer
http://wso2.com/
Lean Enterprise Middleware

Mobile
071 666 2327

Office
Tel   : 94 11 214 5345
Fax  : 94 11 214 5300

Twitter : https://twitter.com/gayanlggd
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal 7 : User-Managed Access (UMA) Profile for OAuth2

2015-03-03 Thread Farasath Ahamed
Hi,

I am Farasath Ahamed, an undergraduate from Department of Computer Science
and Engineering, University of Moratuwa.

I am interested in proposal [1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess(UMA)ProfileforOAuth2
and
looking forward to contribute. Please let me know if we could have a
discussion on $subject.


[1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess(UMA)ProfileforOAuth2

-- 
*Farasath Ahamed*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: +94 777 603 866
E-Mail:  farasath http://goog_1999535192a...@wso2.com
Blog: http://thepseudocode.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal 4: ESB - JMS 2.0 support for transports and inbound endpoint

2015-03-03 Thread Buddhima Wijeweera
Hi Eranda,

Thank you for your interest.
Yes, you can go ahead with the given reference. In addition to that, I
would like to point you few more resources that you can be familiar with
the existing JMS transport.

Resources:
[1] https://docs.wso2.com/display/ESB481/JMS+FAQ
[2] https://docs.wso2.com/display/ESB481/Configuring+JMS+Transport
[3] https://docs.wso2.com/display/ESB481/JMS+Usecases
[4] https://docs.wso2.com/display/ESB481/JMS+Troubleshooting+Guide
[5] https://docs.wso2.com/display/ESB481/JMS+Samples

Thank you!

On Tue, Mar 3, 2015 at 5:40 PM, Eranda Rajapakshe eran...@wso2.com wrote:

 Hi,

 I am Eranda Rajapakshe, an undergraduate from Department of Computer
 Science and Engineering, University of Moratuwa. Currently I'm an intern
 at WSO2 Inc.

 I am interested in proposal [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess(UMA)ProfileforOAuth2
  and
 looking forward to contribute. I will go through the  given references and
 contact you for further details.

 [1] 
 *https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal4:ESB-JMS2.0supportfortransportsandinboundendpoint
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal4:ESB-JMS2.0supportfortransportsandinboundendpoint*


 Thank you!
 --
 *Eranda Rajapakshe*
 Software Engineering intern
 WSO2 Inc. www.wso2.com
 Tel : +94784822608
 Email : eran...@wso2.com




-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Mobile: +94 71 427 9966
Email: buddh...@wso2.com
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Supporting blocking calls in Call mediator

2015-03-03 Thread Isuru Udana
Hi Kathees,

Please include test scenarios for Security use cases as well.

Thank you.

On Tue, Mar 3, 2015 at 12:05 PM, Kathees Rajendram kath...@wso2.com wrote:

 Hi Isuru,

 I have tested the core functionality of blocking and non blocking. Please
 find the test plan and some test results.



 Test No

 Test

 Configuration

 Expected result

 Observed results

 Status

 Functional Testing





 1

 Direct endpoint without blocking


 call blocking=”false”endpoint name=StockQuoteService

address uri=
 http://localhost:9000/services/SimpleStockQuoteService;
 http://localhost:9000/services/SimpleStockQuoteService/

/endpoint

 call

 Receive response

 Received response

 Passed

 2

 Direct endpoint with blocking

 call blocking=”true”endpoint name=StockQuoteService

address uri=
 http://localhost:9000/services/SimpleStockQuoteService;
 http://localhost:9000/services/SimpleStockQuoteService/

/endpoint

 call

 Receive response

 Received response

 Passed

 3

 Indirect endpoint without blocking

 call blocking=”false” endpoint key=StockQuoteService/

/call

 Receive response

 Received response

 Passed

 4

 Indirect endpoint with blocking

 call blocking=”true” endpoint key=StockQuoteService/

/call

 Receive response

 Received response

 Passed

 5

 Test blocking external service invocation during mediation.



 Pending

 6

 Test non blocking when external service invocates during mediation.



 Pending

 7

 Handle mutual SSL when blocking is true

 Add the following configuration to ESB_HOME/bin/wso2server.sh

 -Djavax.net.ssl.keyStore=$CARBON_HOME/repository/resources/security/wso2carbon.jks
 \

 -Djavax.net.ssl.keyStorePassword=wso2carbon \

 -Djavax.net.ssl.keyPassword=wso2carbon \


 Pending

 8

 Test with other  endpoints

- Address Endpoint
- Default Endpoint
- Failover Group
- HTTP Endpoint
- Load Balance Endpoint
- Recipient List Group
- Template Endpoint
- WSDL Endpoint

 call blocking=”false” endpoint key=StockQuoteService/

/call




 Pending

 UI Testing





 Pending

 8

 Select None endpoint



 Pending

 9

 Define the call mediator through the inline



 Pending

 10

 Pick the endpoint path from the Registry



 Pending

 11

 Specify the endpoint from Xpath



 Pending

 12

 Add the configuration through the source view



 Pending

 13

 Add the configuration through the design view



 Pending

 12

 Switch to source view from design view



 Pending

 13

 Switch to design view from source view



 Pending

 Thanks,
 Kathees

 On Tue, Mar 3, 2015 at 8:56 AM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 I believe you are conducting developer testing for newly implemented
 functionality.
 Could you please share the test plan with us.

 Thank you.

 On Fri, Feb 27, 2015 at 9:36 AM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 I will additionally add the following section for blocking functionality
 in call mediator.



 Thanks
 Kathees
 ​

 On Thu, Feb 26, 2015 at 10:48 AM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 I have implemented the blocking functionality in call mediator.

 Please find the pull request [1] for wso2-synapse

 [1] - https://github.com/wso2/wso2-synapse/pull/93

 Thanks,
 Kathees

 On Wed, Feb 25, 2015 at 5:06 PM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 Endpoint with key is not handled in BlockingSender.I will introduce
 the changes in BlockingSender.

 Thanks,
 kathees

 On Wed, Feb 25, 2015 at 4:26 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 If you find this not working, please introduce this change to the
 BlockingMsgSender but not the Call Mediator. So that all the components
 using BlockingMsgSender will inherit this.

 Thanks.


 On Wed, Feb 25, 2015 at 4:14 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 On Tue, Feb 24, 2015 at 4:00 PM, Kathees Rajendram kath...@wso2.com
  wrote:

 Hi Isuru,

 The blocking is working in the following synapse configuration.

 call blocking=true
 endpoint name=StockQuoteService
address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
 /endpoint
  /call

 but I want to add the blocking in the following configuration also,
 as it is in call mediator.

 call blocking=true
endpoint key=StockQuoteService/
  /call

 I do not think you need to explicitly handle this. AFAIR
 BlockingMsgSender handles the IndirectEndpoint so no extra work needed.


 Thanks.



 endpoint name=StockQuoteService
address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
  /endpoint


 Thanks,
 Kathees


 On Tue, Feb 24, 2015 at 3:14 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi Kathees,



 On Tue, Feb 24, 2015 at 3:06 PM, Kathees Rajendram 
 kath...@wso2.com wrote:

 Hi,

 The call mediator blocking is working with direct endpoint. I
 want to write logic with endpoint key and Xpath. 

Re: [Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Maheeka Jayasuriya
Hi Chalitha,

Please check whether you have enabled clustering and group management as
following :

clustering
class=org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent
enable=true

groupManagement enable=true ..


ESB 4.8.1 uses Hazelcast for clustering, not Tribes.



Thanks,

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Tue, Mar 3, 2015 at 2:56 PM, Chalitha Kulathunga chalit...@wso2.com
wrote:

 Hi,

 When I run axis2 server after configuring the axis2.xml file as described
 in (ESB 4.8.1) sample 57, I get the following error in the server. Could
 someone help me out to resolve this.

 Thanks

 *SEVERE: Unable to join multicast group, make sure your system has
 multicasting enabled.*

 *15/03/03 14:45:51 ERROR tribes.TribesClusteringAgent: Error starting
 Tribes channel*

 *org.apache.catalina.tribes.ChannelException: java.net.SocketException:
 Can't assign requested address; No faulty members identified.*

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)

 at
 org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:303)

 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

 at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

 Caused by: java.net.SocketException: Can't assign requested address

 at java.net.PlainDatagramSocketImpl.join(Native Method)

 at
 java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)

 at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)

 at
 org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254)

 at
 org.apache.catalina.tribes.membership.McastService.start(McastService.java:447)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:163)

 ... 13 more

 15/03/03 14:45:51 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
 Shutting down. Error starting SimpleAxisServer

 org.apache.axis2.clustering.ClusteringFault: Error starting Tribes channel

 at
 org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:312)

 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

 at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

 Caused by: org.apache.catalina.tribes.ChannelException:
 java.net.SocketException: Can't assign requested address; No faulty members
 identified.

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)

 at
 org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:303)

 ... 3 more

 Caused by: java.net.SocketException: Can't assign requested address

 at java.net.PlainDatagramSocketImpl.join(Native Method)

 at
 java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)

 at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)

 at
 

Re: [Dev] GSOC2015:Google Wallet based Billing System for WSO2 Private PaaS

2015-03-03 Thread Imesh Gunaratne
[Copying WSO2 Dev]

Hi Heshan,

It's nice to hear from you and see your interest on this project. The idea
of this project is to implement a Billing System for WSO2 Private PaaS
which could integrate with Google Wallet for invoice generation and
payments. The steps to follow would be as follows:

- Do a literature review on Billing Cloud Services and identify Billing
Patterns.
- Do an analysis on Open Source Billing Systems and reuse an existing or
implement one from scratch
- Integrate above Billing System with WSO2 PPaaS.
- Integrate above Billing System with Google Wallet.

To answer your question; You might not need to install Google Wallet on
your device rather you could use the online application as a start.

If you are interested on this project please prepare a project proposal and
share it on a Google document. We can review it first and move forward.

Thanks

On Tue, Mar 3, 2015 at 3:58 PM, hesh jay heshjayasin...@gmail.com wrote:

 Hello mentor,
 I am Heshan Jayasinghe.I am 2nd year undergraduate in University of
 Moratuwa Faculty of Information Technology.I am an Open source developer
 and i really like to contribute your company in this GSOC 2015.I came to
 WSO2 hackathon as a team enigma and i come to most meet up which organised
 by wso2(e.g.: cloud meet up,OSGI,java meet up).

 I am interested on your project Google Wallet based Billing System for
 WSO2 Private PaaS.I read your Documentation given about this project.And i
 try to install google Wallet in my phone but google say it is not available
 in Sri Lanka.I like to know the path i should follow to do this project.

 last time also i apply for the project which proved by wso2 GSOC 2014.in
 that time I am in 1st year and i hadn't good knowledge about open source
 development.This time I have good experience about how GSOC goes.So I would
 like have a meeting with you before start write my report.Could you please
 help me to setup Google Wallet.And If there any tutorial i would like to
 read.hope you will help me to do this project in gsoc 2015.

 regards,
 Heshan Jayasinghe.






-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][AS] JAX-WS Samples NoClassDefFoundError for SAAJMetaFactoryImpl

2015-03-03 Thread Kasun De Silva
Hi Malith,

I had the same issue with the same sample with running on jdk 1.7. Adding
saaj-impl-1.3.1.jar into AS_HOME/lib/endorsed/ folder solved the problem
for me.

Thanks,
Kasun

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Mon, Feb 16, 2015 at 12:00 PM, Malith Munasinghe mali...@wso2.com
wrote:

 Hi Kasun,

 Thanks for the prompt response.
 I'm using jdk1.7.0_75


 On Mon, Feb 16, 2015 at 11:53 AM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 What's the JDK you are running this on?

 On Mon, Feb 16, 2015 at 11:28 AM, Malith Munasinghe mali...@wso2.com
 wrote:

 When running client using ./run-client in sample [1] a
 noClassDefFoundError occurs as [2] on the server. Any resolutions for this ?

 Thanks,

 [1]
 https://docs.wso2.com/display/AS521/WS-Security+Sample+on+Signature+and+Encryption

 [2]
 [2015-02-16 10:33:41,849] ERROR
 {org.apache.catalina.core.StandardWrapperValve} -  Servlet.service() for
 servlet [JAXServlet] in context with path [/sign_encrypt_jaxws] threw
 exception [Servlet execution threw an exception] with root cause

 java.lang.NoClassDefFoundError: Could not initialize class
 com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl

 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

 at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

 at java.lang.Class.newInstance(Class.java:379)

 at javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:47)

 at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:194)

 at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:98)

 at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:73)

 at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:146)

 at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:111)

 at
 org.apache.cxf.binding.soap.saaj.SAAJFactoryResolver.createMessageFactory(SAAJFactoryResolver.java:56)

 at
 org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.getFactory(SAAJInInterceptor.java:146)

 at
 org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:128)

 at
 org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:102)

 at
 org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)

 at
 org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

 at
 org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)

 at
 org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)

 at
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)

 at
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)

 at
 org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)

 at
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)

 at
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)

 at
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)

 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

 at
 org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43)

 at
 org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)

 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)

 at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)

 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)

 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)

 at
 

Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

2015-03-03 Thread Mohanadarshan Vivekanandalingam
On Tue, Mar 3, 2015 at 5:19 PM, Tharindu Munasinghe tharin...@wso2.com
wrote:

 Hi,


Hi Tharindu,


  I am Tharindu Munasinghe , an undergraduate from Department of Computer
 Science and Engineering, University of Moratuwa .Currently I am an intern
 at WSO2.

 I went through the GSoC proposal list and interested in proposal [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
  and
 looking forward to contribute . I am already familiar with WSO2 CEP and
 Siddhi while working on my  fast track training project.

 Please let me know if we could have a discussion on $subject.


Happy to hear that you like to work on $subject.. Sure, we can have
discussion. Please check for a convenient time with Suho  Srinath..

Thanks,
Mohan


 [1] Siddhi Editor for WSO2 CEP
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal2:SiddhiEditorforWSO2CEP

 --
 *Tharindu Munasinghe*
 Software Engineering Intern
 WSO2 Inc.(http://wso2.com)
 SRI LANKA

 Mobile: +94 77460887
 E-Mail:  tharin...@wso2.com

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




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

2015-03-03 Thread Tharindu Munasinghe
Hi all,
  Thanks Mohan for the quick response. Sure.. according to the
currently available slots I have sent a calendar invitation for the
discussion on $subject  .Please find the invitation at 3.00 PM today and
let me know the availability by then.

Thanks,


On Tue, Mar 3, 2015 at 10:47 PM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:



 On Tue, Mar 3, 2015 at 5:19 PM, Tharindu Munasinghe tharin...@wso2.com
 wrote:

 Hi,


 Hi Tharindu,


  I am Tharindu Munasinghe , an undergraduate from Department of Computer
 Science and Engineering, University of Moratuwa .Currently I am an intern
 at WSO2.

 I went through the GSoC proposal list and interested in proposal [1]
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
  and
 looking forward to contribute . I am already familiar with WSO2 CEP and
 Siddhi while working on my  fast track training project.

 Please let me know if we could have a discussion on $subject.


 Happy to hear that you like to work on $subject.. Sure, we can have
 discussion. Please check for a convenient time with Suho  Srinath..

 Thanks,
 Mohan


 [1] Siddhi Editor for WSO2 CEP
 https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal2:SiddhiEditorforWSO2CEP

 --
 *Tharindu Munasinghe*
 Software Engineering Intern
 WSO2 Inc.(http://wso2.com)
 SRI LANKA

 Mobile: +94 77460887
 E-Mail:  tharin...@wso2.com

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




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
*Tharindu Munasinghe*
Software Engineering Intern
WSO2 Inc.(http://wso2.com)
SRI LANKA

Mobile: +94 77460887
E-Mail:  tharin...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Carbon] [java8support] - Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049

2015-03-03 Thread Kishanthan Thangarajah
On Wed, Mar 4, 2015 at 12:34 PM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi Kishanthan,

 I get updated my fork and tried to build again. Now I'm getting following
 error.

 Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
  Missing requirement: WSO2 Carbon - Addressing 4.4.0.SNAPSHOT
 (org.wso2.carbon.addressing 4.4.0.SNAPSHOT) requires 'package
 org.apache.axis2 [1.6.1.wso2v12,1.7.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Common Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.common.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.addressing [4.4.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.core.common.feature.group [4.4.0.SNAPSHOT]
 Application failed


 It would be great if you can tell me how can I fix this.



This development branch depends on axiom, axis2 repos and of the same
branch (java8support). And you have to use jdk8. So you may have to build
from the order like below. This dependent build order will not be needed
once we stabilise this branch with jdk8 build issues.
wso2-axiom (java8support)
wso2-axis2 (java8support)
carbon4-kernel (java8support)

Can you try building the above and check again?





 Thanks
 Best Regards

 On Wed, Mar 4, 2015 at 12:14 PM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Kishanthan,

 I'm working on providing tomcat 8.0.20 support for carbon platform.
 https://redmine.wso2.com/issues/3731I
 I forked the carbon4-kernel and cloned the java8support branch from the
 fork. When I trying to build the kernel  I'm getting following error


 Installing org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT.
 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
  Missing requirement: Jasper Jsp Support Bundle 1.0.400.v20120522-2049
 (org.eclipse.equinox.jsp.jasper 1.0.400.v20120522-2049) requires 'package
 javax.servlet.jsp [2.0.0,2.3.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.feature.group 4.4.0.SNAPSHOT)
   To: org.wso2.carbon.core.ui.feature.group [4.4.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Carbon UI Feature 4.4.0.SNAPSHOT
 (org.wso2.carbon.core.ui.feature.group 4.4.0.SNAPSHOT)
   To: org.eclipse.equinox.jsp.jasper [1.0.400.v20120522-2049]
 Application failed


 Is there anything that I missed when I doing the build?

 Thanks
 Regards
 --
 Thusitha Dayaratne
 Software Engineer | WSO2 Inc

 Emailthusit...@wso2.com
 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com




 --
 Thusitha Dayaratne
 Software Engineer | WSO2 Inc

 Emailthusit...@wso2.com
 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com




-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Smooks Configuration : ObjectSerializer argument 'object' is null.

2015-03-03 Thread Shiva Balachandran
Hi All,

i am trying to do a XML to XML using Smooks. I am following the tutorial at
[1]. When i run the smooks configuration in Eclipse i get the following
error.

Exception in thread main java.lang.IllegalArgumentException:
ObjectSerializer argument 'object' is null.
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.assertNotNull(ObjectSerializer.java:278)
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.init(ObjectSerializer.java:56)
at
org.jboss.tools.smooks.launch.serialize.ObjectSerializer.serialize(ObjectSerializer.java:79)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:91)


Does any have any insights on why this is produced?

[1] -
http://wso2.com/library/tutorials/2011/06/perform-data-mapping-smooks-editor-wso2-carbon-studio/#xml

Thank you.

Regards,
-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Remove unwanted patch classes from tomcat.patch component

2015-03-03 Thread Kishanthan Thangarajah
I have removed the classes (Mapper and ContextConfig) from
carbon-deployment/org.wso2.carbon.tomcat.patch component on java8support
branch.

On Tue, Mar 3, 2015 at 1:20 PM, Sagara Gunathunga sag...@wso2.com wrote:



 On Tue, Mar 3, 2015 at 1:19 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Sagara/ All,

 AFAIR we added Maper.java and ContextConfig.java for patching purposes
 but we later used alternative approaches. Let's remove if these are not
 patched and not used.


 +1

 Thanks !


 thanks,

 On Tue, Mar 3, 2015 at 12:58 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:



 On Tue, Mar 3, 2015 at 12:33 PM, KasunG Gajasinghe kas...@wso2.com
 wrote:

 Hi,


 On Tue, Mar 3, 2015 at 1:00 AM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:



 On Tue, Mar 3, 2015 at 11:03 AM, Sagara Gunathunga sag...@wso2.com
 wrote:



 On Tue, Mar 3, 2015 at 10:42 AM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 Hi SupunM,

 There are two classes (Mapper.java and ContextConfig.java) that are
 not patched from the original tomcat source distribution which resides 
 in
 the tomcat.patch component [1]. If they are not used for any 
 requirement,
 shall we remove them? Having these will cause issues with API changes 
 when
 we try to upgrade tomcat.


 AFAIR these are important modifications did by KasunG, Sameera also
 reviewed these changes at that time. Please wait KasunG's response before
 proceed on this.


 I think the above mentioned fixes are for *ExpandWar* class, to fix
 the tenants webapp getting expanded into super tenants repository. This is
 there in the tomcat.patch component. But the two classes which I mentioned
 do not have an diff from original tomcat source. Anyway lets wait for the
 confirmation.


 Yes, those changes were for ExpandWar class to fix the issue with
 webapp unpacking in tenants.

 It looks the Mapper class was added in Carbon 4.2.0 in revision
 r180112. Based on the commit message there, it was meant to be patched
 later on, but never was as I see.


 Same with ContextConfig class too, which is added with
 da238f6bf46a959771972441e11157da9c875d3b.




 @KasunG, as a side note I remember I asked you to document these
 customizations somewhere, if you have that doc please share with 
 Carbon/AS
 team members otherwise there is a high chance to loose these changes 
 during
 upgrades.


 I don't think we created such a doc.



 +1, this will definitely help to avoid such issues with tomcat
 upgrades.


 Thanks !


 Thanks,
 Kishanthan.
 [1]
 https://github.com/wso2/carbon-deployment/tree/master/components/webapp-mgt/org.wso2.carbon.tomcat.patch/src/main/java/org/apache


 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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

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




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321




 --
 Sagara Gunathunga

 Senior Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com




-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cross database pagination

2015-03-03 Thread Udara Rathnayake
Hi All,

We had the same discussion yesterday and had a small chat with Prabath too.
Since there is no viable solution ATM we decided to store these select
statements in a script and pick according to the data-source configuration.

Eg:- /dbscripts/social/oracle/select_script,
/dbscripts/social/sql/select_script

Since we can use the same select statement with limit,offset for
h2,MySQL,PostgreSQL  may be we can have a common one.

Thoughts?

Regards,
UdaraR


On Mon, Mar 2, 2015 at 8:31 AM, Dulitha Wijewantha duli...@wso2.com wrote:

 Hi guys,
 I am working on creating a device listing API that supports pagination. In
 the SQL world, LIMIT and OFFSET seems to be the standard way of doing
 pagination in MySQL and PostgreSQL. Below is an example,

 SELECT Device.id, Device.name FROM Device
 LIMIT 10 OFFSET 10


 But Oracle seems to be using rownum. What's the recommended approach in
 doing this?

 Cheers~

 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Middleware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

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




-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : 1 4087864651 | 94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Suggestion] A Mediator for the attachment

2015-03-03 Thread Kathees Rajendram
Hi,

Since most of the connectors are having the attachment method, it would be
better if we have a mediator in ESB for the attachments. Through that
mediator we can extract the attachment and encode the values The mediator
can use the fields such as encoding type,no of attachment,so on. The Users
can use the configuration rather than coding.

Thanks,
Kathees

-- 
Kathees
Software Engineer,
email: kath...@wso2.com
mobile: +94772596173
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API Manager 1.8.0 - Access to admin dashboard application

2015-03-03 Thread satheesh
Hello All,

I have been experimenting with the custom API subscription approval process
using the BPS 3.2.0 and the instructions provided along with the
business-processes packaged with in the API Manager 1.8.0. 

I am wondering if there is a way to create a non-admin role with permissions
to just access the admin-dashboard application. A simple use case for it
would be the need for an API owner (who is not an admin) to approve the
human tasks created by the subscription and user signup flows.



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/API-Manager-1-8-0-Access-to-admin-dashboard-application-tp113583.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ANNOUNCE] WSO2 Carbon Metrics 1.0.0 Released!

2015-03-03 Thread Isuru Perera
Hi,

There are no documentation and samples yet. But I have included some
details in README on using this library.

With regarding to how Metrics work, you can refer the user manual of
Metrics library [1].

WSO2 MB team is now using this library. You can also see how they are using
the WSO2 Carbon Metrics library.

In WSO2 Carbon Metrics, we wanted to wrap metrics APIs and have some level
of abstraction.

We also wrapped APIs to have following requirements.

   - Enable/disable functionality.
   - Have different levels for each metric. (Similar to log4j)
   - Use of single MetricRegistry.
   - Configuring multiple reporters. We have JMX, JDBC and CSV reporters.
   (Reporting to BAM is not yet available)

These details are in the architecture discussion [2].

Thank you.

Best Regards,
[1] https://dropwizard.github.io/metrics/3.1.0/manual/
[2] http://markmail.org/message/akqyreopmxhcd6hx



On Wed, Mar 4, 2015 at 9:20 AM, Chanaka Fernando chana...@wso2.com wrote:

 Hi Isuru,

 Great to hear about this. Is there any documentation or samples which
 describes how we can use this component?

 Thanks,
 Chanaka

 On Wed, Mar 4, 2015 at 9:16 AM, Isuru Perera isu...@wso2.com wrote:

 Hi all,

 We are pleased to announce the first release of WSO2 Carbon Metrics
 (version 1.0.0) [1].

 WSO2 Carbon Metrics components provide APIs for Carbon Components to use
 the popular Metrics library [2].

 You can find more details from the README [3].

 If you have any questions/feedback, please contact us via our developer
 mailing list [4].

 [1] https://github.com/wso2/carbon-metrics
 [2] https://dropwizard.github.io/metrics/3.1.0/
 [3] https://github.com/wso2/carbon-metrics/blob/v1.0.0/README.md
 [4] http://wso2.com/mail/

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha

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




 --
 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com






-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Supporting multiple server urls to be printed in server startup console

2015-03-03 Thread Dinusha Senanayaka
Hi,

In App Manager  (also in API Manager), we are using 3 jaggery apps, store,
publisher and admin-dashboard. We need to to print the url's for all these
3 apps in the server startup console. Currently we have only Store,
Publisher urls being printed.

[2015-03-03 01:01:00,779]  INFO - CarbonUIServiceComponent Mgt Console URL
: https://204.13.82.212:9443/carbon/
[2015-03-03 01:01:00,780]  INFO - CarbonUIServiceComponent *APP Publisher
Default Context : http://204.13.82.212:9763/publisher
http://204.13.82.212:9763/publisher*
[2015-03-03 01:01:00,780]  INFO - CarbonUIServiceComponent

*APP Store Default Context : http://204.13.82.212:9763/store
http://204.13.82.212:9763/store*

We tried adding new context to the component.xml of product-style bundle.
But seems org.wso2.carbon.ui bundle supports only two additional contexts
to be defined in the component.xml (namely default-context and
default-additional-context) other than the /carbon mgt-console context.

Bellow is the carbon.ui code segment use to construct and print those
server urls.

if (reference != null) {
carbonUIDefinitions =
(CarbonUIDefinitions) ctxt.getBundleContext().
getService(reference);
if (carbonUIDefinitions != null) {
if
(carbonUIDefinitions.getContexts().containsKey(default-context)) {
defaultContext =
carbonUIDefinitions.getContexts().get(default-context);
}if
(carbonUIDefinitions.getContexts().containsKey(default-additional-context))
{
defaultAdditionalContext =
carbonUIDefinitions.getContexts().get(default-additional-context);
}

}
}

...
Then process defaultContext and defaultAdditionalContext.

For App Manager-1.0.0 release we could go ahead with only store/publisher
urls since we need to introduce a new kernel patch to 4.2.0, if we are
going to fix this. Is there any reason to restrict into two additional
contexts ? Or if it is a limitation in current implement, can we fix it for
future kernel release ?

Regards,
Dinusha.


-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-03 Thread Nirmal Fernando
Thanks, will send you an invite after discussing with others.

On Wed, Mar 4, 2015 at 8:56 AM, Malintha Fernando malinth...@gmail.com
wrote:

 Hi Nirmal,

 Thank you for the prompt response. I am more than happy to make a
 face2face meeting and will be available on Today afternoon, tomorrow and
 Friday morning. Please let me know at your convenience.

 Thank you,

 On Wed, Mar 4, 2015 at 8:46 AM, Nirmal Fernando nir...@wso2.com wrote:

 Hi Malintha,

 Thanks for your interest on the project. We already had a discussion with
 another student (unfortunately, it appeared he's not eligible to
 participate in GSoC) at
 http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results

 If you are available, you could also arrange a face2face discussion with
 us at WSO2 premises.

 On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando malinth...@gmail.com
 wrote:

 Hi,

 I am Malintha Fernando, an undergraduate from University of Moratuwa,
 Faculty of Information Technology and I have worked as an intern at WSO2
 last year.

 I am interested in applying to GSoC project Deep Learning for WSO2
 Machine Learner as mentioned on the ideas page. Are there any
 documentations that I can follow to ease the gauge and to know more about
 workflow and writing extensions to machine learner?

 ​Thanks in advance,​

 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog http://blog.malintha.org | LinkedIn
 http://lk.linkedin.com/in/malinthafernando | Twitter
 https://twitter.com/MarlioMe | AboutMe
 http://about.me/malinthafernando




 --

 Thanks  regards,
 Nirmal

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





 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog http://blog.malintha.org | LinkedIn
 http://lk.linkedin.com/in/malinthafernando | Twitter
 https://twitter.com/MarlioMe | AboutMe
 http://about.me/malinthafernando




-- 

Thanks  regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Automation] Please merge pull request #45 for carbon-platform-integration

2015-03-03 Thread Suhan Dharmasuriya
Hi,

Please merge [1] for [2], [3].

[1] https://github.com/wso2/carbon-platform-integration/pull/45
[2] subject: Deployment Automation Progress Update
[3] subject: GIT repo for deployment automation

Thanks,
Suhan

-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT mosquitto broker project - IoT - GSoC 2015

2015-03-03 Thread Pamod Sylvester
Hi Yasith,

Could you give more insight of the project ? i.e the message flows, levels
of reliability expected etc

Thanks,
Pamod

On Wed, Mar 4, 2015 at 9:31 AM, Srinath Perera srin...@wso2.com wrote:

 please take this forward

 On Tue, Mar 3, 2015 at 10:54 AM, Yasith Lokuge yasi...@gmail.com wrote:

 Hi,

 I'm a student of University of Colombo School of Computing and my
 research area is based on Internet of Things / Wireless adhoc and sensor
 networks. I'm currently planning to implement a sensor data
 sharing social platform with the use of MQTT protocol and Mosquitto broker.
 It is quite similar to a facebook for Internet of Things. And I'd like to
 apply for GSoC 2015. It would be great if someone in the WSO2 can further
 discuss about the above project.

 --
 *Regards,*
 *Yasith Kanchana Lokuge*




 --
 
 Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
 Site: http://people.apache.org/~hemapani/
 Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902




-- 
*Pamod Sylvester *
 *Senior Software Engineer *
Integration Technologies Team, WSO2 Inc.; http://wso2.com
email: pa...@wso2.com cell: +94 77 7779495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MQTT mosquitto broker project - IoT - GSoC 2015

2015-03-03 Thread Srinath Perera
please take this forward

On Tue, Mar 3, 2015 at 10:54 AM, Yasith Lokuge yasi...@gmail.com wrote:

 Hi,

 I'm a student of University of Colombo School of Computing and my research
 area is based on Internet of Things / Wireless adhoc and sensor networks.
 I'm currently planning to implement a sensor data sharing social platform
 with the use of MQTT protocol and Mosquitto broker. It is quite similar to
 a facebook for Internet of Things. And I'd like to apply for GSoC 2015. It
 would be great if someone in the WSO2 can further discuss about the above
 project.

 --
 *Regards,*
 *Yasith Kanchana Lokuge*




-- 

Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
Site: http://people.apache.org/~hemapani/
Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CoAP and MQTT support for ESB

2015-03-03 Thread Eranda Rajapakshe
hi Yasith,

We have created MQTT Inbound Endpoint and MQTT Connector for the WSO2 ESB.
Source code is yet to be merged, hopefully it will be done soon. So if you
have any new ideas, please feel free to contribute.

Thank you!

On Tue, Mar 3, 2015 at 12:14 PM, Yasith Lokuge yasi...@gmail.com wrote:

 Hi,

 I would like to contribute in adding MQTT and CoAP support for the ESB.
 With the emerging IoT devices and technologies, I guess adding those
 protocols might be useful for the future of ESB.

 --
 *Regards,*
 *Yasith Kanchana Lokuge*

 *University of Colombo School of Computing**| UCSC*
 *Microsoft Student Ambassador *
 *Student Member IEEE*
 *Junior Inventor of the Year 2007*

 website: http://www.techsurgeinnovations.com/
 facebook : https://www.facebook.com/yasithlokuge
 linkedin   : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/
 Mobile : +94771353682
 Skype  : yasith11
 Twitter: @YasithLokuge

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




-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cross database pagination

2015-03-03 Thread Sajith Ariyarathna
IMO, I don't think you can have an universal solution. Paging is not
included as a standard feature in SQL specifications (see SQL
standardization http://en.wikipedia.org/wiki/SQL#Standardization). Hence,
pagination is an extension for DBMS. So different vendors have implemented
it in different manners. Therefore you cannot have an universal solution.
You have to tackle different DBMS manually.

Even though you cannot have RDBMS universal solution, you can use JPA and
it will handle different DBMS for you. E.g.
   Query q = ...;
   q.setFirstResult (0);

  q.setMaxResults (10);





On Mon, Mar 2, 2015 at 8:31 AM, Dulitha Wijewantha duli...@wso2.com wrote:

 Hi guys,
 I am working on creating a device listing API that supports pagination. In
 the SQL world, LIMIT and OFFSET seems to be the standard way of doing
 pagination in MySQL and PostgreSQL. Below is an example,

 SELECT Device.id, Device.name FROM Device
 LIMIT 10 OFFSET 10


 But Oracle seems to be using rownum. What's the recommended approach in
 doing this?

 Cheers~

 --
 Dulitha Wijewantha (Chan)
 Software Engineer - Mobile Development
 WSO2 Inc
 Lean.Enterprise.Middleware
  * ~Email   duli...@wso2.com duli...@wso2mobile.com*
 *  ~Mobile +94712112165 %2B94712112165*
 *  ~Website   dulitha.me http://dulitha.me*
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*
   *~Github @dulichan https://github.com/dulichan*
   *~SO @chan http://stackoverflow.com/users/813471/chan*

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




-- 
Sajith Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
mobile: +94 77 6602284, +94 71 3951048
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ANNOUNCE] WSO2 Carbon Metrics 1.0.0 Released!

2015-03-03 Thread Isuru Perera
Hi all,

We are pleased to announce the first release of WSO2 Carbon Metrics
(version 1.0.0) [1].

WSO2 Carbon Metrics components provide APIs for Carbon Components to use
the popular Metrics library [2].

You can find more details from the README [3].

If you have any questions/feedback, please contact us via our developer
mailing list [4].

[1] https://github.com/wso2/carbon-metrics
[2] https://dropwizard.github.io/metrics/3.1.0/
[3] https://github.com/wso2/carbon-metrics/blob/v1.0.0/README.md
[4] http://wso2.com/mail/

-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Supporting blocking calls in Call mediator

2015-03-03 Thread Kathees Rajendram
Hi Isuru,

Ok, I will test the scenarios for security use cases.

Thanks,
Kathees

On Tue, Mar 3, 2015 at 8:57 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 Please include test scenarios for Security use cases as well.

 Thank you.

 On Tue, Mar 3, 2015 at 12:05 PM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 I have tested the core functionality of blocking and non blocking. Please
 find the test plan and some test results.



 Test No

 Test

 Configuration

 Expected result

 Observed results

 Status

 Functional Testing





 1

 Direct endpoint without blocking


 call blocking=”false”endpoint name=StockQuoteService

address uri=
 http://localhost:9000/services/SimpleStockQuoteService;
 http://localhost:9000/services/SimpleStockQuoteService/

/endpoint

 call

 Receive response

 Received response

 Passed

 2

 Direct endpoint with blocking

 call blocking=”true”endpoint name=StockQuoteService

address uri=
 http://localhost:9000/services/SimpleStockQuoteService;
 http://localhost:9000/services/SimpleStockQuoteService/

/endpoint

 call

 Receive response

 Received response

 Passed

 3

 Indirect endpoint without blocking

 call blocking=”false” endpoint key=StockQuoteService/

/call

 Receive response

 Received response

 Passed

 4

 Indirect endpoint with blocking

 call blocking=”true” endpoint key=StockQuoteService/

/call

 Receive response

 Received response

 Passed

 5

 Test blocking external service invocation during mediation.



 Pending

 6

 Test non blocking when external service invocates during mediation.



 Pending

 7

 Handle mutual SSL when blocking is true

 Add the following configuration to ESB_HOME/bin/wso2server.sh

 -Djavax.net.ssl.keyStore=$CARBON_HOME/repository/resources/security/wso2carbon.jks
 \

 -Djavax.net.ssl.keyStorePassword=wso2carbon \

 -Djavax.net.ssl.keyPassword=wso2carbon \


 Pending

 8

 Test with other  endpoints

- Address Endpoint
- Default Endpoint
- Failover Group
- HTTP Endpoint
- Load Balance Endpoint
- Recipient List Group
- Template Endpoint
- WSDL Endpoint

 call blocking=”false” endpoint key=StockQuoteService/

/call




 Pending

 UI Testing





 Pending

 8

 Select None endpoint



 Pending

 9

 Define the call mediator through the inline



 Pending

 10

 Pick the endpoint path from the Registry



 Pending

 11

 Specify the endpoint from Xpath



 Pending

 12

 Add the configuration through the source view



 Pending

 13

 Add the configuration through the design view



 Pending

 12

 Switch to source view from design view



 Pending

 13

 Switch to design view from source view



 Pending

 Thanks,
 Kathees

 On Tue, Mar 3, 2015 at 8:56 AM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 I believe you are conducting developer testing for newly implemented
 functionality.
 Could you please share the test plan with us.

 Thank you.

 On Fri, Feb 27, 2015 at 9:36 AM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 I will additionally add the following section for blocking
 functionality in call mediator.



 Thanks
 Kathees
 ​

 On Thu, Feb 26, 2015 at 10:48 AM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 I have implemented the blocking functionality in call mediator.

 Please find the pull request [1] for wso2-synapse

 [1] - https://github.com/wso2/wso2-synapse/pull/93

 Thanks,
 Kathees

 On Wed, Feb 25, 2015 at 5:06 PM, Kathees Rajendram kath...@wso2.com
 wrote:

 Hi Isuru,

 Endpoint with key is not handled in BlockingSender.I will introduce
 the changes in BlockingSender.

 Thanks,
 kathees

 On Wed, Feb 25, 2015 at 4:26 PM, Isuru Udana isu...@wso2.com wrote:

 Hi Kathees,

 If you find this not working, please introduce this change to the
 BlockingMsgSender but not the Call Mediator. So that all the components
 using BlockingMsgSender will inherit this.

 Thanks.


 On Wed, Feb 25, 2015 at 4:14 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi Kathees,

 On Tue, Feb 24, 2015 at 4:00 PM, Kathees Rajendram 
 kath...@wso2.com wrote:

 Hi Isuru,

 The blocking is working in the following synapse configuration.

 call blocking=true
 endpoint name=StockQuoteService
address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
 /endpoint
  /call

 but I want to add the blocking in the following configuration
 also, as it is in call mediator.

 call blocking=true
endpoint key=StockQuoteService/
  /call

 I do not think you need to explicitly handle this. AFAIR
 BlockingMsgSender handles the IndirectEndpoint so no extra work needed.


 Thanks.



 endpoint name=StockQuoteService
address uri=
 http://localhost:9000/services/SimpleStockQuoteService/
  /endpoint


 Thanks,
 Kathees


 On Tue, Feb 24, 2015 at 3:14 PM, Isuru Udana isu...@wso2.com
 wrote:

 Hi Kathees,



 On Tue, Feb 24, 2015 at 3:06 PM, Kathees 

Re: [Dev] Carbon Kernel commits required to patch0010

2015-03-03 Thread Chandana Napagoda
Thanks Manoj,

Regards,
Chandana

On Tue, Mar 3, 2015 at 8:33 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Chandana,

 Committed with r211734. Please send the pull request as well.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Mar 3, 2015 at 4:57 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 Hi Manoj,

 Please apply the patch attached to below JIRA [1].

 [1] https://wso2.org/jira/browse/REGISTRY-2391

 Regards,
 Chandana

 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299
 %2B94718169299*

 *Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*





-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC Project - Deep Learning for WSO2 Machine Learner

2015-03-03 Thread Nirmal Fernando
Hi Malintha,

Thanks for your interest on the project. We already had a discussion with
another student (unfortunately, it appeared he's not eligible to
participate in GSoC) at
http://wso2.markmail.org/search/list:org.wso2.dev#query:list%3Aorg.wso2.dev%20from%3A%22Nirmal%20Fernando%22+page:1+mid:3brcf5pex7zdcitm+state:results

If you are available, you could also arrange a face2face discussion with us
at WSO2 premises.

On Wed, Mar 4, 2015 at 8:34 AM, Malintha Fernando malinth...@gmail.com
wrote:

 Hi,

 I am Malintha Fernando, an undergraduate from University of Moratuwa,
 Faculty of Information Technology and I have worked as an intern at WSO2
 last year.

 I am interested in applying to GSoC project Deep Learning for WSO2
 Machine Learner as mentioned on the ideas page. Are there any
 documentations that I can follow to ease the gauge and to know more about
 workflow and writing extensions to machine learner?

 ​Thanks in advance,​

 --
 Malintha Fernando
 IEEE Sectional Student Representative (MIE 92428359)
 Undergraduate, Faculty of Information Technology,
 University of Moratuwa
 Blog http://blog.malintha.org | LinkedIn
 http://lk.linkedin.com/in/malinthafernando | Twitter
 https://twitter.com/MarlioMe | AboutMe
 http://about.me/malinthafernando




-- 

Thanks  regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ANNOUNCE] WSO2 Carbon Metrics 1.0.0 Released!

2015-03-03 Thread Chanaka Fernando
Hi Isuru,

Great to hear about this. Is there any documentation or samples which
describes how we can use this component?

Thanks,
Chanaka

On Wed, Mar 4, 2015 at 9:16 AM, Isuru Perera isu...@wso2.com wrote:

 Hi all,

 We are pleased to announce the first release of WSO2 Carbon Metrics
 (version 1.0.0) [1].

 WSO2 Carbon Metrics components provide APIs for Carbon Components to use
 the popular Metrics library [2].

 You can find more details from the README [3].

 If you have any questions/feedback, please contact us via our developer
 mailing list [4].

 [1] https://github.com/wso2/carbon-metrics
 [2] https://dropwizard.github.io/metrics/3.1.0/
 [3] https://github.com/wso2/carbon-metrics/blob/v1.0.0/README.md
 [4] http://wso2.com/mail/

 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 about.me/chrishantha

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




-- 
--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Chalitha Kulathunga
Hi,

When I run axis2 server after configuring the axis2.xml file as described
in (ESB 4.8.1) sample 57, I get the following error in the server. Could
someone help me out to resolve this.

Thanks

*SEVERE: Unable to join multicast group, make sure your system has
multicasting enabled.*

*15/03/03 14:45:51 ERROR tribes.TribesClusteringAgent: Error starting
Tribes channel*

*org.apache.catalina.tribes.ChannelException: java.net.SocketException:
Can't assign requested address; No faulty members identified.*

at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

at
org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)

at
org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:303)

at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

Caused by: java.net.SocketException: Can't assign requested address

at java.net.PlainDatagramSocketImpl.join(Native Method)

at
java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)

at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)

at
org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254)

at
org.apache.catalina.tribes.membership.McastService.start(McastService.java:447)

at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:163)

... 13 more

15/03/03 14:45:51 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
Shutting down. Error starting SimpleAxisServer

org.apache.axis2.clustering.ClusteringFault: Error starting Tribes channel

at
org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:312)

at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

Caused by: org.apache.catalina.tribes.ChannelException:
java.net.SocketException: Can't assign requested address; No faulty members
identified.

at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

at
org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

at
org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)

at
org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:303)

... 3 more

Caused by: java.net.SocketException: Can't assign requested address

at java.net.PlainDatagramSocketImpl.join(Native Method)

at
java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)

at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)

at
org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254)

at
org.apache.catalina.tribes.membership.McastService.start(McastService.java:447)

at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:163)

... 13 more


-- 
*Chalitha Sanyuja Kulathunga*
*Software Engineer*
WSO2 Inc.; http://wso2.com
email: chalit...@wso2.com cell: +94 77 5927581 %2B94%2077%207779495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Milan Perera
Hi Maheeka,

​I have also checked my configuration file in ESB and as you mentioned, it
uses Hazelcast clustering. But when I check the axis sample server which
comes under ESB samples, it has Tribes as the clustering agent. However
without changing clustering type to Hazelcast in axis2.xml, I was able to
up and run the sample axis server.

For the educational purpose, then I changed it to Hazelcast clustering as
you mentioned, I got the following error.

INFO: [127.0.0.1]:4000 [apache.axis2.application.domain]
Address[127.0.0.1]:4000 is STARTED
15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Hazelcast
initialized in 7136ms
15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Local member:
[8f395038-748e-4e91-a26a-e692792b32d3] - Host:127.0.0.1, Remote Host:null,
Port: 4000, HTTP:9000, HTTPS:9002, Domain: apache.axis2.application.domain,
Sub-domain:null, Active:true
15/03/03 15:47:59 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
Shutting down. Error starting SimpleAxisServer
java.lang.*NullPointerException*
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:229)
at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)
at
samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)


-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon 4.2.0- patch0010 Registry Core test failures due to user code changes

2015-03-03 Thread Chandana Napagoda
Thanks Johan, It's working now.

Regards,
Chandana

On Tue, Mar 3, 2015 at 1:42 PM, Johann Nallathamby joh...@wso2.com wrote:

 We did complete code reformatting for user.core because every time IS
 member gives a patch there are code formatting issues due to existing code.
 So I completely reformatted the user.core code. This caused test failure.

 Couldn't revert it immediately because there was a pending diff to be
 applied on the formatted code which was quite large. So had to apply the
 diff and then fix the tests.

 Thanks.

 On Mon, Mar 2, 2015 at 5:54 PM, Sameera Jayasoma same...@wso2.com wrote:

 What is the commit? Who has broken the build?

 Thanks,
 Sameera.

 On Mon, Mar 2, 2015 at 5:51 PM, Chandana Napagoda chand...@wso2.com
 wrote:

 Hi IS Team,

 We have noticed Carbon 4.2.0 kernel patch0010 Registry Core has 3 test
 failures due to recent user core changes (r211611). We (Manoj and I) have
 verified it with/without user core changes and these test failures are only
 noticeable with mentioned user core changes.

 Can you guys please have a look?

 Regards,
 Chandana
 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299
 %2B94718169299*

 *Blog  :http://cnapagoda.blogspot.com
 http://cnapagoda.blogspot.com*




 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Harsha Kumara
It seems there is a incompatibility issue when ESB moved from Tribes
clustering to Hazelcast clustering on executing this sample in ESB 4.8.0
upwords. According to [1] and [2] discussions it worked fine with ESB
4.7.0.

Issue suggest, address can't be assign. May be you can keep 127.0.0.1
without changing it to your machine IP and try.

[1] -
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-WSO2-WSB-Sample-57-Dynamic-load-balancing-between-3-nodes-Missing-LoadBalanceEventHandler-td89942.html
[2] -
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html

On Tue, Mar 3, 2015 at 4:58 PM, Milan Perera mi...@wso2.com wrote:

 Hi Maheeka,

 ​I have also checked my configuration file in ESB and as you mentioned, it
 uses Hazelcast clustering. But when I check the axis sample server which
 comes under ESB samples, it has Tribes as the clustering agent. However
 without changing clustering type to Hazelcast in axis2.xml, I was able to
 up and run the sample axis server.

 For the educational purpose, then I changed it to Hazelcast clustering as
 you mentioned, I got the following error.

 INFO: [127.0.0.1]:4000 [apache.axis2.application.domain]
 Address[127.0.0.1]:4000 is STARTED
 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Hazelcast
 initialized in 7136ms
 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Local member:
 [8f395038-748e-4e91-a26a-e692792b32d3] - Host:127.0.0.1, Remote Host:null,
 Port: 4000, HTTP:9000, HTTPS:9002, Domain: apache.axis2.application.domain,
 Sub-domain:null, Active:true
 15/03/03 15:47:59 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
 Shutting down. Error starting SimpleAxisServer
 java.lang.*NullPointerException*
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:229)
 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)
 at
 samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)


 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware

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




-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSoC-2015] Proposal2 : Siddhi Editor for WSO2 CEP

2015-03-03 Thread Tharindu Munasinghe
Hi,

 I am Tharindu Munasinghe , an undergraduate from Department of Computer
Science and Engineering, University of Moratuwa .Currently I am an intern
at WSO2.

I went through the GSoC proposal list and interested in proposal [1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
and
looking forward to contribute . I am already familiar with WSO2 CEP and
Siddhi while working on my  fast track training project.

Please let me know if we could have a discussion on $subject.

[1] Siddhi Editor for WSO2 CEP
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal2:SiddhiEditorforWSO2CEP

-- 
*Tharindu Munasinghe*
Software Engineering Intern
WSO2 Inc.(http://wso2.com)
SRI LANKA

Mobile: +94 77460887
E-Mail:  tharin...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Chalitha Kulathunga
Hi,

@Maheeka,

The axis2.xml file in the samples does not have a clustering
class=org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent
enable=true
element. I had changed the file in the
ESB_HOME/repository/conf/axis2/axis2.xmllocation as described in the
documentation. This occurs when starting the axis2 server, not when a
client sends a request.


Thanks

On Tue, Mar 3, 2015 at 3:07 PM, Maheeka Jayasuriya mahe...@wso2.com wrote:

 Hi Chalitha,

 Please check whether you have enabled clustering and group management as
 following :

 clustering
 class=org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent
 enable=true

 groupManagement enable=true ..


 ESB 4.8.1 uses Hazelcast for clustering, not Tribes.



 Thanks,

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 On Tue, Mar 3, 2015 at 2:56 PM, Chalitha Kulathunga chalit...@wso2.com
 wrote:

 Hi,

 When I run axis2 server after configuring the axis2.xml file as described
 in (ESB 4.8.1) sample 57, I get the following error in the server. Could
 someone help me out to resolve this.

 Thanks

 *SEVERE: Unable to join multicast group, make sure your system has
 multicasting enabled.*

 *15/03/03 14:45:51 ERROR tribes.TribesClusteringAgent: Error starting
 Tribes channel*

 *org.apache.catalina.tribes.ChannelException: java.net.SocketException:
 Can't assign requested address; No faulty members identified.*

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:419)

 at
 org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:303)

 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

 at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

 Caused by: java.net.SocketException: Can't assign requested address

 at java.net.PlainDatagramSocketImpl.join(Native Method)

 at
 java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)

 at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)

 at
 org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:254)

 at
 org.apache.catalina.tribes.membership.McastService.start(McastService.java:447)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:163)

 ... 13 more

 15/03/03 14:45:51 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
 Shutting down. Error starting SimpleAxisServer

 org.apache.axis2.clustering.ClusteringFault: Error starting Tribes channel

 at
 org.apache.axis2.clustering.tribes.TribesClusteringAgent.init(TribesClusteringAgent.java:312)

 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)

 at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)

 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)

 Caused by: org.apache.catalina.tribes.ChannelException:
 java.net.SocketException: Can't assign requested address; No faulty members
 identified.

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:178)

 at
 org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:99)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.start(NonBlockingCoordinator.java:461)

 at
 org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:162)

 at
 

[Dev] Carbon Kernel commits required to patch0010

2015-03-03 Thread Chandana Napagoda
Hi Manoj,

Please apply the patch attached to below JIRA [1].

[1] https://wso2.org/jira/browse/REGISTRY-2391

Regards,
Chandana

-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com chand...@wso2.com**Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request to commit the patch IDENTITY-2915

2015-03-03 Thread Godwin Amila Shrimal
Hi Kishanthan,

I moved jira [1] to carbon team as per the discussion had with mail thread
[2]. Can you please commit this to Carbon 4.4.0 ?

[1] https://wso2.org/jira/browse/IDENTITY-2915
[2] [Dev] Tenant creation issue with Active Directory


Thanks
Godwin




On Mon, Dec 8, 2014 at 5:03 PM, Kishanthan Thangarajah kishant...@wso2.com
wrote:

 Applied to patch0010. Pull will be merged.

 On Mon, Dec 8, 2014 at 3:15 PM, Johann Nallathamby joh...@wso2.com
 wrote:

 Reviewed.

 Thanks,
 Johann.

 On Thu, Dec 4, 2014 at 4:23 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 IS Team,

 Can you review this fix?


 On Thu, Dec 4, 2014 at 2:26 PM, Godwin Amila Shrimal god...@wso2.com
 wrote:

 Hi Kishanthan,

 As per the discussion had with you, I removed @Deprecated and attached
 the diff to jira, will send the pull request with @Deprecated.


 Thanks
 Godwin




 On Thu, Dec 4, 2014 at 2:07 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:

 What is the reason to deprecate these two methods? We don't deprecate
 API's when patching.

 +@Deprecated
  protected String createAdminEntry(String dnOfUserContext, Tenant
 tenant,
DirContext initialDirContext)
  throws UserStoreException {
 @@ -394,6 +397,7 @@
  return userDN;
  }

 +@Deprecated
  protected void createAdminGroup(String dnOfGroupContext, String
 adminUserDN,
  DirContext initialDirContext)
  throws UserStoreException {

 On Wed, Dec 3, 2014 at 12:53 PM, Godwin Amila Shrimal god...@wso2.com
  wrote:

 Hi Carbon Team,

 Please commit the diff attached with [1]


 [1] - https://wso2.org/jira/browse/IDENTITY-2915


 Thanks
 Godwin


 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila

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




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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




 --
 *Godwin Amila Shrimal*
 Senior Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
 twitter: https://twitter.com/godwinamila




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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




 --
 Thanks  Regards,

 *Johann Dilantha Nallathamby*
 Associate Technical Lead  Product Lead of WSO2 Identity Server
 Integration Technologies Team
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - *+9476950*
 Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*




 --
 *Kishanthan Thangarajah*
 Senior Software Engineer,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

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




-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] AxisService service group name issue

2015-03-03 Thread Godwin Amila Shrimal
Hi

There is an AxisObserver which observe service updates and do some registry
operations. When product start if we get service group name it shows
as *org.wso2.carbon.sts-4.3.4.SNAPSHOT,
*same service shows as *org.wso2.carbon.sts *when tenant loads. Any reason
to show name in different format when product start and tenant load ?

I used following code snippet to get the group name of AxisService.

axisService.getAxisServiceGroup().getServiceGroupName()


Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.8.1 Sample 57 - Unable to start Axis2 server

2015-03-03 Thread Maheeka Jayasuriya
Apologies. I mistook as the configuration mentioned was for ESB. Went
through a few mailing threads on the same, and this seems to be an
incompatibility issue among Hazelcast and Tribes in synapse and axis2.


Thanks,

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Tue, Mar 3, 2015 at 5:12 PM, Harsha Kumara hars...@wso2.com wrote:

 It seems there is a incompatibility issue when ESB moved from Tribes
 clustering to Hazelcast clustering on executing this sample in ESB 4.8.0
 upwords. According to [1] and [2] discussions it worked fine with ESB
 4.7.0.

 Issue suggest, address can't be assign. May be you can keep 127.0.0.1
 without changing it to your machine IP and try.

 [1] -
 http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-WSO2-WSB-Sample-57-Dynamic-load-balancing-between-3-nodes-Missing-LoadBalanceEventHandler-td89942.html
 [2] -
 http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html

 On Tue, Mar 3, 2015 at 4:58 PM, Milan Perera mi...@wso2.com wrote:

 Hi Maheeka,

 ​I have also checked my configuration file in ESB and as you mentioned,
 it uses Hazelcast clustering. But when I check the axis sample server which
 comes under ESB samples, it has Tribes as the clustering agent. However
 without changing clustering type to Hazelcast in axis2.xml, I was able to
 up and run the sample axis server.

 For the educational purpose, then I changed it to Hazelcast clustering as
 you mentioned, I got the following error.

 INFO: [127.0.0.1]:4000 [apache.axis2.application.domain]
 Address[127.0.0.1]:4000 is STARTED
 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Hazelcast
 initialized in 7136ms
 15/03/03 15:47:59 INFO hazelcast.HazelcastClusteringAgent: Local member:
 [8f395038-748e-4e91-a26a-e692792b32d3] - Host:127.0.0.1, Remote Host:null,
 Port: 4000, HTTP:9000, HTTPS:9002, Domain: apache.axis2.application.domain,
 Sub-domain:null, Active:true
 15/03/03 15:47:59 FATAL util.SampleAxis2ServerManager: [SimpleAxisServer]
 Shutting down. Error starting SimpleAxisServer
 java.lang.*NullPointerException*
 at
 org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent.init(HazelcastClusteringAgent.java:229)
 at
 samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:106)
 at
 samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
 at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)


 --
 Milan Harindu Perera
 Software Engineer
 *WSO2, Inc*
 (+94) 77 309 7088
 lean . enterprise . middleware

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

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


[Dev] [GSoC-2015] Proposal 3: ESB - Netty transport enhancements

2015-03-03 Thread Achintha Reemal
Hi,

I am Achintha Reemal, an Undergraduate from Department of Computer Science
and Engineering, University of Moratuwa. I'm currently working as an Intern
at WSO2.

I am interested in the following proposal [1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal7:User-ManagedAccess%28UMA%29ProfileforOAuth2
and
look forward to contribute for its development.

[1]
https://docs.wso2.com/display/GSoC/Project+Proposals+for+2015#ProjectProposalsfor2015-Proposal3:ESB-Nettytransportenhancements

Regards,
-- 
*G.H.Achintha Reemal*
*BSc Eng Undergraduate| Department of Computer Science  Engineering |
University of Moratuwa*
*Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.*
*Blog|** rimmythepaperclip.blogspot.com
http://rimmythepaperclip.blogspot.com*
*Twitter|* @rimmynuts(A.Reemal)
*LinkedIn|* lk.linkedin.com/in/achinthareemal/
*Mobile| *0715471301
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] Build id is displayed but there is not deployment id information for Jaggery applications

2015-03-03 Thread Danushka Fernando
Oops
Sorry I misread above mail. :D. For non buildable (as I mentioned it's in
the apptype definition) if we are not showing build button we should not
show the build no as well. And for deployed build ID we can show something
else.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Tue, Mar 3, 2015 at 2:08 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi Danushka,

 This is only for the non buildable application type artifacts. We can
 continue to show the build id for the buildable application artifacts.
 Hence the consistency issue.

 Regards
 Gayan

 On Tue, Mar 3, 2015 at 1:59 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Gayan
 IMO its something nice to have. But with that there could be more
 complexities about what to show to user since we are showing which build id
 is deployed. On the other hand we could always increase build id in DB if
 build system doesn't give it.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Tue, Mar 3, 2015 at 1:52 PM, Gayan Dhanushka gay...@wso2.com wrote:

 Hi all,

 Suppose we move away from the Jenkins freestyle builds that we are
 triggering currently. Then we will not have a build number anyway. In that
 case we need to have an alternative approach. One would be to show the last
 deployed time since we already have that information in the AF_DEPLOY table
 in the runtime database.

 Then again this would affect the consistency of the user experience.

 WDYT ?

 Regards
 Gayan

 On Fri, Feb 27, 2015 at 8:25 PM, Gayan Dhanushka gay...@wso2.com
 wrote:

 Hi Danushka,

 There is an attribute already called isBuildable. As I noticed the
 deployment information is now shown for non buildable application types but
 we are showing the build id (build id generated from the free style jenkins
 build). IMO this is incorrect since the build id would mislead the user. So
 I am +1 for having something like Manisha has mentioned.

 WDYT?

 Regards
 Gayan

 On Fri, Feb 27, 2015 at 6:58 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi Gayan
 IMO we should have some configuration like buildable (AFAIR we already
 have this) in apptype and according to that we should draw the build
 section.

 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

 On Fri, Feb 27, 2015 at 4:34 PM, Gayan Dhanushka gay...@wso2.com
 wrote:

 Hi all,

 I am working on [1] and the I got some things to clarify. For
 apptypes with the build having a meaning (java web app, jaxrs, jaxws) we
 show a last build id,status and last deployed build id on the UI. But for
 jaggery applications in which we do not trigger an actual build, it does
 not make much sense to show the last build id (currently there is no wall
 message for a jaggery build as well). Showing the Build ${id} Deployed 
 is
 also misleading. But when a user does some change in the application and
 commit it there should be some kind of a message for the user to 
 understand
 whether his changes are there in the currently deployed version of the
 application as well.

 What would be the appropriate thing to do in here?

 [1] https://wso2.org/jira/browse/APPFAC-2978

 Regards
 Gayan

 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd

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





 --
 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd




 --
 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd





 --
 Gayan Dhanuska
 Software Engineer
 http://wso2.com/
 Lean Enterprise Middleware

 Mobile
 071 666 2327

 Office
 Tel   : 94 11 214 5345
 Fax  : 94 11 214 5300

 Twitter : https://twitter.com/gayanlggd

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