If you installed the Mobile Development component and did not enter a company domain during the installation process, you must create a substitute host name 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 to 255.
To create a substitute host name and domain from
your IP address
Run the ipconfig command to determine the IP address of your machine.
Construct the substitute host name and domain using the IP address:
Use the aa portion of the IP address as the host name.
Use the .bb.cc.dd portions as the domain name.
Sybase 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.
Open the global.properties.xml file and globally edit the host name and domain. Choose from:
Server |
Location |
---|---|
EAServer |
<installation directory>\DevRuntimes\EAServer\ Repository\WebApplication\onepage\config\ global.properties.xml |
Apache Tomcat |
<installation directory>\DevRuntimes\UA\tomcat\ 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, replace demo with 192 and sybase.com with 168.0.2.
If your browser does not allow you to scope a cookie to the IP-based domain value, edit the loginresponse.xsl file. Choose from:
Server |
Location |
---|---|
EAServer |
<installation directory>\DevRuntimes\EAServer\ Repository\WebApplication\onepage\home\docapps\framework\loginresponse.xsl |
Apache Tomcat |
<installation directory>\DevRuntimes\EAServer\ Repository\WebApplication\onepage\onepage\ home\docapps\framework\loginresponse.xsl |
Edit the setSessionCookie function to be:
var cookie = "OPCCLogin="+cookieval + "; path=/";
If you plan to run the Enterprise Edition of Unwired Accelerator in a network without a domain:
Edit the HTTP/HTTPS listeners to have a full IP address.
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.3 Core Documentation on the Sybase WorkSpace online bookshelf for more information.