• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

jfroum idle causes freemarker to die...

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Jforum rockssssssssssssss............................

I succesfully integrated Jforum with my application and everything is fine except the problem with connection pool.

In general we all are using


This connection is breaking after a few milliseconds as set in

database.ping.delay=<time in seconds>

So i am planning to switch to container managed datasource with connection pools.

Way i am going to do it is:
database.connection.implementation =com.mob.forum.DataSourceConnection
database.datasource.name = java:comp/env/jdbc/TestDB

And creating JNDI stuff with datasource TestDB.


Can any one let me know if there are any better ways to handle this issue.

Regards
Greg,
Sanmateo
[originally posted on jforum.net by gregjhonson]
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic