Enabling Workspaces in the WebSphere Commerce development environment

The development environment is not meant to be an authoring environment. Support is provided in the environment for customization purposes only. For example, testing out changes to the content management functionality, and for simple tests, such testing out how the function works for the very first time. The ability to push out changes is not available. If you want to make changes to the content management workspaces, you cannot publish the changes out to another database.

Prerequisites: Before enabling Workspaces in the WebSphere Commerce development environment, have installed and configured WebSphere Commerce Developer according to the instructions in the WebSphere Commerce Developer Installation Guide.

To enable workspaces in the WebSphere Commerce development environment:

  1. Verify that the development environment is configured to use DB2 Universal Database or Oracle Database. Workspaces are not supported when using Cloudscape. Workspaces will not work with Cloudscape.

    For instructions, refer to the WebSphere Commerce Developer Installation Guide.

  2. Exit the development environment.

  3. Issue the following command
    WCDE_installdir/bin/enableContentManagement.bat 
    database_name 
    db_admin_ID 
    db_admin_pwd 
    schema_name 
            number_of_workspaces [
    db_host] [
    db_port]
    

    Where the variables are:

    database_name

    The name of your WebSphere Commerce development environment database.

    db_admin_ID

    A user ID with database administrator authority.

    (Oracle) This ID must be different than the user ID for the WebSphere Commerce database.

    db_admin_pwd

    The password for the user ID specified as the db_admin_ID.

    schema_name

    Specify the name for the database schema used for the WebSphere Commerce database.

    number_of_workspaces

    Enter the maximum number of workspaces you want on the authoring server. Ensure that the number of workspaces allocated is sufficient to handle the number of concurrent workspace activities that might occur.

    The maximum number of workspaces is the maximum number of simultaneous activities that require data isolation. Multiple stores managed by the same organization can share a workspace. For example, if you plan to work on two future events simultaneously while providing regular updates and providing a data-isolated area in which to complete emergency fixes, you would need four workspaces per organization that manages stores.

    The maximum number of workspaces specifies the number of database schemas that are allocated for workspaces. The number of allocated database schemas remains fixed. If a Workspace Manager creates more workspaces the number of workspace database schemas available, task groups in workspaces without an available database schema cannot be activated until another workspace is completed or cancelled to release a database schema.

    For more information, review
    Workspaces data model.

    db_host

    (Remote database only) Enter the fully qualified host name of the remote database server hosting the WebSphere Commerce development environment database.

    db_port

    (Remote database only) Enter the port used for database communications with the remote WebSphere Commerce development environment database.

  4. When the command completes:, refresh the WC enterprise project:

    1. Start the WebSphere Commerce Test Server.

    2. Right-click WebSphere Commerce Test Server and select Publish.

  5. (optional)
    Enable e-mail notification in workspaces.

Related concepts

Workspaces

Deploying

Developing

Related tasks

Create an authoring server

Start and stopping WebSphere Commerce Developer

Related reference

Start WebSphere Commerce Developer utility

Workspaces data model