• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread created on WAS cannot find Data source

 
May Pat
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I develop a web service that spins out two threads that perform some database tasks. I tested the application on Tomcat and JBoss. It works fine. When I deployed it on WAS, the threads couldn't find datasource to perform database look up.

I also created a simple web service that perform a database task without spinning out a thread like the first scenario. Deployed it on WAS and it worked just fine.

Does anyone has any idea of what could cause this issue? Thanks a lot.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic