Re: [Dev] Creating a tool to take memory dumps and analyze memory info

2015-02-01 Thread Buddhi Senarathna
Hi all, after testing jhat API, i had realize it is bit slow. it took almost 5sec to parse carbon memory dump(size: 119 mb) will it be a problem to use it in test automation process ?? thanks. On Fri, Jan 30, 2015 at 12:58 PM, Buddhi Senarathna wrote: > thanks for the opinion. > > On

Re: [Dev] Creating a tool to take memory dumps and analyze memory info

2015-01-29 Thread Buddhi Senarathna
> > On Fri, Jan 30, 2015 at 11:47 AM, Buddhi Senarathna > wrote: > >> Hi krishantha, >> >> If i'm writing an unit test for this how should i do that and what are >> the requirements? >> expecting your opinion. >> >> thanks. >> >> On

Re: [Dev] Creating a tool to take memory dumps and analyze memory info

2015-01-29 Thread Buddhi Senarathna
Hi krishantha, If i'm writing an unit test for this how should i do that and what are the requirements? expecting your opinion. thanks. On Thu, Jan 29, 2015 at 8:59 AM, Buddhi Senarathna wrote: > hi all, > > currently i'm working on creating a test framework utility tool t

[Dev] Creating a tool to take memory dumps and analyze memory info

2015-01-28 Thread Buddhi Senarathna
hi all, currently i'm working on creating a test framework utility tool to get memory dump of a remote VM and analyze. i'm thinking of using JMX APIs to get memory dump and jhat API to analyze it.i'm able to use OQL(object query language) to retrieve information from the dump file. getting memor

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-13 Thread Buddhi Senarathna
/test/resources directory. > > Thanks, > Krishantha. > > On Tue, Jan 13, 2015 at 9:12 AM, Buddhi Senarathna > wrote: > >> Hi krishantha. >> >> Where should i have to add this test case and where should i have to >> place this deadlock.jar file. >&g

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
Hi krishantha. Where should i have to add this test case and where should i have to place this deadlock.jar file. please give me an advise. thanks. On Tue, Jan 13, 2015 at 8:18 AM, Buddhi Senarathna wrote: > Hi krishantha, > > sure thing. i'll do that. > > thanks > &g

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
> > On Tue, Jan 13, 2015 at 7:51 AM, Buddhi Senarathna > wrote: > >> Hi krishantha, >> >> as you guided, i had started to create the thread analyses sample. >> creating deadlock part is already done. >> >> 1. what else should i have to do? >>

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-12 Thread Buddhi Senarathna
D&sntz=1&usg=AFQjCNFpzgFHf5lpd-ebR40sF-mmIYzpkA> thanks. On Wed, Jan 7, 2015 at 11:09 AM, Buddhi Senarathna wrote: > Hi all, > after having a first code review, it has been suggested to do following > changes. > >1. rename the class name according to the purpose >

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-06 Thread Buddhi Senarathna
16 AM, Buddhi Senarathna wrote: > hi all, > > > My task of creating a tool to take thread dumps and analyze thread info as > test > framework utility is almost finished. > > to had cover these task. > >1. access to a process remotely using process id. >2.

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2015-01-05 Thread Buddhi Senarathna
thread dump using some methods in realtime. 4. give a method to write thread dump into a file. to do this I used JMX Api and tools.jar library which provides JDK. used java version is 1.6.0_32. thank you. On Wed, Dec 24, 2014 at 11:23 AM, Buddhi Senarathna wrote: > Hi krishantha, > not

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2014-12-23 Thread Buddhi Senarathna
Hi krishantha, noted and will change it in next update. thanks On Wed, Dec 24, 2014 at 11:21 AM, Buddhi Senarathna wrote: > Hi hasitha, > thanks a lot, but i'm using JMX api for this. j > > On Tue, Dec 23, 2014 at 6:27 PM, Hasitha Aravinda > wrote: > >> Hi Budd

Re: [Dev] Creating a tool to take thread dumps and analyze thread info

2014-12-23 Thread Buddhi Senarathna
meter as well [1]. (eg: jstack > -l "pid" ). This params records lock owner information only for > synchronized blocks. Which is usefull to detect possible deadlocks. > > [1] - > http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html > > Thanks, >

[Dev] Creating a tool to take thread dumps and analyze thread info

2014-12-23 Thread Buddhi Senarathna
hi all, I'm working on creating a tool to take thread dumps and analyze thread info as carbon test utility. to do that i have to cover these task. 1. access to a process remotely using process id. 2. get thread dump of that remote process . 3. expose necessary informations of thread dum

[Dev] Create java client for deploying execution plans in CEP

2014-11-19 Thread Buddhi Senarathna
I'm creating a Java client program to deploy some of execution plans within a given set of execution plans. (i) what would be the best approach for this? (ii) how can i give an input to execution plan(e.g. getting the time window size as a parameter) -- *Buddhi Chathuranga Senarathna* *Inter

Re: [Dev] Resource.properties file doesn't link with carbon component.

2014-11-04 Thread Buddhi Senarathna
e component.xml file. > Other than that seems you have properly configured. > > Thanks, > Malithi. > > On Tue, Nov 4, 2014 at 11:18 AM, Buddhi Senarathna > wrote: > >> My carbon component works properly. but it doesn't show the name that i >> want to displ

[Dev] Resource.properties file doesn't link with carbon component.

2014-11-03 Thread Buddhi Senarathna
My carbon component works properly. but it doesn't show the name that i want to display. ​ ​i believe the problem occurs when the component links with the Resource.properties file. *this is the folder structure* *​* *this is the content of component.xml file * http://products.wso2.org/carb

Re: [Dev] Error in index.jsp of carbon component

2014-10-06 Thread Buddhi Senarathna
my apologies, there is an another error, which is *"ERROR {org.apache.catalina.core.ApplicationDispatcher} - Servlet.service() for servlet bridgeservlet threw exceptionorg.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP"* On Mon, Oct 6, 2014 at 12:10

[Dev] Error in index.jsp of carbon component

2014-10-05 Thread Buddhi Senarathna
Hi all, I'm writing a carbon component and when it is running on carbon server, it gives following errors *"PWC6199: Generated servlet error:Only a type can be imported. org.wso2.carbon.ser.inf.ui.ServerInfoClient resolves to a packagePWC6197: An error occurred at line: 10 in the jsp file: /

Re: [Dev] Carbon component writing pom xml error

2014-10-03 Thread Buddhi Senarathna
han Deniyage >>> Associate Technical Lead >>> WSO2, Inc: http://wso2.com >>> >>> Mobile: +94 777636406 >>> Twitter: *https://twitter.com/roshku <https://twitter.com/roshku>* >>> LinkedIn : https://www.linkedin.com/in/roshandeniyage &

[Dev] Carbon component writing pom xml error

2014-10-02 Thread Buddhi Senarathna
Hi All, I wrote pom.xml file to build the stub to create my carbon component. When i build it, it builds the bundle without giving any error. but it indicates an error in ** tag and it says "Plugin execution not covered by lifecycle configuration". to fix that i had put all the *..* part inside *.