Win a copy of AWS Security this week in the Cloud/Virtualization 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to deploy jforum using oracle with apache tomcat?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect jforum using oracle 11g with apache tomcat, but it doesn't work.
I fill DataSource name : jforum,but i have error "Name [jforum] is not bound in this Context. Unable to find [jforum]."

Please help me

Best regards

Roy Marpaung
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch. How have you set up that DataSource?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't bother with the data source route but specify (database server) host name, port (default is 1521) and database service name then connections work just fine.

If you do that it looks as if a connection pool with 5 connections is created. Plenty for testing but one should dig deeper into the pool config if a busy site is anticipated.

Of course, if digging deeper it may be that you want to use a completely different approach to connection pooling anyway because if your web site(s) are already using an oracle database, you would in principle be better of with just one connection pool and not several. But that's way beyond the scope of your question so enough.
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic