• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mssqlds not bound and throws NameNotFoundException

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[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.


 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic