mssqlds not bound and throws NameNotFoundException
chaitanya kiran pvn
posted 8 years ago
i am facing the same problem in Datasource MSSQLDS not bound to the application in the war deployment. in my application ear file is deployed and then it throws exception after war deployment. and also it throws log4j exception NullPointerException in HastTable check.
hear iam posting my stack trace .please see and tell me what wrong i made in tis application.
Looks like you are doing a lookup of the datasource from this class. Have you deployed the datasource in the deploy folder of the server using a *-ds.xml? If yes, can you post its contents here? Also, remember that the datasources are by default bound to the java: namespace. So if you have specified MSSQLDS as the jndi-name in the ds.xml file, then your lookup code should be using java:/MSSQLDS