• 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

Spring-JNDI

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am trying to create connection pooling with Spring and JNDI in Jboss.

I have configured the 4 files.
1) applicationContext.xml
2) web.xml
3) jboss-web.xml
4) oracle-ds.xml (in deploy directory)

I am getting the following error:

org.springframework.beans.InvalidPropertyException: Invalid property 'jdbc/kousik' of bean class [org.springframework.jndi.JndiObjectFactoryBean]: No property 'jdbc/kousik' found

Can somebody tell me where is it looking this property name?

1) applicationContext.xml




3) jboss-web.xml



4) oracle-ds.xml





Thanks ,
Kousik

SCJP 5
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

Can somebody tell me where is it looking this property name?



Here?



Herman
 
Kousik Majumder
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No..it is not.

That property name is there in my code(see my code).

I think it is looking for a mapping maybe in another file.May be it is some .xml file of JBoss.I do not know. I want to know that file name.

So carefully see my code and see if any mapping missing there.

Thanking you,

Kousik
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that you are not using JndiObjectFactoryBean correctly.
 
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic