• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My webshpere 7 server giving some error

 
sambot dakota
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i am running this jsp page it is giving some error "There is/are 1 thread(s) in total in the server that may be hung" .All my other pages are working well.



Full Error is below
 
Anton Novopashin
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Firt of all this not good pactice to place all into JSP page. You should read MVC Pattern
Insted of this code you should use WebSpher DataSource

This is link to topic how to create DataSource http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdat_tccrtprovds.html

There is good topic at stackoverflow - Connect to WebSphere DataSource

This is help to start with WebSphere
Recomended reading list


Error talking about that your queries are doing something and WebSphere warning you about it.
I think you neet to have a look to your database desing and also use pagination.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic