This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

javax.naming.NamingNotFoundException:jdbc/fc  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cpDataSource': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: jdbc/fc
I am using wildfly 10 and Here is web.xml .



This is context.xml


Here is applicationContext.xml


How can I fix this issue? Thanks.

 
Bartender
Posts: 20112
101
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure about the "java:jboss" JNDI lead-in? As far as I know, it should always be java:comp/env.

Also, I'm not sure about a context.xml file in WildFly. That's the name reserved for Tomcat's server-dependent deployment descriptor and back when Tomcat was actually a component of JBoss, I'm pretty sure that JBoss had a completely different filename and form for webapp server-dependent deployment descriptor files.
 
arnold benda
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello sir.
Thank you for reply.
Yes. I am sure about the java:jboss.
I can run the web application in eclipse.
But when I deploy the war file in wildfly,  I can get such error.
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!