Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Connections wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 1.0
  • 1.0.x
  • 2.0
  • 2.0.1
  • 2.0.1.1
  • 2.0_media
  • 2.5
  • 2.5_deployment
  • 2.5_media
  • 2.5_performance
  • 3
  • 3.0
  • 3.0.1
  • 3.0.1_media
  • 3.0_media
  • 3_deployment
  • 8.1.1
  • 8.2
  • activities
  • administrators
  • api
  • best_practices
  • blogs
  • bookmarks
  • business_card
  • cluster
  • communities
  • community
  • community_manager
  • connections
  • connections_3
  • connections_301
  • customization
  • customize
  • customizing
  • demos
  • deploying
  • deployment
  • deployments
  • developers
  • dogear
  • Domino
  • Edge server
  • education
  • error messages
  • files
  • forums
  • getting_started
  • Help
  • home
  • home_page
  • homepage
  • how-to
  • HTTP server
  • ibm
  • index
  • installation
  • integration
  • iOS
  • ipad
  • iWidget
  • J2EE
  • javadoc
  • lc3.0
  • learning
  • lotus-connections
  • mml
  • mobile
  • Notes
  • performance
  • person_card
  • Portal
  • portlet
  • portlet_factory
  • profiles
  • proxy server
  • quickr
  • Redbooks
  • rest
  • reverse proxy server
  • Sametime
  • scenarios
  • search
  • security
  • self-paced
  • SSO
  • tags
  • test_infrastructure
  • troubleshooting
  • tuning
  • video
  • VideoFest
  • videos
  • WAI
  • WAS
  • web_seminar
  • WebAppIntegrator
  • WebSphere
  • widgets
  • wikis
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > IBM Redbooks: Customizing IBM Connections 3.0.1 > 1.4 Publishing customizations with the wsadmin tool
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

1.4 Publishing customizations with the wsadmin tool 

expanded Abstract
collapsed Abstract
No abstract provided.
Previous | Next

Web pages in IBM Connections are usually cached by the browser to improve performance for users. After you make your customization, override the cache and force web browsers to download the new copies of the changed files. By your overriding the cache, others will see the customization changes you have made. Using the WebSphere Application Server wsadmin tool, update the version stamp on the appropriate configuration files. The wsadmin tool and the scripts that you need are included with IBM Connections.

Before you begin
Disable the customization debugging capability:
  1. Open the WebSphere Application Server Integrated Solutions Console.
  2. Click Environment>WebSphere variables and set the scope to the node where IBM Connections is installed.
  3. Set the variable CONNECTIONS_CUSTOMIZATION_DEBUG to false.
  4. Stop and restart all IBM Connections application servers.

Procedure
  1. Open a command prompt and change to this directory on the system on which you installed the deployment manager: <WAS_home>\profiles\<profile_name>\bin
    where:
    • <WAS_home> is the WebSphere Application Server installation directory.
    • <profile_name> is the Deployment Manager profile directory.
      On Microsoft Windows, the full directory path is usually: C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\bin
  2. Start the wsadmin tool with the appropriate command:
    • On Microsoft Windows: wsadmin -lang jython -user <admin_user_id> -password <admin_password> -port <SOAP_CONNECTOR_ADDRESS Port>
    • On AIX or Linux:./wsadmin.sh -lang jython -user <admin_user_id> -password <admin_password> -port <SOAP_CONNECTOR_ADDRESS Port>
      where
      • <admin_user_id> is the user name of and administrator on the IBM WebSphere Application Server
      • <admin_password> is the password for that username
      • <SOAP_CONNECTOR_ADDRESS Port> is the SOAP port for the WebSphere Application Server. If you have used the default port 8879, you do not need to specify this parameter. For example,
        wsadmin -lang jython -user wsadmin -password wsadmin
  3. To make the feature commands available to the wsadmin tool, enter the command that matches the application you are working with. For example, for common IBM Connections properties, use this command:
    execfile("connectionsConfig.py")

    Tip:
    If you are prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.
    For more information about editing configuration files in other applications, see the IBM Connections documentation and search for Editing configuration files.
  4. Check out the IBM Connections configuration files using the checkOutConfig command: For example, for common IBM Connections properties: LCConfigService.checkOutConfig("<working_directory>","<cell_name>")
    where
    • <working_directory> is the directory that IBM Connections uses to store the temporary copies of the configuration files while they are checked out. On Microsoft Windows, use forward slashes to separate directories in the <working_directory>.
    • <cell_name> is the case-sensitive name of the WebSphere Application Server cell hosting the IBM Connections application.
      For example,
      On Microsoft Windows:
      LCConfigService.checkOutConfig("c:/temp","foo01Cell01")
      or to populate the cell name, use AdminControl.getCell():
      LCConfigService.checkOutConfig("c:/temp",AdminControl.getCell())

      On AIX or Linux: The directory must grant write permissions or the command does not run successfully.
      LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")

      Attention: Do not exit the wsadmin tool before you check in your changes. You must check in the files during the same wsadmin session in which you checked them out for the changes to take effect.
  5. Update the value of the versionStamp configuration property using this command: LCConfigService.updateConfig("versionStamp","<gmt_timestamp>") where <gmt_timestamp> is the GMT time. You can provide a value for the GMT time or leave it empty. It is best to provide an empty string and let the client format the time stamp. For example:
    LCConfigService.updateConfig("versionStamp","")
    .
  6. Optional. To list the configuration settings and values before checking in the configuration files, use the showConfig command. For example,
    LCConfigService.showConfig()
  7. Check in the configuration files using the checkinConfig command: For example, for common IBM Connections properties use this command:
    LCConfigService.checkInConfig()
  8. Deploy the changes with this command:
    synchAllNodes()
  9. To exit the wsadmin client, enter exit.
  10. Stop and restart all IBM Connections application servers.

Result
All IBM Connections users see the updated changes.

Parent topic: 1.0 Introduction to customizing IBM Connections

expanded Article information
collapsed Article information
Category:
IBM Redbooks: Customizing IBM Connections 3.0.1
Tags:
Redbooks

This Version: Version 1 November 21, 2011 10:55:50 AM by Amanda J Bauman  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (1) Nov 21, 2011 10:55:50 AM Amanda J Bauman  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use