It's not a secret anymore!
The moose likes Other Java Products and Servers and the fly likes InjectionException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply locked New topic


Chetan Raju
Ranch Hand

Joined: Aug 02, 2006
Posts: 109
Hello All,

I have deployed a servlet on Sun Java System App Server 9.1. The code snippet for the problem area is

I am getting a

I am trying to connect to a MySQL database instance. I have also configured the web.xml for the resource which is a DataSource

What could be the problem ? Can anyone help ?
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

I agree. Here's the link:
subject: InjectionException
It's not a secret anymore!