[Dev] (ESBJAVA-3345) [JMS] If a faulty proxy service is deleted, it is not removing from the management UI

2014-11-28 Thread Supun Malinga
Hi,

I'm trying to merge the PR and have a concern.

This change would potentially affect other service types as well. Were you
able to do a regression test with other products which use axis2 services
?. For eg: DSS use axis2, and please try with other proxy service types
other than jms proxy if you haven't already done.

thanks,

On Wed, Nov 26, 2014 at 8:06 PM, Priyadarssini Kishokumar (JIRA) <
j...@wso2.org> wrote:

>Priyadarssini Kishokumar
> 
> commented on [image: Bug] ESBJAVA-3345
> 
>  *[JMS] If a faulty proxy service is deleted, it is not removing from the
> management UI* 
>
> https://github.com/wso2-dev/carbon-deployment/pull/50
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
> ___
> Carbon-jira mailing list
> carbon-j...@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-jira
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com 
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating Git Repository for staxon library

2014-11-28 Thread Kasun Indrasiri
This is already forked for some set of fixes/features. Lets review them and
then then decide how we can proceed.

On Fri, Nov 28, 2014 at 7:41 PM, Sagara Gunathunga  wrote:

>
>
> On Fri, Nov 28, 2014 at 7:28 PM, Afkham Azeez  wrote:
>
>> I am generally -1 for forking external dependencies. There should be
>> workarounds for these. Please explain with details why this fork is
>> necessary.
>>
>
> Additionally I would like to know whether you have contact original
> authors of Staxon ? if not first you have to contact them and discuss
> about these changes. If you are doing improvements original project will
> welcome your changes.
>
> Thanks !
>
>>
>> On Fri, Nov 28, 2014 at 2:39 PM, Isuru Ranawaka  wrote:
>>
>>> Hi ,
>>>
>>> Staxon library is used in ESB as underlying JSON library. We need to
>>> improve and add more functionalities to this library .So what will be the
>>> process of creating above git repo.
>>>
>>> thanks
>>> isurur
>>>
>>>
>>> --
>>> Best Regards
>>> Isuru Ranawaka
>>> M: +94714629880
>>> Blog : http://isurur.blogspot.com/
>>>
>>
>>
>>
>> --
>> *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*
>>
>> ___
>> 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
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How can I get the TRACE logging to work?

2014-11-28 Thread Rajkumar Rajaratnam
Hi Dulanja,

Were you able to solve this issue?

I am trying to use per service logging in ESB. I enabled trace log for my
proxy service. I am not getting any trace logs in my log file. It is
discussed in [1].

Appreciate if you could share how you solved this issue.

1. [Dev][ESB] Per service logging with ESB

Thanks.

On Wed, Apr 30, 2014 at 1:17 AM, Dulanja Liyanage  wrote:

> Hi All,
>
> $subject.
>
> Following are the defaults inside log4j.properties file
>
> log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
> # Appender config to CARBON_TRACE_LOGFILE
>
> log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
>
> log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
> log4j.appender.CARBON_TRACE_LOGFILE.Append=true
>
> log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
> log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p
> {%c} - %x %m {%c}%n
> log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
> log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
> log4j.additivity.trace.messages=false
>
>
> I have enabled TRACE for the component as following:
>
> log4j.logger.org.wso2.carbon.identity.application=TRACE
>
>
> From code I'm calling like following:
>
> if (log.isTraceEnabled()) {
>   log.trace("Inside handle()");
> }
>
>
> I checked wso2carbon-trace-messages.log, it's empty. However, the DEBUG
> logs of log4j.logger.org.wso2.carbon.identity.application are printed in
> wso2carbon.log as expected.
>
> Am I missing something here? Or is TRACE broken?
>
> Thanks,
> Dulanja
>
> --
> Dulanja Liyanage
> WSO2 Inc.
> M: +94776764717
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Per service logging with ESB

2014-11-28 Thread Rajkumar Rajaratnam
Hi,

I want to use per service logging in ESB.

I created a proxy with a simple log mediator. And I configured my log4j
properties as below.

log4j.category.SERVICE_LOGGER.MyProxy=INFO, PROXY_APPENDER

log4j.additivity.PROXY_APPENDER=false
log4j.additivity.PROXY_APPENDER.threshold=TRACE
log4j.appender.PROXY_APPENDER=org.apache.log4j.DailyRollingFileAppender
log4j.appender.PROXY_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/myproxy${instance.log}.log

log4j.appender.PROXY_APPENDER.Append=true
log4j.appender.PROXY_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.PROXY_APPENDER.layout.ConversionPattern=%d{ISO8601}
[%X{ip}-%X{host}] [%t] %5p %c{1} %m%n

Now I am getting the log mediator's results in myproxy.log

However, when I changed the log level to TRACE, I am not getting any trace
logs in myproxy.log.

log4j.category.SERVICE_LOGGER.MyProxy=TRACE, PROXY_APPENDER

What would be issue here?

Appreciate your help on this.

Thanks.

-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Storage Server] Use of cql-internal-only-1.4.1.zip, thrift-python-internal-only-0.7.0.zip in the distribution

2014-11-28 Thread Harsha Kumara
Hi Bhathiya,

We are copying necessary library to the repository for the cql, hence these
are not needed. I will remove these files from the distribution as they no
need.

Thanks,
Harsha

On Fri, Nov 28, 2014 at 8:04 PM, Bhathiya Jayasekara 
wrote:

> Hi Harsha,
>
> Make sure any of those are not required for cqlsh.
>
> Thanks,
> Bhathiya
>
> On Fri, Nov 28, 2014 at 12:44 AM, Harsha Kumara  wrote:
>
>> Hi All,
>>
>> Storage Server is shipping
>> cql-internal-only-1.4.1.zip, thrift-python-internal-only-0.7.0.zip in the
>> distribution. Do we needs to include these files in the distribution? AFAIK
>> there no direct usage of them to the product. Python internal only is the
>> thrift python library while cql internal only is the python cql driver.
>>
>> Shall we remove them from the repo?
>>
>> Thanks,
>> Harsha
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618
>> Blog:harshcreationz.blogspot.com
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *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
> *
>



-- 
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] SlideShare connector - HTTP/1.1 301 Moved Permanently

2014-11-28 Thread Vanii Thiyagarajah
Hi All,
 I'm implementing  WSO2 ESB connector  project  for SlideShare API. Their
API end point working properly in Rest client .When  running through WSO2
ESB i got this error. Can you please figure out this error.

Response in XML



You must use https:// to access this API
endpoint



*synapse configuration *

http://ws.apache.org/ns/synapse";>
















https://www.slideshare.net/api/2/get_slideshow?api_key={uri.var.api_key}&ts={uri.var.ts}&hash={uri.var.hash}&slideshow_id={uri.var.slideshow_id}&slideshow_url={uri.var.slideshow_url}";
/>


















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


Re: [Dev] [Storage Server] Use of cql-internal-only-1.4.1.zip, thrift-python-internal-only-0.7.0.zip in the distribution

2014-11-28 Thread Bhathiya Jayasekara
Hi Harsha,

Make sure any of those are not required for cqlsh.

Thanks,
Bhathiya

On Fri, Nov 28, 2014 at 12:44 AM, Harsha Kumara  wrote:

> Hi All,
>
> Storage Server is shipping
> cql-internal-only-1.4.1.zip, thrift-python-internal-only-0.7.0.zip in the
> distribution. Do we needs to include these files in the distribution? AFAIK
> there no direct usage of them to the product. Python internal only is the
> thrift python library while cql internal only is the python cql driver.
>
> Shall we remove them from the repo?
>
> Thanks,
> Harsha
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



-- 
*Bhathiya Jayasekara*
*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] Creating Git Repository for staxon library

2014-11-28 Thread Sagara Gunathunga
On Fri, Nov 28, 2014 at 7:28 PM, Afkham Azeez  wrote:

> I am generally -1 for forking external dependencies. There should be
> workarounds for these. Please explain with details why this fork is
> necessary.
>

Additionally I would like to know whether you have contact original authors
of Staxon ? if not first you have to contact them and discuss about these
changes. If you are doing improvements original project will welcome your
changes.

Thanks !

>
> On Fri, Nov 28, 2014 at 2:39 PM, Isuru Ranawaka  wrote:
>
>> Hi ,
>>
>> Staxon library is used in ESB as underlying JSON library. We need to
>> improve and add more functionalities to this library .So what will be the
>> process of creating above git repo.
>>
>> thanks
>> isurur
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>
>
>
> --
> *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*
>
> ___
> 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating Git Repository for staxon library

2014-11-28 Thread Afkham Azeez
I am generally -1 for forking external dependencies. There should be
workarounds for these. Please explain with details why this fork is
necessary.

On Fri, Nov 28, 2014 at 2:39 PM, Isuru Ranawaka  wrote:

> Hi ,
>
> Staxon library is used in ESB as underlying JSON library. We need to
> improve and add more functionalities to this library .So what will be the
> process of creating above git repo.
>
> thanks
> isurur
>
>
> --
> Best Regards
> Isuru Ranawaka
> M: +94714629880
> Blog : http://isurur.blogspot.com/
>



-- 
*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 3320919blog: **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] Please Commit Fix To Patch0009 [IDENTITY-2730]

2014-11-28 Thread Shiva Balachandran
Hi Kernel Team,

Please commit patch for [1]. The modification is done in the carbon.core.

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

Thank you.

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Lakshman Udayakantha
Hi Inshaf,

Did you set the JAVA_HOME in your machine by adding following lines to
.bashrc or .bash_profile?

JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

export JAVA_HOME

Thanks

On Fri, Nov 28, 2014 at 6:05 PM, Inshaf Mahath  wrote:

> Hi Lakshman,
>
> I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
> occasion.
>
> On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha 
> wrote:
>
>> Hi Inshaf,
>>
>> You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
>> which is an old one. please try the right documentation[1].
>>
>> [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs
>>
>> On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath  wrote:
>>
>>> Hi,
>>>
>>> I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
>>> After publishing the events to thrift port they were successfully stored in
>>> Cassandra database which can be viewed using Cassandra Explorer. But I
>>> am getting following error once I installed the 'HTTPD Logs Analysis
>>> Toolbox' on BAM console.
>>>
>>>
>>> Hive history
>>> file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
>>> 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
>>> SCDynamicStore
>>> OK
>>> OK
>>> Total MapReduce jobs = 1
>>> Launching Job 1 out of 1
>>> Number of reduce tasks not specified. Estimated from input data size: 1
>>> In order to change the average load for a reducer (in bytes):
>>>   set hive.exec.reducers.bytes.per.reducer=
>>> In order to limit the maximum number of reducers:
>>>   set hive.exec.reducers.max=
>>> In order to set a constant number of reducers:
>>>   set mapred.reduce.tasks=
>>> java.io.IOException: Cannot run program "null/bin/java" (in directory
>>> "/Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
>>> at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
>>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
>>> at java.lang.Runtime.exec(Runtime.java:593)
>>> at java.lang.Runtime.exec(Runtime.java:431)
>>> at
>>> org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
>>> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
>>> at
>>> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
>>> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
>>> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
>>> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
>>> at
>>> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
>>> at
>>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
>>> at
>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
>>> at
>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
>>> at
>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>> at java.lang.Thread.run(Thread.java:695)
>>> Caused by: java.io.IOException: error=2, No such file or directory
>>> at java.lang.UNIXProcess.forkAndExec(Native Method)
>>> at java.lang.UNIXProcess.(UNIXProcess.java:53)
>>> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
>>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>>> ... 18 more
>>> [2014-11-28 11:23:03,050] ERROR
>>> {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run
>>> program "null/bin/java" (in directory "
>>> /Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
>>> FAILED: Execution Error, return code 1 from
>>> org.apache.hadoop.hive.ql.exec.MapRedTask
>>> [2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
>>> FAILED: Execution Error, return code 1 from
>>> org.apache.hadoop.hive.ql.exec.MapRedTask
>>> [2014-11-28 11:23:03,057] ERROR
>>> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
>>> while executing Hive script.
>>> Query returned non-zero code: 9, cause: FAILED: Execution Error, return
>>> code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
>>> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
>>> Execution Error, return code 1 from
>>> org.apache.hadoop.hive.ql.exec.MapRedTask
>>> at
>>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
>>> at
>>> org.wso2.carbon.analytics.hive.i

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Inshaf Mahath
Hi Lakshman,

I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
occasion.

On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha 
wrote:

> Hi Inshaf,
>
> You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
> which is an old one. please try the right documentation[1].
>
> [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs
>
> On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath  wrote:
>
>> Hi,
>>
>> I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
>> After publishing the events to thrift port they were successfully stored in
>> Cassandra database which can be viewed using Cassandra Explorer. But I
>> am getting following error once I installed the 'HTTPD Logs Analysis
>> Toolbox' on BAM console.
>>
>>
>> Hive history
>> file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
>> 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
>> SCDynamicStore
>> OK
>> OK
>> Total MapReduce jobs = 1
>> Launching Job 1 out of 1
>> Number of reduce tasks not specified. Estimated from input data size: 1
>> In order to change the average load for a reducer (in bytes):
>>   set hive.exec.reducers.bytes.per.reducer=
>> In order to limit the maximum number of reducers:
>>   set hive.exec.reducers.max=
>> In order to set a constant number of reducers:
>>   set mapred.reduce.tasks=
>> java.io.IOException: Cannot run program "null/bin/java" (in directory
>> "/Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
>> at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
>> at java.lang.Runtime.exec(Runtime.java:593)
>> at java.lang.Runtime.exec(Runtime.java:431)
>> at
>> org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
>> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
>> at
>> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
>> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
>> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
>> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
>> at
>> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
>> at
>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>> at java.lang.Thread.run(Thread.java:695)
>> Caused by: java.io.IOException: error=2, No such file or directory
>> at java.lang.UNIXProcess.forkAndExec(Native Method)
>> at java.lang.UNIXProcess.(UNIXProcess.java:53)
>> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>> ... 18 more
>> [2014-11-28 11:23:03,050] ERROR
>> {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run
>> program "null/bin/java" (in directory "/Users/inshaf/server/wso2bam-2.4.1"):
>> error=2, No such file or directory
>> FAILED: Execution Error, return code 1 from
>> org.apache.hadoop.hive.ql.exec.MapRedTask
>> [2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
>> FAILED: Execution Error, return code 1 from
>> org.apache.hadoop.hive.ql.exec.MapRedTask
>> [2014-11-28 11:23:03,057] ERROR
>> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
>> while executing Hive script.
>> Query returned non-zero code: 9, cause: FAILED: Execution Error, return
>> code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
>> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
>> Execution Error, return code 1 from
>> org.apache.hadoop.hive.ql.exec.MapRedTask
>> at
>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
>> at
>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
>> at java.util.concu

Re: [Dev] Jaggery Build Fail

2014-11-28 Thread Manuranga Perera
Hi Dharshana and Nuwan,
thanks, this fixed in it in my local setup

On Fri, Nov 28, 2014 at 4:20 PM, Nuwan Wimalasekara  wrote:

> Hi Ruchira
> This is due to class loading issue when loading from xalan jar when
> evaluating XPath. Please add below dependency to tests pom to load the
> correct class.
>
> 
> xalan
> xalan
> 2.6.0
> test
> 
>
> Thanks,
> Nuwanw
>
> On Fri, Nov 28, 2014 at 4:09 PM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi Ruchira/ Manuranga,
>>
>> The automation framework 4.3.1-SNAPSHOT id no longer available. Please
>> change the version into 4.3.1 and check this.
>>
>> As the log it seems like you are using older version of Automation.xml.
>>
>> Please refer the automation.xml on [1].
>>
>> [1].
>> https://github.com/wso2/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml
>>
>> Thank You,
>> Dharshana.
>>
>>
>> On Fri, Nov 28, 2014 at 3:05 PM, Ruchira Wageesha 
>> wrote:
>>
>>> Hi Krishantha,
>>>
>>> Can you please shed some light here? AS team is blocked due to this.
>>>
>>> On Fri, Nov 28, 2014 at 2:35 PM, Manuranga Perera  wrote:
>>>
 Jaggery build fails in https://wso2.org/jenkins/job/jaggery/100/console

 seem like it's caused by some update in integration framework. Can you
 please take a look and let us know if this is something we should fix in
 our side.
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

>>>
>>>
>>>
>>> --
>>>
>>> *Ruchira Wageesha**Associate Technical Lead*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> *
>>>
>>> *email: ruch...@wso2.com ,   blog:
>>> ruchirawageesha.blogspot.com ,
>>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>>
>>
>>
>>
>> --
>>
>> Dharshana Warusavitharana
>> Senior Software Engineer , Test Automation
>> WSO2 Inc. http://wso2.com
>> email : dharsha...@wso2.com 
>> Tel  : +94 11 214 5345
>> Fax :+94 11 2145300
>> cell : +94770342233
>> blog : http://dharshanaw.blogspot.com
>>
>> lean . enterprise . middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-11-28 Thread Chanika Geeganage
The new pack can be found from
https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28-11-2014/

On Fri, Nov 28, 2014 at 5:28 AM, Chanika Geeganage  wrote:

> p2-repo is available at
> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/
>
> On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage 
> wrote:
>
>> The latest pack can be downloaded from
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip
>>
>> Thanks
>>
>> On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage 
>> wrote:
>>
>>> Hi,
>>>
>>> The new DSS 3.2.2 pack is available at
>>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip
>>>
>>> Thanks
>>>
>>> On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage 
>>> wrote:
>>>
 Hi Aparna,

 Building the p2-repo is halted as some of the released artifacts are
 not deployed to nexus. See "Nested categories released in chunk-11 are not
 deployed in nexus". Once this issue is sorted out, I will build the p2-repo
 and update the thread.

 Thanks

 On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna 
 wrote:

> Hi Chanika,
>
> Can you please share the p2 repo as well?
>
> Regards,
> Aparna.
>
>
> On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage 
> wrote:
>
>> Hi,
>>
>> Please find the latest DSS 3.2.2 pack from
>> https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip
>>
>> Thanks
>>
>> On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya <
>> mani...@wso2.com> wrote:
>>
>>> Fixed the build and latest DSS and BAM packs are available at
>>> https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/
>>>
>>>
>>> *Maninda Edirisooriya*
>>> Senior Software Engineer
>>>
>>> *WSO2, Inc.*lean.enterprise.middleware.
>>>
>>> *Blog* : http://maninda.blogspot.com/
>>> *E-mail* : mani...@wso2.com
>>> *Skype* : @manindae
>>> *Twitter* : @maninda
>>>
>>> On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya <
>>> mani...@wso2.com> wrote:
>>>
 Yes. Yesterday night I built both DSS and BAM and there was a build
 break and a BAM internal defect. Therefore was not able to release it. 
 At
 the moment we are in the process of fixing these issues.


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage <
 chan...@wso2.com> wrote:

> Hi,
>
> Both BAM and DSS are added to chunk-13. Yesterday there was some
> issues found in the built BAM pack during smoke test. Maninda will be 
> able
> to give more details about the issues. We will try to resolve those 
> issues
> and provide RC packs today.
>
> Thanks
>
>
> On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias 
> wrote:
>
>> AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
>> please?
>>
>> BAM/APIM have moved to chunk-14. Ratha is building packs now and
>> we should be able to provide packs within the day.
>>
>> Thanks,
>> NuwanD.
>>
>> On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna <
>> apa...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Since the Chunk 13 release date scheduled on 3rd week of
>>> November, can you build all chunk 13 packs in the builder machine 
>>> and share
>>> the latest packs and p2 repo with us.
>>>
>>>
>>> Regards,
>>> --
>>> *Aparna Karunarathna.*
>>>
>>>
>>> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
>>> <0714002533>*
>>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> Best Regards..
>
> Chanika Geeganage
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
>

>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Aparna Karunarathna.*
>
>
> *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533*
>



 --
 Best Regards..

 Chanika Ge

Re: [Dev] Kernel commits required to patch0009

2014-11-28 Thread Kishanthan Thangarajah
Applied the patch. On a side note, don't resolve the jira until the fix is
applied and verified.

On Fri, Nov 28, 2014 at 3:40 PM, Thushara Ranawaka 
wrote:

> Hi Kishanthan,
>
> Corrected the formatting issues. Kindly apply the patch attached in
> Jira[1].
> Note: removed the newline
>
> [1] https://wso2.org/jira/browse/CARBON-15092
>
> Thanks,
>
> On Fri, Nov 28, 2014 at 3:16 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> Thusara, I'm still seeing some formatting issues with this patch.
>>
>> On Thu, Nov 27, 2014 at 3:02 PM, Thushara Ranawaka 
>> wrote:
>>
>>> Hi Kishanthan,
>>>
>>> Corrected the formatting issues. Kindly apply the patch attached in
>>> Jira[1].
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-15092
>>>
>>> Thanks,
>>>
>>>
>>> On Thu, Nov 27, 2014 at 12:27 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 This fix is adding a deprecated tag for a public API. Any reason for
 this? Also this patch has some formatting issues. Please fix that and send
 it again.

 +@Deprecated
  public void shutdown() throws ClusteringFault {
  try {
  Hazelcast.shutdownAll();


 On Wed, Nov 26, 2014 at 4:52 PM, Thushara Ranawaka 
 wrote:

> Hi Kishanthan/Manoj,
>
> Kindly apply the patch attached in Jira[1].
>
> [1] https://wso2.org/jira/browse/CARBON-15092
>
> Thanks,
> --
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; 
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *thusha...@wso2.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
 *

>>>
>>>
>>>
>>> --
>>> Thushara Kasun Ranawaka
>>> Software Engineer
>>> WSO2 Inc.; 
>>> lean.enterprise.middleware
>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>> *thusha...@wso2.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 *
>>
>
>
>
> --
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; 
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *thusha...@wso2.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 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Lakshman Udayakantha
Hi Inshaf,

You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
which is an old one. please try the right documentation[1].

[1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs

On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath  wrote:

> Hi,
>
> I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
> After publishing the events to thrift port they were successfully stored in
> Cassandra database which can be viewed using Cassandra Explorer. But I am
> getting following error once I installed the 'HTTPD Logs Analysis Toolbox'
> on BAM console.
>
>
> Hive history
> file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
> 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
> SCDynamicStore
> OK
> OK
> Total MapReduce jobs = 1
> Launching Job 1 out of 1
> Number of reduce tasks not specified. Estimated from input data size: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=
> java.io.IOException: Cannot run program "null/bin/java" (in directory
> "/Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
> at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
> at java.lang.Runtime.exec(Runtime.java:593)
> at java.lang.Runtime.exec(Runtime.java:431)
> at
> org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
> at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
> at
> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
> at
> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:695)
> Caused by: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.(UNIXProcess.java:53)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 18 more
> [2014-11-28 11:23:03,050] ERROR
> {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run
> program "null/bin/java" (in directory "/Users/inshaf/server/wso2bam-2.4.1"):
> error=2, No such file or directory
> FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.MapRedTask
> [2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
> FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.MapRedTask
> [2014-11-28 11:23:03,057] ERROR
> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
> while executing Hive script.
> Query returned non-zero code: 9, cause: FAILED: Execution Error, return
> code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
> Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.MapRedTask
> at
> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> java.util.concurrent.ThreadPoolExe

[Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Inshaf Mahath
Hi,

I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
After publishing the events to thrift port they were successfully stored in
Cassandra database which can be viewed using Cassandra Explorer. But I am
getting following error once I installed the 'HTTPD Logs Analysis Toolbox'
on BAM console.


Hive history
file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
SCDynamicStore
OK
OK
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=
In order to set a constant number of reducers:
  set mapred.reduce.tasks=
java.io.IOException: Cannot run program "null/bin/java" (in directory
"/Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at
org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
at
org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
at
org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 18 more
[2014-11-28 11:23:03,050] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver}
-  Exception: Cannot run program "null/bin/java" (in directory "
/Users/inshaf/server/wso2bam-2.4.1"): error=2, No such file or directory
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.MapRedTask
[2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.MapRedTask
[2014-11-28 11:23:03,057] ERROR
{org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
while executing Hive script.
Query returned non-zero code: 9, cause: FAILED: Execution Error, return
code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.MapRedTask
at
org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
[2014-11-28 11:23:03,058] ERROR
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Error while
executing script : phone_retail_store_script
org.wso2.carbon.analytics.hive.exception.HiveExecutionException: Error
while executing Hive script.Query returned non-zero code: 9, cause: FAILED:
Execution Error, return code 1 from
org.apache.hadoo

[Dev] BAM 2.5.0 todays build for testing

2014-11-28 Thread Malith Dhanushka
Hi QA Team,

Please find the BAM 2.5.0 latest build for QA testing at [1].

This was built with a clean repo from the revision 209990.

[1]
https://svn.wso2.org/repos/wso2/people/malith/BAM-2.5.0/28-11-2014/wso2bam-2.5.0.zip


Thanks,
Malith

-- 
Malith Dhanushka
Software Engineer - Data Technologies
*WSO2, Inc. : wso2.com *
*Mobile*  : +94 716 506 693
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery Build Fail

2014-11-28 Thread Nuwan Wimalasekara
Hi Ruchira
This is due to class loading issue when loading from xalan jar when
evaluating XPath. Please add below dependency to tests pom to load the
correct class.


xalan
xalan
2.6.0
test


Thanks,
Nuwanw

On Fri, Nov 28, 2014 at 4:09 PM, Dharshana Warusavitharana <
dharsha...@wso2.com> wrote:

> Hi Ruchira/ Manuranga,
>
> The automation framework 4.3.1-SNAPSHOT id no longer available. Please
> change the version into 4.3.1 and check this.
>
> As the log it seems like you are using older version of Automation.xml.
>
> Please refer the automation.xml on [1].
>
> [1].
> https://github.com/wso2/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml
>
> Thank You,
> Dharshana.
>
>
> On Fri, Nov 28, 2014 at 3:05 PM, Ruchira Wageesha 
> wrote:
>
>> Hi Krishantha,
>>
>> Can you please shed some light here? AS team is blocked due to this.
>>
>> On Fri, Nov 28, 2014 at 2:35 PM, Manuranga Perera  wrote:
>>
>>> Jaggery build fails in https://wso2.org/jenkins/job/jaggery/100/console
>>>
>>> seem like it's caused by some update in integration framework. Can you
>>> please take a look and let us know if this is something we should fix in
>>> our side.
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>
>>
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com ,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>
>
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : dharsha...@wso2.com 
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94770342233
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery Build Fail

2014-11-28 Thread Dharshana Warusavitharana
Hi Ruchira/ Manuranga,

The automation framework 4.3.1-SNAPSHOT id no longer available. Please
change the version into 4.3.1 and check this.

As the log it seems like you are using older version of Automation.xml.

Please refer the automation.xml on [1].

[1].
https://github.com/wso2/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/resources/automation.xml

Thank You,
Dharshana.


On Fri, Nov 28, 2014 at 3:05 PM, Ruchira Wageesha  wrote:

> Hi Krishantha,
>
> Can you please shed some light here? AS team is blocked due to this.
>
> On Fri, Nov 28, 2014 at 2:35 PM, Manuranga Perera  wrote:
>
>> Jaggery build fails in https://wso2.org/jenkins/job/jaggery/100/console
>>
>> seem like it's caused by some update in integration framework. Can you
>> please take a look and let us know if this is something we should fix in
>> our side.
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>
>
>
> --
>
> *Ruchira Wageesha**Associate Technical Lead*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com *
>
> *email: ruch...@wso2.com ,   blog:
> ruchirawageesha.blogspot.com ,
> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>



-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com 
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94770342233
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] Puppet fill templates with cluster configurations and ip addresses of newly spawned instances

2014-11-28 Thread Suhan Dharmasuriya
Hi Chamila,

Thanks you for the prompt reply.
Will check with Hiera and revert.

Thanks,
Suhan

On Fri, Nov 28, 2014 at 2:39 PM, Chamila De Alwis  wrote:

> Hi Suhan,
>
> nodes.pp file can contain the generic information that are used by almost
> all of the modules. However, as far as I understand, you can go for a
> better pattern using Puppet's Hiera key value store[1]. Its main purpose is
> to separate data from the manifests, so in your case you can store config
> data per node in Hiera.
>
> [1] - https://docs.puppetlabs.com/hiera/1/complete_example.html
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Fri, Nov 28, 2014 at 1:41 PM, Suhan Dharmasuriya 
> wrote:
>
>> Hi,
>>
>> We are setting up a simple WSO2 Application Server cluster with one
>> master node and one worker node. This is done via spawning instances in
>> OpenStack cloud via python NovaClient API.
>>
>> After spawning instances we need to get their ip addresses and use them
>> to fill puppet template values. (say master's ip address under members tag
>> of axis2.xml file in worker node [1]) But to copy template values, the
>> instances must be up and running.
>>
>> We tackled this successfully with xml configuration file with a
>> combination of suspending and resuming newly spawned VM appserver instances
>> via python. The xml file contained all the configuration values required to
>> fill the puppet templates (axis2.xml.erb, carbon.xml.erb, etc...).
>>
>> Now we have to try it without xml configuration and by only using puppet
>> configuration files. Our configuration information should be kept inside
>> puppet files.
>>
>> We have a module called appserver inside /etc/puppet/modules/ in the
>> current setup.
>>
>> current site.pp file contents in /etc/puppet/manifests
>>
>> import 'appserver'
>> node 'appserver-mgr' {
>> include appserver::config_mgr}
>>
>> node 'appserver-wkr' {
>> include appserver::config_wkr}
>>
>> inside /etc/puppet/modules/appserver/manifests/ there are two
>> configuration files
>>
>> config_mgr.pp
>> config_wkr.pp
>>
>> We have not used init.pp.
>>
>> 1. How do we retrieve and keep ip addresses of newly spawned instances?
>> Is there a standard way?
>>
>> 2. What should be our approach in keeping cluster configuration data?
>>
>>
>>- Should we keep our cluster configuration inside *nodes.pp* file
>>itself?
>>- If so how to import the configuration to site.pp?
>>
>>
>>- Or should we keep our config information in *params.pp* file in
>>/modules/appserver/manifests location?
>>- If we follow this approach where should we keep the central
>>configuration file, if we use a mix of product clusters (AS and ESB)?
>>
>> Please be kind enough to guide us through this scenario.
>>
>> [1]
>> https://docs.wso2.com/display/CLUSTER420/Configuring+the+Worker+Node#ConfiguringtheWorkerNode-Settingupclusterconfigurationsfortheworkernodes
>> 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
>>
>>
>


-- 
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] Invitation: Revisit APIManager and AppManager default statistics grap... @ Fri 28 Nov 2014 14:00 - 15:00 (Nuwan Dias)

2014-11-28 Thread Dinusha Senanayaka
Notes on App Manager :

- Separates graphs into separate pages
- Allow to sort tables

Graph1 : Overall Subscriptions

Subscription pie chart: show max no of elements that can show in pie chat.
then take remaining subscriptions as other.
Legend width need to dynamic
Each percentage should give detail drill down table, when click on it.

Graph2: Apps Subscribed by User
-
Column1 (Web Apps) Column2 (user)
Make app click-able. go to app details page.
Apps list need to grow down

Graph3: Usage by page
--
Should be renamed as Usage by App. Then once click on a particular bar
relevant to app, it should redirect to Usage by page graph.

Bar chart.
y - axis (Total requests)
x - axis (web app)

x - axis name should be angled.
y axis should be named inside bar.

Graph4: Usage by User
--
Change to a scatter graph

x - web app
y - no of users
Scatter on total requests.
Once click on particular plot, it should give drill down view by user and
number of access.

Graph5: Response Time
---
First graph shows whole web app average response time. (not per page
response time)
Once click on one app, redirect to a page response summarize view


Store graphs
---
Currently existing  graph for Apps Subscribed by User

Regards,
Dinusha.

On Fri, Nov 28, 2014 at 3:30 PM, Nuwan Dias  wrote:

> Notes on the API Manager TODOs for first iteration
>
> 1. Make the Subscriptions Clickable and redirect to API overview Page.
>
> 2. Highlight the Stats menu when it is clicked.
>
> 3. On every page limit number of records to show.
>
> 4. Drill down on Overall API Usage - drill down by date range. Change
> Labels as "API" / "Hits"
>
> 5. Introduce New graph to compare APIs
>
> 6. Response Times - Breakdown for Resource Wise Responses. Change 's' to
> 'ms' (milliseconds). Limit graph to a limit and provide .
>
> 7. Last Access Times - Show Time Zone. - Change to show most recent and
> least recently used APIs
>
> 8. Usage by Resource Path - sort "Hits" - drill down to show access by
> time.
>
> 9. Destination - Drill down "Hits" by time
>
> 10. Usage by User - List by least and most hit. Drill down by "Hits"
>
> Thanks,
> NuwanD.
>
> On Thu, Nov 27, 2014 at 6:37 PM, Dinusha Senanayaka 
> wrote:
>
>> more details »
>> 
>> Revisit APIManager and AppManager default statistics graphs improvements
>> *When*
>> Fri 28 Nov 2014 14:00 – 15:00 Colombo
>> *Where*
>> LK 3rd Floor Meeting Room - Kernel (map
>> 
>> )
>> *Video call*
>> https://plus.google.com/hangouts/_/wso2.com/dinusha
>> 
>> *Calendar*
>> Nuwan Dias
>> *Who*
>> •
>> Dinusha Senanayaka- organiser
>> •
>> Minoli Perera
>> •
>> Nuwan Dias
>> •
>> Sumedha Rubasinghe
>> •
>> Ruwan Yatawara
>> •
>> Binali Perera
>> •
>> dev@wso2.org
>>
>> Going?   *Yes
>> 
>> - Maybe
>> 
>> - No
>> *
>> more options »
>> 
>>
>> Invitation from Google Calendar 
>>
>> You are receiving this email at the account nuw...@wso2.com because you
>> are subscribed for invitations on calendar Nuwan Dias.
>>
>> To stop receiving these emails, please log in to
>> https://www.google.com/calendar/ and change your notification settings
>> for this calendar.
>>
>
>
>
> --
> Nuwan Dias
>
> Associate Tech Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
De

[Dev] [synapse][ESB] syanpse commits required

2014-11-28 Thread Pubudu Dissanayake
Hi Kasun/Isuru

Please apply the patch attached in jira[1]
[1] https://wso2.org/jira/browse/ESBJAVA-3438

-- 
*Pubudu Dissanayake*
 Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mob: + 94 775 503 304

Blog: http://geekdetected.wordpress.com/
Linkedin: *http://lk.linkedin.com/in/pubududissanayake*

Flickr : https://www.flickr.com/photos/pubudufx/
Twitter: https://twitter.com/GeekInAction
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Kernel commits required to patch0009

2014-11-28 Thread Thushara Ranawaka
Hi Kishanthan,

Corrected the formatting issues. Kindly apply the patch attached in Jira[1].
Note: removed the newline

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

Thanks,

On Fri, Nov 28, 2014 at 3:16 PM, Kishanthan Thangarajah  wrote:

> Thusara, I'm still seeing some formatting issues with this patch.
>
> On Thu, Nov 27, 2014 at 3:02 PM, Thushara Ranawaka 
> wrote:
>
>> Hi Kishanthan,
>>
>> Corrected the formatting issues. Kindly apply the patch attached in
>> Jira[1].
>>
>> [1] https://wso2.org/jira/browse/CARBON-15092
>>
>> Thanks,
>>
>>
>> On Thu, Nov 27, 2014 at 12:27 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> This fix is adding a deprecated tag for a public API. Any reason for
>>> this? Also this patch has some formatting issues. Please fix that and send
>>> it again.
>>>
>>> +@Deprecated
>>>  public void shutdown() throws ClusteringFault {
>>>  try {
>>>  Hazelcast.shutdownAll();
>>>
>>>
>>> On Wed, Nov 26, 2014 at 4:52 PM, Thushara Ranawaka 
>>> wrote:
>>>
 Hi Kishanthan/Manoj,

 Kindly apply the patch attached in Jira[1].

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

 Thanks,
 --
 Thushara Kasun Ranawaka
 Software Engineer
 WSO2 Inc.; 
 lean.enterprise.middleware
 Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
 *thusha...@wso2.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
>>> *
>>>
>>
>>
>>
>> --
>> Thushara Kasun Ranawaka
>> Software Engineer
>> WSO2 Inc.; 
>> lean.enterprise.middleware
>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>> *thusha...@wso2.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 *
>



-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; 
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*thusha...@wso2.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Revisit APIManager and AppManager default statistics grap... @ Fri 28 Nov 2014 14:00 - 15:00 (Nuwan Dias)

2014-11-28 Thread Nuwan Dias
Notes on the API Manager TODOs for first iteration

1. Make the Subscriptions Clickable and redirect to API overview Page.

2. Highlight the Stats menu when it is clicked.

3. On every page limit number of records to show.

4. Drill down on Overall API Usage - drill down by date range. Change
Labels as "API" / "Hits"

5. Introduce New graph to compare APIs

6. Response Times - Breakdown for Resource Wise Responses. Change 's' to
'ms' (milliseconds). Limit graph to a limit and provide .

7. Last Access Times - Show Time Zone. - Change to show most recent and
least recently used APIs

8. Usage by Resource Path - sort "Hits" - drill down to show access by time.

9. Destination - Drill down "Hits" by time

10. Usage by User - List by least and most hit. Drill down by "Hits"

Thanks,
NuwanD.

On Thu, Nov 27, 2014 at 6:37 PM, Dinusha Senanayaka 
wrote:

> more details »
> 
> Revisit APIManager and AppManager default statistics graphs improvements
> *When*
> Fri 28 Nov 2014 14:00 – 15:00 Colombo
> *Where*
> LK 3rd Floor Meeting Room - Kernel (map
> 
> )
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/dinusha
> 
> *Calendar*
> Nuwan Dias
> *Who*
> •
> Dinusha Senanayaka- organiser
> •
> Minoli Perera
> •
> Nuwan Dias
> •
> Sumedha Rubasinghe
> •
> Ruwan Yatawara
> •
> Binali Perera
> •
> dev@wso2.org
>
> Going?   *Yes
> 
> - Maybe
> 
> - No
> *
> more options »
> 
>
> Invitation from Google Calendar 
>
> You are receiving this email at the account nuw...@wso2.com because you
> are subscribed for invitations on calendar Nuwan Dias.
>
> To stop receiving these emails, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>



-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Kernel commits required to patch0009

2014-11-28 Thread Kishanthan Thangarajah
Thusara, I'm still seeing some formatting issues with this patch.

On Thu, Nov 27, 2014 at 3:02 PM, Thushara Ranawaka 
wrote:

> Hi Kishanthan,
>
> Corrected the formatting issues. Kindly apply the patch attached in
> Jira[1].
>
> [1] https://wso2.org/jira/browse/CARBON-15092
>
> Thanks,
>
>
> On Thu, Nov 27, 2014 at 12:27 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> This fix is adding a deprecated tag for a public API. Any reason for
>> this? Also this patch has some formatting issues. Please fix that and send
>> it again.
>>
>> +@Deprecated
>>  public void shutdown() throws ClusteringFault {
>>  try {
>>  Hazelcast.shutdownAll();
>>
>>
>> On Wed, Nov 26, 2014 at 4:52 PM, Thushara Ranawaka 
>> wrote:
>>
>>> Hi Kishanthan/Manoj,
>>>
>>> Kindly apply the patch attached in Jira[1].
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-15092
>>>
>>> Thanks,
>>> --
>>> Thushara Kasun Ranawaka
>>> Software Engineer
>>> WSO2 Inc.; 
>>> lean.enterprise.middleware
>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>> *thusha...@wso2.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 *
>>
>
>
>
> --
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; 
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *thusha...@wso2.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 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] [AS-6.0.0] Jaggery build is unstable

2014-11-28 Thread Ruchira Wageesha
Hi Kishanthan,

There is a separate thread "Jaggery Build Fail" started by Manu. Please
follow that. We will fix it asap after talking to automation team.

/Ruchira

On Fri, Nov 28, 2014 at 2:57 PM, Kishanthan Thangarajah  wrote:

> Hi Jaggery Team,
>
> Can we get the build fixed [1]? This is blocking AS nightly build packs
> generation.
>
> Thanks,
> Kishanthan.
> [1] https://wso2.org/jenkins/job/jaggery/
>
> --
> *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 *
>



-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com *

*email: ruch...@wso2.com ,   blog:
ruchirawageesha.blogspot.com ,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery Build Fail

2014-11-28 Thread Ruchira Wageesha
Hi Krishantha,

Can you please shed some light here? AS team is blocked due to this.

On Fri, Nov 28, 2014 at 2:35 PM, Manuranga Perera  wrote:

> Jaggery build fails in https://wso2.org/jenkins/job/jaggery/100/console
>
> seem like it's caused by some update in integration framework. Can you
> please take a look and let us know if this is something we should fix in
> our side.
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com *

*email: ruch...@wso2.com ,   blog:
ruchirawageesha.blogspot.com ,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Blocker] [AS-6.0.0] Jaggery build is unstable

2014-11-28 Thread Kishanthan Thangarajah
Hi Jaggery Team,

Can we get the build fixed [1]? This is blocking AS nightly build packs
generation.

Thanks,
Kishanthan.
[1] https://wso2.org/jenkins/job/jaggery/

-- 
*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 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Puppet fill templates with cluster configurations and ip addresses of newly spawned instances

2014-11-28 Thread Chamila De Alwis
Hi Suhan,

nodes.pp file can contain the generic information that are used by almost
all of the modules. However, as far as I understand, you can go for a
better pattern using Puppet's Hiera key value store[1]. Its main purpose is
to separate data from the manifests, so in your case you can store config
data per node in Hiera.

[1] - https://docs.puppetlabs.com/hiera/1/complete_example.html


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Fri, Nov 28, 2014 at 1:41 PM, Suhan Dharmasuriya  wrote:

> Hi,
>
> We are setting up a simple WSO2 Application Server cluster with one master
> node and one worker node. This is done via spawning instances in OpenStack
> cloud via python NovaClient API.
>
> After spawning instances we need to get their ip addresses and use them to
> fill puppet template values. (say master's ip address under members tag of
> axis2.xml file in worker node [1]) But to copy template values, the
> instances must be up and running.
>
> We tackled this successfully with xml configuration file with a
> combination of suspending and resuming newly spawned VM appserver instances
> via python. The xml file contained all the configuration values required to
> fill the puppet templates (axis2.xml.erb, carbon.xml.erb, etc...).
>
> Now we have to try it without xml configuration and by only using puppet
> configuration files. Our configuration information should be kept inside
> puppet files.
>
> We have a module called appserver inside /etc/puppet/modules/ in the
> current setup.
>
> current site.pp file contents in /etc/puppet/manifests
>
> import 'appserver'
> node 'appserver-mgr' {
> include appserver::config_mgr}
>
> node 'appserver-wkr' {
> include appserver::config_wkr}
>
> inside /etc/puppet/modules/appserver/manifests/ there are two
> configuration files
>
> config_mgr.pp
> config_wkr.pp
>
> We have not used init.pp.
>
> 1. How do we retrieve and keep ip addresses of newly spawned instances? Is
> there a standard way?
>
> 2. What should be our approach in keeping cluster configuration data?
>
>
>- Should we keep our cluster configuration inside *nodes.pp* file
>itself?
>- If so how to import the configuration to site.pp?
>
>
>- Or should we keep our config information in *params.pp* file in
>/modules/appserver/manifests location?
>- If we follow this approach where should we keep the central
>configuration file, if we use a mix of product clusters (AS and ESB)?
>
> Please be kind enough to guide us through this scenario.
>
> [1]
> https://docs.wso2.com/display/CLUSTER420/Configuring+the+Worker+Node#ConfiguringtheWorkerNode-Settingupclusterconfigurationsfortheworkernodes
> 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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Creating Git Repository for staxon library

2014-11-28 Thread Isuru Ranawaka
Hi ,

Staxon library is used in ESB as underlying JSON library. We need to
improve and add more functionalities to this library .So what will be the
process of creating above git repo.

thanks
isurur


-- 
Best Regards
Isuru Ranawaka
M: +94714629880
Blog : http://isurur.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jaggery Build Fail

2014-11-28 Thread Manuranga Perera
Jaggery build fails in https://wso2.org/jenkins/job/jaggery/100/console

seem like it's caused by some update in integration framework. Can you
please take a look and let us know if this is something we should fix in
our side.
-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Puppet fill templates with cluster configurations and ip addresses of newly spawned instances

2014-11-28 Thread Suhan Dharmasuriya
Hi,

We are setting up a simple WSO2 Application Server cluster with one master
node and one worker node. This is done via spawning instances in OpenStack
cloud via python NovaClient API.

After spawning instances we need to get their ip addresses and use them to
fill puppet template values. (say master's ip address under members tag of
axis2.xml file in worker node [1]) But to copy template values, the
instances must be up and running.

We tackled this successfully with xml configuration file with a combination
of suspending and resuming newly spawned VM appserver instances via python.
The xml file contained all the configuration values required to fill the
puppet templates (axis2.xml.erb, carbon.xml.erb, etc...).

Now we have to try it without xml configuration and by only using puppet
configuration files. Our configuration information should be kept inside
puppet files.

We have a module called appserver inside /etc/puppet/modules/ in the
current setup.

current site.pp file contents in /etc/puppet/manifests

import 'appserver'
node 'appserver-mgr' {
include appserver::config_mgr}

node 'appserver-wkr' {
include appserver::config_wkr}

inside /etc/puppet/modules/appserver/manifests/ there are two configuration
files

config_mgr.pp
config_wkr.pp

We have not used init.pp.

1. How do we retrieve and keep ip addresses of newly spawned instances? Is
there a standard way?

2. What should be our approach in keeping cluster configuration data?


   - Should we keep our cluster configuration inside *nodes.pp* file
   itself?
   - If so how to import the configuration to site.pp?


   - Or should we keep our config information in *params.pp* file in
   /modules/appserver/manifests location?
   - If we follow this approach where should we keep the central
   configuration file, if we use a mix of product clusters (AS and ESB)?

Please be kind enough to guide us through this scenario.

[1]
https://docs.wso2.com/display/CLUSTER420/Configuring+the+Worker+Node#ConfiguringtheWorkerNode-Settingupclusterconfigurationsfortheworkernodes
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] Carbon-commons build error

2014-11-28 Thread Vijitha Ekanayake
Hi All,

Thanks for the responses.
build was succeeded after updating the repo with new xml schema version.

On Wed, Nov 26, 2014 at 10:22 PM, Kalpa Welivitigoda 
wrote:

> Hi Vijitha,
>
> Once you update the xml schema version in pom.xml and still have the same
> issue, you can try "mvn clean install -U".
>
> On Wed, Nov 26, 2014 at 10:10 PM, Harsha Kumara  wrote:
>
>> Hi Vijitha,
>>
>> Is your repo is upto date? May be you haven't update it after the xml
>> schema version changes.
>>
>> Thanks,
>> Harsha
>>
>> On Wed, Nov 26, 2014 at 9:53 PM, Manoj Kumara  wrote:
>>
>>> Hi Vijitha,
>>>
>>> This is due to the repo you try to build didn't didn't get updated with
>>> the released XmlSchema version. Please refer [1].
>>>
>>> [1] [Carbon-4.3.0] WSO2 XmlSchema 1.4.7-wso2v3 released
>>>
>>> Thanks,
>>> Manoj
>>>
>>>
>>> *Manoj Kumara*
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94713448188
>>>
>>> On Tue, Nov 25, 2014 at 1:36 PM, Vijitha Ekanayake 
>>> wrote:
>>>
 Hi all,

 I get following error when I try to build a fresh clone of
 carbon-commons git repo[1] 


 [ERROR] Failed to execute goal on project
 org.wso2.carbon.application.deployer.bam: Could not resolve dependencies
 for project
 org.wso2.carbon:org.wso2.carbon.application.deployer.bam:bundle:4.3.0-SNAPSHOT:
 Could not find artifact
 org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v3-SNAPSHOT in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 -> [Help 1]


 Any idea how to fix this?

 Thanks

 [1]https://github.com/wso2/carbon-commons

 --
 Vijitha Ekanayake
 Software Engineer*, *WSO2, Inc.; http://wso2.com/
 Mobile : +94 777 24 73 39 | +94 718 74 44 08
 lean.enterprise.middleware

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


>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: kal...@wso2.com
> Mobile: +94776509215
>



-- 
Vijitha Ekanayake
Software Engineer*, *WSO2, Inc.; http://wso2.com/
Mobile : +94 777 24 73 39 | +94 718 74 44 08
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev