Home

 

Access the Bookmarks configuration file

To make configuration changes to a Bookmarks deployment first access the Bookmarks configuration file.

To edit configuration files, use wsadmin. See Start the wsadmin client for details.


Configuration files are XML-formatted files that store configuration information. The file dogear-config-cell.xml stores properties that affect Bookmarks, such as determining thresholds for displaying active tag, person, and link data. Follow these steps to access one of the Bookmarks configuration files:

  1. Open a command window and start the wsadmin command line tool as described in the topic, Starting wsadmin.

  2. After the wsadmin command environment has initialized, run the following command to initialize the Bookmarks environment and start the Bookmarks script interpreter:

      For a single server: wsadmin>execfile('dogearAdmin.py')
      
       For a cluster: wsadmin>execfile('WAS_HOME\dogear\Dmgr01\config\bin_lcadmin\dogearAdmin.py')
      
      
      
      

      This command should print something similar to the following messages in the wsadmin console window. Connecting to WebSphere:name=DogearTaskService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearLinkService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearPersonService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearPersonService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearUrlService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearMetricsService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=ContentTypeService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Connecting to WebSphere:name=DogearMigrationService,type=LotusConnections,cell=localhostNode01Cell,node=localhostNode01,process=server2 Dogear MBeans initialized Dogear Configuration Environment initialized

  3. To change properties, check out the configuration file, dogear-config-cell.xml, with the following command:

      DogearCellConfig.checkOutConfig([working_dir], [cellName])
      

    where:

    • [working_dir] is the temporary working where the configuration XML and XSD files are copied to by the checkOutConfig command. The files are kept in this working while you make changes to them using the updateConfig command. When you run the checkInConfig command, the updated XML configuration file is copied from the temporary directory to where these files are located and overwrites the existing XML file.

    • [cellName] is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. This parameter is case-sensitive.

    Example Usage:

      DogearCellConfig.checkOutConfig('d:/dogear_temp', 'DogearServerNode01Cell')
      

    This command should print out this message: Bookmarks Cell Level configuration file successfully checked out.

  4. To view a list of the valid Bookmarks configuration settings and their current values...

    DogearConfigService.showConfig()

    The output will look like this:

      activeContentFilter.enabled = true favIconService.favicon.directory = ${DOGEAR_FAVICON_DIR} favIconService.favicon.internetAccess = true favIconService.favicon.intranetAccess = true favIconService.favicon.maxAge = 90 favIconService.favicon.maxSize = 6 favIconService.favicon.queuesize = 100 favIconService.favicon.start = 5 linkPurgingTask.lpTask.interval = 60 linkPurgingTask.lpTask.purgeDeleted = 30 linkPurgingTask.lpTask.start = 15 linkThresholds.countInterval.useCountCache = 10 linkThresholds.maxInclude.popularLinks = 2000 linkThresholds.minLinkCount.useCountCache = 100000 linkThresholds.minURLCount.useCountCache = 100000 linkThresholds.sinceWhen.inboxLinks = 20 linkThresholds.sinceWhen.mostvisitedLinks = 30 linkThresholds.sinceWhen.popularLinks = 30 personThresholds.maxInclude.activeTags = 1500 personThresholds.minCount.activePerson = 5 personThresholds.sinceWhenactivePerson = 30 tagThresholds.maxInclude.activeTags = 4000 tagThresholds.minCount.activeTags = 1 tagThresholds.sinceWhen.activeTags = 30
      

  5. To change a Dogear configuration setting...

    DogearConfigService.updateConfig("[property]", "[value]")

    where [property] is one of the editable Dogear properties and [value] is the new value to apply to the property. For example:

      DogearConfigService.updateConfig("favIconService.favicon.queuesize", "50")
      


Administer Bookmarks

 

Related tasks

Start wsadmin


+

Search Tips   |   Advanced Search