This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring-JNDI

 
Kousik Majumder
Ranch Hand
Posts: 237
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Herman Schelti
Ranch Hand
Posts: 387
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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


Here?



Herman
 
Kousik Majumder
Ranch Hand
Posts: 237
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that you are not using JndiObjectFactoryBean correctly.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic