• Post Reply Bookmark Topic Watch Topic
  • New Topic

ServiceProxy has detected an existing connection with clientID  RSS feed

 
Gourav Gupta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting issues when running test cases - Warning: ServiceProxy has detected an existing connection with clientID 'XXX.CLIENT'. 'XXX.CLIENT-1389104276186' will be used instead. For more information, see the ServiceProxyFactory class in the ClientToolkit Javadocs.

Any Idea please.
 
Gourav Gupta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Want to add some more information. When I run one by one test case it works fine most of the time but when I run the whole class, some test case pass and some test case fails every time. Test cases pass and fail behaviour changes frequently as well. So can't say how exact it is behaving.
 
Gourav Gupta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have resolved the issue by putting below lines in finally block.

serviceProxyPool.destroyObject(serviceProxy);
serviceProxyPool.releaseTarget(serviceProxy);
serviceProxy.destroy();
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!