Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

java - Using JDBC in setup for a Jmeter Junit test -


i trying use jdbc connect mysql database in setup , teardown methods of junit tests being run through jmeter. jmeter create multiple threads, each of run 1 instance of test.

the issue run into, if instantiate datasource in setup of junit test, connection pool runs out of connections. there way design test not happen? i'm trying avoid increasing max mysql connections solve issue.

yes, make sure each test closes connection , returns pool when it's done. sounds that's not happening, can't sure.

if that's not case, i'd recommend tuning connection , thread pool sizes better don't run out.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -