Re: [Dev] Fixing Shutdown Errors WSO2 MB.

2014-05-03 Thread Hasitha Hiranya
Hi,

Prabath is looking into the issue. Prabath, were you able to find out the
reason why client transports are closed for Cassandra? Can you shed some
light on this?

Thanks


On Fri, May 2, 2014 at 11:19 AM, Hasitha Hiranya  wrote:

> Looping in PrabathA.
>
>
> On Fri, May 2, 2014 at 11:18 AM, Hasitha Hiranya wrote:
>
>> Hi Shameera,
>>
>> Good catch.
>>
>> [2014-05-02 10:12:19,015]  INFO {org.wso2.carbon.core.ServerManagement} -
>>  Stopped all transport listeners
>> [2014-05-02 10:12:19,015]  INFO {org.wso2.carbon.core.ServerManagement} -
>>  Waiting for request service completion...
>> [2014-05-02 10:12:19,019]  INFO {org.wso2.carbon.core.ServerManagement} -
>>  All requests have been served.
>> [2014-05-02 10:12:19,019]  INFO {org.wso2.carbon.core.ServerManagement} -
>>  Waiting for deployment completion...
>>  [2014-05-02 10:12:19,021]  INFO {org.apache.cassandra.transport.Server}
>> -  Stop listening for CQL clients
>>
>> What happens when all transport listeners are stopped?
>> Stop listening for CQL clients means cassandra will no longer will accept
>> requests from a cql client. Most probably same goes with Hector (Thrift)
>> also. That might cause these issues.
>>
>> Thanks
>>
>>
>> On Fri, May 2, 2014 at 11:12 AM, Shameera Rathnayaka 
>> wrote:
>>
>>> Hi HasithaH,
>>>
>>> In the  shutdown logs i could see following line, before start andes
>>> deactivation,  what does actually mean? does it stop cassandra transport
>>> listener?
>>>
>>> [2014-05-02 10:12:19,021]  INFO {org.apache.cassandra.transport.Server}
>>> -  Stop listening for CQL clients
>>>
>>>
>>>
>>>
>>>
>>> On Fri, May 2, 2014 at 10:26 AM, Hasitha Hiranya wrote:
>>>
 Hi Shameera,

 I have added logs and tested. Full Log is attached at (
 https://drive.google.com/a/wso2.com/file/d/0B57HoxWKqqNnN2FPRE9FeC0yYXM/edit?usp=sharing).
 Deactivate of andes service is like follows.

 protected void deactivate(ComponentContext ctx) {
 // Unregister QpidService
 System.out.println("+++Started deactivating
 andes");
 System.out.println("Unregistering qpid service");
 try {
 if (null != qpidService) {
 qpidService.unregister();
 }
 } catch (Exception e) {}
 System.out.println("+Unregistered qpidService");
 // Shutdown the Qpid broker
 System.out.println("+Shutting down andes");
 ApplicationRegistry.remove();
 System.out.println("+++done shutting down andes");
 System.out.println("+++done deactivating of andes
 component");
 }

 +++Started deactivating andes
 Unregistering qpid service
 +Unregistered qpidService
 +Shutting down andes
 +++done shutting down andes
 +++done deactivating of andes component
 started deactivating cassandra
 ++done deactivating cassandra

 I have a doubt like is it correct to unregister qpidService before
 actually shutting down the broker?
 Then I changed the code swapping the order.

 protected void deactivate(ComponentContext ctx) {
 // Unregister QpidService
 // Shutdown the Qpid broker
 ApplicationRegistry.remove();
 try {
 if (null != qpidService) {
 qpidService.unregister();
 }
 } catch (Exception e) {}
 }


 Still errors happened. Order was as follows.

 +++Started deactivating andes
 +shutting down andes
 +++done shutting down andes
 unregistering qpidservice
  +Unregistered qpidService
 +++done deactivating of andes component
 started deactivating cassandra
 ++done deactivating cassandra

 Pom file has cassandra as a dependency.

 
 org.apache.axis2.*;
 version="${axis2.osgi.version.range.qpid}",
 org.apache.axiom.*;
 version="${axiom.osgi.version.range.qpid}",

 org.wso2.carbon.andes.authentication.service,
 org.wso2.carbon.andes.commons,
 org.wso2.carbon.andes.commons.registry,
  *   org.wso2.carbon.cassandra.server;
 version="4.2.2",*
 *;resolution:=optional
 

 What is going wrong?

 Thanks


 On Fri, May 2, 2014 at 9:33 AM, Shameera Rathnayaka 
 wrote:

> Hi HasithaH,
>
> Shall we try with log messages to identify service deactivation and
> bu

Re: [Dev] AppServer - CommodityQuote Sample - scenario 4 (Encryption) does not work

2014-05-03 Thread Afkham Azeez
I think the bug is, I first applied scenario 3 (signature), and then
applied scenario 4 (encryption). This leads to the bug I guess. When I
unzipped a new AS and started with scenario 4, things worked fine.


Azeez


On Thu, May 1, 2014 at 5:03 PM, Afkham Azeez  wrote:

> I get the following error on the server side when I try to run the sample
> client:
>
> [2014-05-01 16:58:54,385] ERROR
> {org.apache.catalina.core.StandardWrapperValve} -  Servlet.service() for
> servlet [bridgeservlet] in context with path [/] threw exception
>
> java.lang.NullPointerException
>
> at
> org.apache.rampart.builder.SymmetricBindingBuilder.getEncryptedKey(SymmetricBindingBuilder.java:840)
>
> at
> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:418)
>
> at
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:86)
>
> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
>
> at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
>
> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>
> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>
> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:515)
>
> at
> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:433)
>
> at
> org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:398)
>
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:188)
>
>
> What could be the reason?
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



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

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


[Dev] Streaming JSON Fix

2014-05-03 Thread Anjana Fernando
Hi Shameera,

I've fixed a bug in the streaming JSON implementation, related to the issue
[1]. I've given the explanation to the fix there in a comment, please
review it, and commit it to the necessary places, i.e. kernel patch07,
GitHub, Axis2 etc.. We need this for the Monday DSS 3.2.1 release. Chanika
please follow up.

[1] https://wso2.org/jira/browse/DS-891

Cheers,
Anjana.
-- 
*Anjana Fernando*
Senior Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Bean Mediator Property Serialization

2014-05-03 Thread Dushan Abeyruwan
Hi Sohani,
 IMO the config language of  bean mediator,


 

On Fri, May 2, 2014 at 4:54 PM, Sohani Weerasinghe  wrote:

> Hi All,
>
> In ESB Management Console all possible properties for Bean Mediator are
> displayed and also serialized regardless of the Action (i.e Remove, Create,
> Set_Property,Get_Property). I think only relevant properties should be
> displayed and serialized as listed below.
>
> If the Action is Create -  Var and Class
> If the Action is Remove - Var
> If the Action is Set_Property - Var, Property, Value type and Literal
> If the the Action is Get_Property - Var, Property, Target type and Literal.
>

   I agree with these changes so basically hope you try to implement a
validation rules am I ?
anyway Bean Mediator it self can not use independently as it should use
along side with EJB mediator..


>
> WDYT? Please correct if this is wrong
>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ES 4.3.0 migration status

2014-05-03 Thread Udara Rathnayake
Hi all,

This is to provide an update on the $subject.

We were able to build the ES pack without server start-up issue discussed
here[1] previously.

But we have issues during login for the store and publisher apps since we
have used org.wso2.stratos.identity.saml2.sso.mgt stratos component
previously to register SSO idps using sso-idp-config.xml. As per the
discussion[2] this needs to come under identity and I'm unable find this
within GitHub.

[1] [Dev][ES] ES start-up hangs
[2] [Dev] Using sso-idp-config.xml in IS 4.6.0

Regards,
UdaraR

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

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


Re: [Dev] [ES] ES start-up hangs

2014-05-03 Thread Udara Rathnayake
Hi all,

I suspect this is due to an issue within identity component, anyway this
issue has now been solved.
Thanks.

Regards,
UdaraR


On Wed, Apr 30, 2014 at 11:05 AM, Udara Rathnayake  wrote:

> Found that org.apache.axis2.engine.AxisObserver previously registered by
> the org.wso2.carbon.security.mgt and not now(4.3.0)
> Not sure whether this is the exact problem.
>
> 4.2.1
> {org.apache.axis2.engine.AxisObserver}={org.apache.axis2.osgi.config.service=org.apache.axis2.engine.AxisObserver,
> service.id=144}
>   "Registered by bundle:" org.wso2.carbon.security.mgt_4.2.1 [295]
>   "Bundles using service"
> org.wso2.carbon.core_4.2.0 [173]
>
>
>
>
> On Wed, Apr 30, 2014 at 11:00 AM, Manoj Kumara  wrote:
>
>> [Adding Kishanthan]
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>>
>> On Wed, Apr 30, 2014 at 9:47 AM, Udara Rathnayake wrote:
>>
>>> Hi,
>>>
>>> Finally managed to build the ES in a clean repo but still I'm getting
>>> this issue.
>>>
>>>
>>>
>>> On Mon, Apr 28, 2014 at 12:51 PM, Manoj Kumara  wrote:
>>>
 Hi UdaraR,

 As discussed with KasunG this has being fixed. Can you please try get
 update and build the product and check.

 Thanks,
 Manoj


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


 On Sat, Apr 26, 2014 at 11:25 AM, Udara Rathnayake wrote:

> Hi all,
>
> During ES server start up I'm getting[1] due to some OSGI dependency
> problem. This occurred after moving ES(latest build) to carbon 4.3.0.
>
> When I try to find the state using OSGI console I got following[2]
> output.
> There are few missing optionally imported packages for
> axis2_1.6.1.wso2v11-SNAPSHOT bundle [3].
>
> Any thoughts?
>
> [1]
> [2014-04-26 11:02:07,550]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization 
> is
> delayed due to the following unsatisfied items:
> [2014-04-26 11:02:07,550]  WARN
> {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for required
> OSGi Service: org.apache.axis2.engine.AxisObserver
>
> [2]
> osgi> ss axis2
> "Framework is launched."
>
> idState   Bundle
> 14ACTIVE  axis2_1.6.1.wso2v11-SNAPSHOT
> 15ACTIVE  axis2-json_1.6.1.wso2v11-SNAPSHOT
> 16ACTIVE  axis2-transport-jms_1.6.1.wso2v11-SNAPSHOT
> osgi>
>
> [3]
>
> osgi> diag 14
> reference:file:../plugins/axis2_1.6.1.wso2v11-SNAPSHOT.jar [14]
>   Direct constraints which are unresolved:
> Missing optionally imported package com.sun.javadoc_0.0.0.
> Missing optionally imported package com.sun.tools.javadoc_0.0.0.
> Missing optionally imported package javax.ws.rs_0.0.0.
> Missing optionally imported package javax.xml.bind_2.1.0.
> Missing optionally imported package
> javax.xml.bind.annotation_2.1.0.
> Missing optionally imported package
> javax.xml.bind.annotation.adapters_2.1.0.
> Missing optionally imported package
> javax.xml.bind.attachment_2.1.0.
> Missing optionally imported package javax.xml.bind.util_2.1.0.
> Missing optionally imported package
> org.apache.xmlbeans.impl.xpath.saxon_0.0.0.
> Missing optionally imported package
> org.apache.xmlbeans.impl.xquery.saxon_0.0.0.
> Missing optionally imported package org.jivesoftware.smack_0.0.0.
> Missing optionally imported package
> org.jivesoftware.smack.filter_0.0.0.
> Missing optionally imported package
> org.jivesoftware.smack.packet_0.0.0.
> Missing optionally imported package
> org.springframework.beans_0.0.0.
> Missing optionally imported package
> org.springframework.context_0.0.0.
> Missing optionally imported package
> org.springframework.web.context_0.0.0.
> Missing optionally imported package
> org.springframework.web.context.support_0.0.0.
>
>
> Regards,
>  UdaraR
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog: http://udarakr.blogspot.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

>>>
>>>
>>> --
>>> *Udara Rathnayake*
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>>
>>> Mobile : +94 772207239
>>> Twitter : http://twitter.com/udarakr
>>> Blog: http://udarakr.blogspot.com
>>>
>>>
>>
>
>
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog: http://udarakr.blogspot.com
>
>



Re: [Dev] "ERROR - HazelcastGroupManagementAgent Could not add application member" in ELB , Created ESB cluster.

2014-05-03 Thread Nirmal Fernando
On Fri, May 2, 2014 at 9:01 PM, Chathurika Mahaarachchi  wrote:

> Hi ,
>
> Following error is observed  in ELB side when starting the management node
> of the ESB worker manager setup.
>
> [2014-05-02 20:23:03,905]  INFO - HazelcastGroupManagementAgent Member
> joined [75b433da-dc8e-4296-b325-0c696f24e920]: local.mgt.esb/
> 10.100.1.179:4100
> [2014-05-02 20:23:03,905]  INFO - HazelcastGroupManagementAgent Member
> joined [75b433da-dc8e-4296-b325-0c696f24e920]: local.mgt.esb/
> 10.100.1.179:4100
>
>
> [2014-05-02 20:23:35,969] ERROR - HazelcastGroupManagementAgent Could not
> add application member Host:10.100.1.179, Remote Host:null, Port: 4100,
> HTTP:8281, HTTPS:8244, Domain: wso2con.domain, Sub-domain:mgt, Active:true
>

Seems the connectivity to IP:port is not successful for at least one
combination.


>
>
> Can someone explain what should be the reason for this issue.
>
> Attached configuration details.
>
> Thanks & Regards,
>
> --
> *Chathurika Mahaarachchi*
> Software Engineer, QA.
> WSO2 Inc.: http://wso2.com/
> lean.enterprise.middleware
> Mobile: +94718223950
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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] Axis2 server shifted with wso2esb-4.9.0-SNAPSHOT can not manage more than one aar service.

2014-05-03 Thread Sagara Gunathunga
This has been fixed by now. Please test and let me know if you found any
further issues.

Thanks !


On Fri, Apr 25, 2014 at 5:51 PM, Nuwan Wimalasekara  wrote:

> Hi
> Sagara and me did go through all the commits and found the commit[1]
> which leads to cause the above issue.  Please fix the issue.
>
> [1]
> https://github.com/wso2/wso2-axis2/commit/6292326a39d06deb1ede944afd3e1a6b77621a33
>
> Thanks,
> Nuwanw
>
>
>
> On Fri, Apr 25, 2014 at 3:32 PM, Nuwan Wimalasekara wrote:
>
>> Hi Sagara
>>
>>
>>
>> On Fri, Apr 25, 2014 at 12:23 AM, Sagara Gunathunga wrote:
>>
>>>
>>>
>>>
>>> On Thu, Apr 24, 2014 at 8:41 PM, Nuwan Wimalasekara wrote:
>>>
 Hi,
 Once multiple services are deployed in axis2 server shifted with
 wso2esb, It can not serve the requests for all services. It can only
 serve the one service which is initialized first. Then other services can
 not be invoked.

 @ESB Team
 I am getting this issue when running the integration test as well and
 some of test are getting failed. Can you please have a look into this
 issue.

>>>
>>> 1. Can please build Axis2  locally [1] and  repeat same  tests ?
>>>
>> I built axis2[1] locally and issue can be simply reproduced on axis2
>> distribution as well.
>>
>>>
>>> 2. Did you try same test with AS 5.3.0 M1 pack ?
>>>
>>> [1] -
>>> https://github.com/wso2/wso2-axis2/tree/master/modules/distribution
>>>
>>> Thanks !
>>>
>>
>> Thanks,
>> Nuwanw
>>
>>>
>>>


 [1] https://wso2.org/jira/browse/ESBJAVA-3106

 STEPS
 1) Deploy two axis2 services. (SimpleStockQuoteService1 and
 SimpleStockQuoteService2)
 2) Invoke the SimpleStockQuoteService1 service.
 Then it will work fine.
 3) Invoke the SimpleStockQuoteService2.
 Then bellow exception is observed in axis2 backend and AxisFault is
 received as the response.
 "org.apache.axis2.AxisFault: object is not an instance of declaring
 class"

 14/04/24 20:15:27 ERROR receivers.RPCMessageReceiver: object is not an
 instance of declaring class
 java.lang.IllegalArgumentException: object is not an instance of
 declaring class
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:496)
 atorg.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:846)
 at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(
 BeanUtil.java:765)
 atorg.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:674)
 atorg.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153)
 at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(
 RPCUtil.java:206)
 at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
 invokeBusinessLogic(RPCMessageReceiver.java:117)
 at org.apache.axis2.receivers.AbstractInOutMessageReceiver.
 invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
 AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 atorg.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 atorg.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
 at org.apache.synapse.transport.nhttp.ServerWorker.run(
 ServerWorker.java:279)
 at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(
 NativeWorkerPool.java:172)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
 ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
 ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 14/04/24 20:15:27 ERROR nhttp.ServerWorker: Error processing POST
 request
 org.apache.axis2.AxisFault: object is not an instance of declaring
 class
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at org.apache.axis2.rpc.receivers.RPCMessageReceiver.
 invokeBusinessLogic(RPCMessageReceiver.java:211)
 at org.apache.axis2.receivers.AbstractInOutMessageReceiver.
 invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
 AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 atorg.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 atorg.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
 at org.apache.synapse.transport.nhttp.ServerWorker.run(
 ServerWork

Re: [Dev] Streaming JSON Fix

2014-05-03 Thread Shameera Rathnayaka
Hi Anjana,

I will have a look and apply the patch.

Thanks,
Shameera.


On Sat, May 3, 2014 at 4:11 PM, Anjana Fernando  wrote:

> Hi Shameera,
>
> I've fixed a bug in the streaming JSON implementation, related to the
> issue [1]. I've given the explanation to the fix there in a comment, please
> review it, and commit it to the necessary places, i.e. kernel patch07,
> GitHub, Axis2 etc.. We need this for the Monday DSS 3.2.1 release. Chanika
> please follow up.
>
> [1] https://wso2.org/jira/browse/DS-891
>
> Cheers,
> Anjana.
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com  , shameera AT apache.org
*
*phone:  +9471 922 1454*

*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC-Automated test case generation tool for WSO2 products

2014-05-03 Thread Dilini Muthumala
Hi Rukshan,

But in step 5 generated
> SimpleServiceStub.java not generate as appropriate(some code is missing)
>
What code is missing. Can you please specify?

Also, what's the exact error you're getting when you compile Client.java?

BTW, if you post this question on a separate thread, I think more people
will be able to help you :)

Regards,
Dilini


On Fri, May 2, 2014 at 9:17 AM, Rukshan Chathuranga
wrote:

> HI maintha,
>
> I followed this http://wso2.com/library/95/ tutorial to generate client.
> I successfully come to the step 4. But in step 5 generated
> SimpleServiceStub.java not generate as appropriate(some code is missing).
> because when create Client get unknown syntax like "Echo".
>
> Generated java class attached here.
>
>
> On Wed, Apr 30, 2014 at 10:44 AM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi Rukshan,
>>
>> Did you try out the maven plugin. I think it would be easy for you and
>> us this is believed you don't need python installed
>>
>>  http://robotframework.org/MavenPlugin/
>>
>> Thank You,
>> Dharshana.
>>
>>
>> On Wed, Apr 30, 2014 at 8:59 AM, Rukshan Chathuranga <
>> rcruksha...@gmail.com> wrote:
>>
>>> Hi krishantha,
>>>
>>> I followed the instruction to install the robot. Most of dependencies
>>> already had in the system and installation was success. but when installing
>>> "ride", it give a warning to install wxPython 2.8 toolkit with Unicode
>>> support. Also it's doesn't work without wxPython.
>>>
>>> It suggest the installation guide by this link
>>> http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/.
>>>
>>> But it is hard to find the correct file to install. may be this one is
>>> not important now.
>>> if you already encountered this problem let me know how to install.
>>>
>>> Thanks.
>>>
>>>
>>> On Tue, Apr 29, 2014 at 10:39 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
 Selenium2Library API documentation -
 https://github.com/rtomac/robotframework-selenium2library
 Source - https://github.com/rtomac/robotframework-selenium2library

 Thanks,
 Krishantha.


 On Tue, Apr 29, 2014 at 10:33 PM, Krishantha Samaraweera <
 krishan...@wso2.com> wrote:

> Robot framework installation on Linux
> 
>
> 1. Install Python if doesn't exists in your machine -
>
> *easy_install pip*
> *pip install python*
>
> 2. Install Jyton (Optinal)
>
> *sudo apt-get install jython*
>
> 3. Install robot framework
>
> *pip install robotframework *OR* easy_install robotframework  *
>
> 4. Install ride (The IDE for robot test case writing)
>
> *pip install robotframework-ride *OR *easy_install
> robotframework-ride*
>
> 5. Install Selenium2Library - Selenium implementation compatible with
> robot
>
> *pip install robotframework-selenium2library *OR* easy_install
> robotframework-selenium2library*
>
>
> Let me know if you find any difficulty with installation.
>
> Thanks,
> Krishantha.
>
>
> On Tue, Apr 29, 2014 at 10:23 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Rukshan,
>>
>> Some sample robot scripts are attached here with.
>>
>> Thanks,
>> Krishantha.
>>
>>
>>
>>
>> On Tue, Apr 29, 2014 at 10:17 PM, Malintha Adikari > > wrote:
>>
>>> adding
>>>
>>> 3. WSO2 Application Server Documentation[4]
>>>
>>> [4]
>>> https://docs.wso2.org/display/AS521/WSO2+Application+Server+Documentation
>>>
>>>
>>> On Tue, Apr 29, 2014 at 10:12 PM, Malintha Adikari <
>>> malin...@wso2.com> wrote:
>>>
 Hi Rukshan,

 Following resources would help you to understand the basics of
 required technologies.

 1. Hello world with Axis2 web service [1]
 2. Understanding WSDL files.[2], [3]

 [1]http://wso2.com/library/95/
 [2]http://oreilly.com/catalog/webservess/chapter/ch06.html
 [3]http://predic8.com/wsdl-reading.htm

 Regards,
 Malintha Adikari


 On Tue, Apr 29, 2014 at 9:43 PM, Rukshan Chathuranga <
 rcruksha...@gmail.com> wrote:

> Hi,
>
> Could understand the ultimate objective of the project and stating
> points of the project. Feasibility of the keyword driven testing using
> Robot frame, should be evaluate in this week.
> Also to get understand about the Admin back-end services and WSDL
> experiment, is it possible to give  the required resources and sample 
> Test
> Script?
>
> Thanks and regards.
>
>
>
> On Mon, Apr 28, 2014 at 6:23 PM, Rukshan Chathuranga <
> rcruksha...@gmail.com> wrote:
>
>> yeah i'm OK with the time and place.
>>

Re: [Dev] Meeting Notes on EMM Carbon

2014-05-03 Thread Gayan Gunawardana
Hi All,

EMM server ready to go [1].

[1]https://github.com/wso2-dev/product-emm/tree/feature/apim-integration


On Thu, May 1, 2014 at 7:41 PM, Gayan Gunawardana  wrote:

> Hi Kishanthan,
>
> After going through some points you have given during the discussion(e.g
> kernel patches) we could be able to resolve most of intermittent issues.
> Further I will look at the link you provided for default profiles. Thanks
> for your great help to make EMM server stable.
>
>
>
>
> On Wed, Apr 30, 2014 at 5:58 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> carbon.core and carbon.runtime features are by default available with the
>> "default" profile, so you don't have to explicitly define them with your
>> product's p2 repo definition. But if you are going to use multiple-profiles
>> in your product, then you will have to define them in the p2 repo creation
>> phase and then add them to your specific profile.
>>
>> Refer this for example which does not use multi-profile and use only the
>> default profile :
>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/elb/2.1.0/modules/p2-profile/pom.xml
>>
>>
>> On Tue, Apr 29, 2014 at 11:15 PM, Gayan Gunawardana wrote:
>>
>>> Hi Kishanthan,
>>>
>>> As per the discussion we had during the meeting can you specifically
>>> mention the carbon core features we should install into EMM server. We have
>>> seen org.wso2.carbon:org.wso2.carbon.core.feature:4.2.0 and
>>> org.wso2.carbon:org.wso2.carbon.core.runtime.feature:4.2.0 in most of other
>>> products but it differs sometimes.
>>>
>>> WDYT ?
>>>
>>>
>>> On Tue, Apr 29, 2014 at 10:47 PM, Chan  wrote:
>>>
 Hi folks,
 We had a meeting today with Kicha to sort out our EMM carbon related
 problems. Attendees - Mobile Team, SameeraP, Kicha. Below are points we
 discussed -

- Finalize on the dependent product versions (specially APIM
feature version and IS feature version)
- Use .p2inf to copy feature related files
- Use bin.xml to copy product related files
- Get proper changes of files (axis2.xml) done by other teams to EMM
- Not going to use Carbon Profiles since emm_service app is a
deployment artifact

 Please add anything if I missed.
 ​Cheers~​
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2.com *
 *  ~Mobile +94712112165 <%2B94712112165>*
 *  ~Website   dulitha.me *
 *  ~Twitter @dulitharw *
   *~Github @dulichan *
   *~SO @chan *

>>>
>>>
>>>
>>> --
>>> Gayan Gunawardana
>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>> Email: ga...@wso2.com
>>> Mobile: +94 (71) 8020933
>>> Blog: http://gayanj2ee.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
> Blog: http://gayanj2ee.blogspot.com/
>



-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
Blog: http://gayanj2ee.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC-Automated test case generation tool for WSO2 products

2014-05-03 Thread Krishantha Samaraweera
Hi Rukshan,

Can you try out the Axis2 Client generation guide in the article at [1]

Thanks,
Krishantha

[1]http://wso2.com/library/3862/


On Sun, May 4, 2014 at 12:19 AM, Dilini Muthumala  wrote:

> Hi Rukshan,
>
> But in step 5 generated
>> SimpleServiceStub.java not generate as appropriate(some code is missing)
>>
> What code is missing. Can you please specify?
>
> Also, what's the exact error you're getting when you compile Client.java?
>
> BTW, if you post this question on a separate thread, I think more people
> will be able to help you :)
>
> Regards,
> Dilini
>
>
> On Fri, May 2, 2014 at 9:17 AM, Rukshan Chathuranga  > wrote:
>
>> HI maintha,
>>
>> I followed this http://wso2.com/library/95/ tutorial to generate client.
>> I successfully come to the step 4. But in step 5 generated
>> SimpleServiceStub.java not generate as appropriate(some code is missing).
>> because when create Client get unknown syntax like "Echo".
>>
>> Generated java class attached here.
>>
>>
>> On Wed, Apr 30, 2014 at 10:44 AM, Dharshana Warusavitharana <
>> dharsha...@wso2.com> wrote:
>>
>>> Hi Rukshan,
>>>
>>> Did you try out the maven plugin. I think it would be easy for you and
>>> us this is believed you don't need python installed
>>>
>>>  http://robotframework.org/MavenPlugin/
>>>
>>> Thank You,
>>> Dharshana.
>>>
>>>
>>> On Wed, Apr 30, 2014 at 8:59 AM, Rukshan Chathuranga <
>>> rcruksha...@gmail.com> wrote:
>>>
 Hi krishantha,

 I followed the instruction to install the robot. Most of dependencies
 already had in the system and installation was success. but when installing
 "ride", it give a warning to install wxPython 2.8 toolkit with Unicode
 support. Also it's doesn't work without wxPython.

 It suggest the installation guide by this link
 http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/.

 But it is hard to find the correct file to install. may be this one is
 not important now.
 if you already encountered this problem let me know how to install.

 Thanks.


 On Tue, Apr 29, 2014 at 10:39 PM, Krishantha Samaraweera <
 krishan...@wso2.com> wrote:

> Selenium2Library API documentation -
> https://github.com/rtomac/robotframework-selenium2library
> Source - https://github.com/rtomac/robotframework-selenium2library
>
> Thanks,
> Krishantha.
>
>
> On Tue, Apr 29, 2014 at 10:33 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Robot framework installation on Linux
>> 
>>
>> 1. Install Python if doesn't exists in your machine -
>>
>> *easy_install pip*
>> *pip install python*
>>
>> 2. Install Jyton (Optinal)
>>
>> *sudo apt-get install jython*
>>
>> 3. Install robot framework
>>
>> *pip install robotframework *OR* easy_install robotframework  *
>>
>> 4. Install ride (The IDE for robot test case writing)
>>
>> *pip install robotframework-ride *OR *easy_install
>> robotframework-ride*
>>
>> 5. Install Selenium2Library - Selenium implementation compatible with
>> robot
>>
>> *pip install robotframework-selenium2library *OR* easy_install
>> robotframework-selenium2library*
>>
>>
>> Let me know if you find any difficulty with installation.
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Tue, Apr 29, 2014 at 10:23 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi Rukshan,
>>>
>>> Some sample robot scripts are attached here with.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>>
>>>
>>> On Tue, Apr 29, 2014 at 10:17 PM, Malintha Adikari <
>>> malin...@wso2.com> wrote:
>>>
 adding

 3. WSO2 Application Server Documentation[4]

 [4]
 https://docs.wso2.org/display/AS521/WSO2+Application+Server+Documentation


 On Tue, Apr 29, 2014 at 10:12 PM, Malintha Adikari <
 malin...@wso2.com> wrote:

> Hi Rukshan,
>
> Following resources would help you to understand the basics of
> required technologies.
>
> 1. Hello world with Axis2 web service [1]
> 2. Understanding WSDL files.[2], [3]
>
> [1]http://wso2.com/library/95/
> [2]http://oreilly.com/catalog/webservess/chapter/ch06.html
> [3]http://predic8.com/wsdl-reading.htm
>
> Regards,
> Malintha Adikari
>
>
> On Tue, Apr 29, 2014 at 9:43 PM, Rukshan Chathuranga <
> rcruksha...@gmail.com> wrote:
>
>> Hi,
>>
>> Could understand the ultimate objective of the project and
>> stating points of the project. Feasibility of the keyword driven 
>> testing
>> using Robot frame, should be evaluate in this week.
>> Also to g

[Dev] coping wrong dbscript with APIM features

2014-05-03 Thread Gayan Gunawardana
Hi,

Default database scripts which are coming from APIM features does not have
"APPLICATION_STATUS" attribute inside AM_APPLICATION table which causes to
throw

 Failed to add Application
org.h2.jdbc.JdbcSQLException: Column "APPLICATION_STATUS" not found; SQL
statement:
INSERT INTO AM_APPLICATION (NAME, SUBSCRIBER_ID, APPLICATION_TIER,
CALLBACK_URL, DESCRIPTION, APPLICATION_STATUS) VALUES (?,?,?,?,?,?)
[42122-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)


-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] coping wrong dbscript with APIM features

2014-05-03 Thread Sumedha Rubasinghe
Please apply following changes to h2.sql script inside the feature.
This has been fixed in latest feature (4.2.2) that will get shipped with AM
1.7.0.

@@ -1,5 +1,5 @@
 CREATE TABLE AM_WORKFLOWS(
-WF_ID INTEGER AUTO_INCREMENT,
+WF_ID INTEGER,
 WF_REFERENCE VARCHAR(255) NOT NULL,
 WF_TYPE VARCHAR(255) NOT NULL,
 WF_STATUS VARCHAR(255) NOT NULL,
@@ -16,14 +16,14 @@
 CREATE SEQUENCE AM_WORKFLOWS_SEQUENCE START WITH 1 INCREMENT BY 1
 /

-CREATE OR REPLACE AM_WORKFLOWS_TRIGGER
+CREATE OR REPLACE TRIGGER AM_WORKFLOWS_TRIGGER
BEFORE INSERT
 ON AM_WORKFLOWS
 REFERENCING NEW AS NEW
 FOR EACH ROW
 BEGIN
 SELECT AM_WORKFLOWS_SEQUENCE.nextval INTO :NEW.WF_ID
FROM dual;
-END
+END;
 /

 ALTER TABLE AM_APPLICATION ADD APPLICATION_STATUS VARCHAR2(50) DEFAULT
'APPROVED'


On Sun, May 4, 2014 at 10:10 AM, Gayan Gunawardana  wrote:

> Hi,
>
> Default database scripts which are coming from APIM features does not have
> "APPLICATION_STATUS" attribute inside AM_APPLICATION table which causes to
> throw
>
>  Failed to add Application
> org.h2.jdbc.JdbcSQLException: Column "APPLICATION_STATUS" not found; SQL
> statement:
> INSERT INTO AM_APPLICATION (NAME, SUBSCRIBER_ID, APPLICATION_TIER,
> CALLBACK_URL, DESCRIPTION, APPLICATION_STATUS) VALUES (?,?,?,?,?,?)
> [42122-140]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
> at org.h2.message.DbException.get(DbException.java:167)
>
>
> --
> Gayan Gunawardana
>  Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] coping wrong dbscript with APIM features

2014-05-03 Thread Gayan Gunawardana
Hi,

Thanks for the quick reply.


On Sun, May 4, 2014 at 11:04 AM, Sumedha Rubasinghe wrote:

> Please apply following changes to h2.sql script inside the feature.
> This has been fixed in latest feature (4.2.2) that will get shipped with
> AM 1.7.0.
>
> @@ -1,5 +1,5 @@
>  CREATE TABLE AM_WORKFLOWS(
> -WF_ID INTEGER AUTO_INCREMENT,
> +WF_ID INTEGER,
>  WF_REFERENCE VARCHAR(255) NOT NULL,
>  WF_TYPE VARCHAR(255) NOT NULL,
>  WF_STATUS VARCHAR(255) NOT NULL,
> @@ -16,14 +16,14 @@
>  CREATE SEQUENCE AM_WORKFLOWS_SEQUENCE START WITH 1 INCREMENT BY 1
>  /
>
> -CREATE OR REPLACE AM_WORKFLOWS_TRIGGER
> +CREATE OR REPLACE TRIGGER AM_WORKFLOWS_TRIGGER
> BEFORE INSERT
>  ON AM_WORKFLOWS
>  REFERENCING NEW AS NEW
>  FOR EACH ROW
>  BEGIN
>  SELECT AM_WORKFLOWS_SEQUENCE.nextval INTO :NEW.WF_ID
> FROM dual;
> -END
> +END;
>  /
>
>  ALTER TABLE AM_APPLICATION ADD APPLICATION_STATUS VARCHAR2(50) DEFAULT
> 'APPROVED'
>
>
> On Sun, May 4, 2014 at 10:10 AM, Gayan Gunawardana  wrote:
>
>> Hi,
>>
>> Default database scripts which are coming from APIM features does not
>> have "APPLICATION_STATUS" attribute inside AM_APPLICATION table which
>> causes to throw
>>
>>  Failed to add Application
>> org.h2.jdbc.JdbcSQLException: Column "APPLICATION_STATUS" not found; SQL
>> statement:
>> INSERT INTO AM_APPLICATION (NAME, SUBSCRIBER_ID, APPLICATION_TIER,
>> CALLBACK_URL, DESCRIPTION, APPLICATION_STATUS) VALUES (?,?,?,?,?,?)
>> [42122-140]
>> at
>> org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>> at org.h2.message.DbException.get(DbException.java:167)
>>
>>
>> --
>> Gayan Gunawardana
>>  Software Engineer; WSO2 Inc.; http://wso2.com/
>> Email: ga...@wso2.com
>> Mobile: +94 (71) 8020933
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> /sumedha
> m: +94 773017743
> b :  bit.ly/sumedha
>



-- 
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: ga...@wso2.com
Mobile: +94 (71) 8020933
Blog: http://gayanj2ee.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 ESB Connector Store Icons

2014-05-03 Thread Chanaka Jayasena
Hi Dushan, the Google drive is updated with the latest.

thanks,
Chanaka


On Fri, May 2, 2014 at 5:35 PM, Chanaka Jayasena  wrote:

> Noted. I will update and provide you with the remaining connector icons as
> well.
>
> Thanks,
> Chanaka
>
>
> On Fri, May 2, 2014 at 1:20 PM, Dushan Abeyruwan  wrote:
>
>> Hi ChanakaJ
>>
>> On Fri, May 2, 2014 at 9:00 AM, Malaka Silva  wrote:
>>
>>> Hi All,
>>>
>>> IMO we should not modify the backgroung color and layout outside what
>>> vendors(Third parties) are using.
>>>
>>> Eg: - Salesforce logo is in green color whereas standard is blue.
>>>
>>
>>Yes, I feel the same as we should not modify exiting vendors layout
>> colors, overall felt only salesforce has such issue.
>>
>> meantime, can we get the remaining connector images as well [1] shows you
>> the connectors we have at the moment
>>
>> https://github.com/wso2-dev/esb-connectors
>>
>>   we should add, facebook,gmail.amazon s3,google drive,suvaymonkey,
>> sugerCRM.
>>
>>>
>>> Best Regards,
>>> Malaka
>>>
>>>
>>> On Fri, May 2, 2014 at 8:08 AM, Chanaka Jayasena wrote:
>>>
 Hi Dushan,

 [1] contains the images you requested for the Connector Store. Amazon
 s3 and Survey Monkey icons are missing. I will upload those ones they are
 done.

 1 -
 https://drive.google.com/a/wso2.com/folderview?id=0B_CCkDYHWyB9VGlJc0MzWnRpYkU&usp=sharing#grid

 thanks,
 Chanaka

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

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


>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>>
>> --
>> Dushan Abeyruwan | Associate Tech Lead
>>  Integration Technologies Team
>> PMC Member Apache Synpase
>> WSO2 Inc. http://wso2.com/
>> Blog:http://dushansview.blogspot.com/
>> Mobile:(0094)713942042
>>
>>
>
>
> --
> Chanaka Jayasena
> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
> email: chan...@wso2.com; cell: +94 77 785 5565
> blog: http://chanaka3d.blogspot.com
>



-- 
Chanaka Jayasena
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: chan...@wso2.com; cell: +94 77 785 5565
blog: http://chanaka3d.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC-Automated test case generation tool for WSO2 products

2014-05-03 Thread Rukshan Chathuranga
hi all,

i used Axis 2 1.0 both on Ubuntu and windows. but same result occur. when
comparing generated SimpleServiceStub with tutorial SimpleServiceStub,
Generated class have less code. Then when i try to run the client, it says
SimpleServiceStub.Echo is unknown.

@Rajkumar,

I couldn't generate SimpleServiceStub as yours using the WSDL2Java. Some
part of the code has been vanished.

But i found nice video and resource tutorial on
*https://www.youtube.com/playlist?list=PLvDH105YsUxGLHnLHEC0vXzuukqjJGkGA
*
 .

It use Maven plug-in to generate and run the test case. and it worked.

Thanks and regards.




On Sun, May 4, 2014 at 11:34 AM, Rajkumar Rajaratnam wrote:

> Hi Rukshan,
>
> This is what I have done[1]. And it works fine for me. Let us know if
> anything wrong.
>
> 1.
> http://hoovam.blogspot.com/2014/05/hello-world-web-service-apache-axis2.html
>
> Thanks.
>
>
> On Sun, May 4, 2014 at 2:26 AM, Rajkumar Rajaratnam wrote:
>
>> Hi Rukshan,
>>
>> What is your Axis2 version? I am using 1.6.2.
>>
>> Attached herewith are generated classes and Client.java. And, It is
>> working.
>>
>>
>>
>>
>>
>> On Sun, May 4, 2014 at 1:39 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi Rukshan,
>>>
>>> Can you try out the Axis2 Client generation guide in the article at [1]
>>>
>>> Thanks,
>>> Krishantha
>>>
>>> [1]http://wso2.com/library/3862/
>>>
>>>
>>> On Sun, May 4, 2014 at 12:19 AM, Dilini Muthumala wrote:
>>>
 Hi Rukshan,

 But in step 5 generated
> SimpleServiceStub.java not generate as appropriate(some code is
> missing)
>
 What code is missing. Can you please specify?

 Also, what's the exact error you're getting when you compile
 Client.java?

 BTW, if you post this question on a separate thread, I think more
 people will be able to help you :)

 Regards,
 Dilini


 On Fri, May 2, 2014 at 9:17 AM, Rukshan Chathuranga <
 rcruksha...@gmail.com> wrote:

> HI maintha,
>
> I followed this http://wso2.com/library/95/ tutorial to generate
> client. I successfully come to the step 4. But in step 5 generated
> SimpleServiceStub.java not generate as appropriate(some code is
> missing). because when create Client get unknown syntax like "Echo".
>
> Generated java class attached here.
>
>
> On Wed, Apr 30, 2014 at 10:44 AM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi Rukshan,
>>
>> Did you try out the maven plugin. I think it would be easy for you
>> and us this is believed you don't need python installed
>>
>>  http://robotframework.org/MavenPlugin/
>>
>> Thank You,
>> Dharshana.
>>
>>
>> On Wed, Apr 30, 2014 at 8:59 AM, Rukshan Chathuranga <
>> rcruksha...@gmail.com> wrote:
>>
>>> Hi krishantha,
>>>
>>> I followed the instruction to install the robot. Most of
>>> dependencies already had in the system and installation was success. but
>>> when installing "ride", it give a warning to install wxPython 2.8 
>>> toolkit
>>> with Unicode support. Also it's doesn't work without wxPython.
>>>
>>> It suggest the installation guide by this link
>>> http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/.
>>>
>>> But it is hard to find the correct file to install. may be this one
>>> is not important now.
>>> if you already encountered this problem let me know how to install.
>>>
>>> Thanks.
>>>
>>>
>>> On Tue, Apr 29, 2014 at 10:39 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
 Selenium2Library API documentation -
 https://github.com/rtomac/robotframework-selenium2library
 Source - https://github.com/rtomac/robotframework-selenium2library

 Thanks,
 Krishantha.


 On Tue, Apr 29, 2014 at 10:33 PM, Krishantha Samaraweera <
 krishan...@wso2.com> wrote:

> Robot framework installation on Linux
> 
>
> 1. Install Python if doesn't exists in your machine -
>
> *easy_install pip*
> *pip install python*
>
> 2. Install Jyton (Optinal)
>
> *sudo apt-get install jython*
>
> 3. Install robot framework
>
> *pip install robotframework *OR* easy_install robotframework  *
>
> 4. Install ride (The IDE for robot test case writing)
>
> *pip install robotframework-ride *OR *easy_install
> robotframework-ride*
>
> 5. Install Selenium2Library - Selenium implementation compatible
> with robot
>
> *pip install robotframework-selenium2library *OR* easy_install
> robotframework-selenium2library*
>
>
>>>

Re: [Dev] GSOC-Automated test case generation tool for WSO2 products

2014-05-03 Thread Rajkumar Rajaratnam
Hi,

Axis2 - 1.0 ?

That was released in 04-May-2006. It's too old :)

I guess that the reason is your asix2 version, because of [1].

1.
https://www.google.com/search?client=ubuntu&channel=fs&q=axis2+1.0+bugs&ie=utf-8&oe=utf-8#channel=fs&q=axis2+1.0+wsdl2java+bugs

If you use latest versions (1.6.2) , there would be no problem.

Thanks.


On Sun, May 4, 2014 at 11:59 AM, Rukshan Chathuranga
wrote:

> hi all,
>
> i used Axis 2 1.0 both on Ubuntu and windows. but same result occur. when
> comparing generated SimpleServiceStub with tutorial SimpleServiceStub,
> Generated class have less code. Then when i try to run the client, it says
> SimpleServiceStub.Echo is unknown.
>
> @Rajkumar,
>
> I couldn't generate SimpleServiceStub as yours using the WSDL2Java. Some
> part of the code has been vanished.
>
> But i found nice video and resource tutorial on 
> *https://www.youtube.com/playlist?list=PLvDH105YsUxGLHnLHEC0vXzuukqjJGkGA
> *
>  .
>
> It use Maven plug-in to generate and run the test case. and it worked.
>
> Thanks and regards.
>
>
>
>
> On Sun, May 4, 2014 at 11:34 AM, Rajkumar Rajaratnam 
> wrote:
>
>> Hi Rukshan,
>>
>> This is what I have done[1]. And it works fine for me. Let us know if
>> anything wrong.
>>
>> 1.
>> http://hoovam.blogspot.com/2014/05/hello-world-web-service-apache-axis2.html
>>
>> Thanks.
>>
>>
>> On Sun, May 4, 2014 at 2:26 AM, Rajkumar Rajaratnam 
>> wrote:
>>
>>> Hi Rukshan,
>>>
>>> What is your Axis2 version? I am using 1.6.2.
>>>
>>> Attached herewith are generated classes and Client.java. And, It is
>>> working.
>>>
>>>
>>>
>>>
>>>
>>> On Sun, May 4, 2014 at 1:39 AM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
 Hi Rukshan,

 Can you try out the Axis2 Client generation guide in the article at [1]

 Thanks,
 Krishantha

 [1]http://wso2.com/library/3862/


 On Sun, May 4, 2014 at 12:19 AM, Dilini Muthumala wrote:

> Hi Rukshan,
>
> But in step 5 generated
>> SimpleServiceStub.java not generate as appropriate(some code is
>> missing)
>>
> What code is missing. Can you please specify?
>
> Also, what's the exact error you're getting when you compile
> Client.java?
>
> BTW, if you post this question on a separate thread, I think more
> people will be able to help you :)
>
> Regards,
> Dilini
>
>
> On Fri, May 2, 2014 at 9:17 AM, Rukshan Chathuranga <
> rcruksha...@gmail.com> wrote:
>
>> HI maintha,
>>
>> I followed this http://wso2.com/library/95/ tutorial to generate
>> client. I successfully come to the step 4. But in step 5 generated
>> SimpleServiceStub.java not generate as appropriate(some code is
>> missing). because when create Client get unknown syntax like "Echo".
>>
>> Generated java class attached here.
>>
>>
>> On Wed, Apr 30, 2014 at 10:44 AM, Dharshana Warusavitharana <
>> dharsha...@wso2.com> wrote:
>>
>>> Hi Rukshan,
>>>
>>> Did you try out the maven plugin. I think it would be easy for you
>>> and us this is believed you don't need python installed
>>>
>>>  http://robotframework.org/MavenPlugin/
>>>
>>> Thank You,
>>> Dharshana.
>>>
>>>
>>> On Wed, Apr 30, 2014 at 8:59 AM, Rukshan Chathuranga <
>>> rcruksha...@gmail.com> wrote:
>>>
 Hi krishantha,

 I followed the instruction to install the robot. Most of
 dependencies already had in the system and installation was success. 
 but
 when installing "ride", it give a warning to install wxPython 2.8 
 toolkit
 with Unicode support. Also it's doesn't work without wxPython.

 It suggest the installation guide by this link
 http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/.

 But it is hard to find the correct file to install. may be this one
 is not important now.
 if you already encountered this problem let me know how to install.

 Thanks.


 On Tue, Apr 29, 2014 at 10:39 PM, Krishantha Samaraweera <
 krishan...@wso2.com> wrote:

> Selenium2Library API documentation -
> https://github.com/rtomac/robotframework-selenium2library
> Source - https://github.com/rtomac/robotframework-selenium2library
>
> Thanks,
> Krishantha.
>
>
> On Tue, Apr 29, 2014 at 10:33 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Robot framework installation on Linux
>> 
>>
>> 1. Install Python if doesn't exists in your machine -
>>
>> *easy_install pip*
>> *pip install python*
>>
>> 2. Install Jyton (Optinal)
>>
>>