Siebel eService Administration Guide for Siebel Open UI > Setting Up Siebel eService > Process of Adding the Virtual Directories for Siebel eService >

Editing the new_virdirs Script


You edit the new_virdirs script to specify the virtual directory name that Siebel eService for Siebel Open UI (the Self Service Portal application) requires. The virtual directory name is also used for the application section in the eapps.cfg file. You can run an edited script on additional Web servers, as necessary.

This task is a step in Process of Adding the Virtual Directories for Siebel eService.

To edit the new_virdirs script

  1. Stop the Web server.
  2. Back up the eapps.cfg file and the Web server configuration file, such as obj.conf, http.conf, magnus.conf, and so on.
  3. Navigate to SWSE_HOME/config.

    In this directory, SWSE_HOME is the SWSE installation location. (Use the backslash for Microsoft Windows; use the forward slash for UNIX or Linux.)

  4. Back up the existing new_virdirs script as follows:
    • On Microsoft Windows, the name of the script is new_virdirs.bat.
    • On UNIX or Linux, the name of the script is new_virdirs.sh.
  5. Using an appropriate text editor, such as Notepad on Microsoft Windows, open new_virdirs.bat or new_virdirs.sh.

    NOTE:  When you edit the script, do not enter any special characters, such as tabs.

  6. Add the elements for the Self Service Portal application to an existing entry in this file as follows so the file creates a new virtual directory and new eapps.cfg file section for the application:

    %JAVA_HOME%\java -jar %ORACLE_HOME1%\config\new_virdirs.jar {salesm,servicem,sservice} {SalesmObjMgr,ServicemObjMgr,SServiceObjMgr} {epharmam,cgm} {ePharmaMObjMgr,CGMObjMgr} %LANG

    In this entry, sservice is the name of the virtual directory and SServiceObjMgr is the name of the corresponding Application Object Manager, in each case without the corresponding language code. (The language-specific items are created when you run the script.)

  7. Save the new_virdirs script.

    Next, run the new_virdirs script to add the virtual directories for all specified languages. For more information, see Running the new_virdirs Script.

Siebel eService Administration Guide for Siebel Open UI Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.