*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9953
    
163

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mssqlds not bound and throws NameNotFoundException
 
Similar Threads
Problem deploying sample HelloWorld Bean in JBoss 4.2.1 GA
cmp on jboss-3.0.6_tomcat-4.1.18 with mysql
jboss 3.0- org/jboss/logging/Logger class where is it
NameNotFoundException
CommunicationException in war file deployment