Completing Post Installation Configuration  Backing Up the Sybase Central Repository File

Chapter 5: Tooling Installation

Creating a Substitute Hostname and Domain for Mobile Development

If you installed the Mobile Development component of the Sybase WorkSpace and did not enter a company domain during the installation process, you must create a substitute hostname and domain from your company IP address.

The IP address of each network machine uses the following format:

aa.bb.cc.dd

where each dot delimited value ranges from 0-255.

StepsTo create a substitute hostname and domain from your IP address:

  1. Run the ipconfig command to determine the IP address of your machine. Choose from the following:

    Table 5-7: ipconfig

    Platform

    Command

    Windows

    ipconfig

    UNIX

    /sbin/ifconfig -a

  2. Construct the substitute hostname and domain using the IP address. Do the following:

    1. Use the aa portion of the IP address as the hostname.

    2. Use the .bb.cc.dd portions as the domain name.

      NoteSybase recommends that the Unwired Accelerator host machine be given a unique, static IP address on the network.

      Running Unwired Accelerator on a machine with an IP address that was dynamically assigned through DHCP will result in continuous maintenance as a dynamically generated IP address can change over time.

  3. Open the global.properties.xml file and globally edit the hostname and domain. Choose from the following:

    Table 5-8: global.properties.xml

    Server

    Location

    EAServer

    <installation directory>\Sybase\WorkSpace\ DevRuntimes\EAServer\Repository\WebApplication\onepage\config\global.properties.xml

    Tomcat

    <installation directory>\Sybase\Workspace\ DevRuntimes\Tomcat\webapps\onepage\ config\global.properties.xml

    Using a file editor, replace demo with the IP-based hostname. Then replace sybase.com with the IP-based domain.

    For example, if the IP address of your machine is 192.168.0.2, you would replace demo with 192 and sybase.com with 168.0.2.

  4. If your browser does not allow you to scope a cookie to the IP-based domain value, edit the loginresponse.xsl file. Choose from the following:

    Table 5-9: loginresponse.xsl

    Server

    Location

    EAServer

    <installation directory>\Sybase\WorkSpace\ DevRuntimes\EAServer\Repository\WebApplication\onepage\home\docapps\framework\ loginresponse.xsl

    Tomcat

    <installation directory>\Sybase\WorkSpace\ DevRuntimes\Tomcat\tomcat\webapps\onepage\ home\docapps\framework\loginresponse.xsl

    Edit the setSessionCookie function to be:

    var cookie = "OPCCLogin="+cookieval + "; path=/";

  5. If you plan to run the Enterprise Edition of Unwired Accelerator in a network without a domain, do the following:

    1. Edit the HTTP/HTTPS listeners to have a full IP address.

    2. Edit the IP address in the Proxy Domain field. Do the following:

      • Select Servers | Jaguar | Server Properties from the menu bar.

      • Click the HTTPConfig tab.

      See EAServer 5.2 Core Documentation on the Sybase WorkSpace online bookshelf for more information.





Copyright © 2005. Sybase Inc. All rights reserved. Backing Up the Sybase Central Repository File

View this book as PDF