Another way to solve this is to simply load another system variable into
Witango.ini. It isn't really documented, and doesn't always work as you
might expect so don't go crazy, but if you add a line to your Witango.ini
stanza like "myservername=fred", then @@system$myservername will resolve to
"fred". Simply set each server with its own value. Making edits to the ini
file like this is persistent, I have done this for years.

 

Again, this is a very not-officially-recommended procedure. Caveat Emptor
and all that.

 

Robert

 

  _____  

From: Robert Garcia [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 30, 2007 10:59 PM
To: [email protected]
Subject: Re: Witango-Talk: <@servername>

 

There is a much easier way to do this. In your witango.ini files on each
server, give them a different listener address, so they only listen on that
one ip. Then, to identify a server in your code, like in a comment in your
html, is just use the var

 

<@var system$listenerAddress> and it will be that value, which is unique to
each witango service, unless you have multiple services on one machine. If
that is the case, then also use the listenerport.

 

-- 

 

Robert Garcia

President - BigHead Technology

VP Application Development - eventpix.com

13653 West Park Dr

Magalia, Ca 95954

ph: 530.645.4040 x222 fax: 530.645.4040

[EMAIL PROTECTED] - [EMAIL PROTECTED]

http://bighead.net/ - http://eventpix.com/

 

On Oct 30, 2007, at 7:18 PM, Fogelson, Steve wrote:





I want to be able to determine which service I am using (without "forcing"
the service with the FORCE_SERVER_ARG_NAME argument) in a Load balancing
environment. The docs indicate to use <@servername> to accomplish, so I am
trying to change the Witango Definition to a different name on one of the
services. The services are located on different servers.

 

I change the following from

[Witango Definitions]

Witango_Server_5.5=

 

[Witango_Server_5.5]

ABSOLUTEPATHPREFIX=

To

[Witango Definitions]

Witango_Server_5.5-1=

 

[Witango_Server_5.5-1]

ABSOLUTEPATHPREFIX=

 

When I re-start the service the Windows log file indicate "Application
server not licensed."

 

The following folders were also created

log.Witango_Server_5.5

variables.Witango_Server_5.5

 

What am I doing wrong?

 

Steve Fogelson

Internet Commerce Solutions

 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

 



________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to