Re: [Dev] java.lang.IllegalStateException observed continuously in AF stack trace

2014-06-19 Thread Manuranga Perera
Hi Ruchira,
Ajantan has updated the diff. I am committing and creating the patch.
please let me know if you think any improvement should be done to the patch.

https://wso2.org/jira/secure/attachment/32357/APPFAC-2217.diff


On Wed, Jun 11, 2014 at 1:38 PM, Ajanthan Balachandran ajant...@wso2.com
wrote:




 On Wed, Jun 11, 2014 at 12:58 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Don't we need to reset the original classloader of the thread after doing
 call?

 yes we need.I will update the patch.
 thanks

 Thread.currentThread().setContextClassLoader(ccl);



 On Wed, Jun 11, 2014 at 12:53 PM, Ajanthan Balachandran 
 ajant...@wso2.com wrote:

 Hi Ruchira,
 Setting the class-loader of the caller of setTimeout method to the task
 solve the issue[0].I have attached the patch[1] to the issue.Can you please
 review the fix?
 Thanks.

 [0]https://wso2.org/jira/browse/APPFAC-2217
 [1]https://wso2.org/jira/secure/attachment/32355/APPFAC-2217.diff

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware




 --

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

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware

 ___
 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] java.lang.IllegalStateException observed continuously in AF stack trace

2014-06-11 Thread Ruchira Wageesha
Don't we need to reset the original classloader of the thread after doing
call?

Thread.currentThread().setContextClassLoader(ccl);



On Wed, Jun 11, 2014 at 12:53 PM, Ajanthan Balachandran ajant...@wso2.com
wrote:

 Hi Ruchira,
 Setting the class-loader of the caller of setTimeout method to the task
 solve the issue[0].I have attached the patch[1] to the issue.Can you please
 review the fix?
 Thanks.

 [0]https://wso2.org/jira/browse/APPFAC-2217
 [1]https://wso2.org/jira/secure/attachment/32355/APPFAC-2217.diff

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware




-- 

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

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


Re: [Dev] java.lang.IllegalStateException observed continuously in AF stack trace

2014-06-11 Thread Ajanthan Balachandran
On Wed, Jun 11, 2014 at 12:58 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Don't we need to reset the original classloader of the thread after doing
 call?

yes we need.I will update the patch.
thanks

 Thread.currentThread().setContextClassLoader(ccl);



 On Wed, Jun 11, 2014 at 12:53 PM, Ajanthan Balachandran ajant...@wso2.com
  wrote:

 Hi Ruchira,
 Setting the class-loader of the caller of setTimeout method to the task
 solve the issue[0].I have attached the patch[1] to the issue.Can you please
 review the fix?
 Thanks.

 [0]https://wso2.org/jira/browse/APPFAC-2217
 [1]https://wso2.org/jira/secure/attachment/32355/APPFAC-2217.diff

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware




 --

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

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




-- 
ajanthan
-- 
Ajanthan Balachandiran
Senior Software Engineer;
Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
blog: http://bkayts.blogspot.com/

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