File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!