Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Search Issue - Using Oracle9i and websphere

 
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 Rafael,

I am using oracle 9i as the database and websphere 6 as app server. I am facing an issue with SEARCH functionality. When i edit an existing post,the search with new text does not work. I found Indexing is not getting performed after editing an existing post as JFORUM_SEARCH_WORDS is not getting updated. I am getting the following warning:

WARN [MessageIndexerTask] - Error while indexing a post: com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: Connection is closed.

I commented some code in index-method and it seems to be working fine
but then I found all the words in edited post are getting into JFORUM_SEARCH_WORDS. I know there is a problem with closed connection(cudn't figure out where), but just want to know if the above commented code would create any problems..please let me know

thank you
[originally posted on jforum.net by rags]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The check for background taks exists to make posting faster. When you don't use background tasks, the user have to wait for the message indexation end first, so it can read the new message.

It is only a performance issue.. should not affect the functionalities of your forum at all.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
reply
    Bookmark Topic Watch Topic
  • New Topic