badri_nana
asked on
Unable to retireve connection in tomcat 4.1.3
Hi,
I have configured my server.xml to have the <Resources> tag which has entry for the database url, username,password, .
I have an entry in web.xml which references the corresponding entry in server.xml
When I try to obtain the datasource from the context, I get an exception:
Unable to retrieve connection for dataSource ds
Name java:comp is not bound in this context.
Datasource not bound.
Can anybody tell me what to do?
I am using tomcat 4.1.3 on Windows NT.
The server.xml & web.xml have the entries. Should there be some other entries other than <Resource> & <Context> in any other file?
Thanks a lot.
Regards
DBN
I have configured my server.xml to have the <Resources> tag which has entry for the database url, username,password, .
I have an entry in web.xml which references the corresponding entry in server.xml
When I try to obtain the datasource from the context, I get an exception:
Unable to retrieve connection for dataSource ds
Name java:comp is not bound in this context.
Datasource not bound.
Can anybody tell me what to do?
I am using tomcat 4.1.3 on Windows NT.
The server.xml & web.xml have the entries. Should there be some other entries other than <Resource> & <Context> in any other file?
Thanks a lot.
Regards
DBN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.