aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes mssqlds not bound and throws NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "mssqlds not bound and throws NameNotFoundException" Watch "mssqlds not bound and throws NameNotFoundException" New topic
Author

mssqlds not bound and throws NameNotFoundException

chaitanya kiran pvn
Greenhorn

Joined: Nov 01, 2007
Posts: 25
[I]HAI

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.


Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10264
    
168

com.casinocasino.xmlserver.agents.BaccaratAgent.<init>


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



[My Blog] [JavaRanch Journal]
 
jQuery in Action, 2nd edition
 
subject: mssqlds not bound and throws NameNotFoundException