Re: [Dev] How to enable clustering logs?

2016-07-30 Thread Bhathiya Jayasekara
Hi Danesh,

On Sun, Jul 31, 2016 at 9:15 AM, Danesh Kuruppu  wrote:

> Hi Bhathiya,
>
> I guess you are asking to enable hazelcast logs. This can be done by
> changing "com.hazelcast.level" to FINE as below in
> logging-bridge.properties.
>
> com.hazelcast.level = FINE
>>
>
Exactly. Thank you.

--Bhathiya


>
> Thanks
> Danesh
>
> On Fri, Jul 29, 2016 at 6:26 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi all,
>>
>> Can someone please tell me how to enabled clustering logs? I remember
>> there were something to do with logging-bridge.properties.
>>
>> Thanks,
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Danesh Kuruppu*
> Senior Software Engineer | WSO2
>
> Email: dan...@wso2.com
> Mobile: +94 (77) 1690552
> Web: WSO2 Inc 
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to enable clustering logs?

2016-07-30 Thread Danesh Kuruppu
Hi Bhathiya,

I guess you are asking to enable hazelcast logs. This can be done by
changing "com.hazelcast.level" to FINE as below in
logging-bridge.properties.

com.hazelcast.level = FINE
>

Thanks
Danesh

On Fri, Jul 29, 2016 at 6:26 PM, Bhathiya Jayasekara 
wrote:

> Hi all,
>
> Can someone please tell me how to enabled clustering logs? I remember
> there were something to do with logging-bridge.properties.
>
> Thanks,
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Danesh Kuruppu*
Senior Software Engineer | WSO2

Email: dan...@wso2.com
Mobile: +94 (77) 1690552
Web: WSO2 Inc 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IoTS] when will the IoTS be GA?

2016-07-30 Thread Sumedha Rubasinghe
Hi Jason,
After the IoTS 1.0.0 Alpha, we are in the middle of a strategic change
which involves our mobile device management capabilities.
As you may already be aware, we have brought down all core device
management capabilities into one level and implementing specific device
management plugins on top of this. These device management plugins also
cover our Android, iOS, Windows mobile plugins (as well as plugins for all
other devices).

Originally 1.0.0 GA release date of IoTS was scheduled for July. But due to
a customer commitment we have shifted our focus to stabilising Android
device management until end of August.

Specific new release date of IoTS 1.0.0 GA will be decided after August.

If you have a project that gets impacted due to this shift please fill up
our contact us form @ http://wso2.com/contact/ with your concern and we
will see what we can do.

Thanks,
Sumedha


On Sat, Jul 30, 2016 at 3:03 PM, 云展智创  wrote:

> Hi,
>
> Could anyone tell me when will the IoTS be GA? Thanks a lot.
>
> --
> Zhanwen Zhou (Jason),
> +86 13922218435
> zhanwen.z...@smartcloudex.com
> Guangzhou Smart Cloudex Technology Co., Ltd.
> Business: API Management, IOT
>
> ___
> 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] [CARBON] Error after installing web app run time features

2016-07-30 Thread Bhathiya Jayasekara
Hi Lakshman,

I also faced the same issue, and could resolve after upgrading
carbon-deployment version to 4.6.2.

Thanks,
Bhathiya

On Thu, Jul 28, 2016 at 8:59 PM, Lakshman Udayakantha 
wrote:

> Hi,
>
> I got error [1] after doing $subject on carbon 4.4.7 kernel. I installed
> web app hosting feature and web app runtime features. It seems it could not
> upload web apps. This error getting continuously. How do I prevent this
> issue and upload web apps?
>
> [1]
>
> java.lang.NoSuchMethodError: org.apache.coyote.Request.getBytesRead()I
>
> at org.apache.coyote.RequestInfo.updateCounters(RequestInfo.java:143)
>
> at org.apache.coyote.Request.updateCounters(Request.java:533)
>
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1140)
>
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
>
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749)
>
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>
> at java.lang.Thread.run(Thread.java:745)
>
>
> Thanks
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0717429601 <0717429601>*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185 <%2B94715478185>*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IoTS] when will the IoTS be GA?

2016-07-30 Thread Lakshani Gamage
adding RuwanY and PrabathA from IoT team.

On Sat, Jul 30, 2016 at 3:03 PM, 云展智创  wrote:

> Hi,
>
> Could anyone tell me when will the IoTS be GA? Thanks a lot.
>
> --
> Zhanwen Zhou (Jason),
> +86 13922218435
> zhanwen.z...@smartcloudex.com
> Guangzhou Smart Cloudex Technology Co., Ltd.
> Business: API Management, IOT
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-07-30 Thread Heshan Jayasinghe
HI Hasitha,

My git repo is up to date .please check develop
 branch in GitHub.I
completed task text and new flow drawing.now i am working on flow change
with element drag events and text area resize with task resizing.
 Thank you!
regards,
Heshan Jyasinghe


On Thu, Jul 28, 2016 at 12:27 PM, Hasitha Aravinda  wrote:

> Heshan,
>
> Could you please update this mail with your current progress ? Also can
> you update the git repo with latest code base. It was last updated 23 days
> ago.
>
> Thanks,
> Hasitha.
>
> On Thu, Jul 14, 2016 at 9:25 AM, Heshan Jayasinghe 
> wrote:
>
>> Hi,
>> I added following element to BPMN tool box.I added only boundary events
>> instead of Intermediate event because both look like same and last
>> discussion we plan to come up with only boundary events.
>> Intermediate event have
>>   time catching event
>>   Signal catching event
>>   Message catching Event,etc.
>> Boundary event have
>>  Time Boundary Event
>>  Error Boundary Event
>>  Message Boundary Event
>>  Signal Boundary Event,etc.
>> Do I need to add both intermediate event and boundary event or only
>> boundary event is enough?
>> If there any changes in tool box please let me know.
>>
>> Start Event
>>
>>-  Start Event
>>-  Time Event
>>-  Message Start Event
>>-  Error Start Event
>>
>> End Event
>>
>>-  End Event
>>-  Error End Event
>>-  Terminate End Even
>>-  Cancel End Event
>>
>> Task
>>
>>-   User Task
>>-   Script Task
>>-   Mail Task
>>-   Receive Task
>>
>> Boundary Event
>>
>>-  Time Boundary Event
>>-  Error Boundary Event
>>-  Message Boundary Event
>>-  Signal Boundary Event
>>
>> Gateway
>>
>>-  Parallel Gateway
>>-   Exclusive Gateway
>>-   Inclusive Gateway
>>-   Event Gateway
>>
>> Connections
>>
>>-   Sequence Flow
>>
>>
>> Thank you!
>> regards,
>> Heshan jayasinghe
>>
>> On Thu, Jul 7, 2016 at 8:50 AM, Isuru Wijesinghe 
>> wrote:
>>
>>> Hi Heshan,
>>>
>>> Please add only *general*, *main config* and *form* properties for each
>>> component as you mentioned in your proposal.
>>>
>>> Thanks,
>>> Isuru.
>>>
>>> On Wed, Jul 6, 2016 at 9:42 AM, Heshan Jayasinghe 
>>> wrote:
>>>
 Hi,
 As we discussed in last meeting this week we plan to finish

- flow reposition when BPMN element position changes.
- task resizing
- text attaching
- changing task/event/gateway type using property (element icon
changed with property)


 I created "flow reposition when BPMN element position changes" and
 "task resizing" but not totally completed.I think i can finish it with in
 this week.Can you please send me what are the properties you need for each
 element.Then i can complete it with in this week.

 github url = https://github.com/heshanjse/BPMNEditor  ( last week
 update)

 Thank You!
 regards,
 Heshan Jayasinghe

 On Tue, Jun 21, 2016 at 6:59 AM, Heshan Jayasinghe 
 wrote:

> github url - https://github.com/heshanjse/BPMNEditor
>
> On Tue, Jun 21, 2016 at 6:57 AM, Heshan Jayasinghe  > wrote:
>
>> Hi Isuru,
>>
>> This is the milestone plan we discussed in the last week.
>>
>> 24/6  - draw flows when moving a node
>>  - add properties to the flow
>>  - create delete functionality to every node.
>>  - add arrow and text to the toolbox
>> 1/7- add text to the task
>>  - task resizing
>>  - change task/event/gateway icon according to the selected
>> property type
>> 8/7- change flow shape from start and end point
>>  - add mutiple connection points in the nodes
>> 15/7  - add zoom event to svg and scroll
>> 29/7  - create property list
>> 5/8- export json in to BPMN
>> 19/8  - redraw element using json array after upload a BPMN file
>>
>> Thanks
>> regards,
>> Heshan Jayasinghe
>>
>>
>>
>> On Mon, Jun 20, 2016 at 2:32 PM, Isuru Wijesinghe 
>> wrote:
>>
>>> Hi Heshan,
>>>
>>> Please update the meeting notes. In addition to that can you please
>>> share with us the milestone plan as we discussed in the last week.
>>>
>>> Thanks,
>>> Isuru.
>>>
>>> On Thu, May 26, 2016 at 11:04 PM, Heshan Jayasinghe <
>>> shanu...@gmail.com> wrote:
>>>
 github url - https://github.com/heshanjse/BPMNEditor

 On Thu, May 19, 2016 at 12:52 PM, Heshan Jayasinghe <
 shanu...@gmail.com> wrote:

> Hi Isuru,
> I completed Start Event,End Event,Gateways and Task.Currently
> these 

Re: [Dev] [WSO2 EMM] Making offset and limit parameters as required parameters on all paginated APIs

2016-07-30 Thread Dilan Udara Ariyaratne
Hi Harshan,

Not only these parameters should be required, they should be validated in
terms of the values provided.

For example:
[1] Neither offset nor limit should be minus values.
[2] There should be a maximum limit enforced such that limits beyond that
would not be permitted and it should be configurable.

Cheers,
Dilan.


*Dilan U. Ariyaratne*
Senior Software Engineer
WSO2 Inc. 
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware


On Fri, Jul 29, 2016 at 6:42 PM, Harshan Liyanage  wrote:

> Hi all,
>
> Following issue [1] can be observed in latest EMM pack (with Mysql setup)
> when we invoke the "/api/device-mgt/v1.0/devices" API to fetch devices.
> This is happening because we set the limit and offset as 0,0 to the device
> fetch query if the limit and offset query params are not provided. In MySql
> this query will return an empty set and the API response will look like
> below.
>
> {
>"devices": [],
>"count": 10
> }
>
> Due to this issue all the paginated APIs will be RESTfully wrong (as those
> APIs won't return any data other than the count) if we don't provide the
> limit and offset parameters to them. On the otherhand we can't return all
> the matching resources for APIs like /devices, /users because there might
> be 1000's of devices or users and it'll consume lot of server resources to
> generate such a response.
>
> So shall we do the $subject? WDYT ?
>
> [1]. https://wso2.org/jira/browse/EMM-1424
>
> Thanks,
>
> Harshan Liyanage
> Senior Software Engineer
> Mobile: *+94765672894*
> Email: hars...@wso2.com
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Log already in use ? Server runtime exception

2016-07-30 Thread Mohamed Firnas
Hi,

Yes. Thanks.

And my question is , When we are trying to do some experiments and If it
throws run-time exception , we could not able to continue further since
server not responding for several minutes/ long gap. such cases not
possible to gracefully shutdown the server as you mentioned , need force
shutdown (temporarily stop the process / suspending ) anyway (CTRL + Z ) ,
for then can continue by killing each and every running instances in
background.

This is what I am doing normally when I faced this kind of problems

exactly what should I have to do in such cases like server not responding ?
because force shutdown would make crash in the server and break pipeline
and would throw kind of JDBC database exception,

and to start up the server again we should need to restart the machine or
else build the product again as I know . please correct me if I went wrong


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

Regards
Firnas

*AM Firnas*
Software Engineer - Intern
fir...@wso2.com
mobile : +9477 045 8636


On Sat, Jul 30, 2016 at 9:48 AM, Isuru Rupasinghe  wrote:

> Hi,
>
> I think your not a member in Dev List. To Subscribe,  Send  a mail to 
> "*dev-requ...@wso2.org
> *" with subject "*Subscribe*" [1]
>
> [1] http://wso2.com/mail/
>
> Thanks & Regards,
>
> On Fri, Jul 29, 2016 at 8:59 PM, Mohamed Firnas  wrote:
>
>> Why I could not send emails to dev group ?
>>
>>
>> *AM Firnas*
>> Software Engineer - Intern
>> fir...@wso2.com
>> mobile : +9477 045 8636
>>
>>
>> -- Forwarded message --
>> From: Mohamed Firnas 
>> Date: Fri, Jul 29, 2016 at 8:55 PM
>> Subject: Fwd: [Dev] Log already in use ? Server runtime exception
>> To: dev@wso2.org
>>
>>
>>
>> *AM Firnas*
>> Software Engineer - Intern
>> fir...@wso2.com
>> mobile : +9477 045 8636
>>
>>
>> -- Forwarded message --
>> From: Mohamed Firnas 
>> Date: Fri, Jul 29, 2016 at 8:51 PM
>> Subject: [Dev] Log already in use ? Server runtime exception
>> To: d...@wso2.com
>>
>>
>> Hi,
>>
>> When I up and run the server, most of the times I found "Log already in
>> use ?" exception in console. This happens because of trying force shutdown
>> ( ctrl + z ) , but I could not omit this in some cases like ctrl + c not
>> worked .
>>
>> So then what I am trying is run  "ps -ef |grep wso2" and kill all the
>> running instances  using "kill -9 "
>>
>> Is that a good practise ? or else what should I do when this kind of
>> exception occurs ? :)
>>
>> error : http://hastebin.com/rabinolige.sm
>>
>>
>>
>> Regards
>> Firnas
>>
>> *AM Firnas*
>> Intern - Software Engineer
>> fir...@wso2.com
>> mobile : +9477 045 8636
>>
>>
>>
>>
>
>
> --
>
>
>
>
> *Isuru RupasingheWSO2 Inc.: http://wso2.com
> lean.enterprise.middle-waremobile: +94 77 590 4545
> <%2B94%2077%20352%C2%A05930>*
> *office: +94 11 214 5345 / +94 11 7**43 5800 ext: 5739*
>
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-07-30 Thread Nirmal Fernando
On Sat, Jul 30, 2016 at 1:43 PM, Lakini Senanayaka <
lakinisenanayak...@gmail.com> wrote:

> Hi,
>
> I have solved the above problem.I have referred the mail thread *[Dev]
> "Error 403 - Forbidden" when session expires in admin console*[1] in dev
> mailing list.I couldn't upload  jaggery files to the console  and when I
> was trying to do it, it gave the* Error 403-Forbidden.*
>
> I have copied the jaggery files to
> */repository/deployment/server/jaggerapps* directory as Supun
> instructed and it worked.
>
> Although I have implemented the back end for feed forward neural network
> still it has some problems.It doesn't work well.Do I need to add the
>  neural network algorithms to the
> *org.wso2.carbon.ml.core.spark.algorithms* in Carbon ML ?Do I need to
> follow the same pattern which is used by the Carbon ML when implementing
> the back end coding and APIs?
>

Yes please.

>
> I will submit the demo ASAP.
>
> [1]
> https://mail.google.com/mail/u/0/#search/Re%3A+%5BDev%5D+%22Error+403++Forbidden%22+when+session+expires+in+admin%09console/155bfcbf7e98992f?projector=1
>
> Thank you.
> --
> KIND Regards,
> *Lakini Senanayaka.*
>
>


-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data 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] [IoTS] when will the IoTS be GA?

2016-07-30 Thread 云展智创
Hi,

Could anyone tell me when will the IoTS be GA? Thanks a lot.

--
Zhanwen Zhou (Jason), 
+86 13922218435
zhanwen.z...@smartcloudex.com
Guangzhou Smart Cloudex Technology Co., Ltd.
Business: API Management, IOT

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


Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-07-30 Thread Lakini Senanayaka
Hi,

I have solved the above problem.I have referred the mail thread *[Dev]
"Error 403 - Forbidden" when session expires in admin console*[1] in dev
mailing list.I couldn't upload  jaggery files to the console  and when I
was trying to do it, it gave the* Error 403-Forbidden.*

I have copied the jaggery files to
*/repository/deployment/server/jaggerapps* directory as Supun
instructed and it worked.

Although I have implemented the back end for feed forward neural network
still it has some problems.It doesn't work well.Do I need to add the
 neural network algorithms to the *org.wso2.carbon.ml.core.spark.algorithms*
in Carbon ML ?Do I need to follow the same pattern which is used by the
Carbon ML when implementing the back end coding and APIs?

I will submit the demo ASAP.

[1]
https://mail.google.com/mail/u/0/#search/Re%3A+%5BDev%5D+%22Error+403++Forbidden%22+when+session+expires+in+admin%09console/155bfcbf7e98992f?projector=1

Thank you.
-- 
KIND Regards,
*Lakini Senanayaka.*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev