Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Business Console users complain about bad performance; logs show several errors related to "solr"

270006BT54 gravatar image
Question by Miriam.Kaestner  (8892) | Mar 20, 2017 at 09:08 AM ibmodmodmperformancedecisioncenterbusinessconsole

Decision Center user activities cause frequent Database locking. Business users complain about performance using the tool. From server logs I found several errors related to "solr" and the generation of folders in tmp directories (they are empty).

LiezlChin

People who like this

  1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270006BT54 gravatar image

Answer by Miriam.Kaestner (8892) | Mar 20, 2017 at 09:18 AM

Errors related to solr are due to the fact that the index files of the BC search functionality seemed to be removed on your side. The solution is to configure your own location for the BC search index, outside the default temp directory of the operating system, and with write/read access. It avoids indexing to happen at every start of the application server.

Building solr index is costly; there is heavy read activity on DC database. The index itself is written as files. The JVM hosting BC may require an increase in maximum heap memory depending on the number of rule artifacts to be indexed per baseline.

To apply the change you will need to create a preferences.properties file with the following properties:

 SearchProvider=SolrEmbedded
 SolrEmbeddedDataDir=<directory of your choice>

If you specify a relative path, it will be relative to the current user directory as specified in system property user.dir, and is typically the directory in which the Java virtual machine was invoked. Note that environment variables are not resolved in path. If necessary, DataDir will be created on first usage, and will then contain 2 subdirectories, "index" and "spellchecker".

Add preferences.properties file under com\ibm\rules\decisioncenter\web\search to the teamserver-iweb-search-<version>.jar to be found in the decisioncenter.war of the Decision Center EAR under \WEB-INF\lib.

You will actually find at that location a preferences.example.properties file that you can rename to preferences.properties and adjust the SolrEmbeddedDataDir value in it.

Redeploy decisioncenter application. In catalina.log, you will find a message which shows the new location of Solr index directory, for example:

 WARNING: [dc] Solr index directory 'C:\.\DCSearchIndex\index' doesn't exist. Creating new index...    

 

Note that there will be still a small solr_configxxxxxxx.dir in /tmp directory created at each server restart, no matter where your dataDir sits.

Comment
LiezlChin

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

114 people are following this question.

Answers

Answers & comments

Related questions

Business Console keeps on requesting javascript and css files 1 Answer

is there any limit on text on action column. I had a requirment to add 5-10 lines of descriptions on action column 1 Answer

Business Console library tab contains restricted project 0 Answers

What is the maximum size of a decision table? How to improve performance ? 1 Answer

ODM 8.5.1 - Rules Publishing to Branches Issues 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges