Re: Witango-Talk: text files as data sources?

2003-06-20 Thread Atrix Wolfe
ahhh i see

i didnt think of parsing it out manualy w/ a file read, thats a good idea.

thanks for the info Scott (:

Atrix

- Original Message -
From: Scott Cadillac [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 10:44 PM
Subject: RE: Witango-Talk: text files as data sources?


Hi Atrix,

Yes, it's possible, and there is more than one way to do it - but your text
files do need to have some structure to begin with.

Start by investigating the File/Read Action and the @ARRAY Metatag and the
CDELIM and RDELIM attributes.

Characters like a tab, or a comma , and a end-of-line sequence like
crlf (carriage-return, line-feed) are typically what define your
structure.

Of course, you can also use custom characters you define use the CDELIM
RDELIM attributes too.

The first big pit-fall is making sure the number of CDELIM
(column-delimiter) charaters is the same for every row in your file - else
you can't make a 2-deminsional Array in Witango.

Another pit-fall is when a text field in a row contains one of your
delimiter characters and throughs everything out of whack, so choose
characters that are the least likely to showup on your content (a
non-regular ASCII character can be specified with @ASCII).

Also, I think some Text ODBC Drivers may compensate for irregularities in
some files, but can slow things down for you.


Another option is to write all your log files in XML format, then life gets
more interesting with Witango DOM Variables :-)

Hope this helps. Cheers..

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
-

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
-

-Original Message-
From: Atrix Wolfe [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:15 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: text files as data sources?


hello,

I faintly remember hearing somewhere you can take a text file and make it a
datasource somehow and interact with it?  Im looking to do this with witango
log files so that we dont have to go through it manualy looking for errors,
or other information.

It seems strange that something would be able to look at a txt file and find
a structure to it and break the data into columns and such but who knows! Am
i nuts or is this possible?

Thanks!!
Atrix


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


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


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


Re: Witango-Talk: Config.taf

2003-06-20 Thread Dan Stein
Got it thanks
-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


 From: Dan Stein [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 20:06:15 -0400
 To: [EMAIL PROTECTED]
 Subject: Re: Witango-Talk: Config.taf
 
 Well if anyone has it I would appreciate it emailed off list to me.
 
 Thanks
 
 Dan
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 From: Ben Johansen [EMAIL PROTECTED]
 Organization: Intelisoft, Inc.
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 16:46:06 -0700
 To: [EMAIL PROTECTED]
 Subject: RE: Witango-Talk: Config.taf
 
 That's a good question.
 I thought it was up on the witango.com site :-P
 Well, it might be just not readily enumerated.
 
 Ben Johansen - http://www.pcforge.com
 Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
 Authorized MDaemon Mail Server Reseller
 http://www.pcforge.com/AltN.htm
 
 
 -Original Message-
 From: Dan Stein [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 19, 2003 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Witango-Talk: Config.taf
 
 Is there a version of config.taf for Witango Server 5
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 


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


Witango-Talk: Call for DB Manager Taf

2003-06-20 Thread Dan Stein
There is a taf available for R Base that lets you do a really complete job
of remote access and admin to your R Base DB. I would really love to see
someone do that for
SQL 2000
MySQL

I am sure that the community would be glad to pay for something like this. I
know I would.

Any takers?
-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com



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


Re: Witango-Talk: including snippets of code [OT] Mail

2003-06-20 Thread Web Dude
This is true. I have a class C and I have multiple PTR records for 
domains and www domains and mail, ftp or whatever...

I set up like this with no problems..

zone record

mydomain.comA 123.456.789.123
www.mydomain.comA   123.456.789.123
mydomain.comMX10 mail.mydomain.com
mail.mydomain.comA 123.456.789.124
ftp.mydomain.comA 123.456.789.123
reverse zone file

123.789.456.123.in-addr.arpa  PTR  mydomain.com
123.789.456.123.in-addr.arpa  PTR  www.mydomain.com
123.789.456.123.in-addr.arpa  PTR  ftp.mydomain.com
124.789.456.123.in-addr.arpa  PTR  mail.mydomain.com

But I was wrong about one thing: RFC 2181

10.2. PTR records

   Confusion about canonical names has lead to a belief that a PTR
   record should have exactly one RR in its RRSet.  This is incorrect,
   the relevant section of RFC1034 (section 3.6.2) indicates that the
   value of a PTR record should be a canonical name.  That is, it should
   not be an alias.  There is no implication in that section that only
   one PTR record is permitted for a name.  No such restriction should
   be inferred.
So you can have multiple PTR records. 

However, see
http://www.acmebw.com/askmrdns/archive.php?category=85question=631. 
Apparently most everyone also believes what I did, and has written their
apps get back only one name matching a PTR. 

But it's interesting to see that AOL will accept mail if you have a PTR,
even if it's wrong! 

Ahh, now I see what you mean.
Sorry, I assumed that since I had no trouble getting mail thru to AOL, I
passed the reverse lookup.
Now the conversation makes more sense, thanks
Mark Bushaw

- Original Message -
From: Bill Conlon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 4:28 PM
Subject: Re: Witango-Talk: including snippets of code [OT] Mail

 What do you mean by 'pass reverse DNS lookup'?

 My DNS query shows:

 bushaw.org. 43200 A 64.60.193.244
 moveitout.com. 43200 A 64.60.193.244
 244.193.60.64.in-addr.arpa. 86400 PTR 64-60-193-244.cust.telepacific.net.
 Clearly the PTR doesn't match the A records.

 These domains are all on the same computer, using the same mailserver and
 they all pass reverse DNS lookup-
 Bushaw.org
 Saxpics.com
 SimProUSA.com
 CoastalMicroSupply.com
 MoveItOut.com
 
 Mark Bushaw
 
 - Original Message -
 From: Bill Conlon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
  Sent: Thursday, June 19, 2003 3:24 PM
 Subject: Re: Witango-Talk: including snippets of code [OT] Mail
 
 
  Ok, here's a typical setup (ignoring NS records) that people use for
  hosting domains
 
  Your main zone is
 
  mydomain.comA 123.456.789.123
  www.mydomain.comCNAME mydomain.com
  mydomain.comMX10 mydomain.com
 
  Lets assume you have a full Class C, since it's simpler than classless
  delegation (when you have 8/16/32/64/128 IP addresses)
 
  Then your reverse zone includes:
 
  123.789.456.123.in-addr.arpa  PTR  mydomain.com
 
  So you're typically sending mail with your address ([EMAIL PROTECTED])
via
  your SMTP server at mydomain.com which passes the reverse lookup test.
 
  Your client at herdomain.com is using virtual hosts on yours server and
  is set up as:
 
  herdomain.comA 123.456.789.123
  www.herdomain.comCNAME herdomain.com
  herdomain.comMX10 herdomain.com
 
  There can't be a single pointer to two A records, so when
  [EMAIL PROTECTED] sends mail, the reverse lookup points to
  mydomain.com!  This causes the mail to bounce if the reverse lookup
test
  is used.
 
 
 
  Very Interesting! I have multiple domains and a single mail server.
  The mail server has its own domain (smtpmirage.net).
   All the hosted domains A records point directly to the IP address. The
MX
  record points to mail@domain.com (and mail@domain.com is an A
record
  that points to the IP address).
  Seems to work OK..
  
  Mark Bushaw
  
  - Original Message -
  From: Ben Johansen [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, June 19, 2003 2:36 PM
  Subject: RE: Witango-Talk: including snippets of code [OT]
  
  
   Interesting
   
   Didn't realize that because I have multiple domains on mine.
  
   Anyway, it's just a rant.  I had a server crash on me earlier this
 year
  
   when it got hijaced by a spammer, and I've spent a lot of hours
this
   year
   fighting off spam.  But I still think it's better to allow mail
from
   senders that don't pass the reverse lookup, and instead rely on
black
   hole lists at the server, and some simple filters on the mail
readers.
  
   Because I don't want to have to tell my clients that we can't
receive
   mail from them.
  
   Considering turning it off.
  
   Ben Johansen - http://www.pcforge.com
   Authorized Witango Reseller
http://www.pcforge.com/WitangoGoodies.htm
   Authorized MDaemon Mail Server Reseller
   http://www.pcforge.com/AltN.htm
  
  
   -Original Message-
   From: Bill 

RE: Witango-Talk: text files as data sources?

2003-06-20 Thread David Shelley



Atrix,

I've 
done this with Tango 4, but not yet with Witango 5. I buildtango log 
analysis into my tango debugging toolset. There's a few hurdles to overcome. 
First you have to copy the .log file to a .txt file before analyzing it for 2 
reasons, the MS Text ODBC driver looks for files with the .txt extension, and 
the .log file is locked by the witango server. Also, don't you run R:Tango? It 
will only talk to an RBase database, not a Text datasource. You'll need to run 
Witango5 instead of R:Tango5.

Copy 
witango.log to witangolog.txt (or some other name)
Create 
a datasource using the MS Text ODBC driver that points to the log 
directory
Create 
a schema.ini file in the log directory. The one I use with T4 is shown below, it 
will be a little different with W5.
Before 
you do any current analysis, take a fresh copy of witango.log into 
witangolog.txt

A more 
robust solution would be to periodically copy the data from witangolog.txt and 
insert it into an database. Database engines have better better searching 
capabilities than the text driver. But even with the text driver you can do 
stuff like:

select 
distinct userref from tangolog.txt where logtime  
[currentTime-variableTimeout]
- this 
will give you all the userreferences of currently active users which you can use 
to check their user scope variables (that's one of the functions I use 
occasionally in debugging an app)


The 
schema.ini file for a tango 4 log format looks like this:
[tangolog.txt]ColNameHeader=FalseFormat=TabDelimitedMaxScanRows=25CharacterSet=OEMCol1=LOGDATE 
Char Width 10Col2=LOGTIME Char Width 10Col3=CLIENTIP Char Width 
25Col4=USERREF Char Width 32Col5=THREADID IntegerCol6=THREADS 
IntegerCol7=ELAPSED IntegerCol8=THREADINFO Char Width 
255Col9=THREADDATA Char Width 255Col10=POSITION Char Width 
255Col11=APPFILE Char Width 255Col12=SERVER Char Width 
255Col13=ARGUMENTS LongChar


Dave 
Shelley

-Original Message-From: 
Atrix Wolfe [mailto:[EMAIL PROTECTED]Sent: Friday, June 20, 2003 1:15 
AMTo: [EMAIL PROTECTED]Subject: Witango-Talk: text 
files as data sources?

  hello,
  
  Ifaintly remember hearing somewhere you can 
  take a text file and make it a datasource somehow and interact with it? 
  Im looking to do this with witango log files so that we dont have to go 
  through it manualy looking for errors, or other information.
  
  It seems strange that something would be able to 
  look at a txt file and find a structure to it and break the data into columns 
  and such but who knows! Am i nuts or is this possible?
  
  Thanks!!
  Atrix
  
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf




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


RE: Witango-Talk: Call for DB Manager Taf

2003-06-20 Thread David Shelley
Dan,

If you're referring to the R:Dba tool I wrote, which was on last years
conference CD, you'll be pleased to know that I've updated it to work with
mySQL, added a number of features, like tango log analysis, and also fixed a
few bugs.

I haven't had time to build the functionality for SQL 2000, but if someone
was willing to pay me to do it... :)

This tool set is still free. I only ask that if you like the tool, and need
any consulting services, that consider my company as a potential supplier.

Dave Shelley

-Original Message-
From: Dan Stein [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Call for DB Manager Taf


There is a taf available for R Base that lets you do a really complete job
of remote access and admin to your R Base DB. I would really love to see
someone do that for
SQL 2000
MySQL

I am sure that the community would be glad to pay for something like this. I
know I would.

Any takers?
--
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com



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


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


Witango-Talk: including snippets of code Back on Topic

2003-06-20 Thread John McGowan
Including a taf withing a taf is a totaly different beast.

It represents a total misunderstanding of what the @include tag does 
and has nothing to do with the original question.
Of course @including a taf withing a taf won't work.  That's what 
branching is for.

It's a moot point anyway, because the original problem that Roland had 
was simply because he had a typo in his included file.  I just wanted to 
make sure that everybody understanded that there was nothing wronge with 
nested includes.

/John

Ben Johansen wrote:

I went back into the archives
Look at thread @INCLUDE problem
Including a taf within a taf.

I had an example but cant find it at this moment



Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-Original Message-
From: John McGowan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: including snippets of code

Ben,

I tried to send this post to you off the list, but your mail server 
doesn't seem to be accepting any thing from my mail server.

Anyway, see my comments below about nested @includes.

Ben Johansen wrote:

 

Off List,

Now, I remember (coffee finally kicked in)

The reason your sub-include of the TML works is because TML is one of
the extensions setup in the web server to tell the web server that
Witango is responsible to process this file.
   

No,   the @include tag doesn't interact at all with the web server.  It
also doesn't care about file extensions.  When the app server comes
across an @include, it doesn't care what file extension it is... it
simply includes the file and evaluates any meta code it comes across.
 

In the case where an included HTML file calling a SUB-HTML file this is
not the case. The SUB would not have its metatags processed
   

Yes they are... See the enclosed example...  I just tested this out.

test.taf does an @include of test1.html

test1.html does an @include of test2.html
test2.html does an @include of test3.html
test3.html executes @currentdate.
/John


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

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




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


RE: Witango-Talk: Call for DB Manager Taf

2003-06-20 Thread Lawrence Reeve
Dave,

I would be interested in a copy of this tool.

Thanks,

At 9:59 AM -0400 6/20/03, David Shelley wrote:
Dan,

If you're referring to the R:Dba tool I wrote, which was on last years
conference CD, you'll be pleased to know that I've updated it to work with
mySQL, added a number of features, like tango log analysis, and also fixed a
few bugs.
I haven't had time to build the functionality for SQL 2000, but if someone
was willing to pay me to do it... :)
This tool set is still free. I only ask that if you like the tool, and need
any consulting services, that consider my company as a potential supplier.
Dave Shelley

-Original Message-
From: Dan Stein [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Call for DB Manager Taf
There is a taf available for R Base that lets you do a really complete job
of remote access and admin to your R Base DB. I would really love to see
someone do that for
SQL 2000
MySQL
I am sure that the community would be glad to pay for something like this. I
know I would.
Any takers?
--
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com

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

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


--
Lawrence Reeve
[EMAIL PROTECTED]
650 604 4529

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


RE: Witango-Talk: Call for DB Manager Taf

2003-06-20 Thread Troy Sosamon
I use this tool all the time.

I run it in a seperate browser instance, but I can watch the variables and
turn debugging on and off in the other Tango browser.  You can manage files,
issue direct dbms commands, issue Tango command, and run batch files.  I
have a batch file that will re-start that Tango service.

Troy Sosamon

-Original Message-
From: David Shelley [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 8:00 AM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Call for DB Manager Taf


Dan,

If you're referring to the R:Dba tool I wrote, which was on last years
conference CD, you'll be pleased to know that I've updated it to work with
mySQL, added a number of features, like tango log analysis, and also fixed a
few bugs.

I haven't had time to build the functionality for SQL 2000, but if someone
was willing to pay me to do it... :)

This tool set is still free. I only ask that if you like the tool, and need
any consulting services, that consider my company as a potential supplier.

Dave Shelley

-Original Message-
From: Dan Stein [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Call for DB Manager Taf


There is a taf available for R Base that lets you do a really complete job
of remote access and admin to your R Base DB. I would really love to see
someone do that for
SQL 2000
MySQL

I am sure that the community would be glad to pay for something like this. I
know I would.

Any takers?
--
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com



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


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


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


RE: Witango-Talk: Startup URL and Domain Variables

2003-06-20 Thread John Hotaling
Title: RE: Witango-Talk: Startup URL and Domain Variables






Upon further investigation, we were able to verify that the STARTUPURL

runs consistently but the taf called does not process the @URL tag. It

processes everything else but that tag. Oddly, we can still run the taf 

by hand and get the @URL to process correctly. Any thoughts?


One of the reasons we require the domain vars to be initialized during 

startup is that we have historically found that the dump file gets 

out-of-date when Witango does not shut down properly (since it does not

get a chance to write the most recent variable values). Thus when Witango

restarts after a crash the wrong dump file is read. In addition, even

though the VariableTIMEOUT is set to 0 in the domain scope, persistence

across restarts does not always occur even when the server is shut down

properly.


We are hopeful that there we be few instance where Witango shuts down 

improperly with Ver5, but it is crucial for us to have up-to-date domain

variable values at all times the server is running. At this point, our

workaround is to delete the dump file at startup and shutdown and force

the domain variable restoration the first time a taf is called. It would

almost be better if we could turn off the dump file execution since 

inconsistent file writing is worse (for us) than no file writing.


Most importantly, in a load splitting scenario where multiple instances of

Witango server are installed on one (or more) machine, is that we have the 

capability of maintaining the same set of domain vars across all Witango servers. 

For example, if the admin of one of our sites was on instance 1 and updated

a domain var, that value would need to be maintained on instance 2,3 etc. 

It would seem to me that this scenario would also exist for custom scoped 

variables. However, we have not seen anything in the docs that explicitly 

discuss this area and have found our initial testing to be somewhat frustrating.

Any thoughts here are also greatly appreciated.


My apologies for rambling on...


Thanks

John





-Original Message-

From: Scott Cadillac [mailto:[EMAIL PROTECTED]]

Sent: Thursday, June 19, 2003 7:12 PM

To: [EMAIL PROTECTED]

Subject: RE: Witango-Talk: Startup URL and Domain Variables



Hi John,


I'm going to guess that the problem might be more to do with STARTUPURL then

@URL.


Maybe the Server cannot find the address of the TAF specified in STARTUPURL?

The HOSTS file is handy for these kinds of things.


Do you know if STARTUPURL is successfully calling the TAF at all?


Because the execution of the TAF in this case is not easy to see, try

putting something like a File/Write Action in the TAF that records something

in a text/log file - just to verify the TAF is executed.


And no, I don't think it's possible to initialize Domain Variables from

outside the Domain - unless you use @URL of course.


Custom Scope works almost exactly like Domain Scope, except the Variables

are visible across all Domains present on the Server. Just watch your

naming, to make sure things don't get stepped on.


Sometimes having the Variables visible across Domains is a good thing

because then sites with more than one address on the same Server (e.g.,

www.mydomain.com and mydomain.com) can share one Custom Scope Variable as

opposed to two Domain Scope Variables that are supposedly the same value.


Hope this helps. Cheers


Scott Cadillac,

Witango.org - http://witango.org

403-281-6090 - [EMAIL PROTECTED]

--

Information for the Witango Developer Community

-


XML-Extranet - http://xml-extra.net

403-281-6090 - [EMAIL PROTECTED]

--

Well-formed Development (for hire)

-


-Original Message-

From: John Hotaling [mailto:[EMAIL PROTECTED]] 

Sent: Thursday, June 19, 2003 4:34 PM

To: [EMAIL PROTECTED]

Subject: Witango-Talk: Startup URL and Domain Variables



I have the need to reinitialize domain variables for 

several domains from values stored in a db. It is 

critical that these values are current any time Witango starts 

or restarts. In the past, we have used the startup URL 

to call a taf (ironically we can run this taf by hand in a 

browser fine) that told us which domains required initialization. 

This taf in turn uses an @URL tag to restore domain vars for 

each respective domain. However, we have not had success 

using this logic with V5 of Witango and do not know why. 

We have tried the new parameters for the @URL tag without 

any luck. Is there any reason why our startup URL will not 

run with the @URL tag used in it? It is not reporting any errors 

in the log files during startup. 

Also, is there a way to set domain vars for a specific domain from 

within a different domain? Although it does not intuitively 

make sense to me that you could, I thought I would still pose 

the question. 

Thanks in advance for any assistance. 

Witango Application Server (Multiple 

Re: Witango-Talk: text files as data sources?

2003-06-20 Thread Atrix Wolfe



yeah thats correct, im on R:Tango 5, shucks! 
(:

Scott's suggestion w/ file reads and @array 
might work, im gonna play with it and see what i can get out of it.

  - Original Message - 
  From: 
  David 
  Shelley 
  To: [EMAIL PROTECTED] 
  Sent: Friday, June 20, 2003 6:50 AM
  Subject: RE: Witango-Talk: text files as 
  data sources?
  
  Atrix,
  
  I've 
  done this with Tango 4, but not yet with Witango 5. I buildtango log 
  analysis into my tango debugging toolset. There's a few hurdles to overcome. 
  First you have to copy the .log file to a .txt file before analyzing it for 2 
  reasons, the MS Text ODBC driver looks for files with the .txt extension, and 
  the .log file is locked by the witango server. Also, don't you run R:Tango? It 
  will only talk to an RBase database, not a Text datasource. You'll need to run 
  Witango5 instead of R:Tango5.
  
  Copy 
  witango.log to witangolog.txt (or some other name)
  Create a datasource using the MS Text ODBC driver that points to the 
  log directory
  Create a schema.ini file in the log directory. The one I use with T4 is 
  shown below, it will be a little different with W5.
  Before you do any current analysis, take a fresh copy of witango.log 
  into witangolog.txt
  
  A 
  more robust solution would be to periodically copy the data from 
  witangolog.txt and insert it into an database. Database engines have better 
  better searching capabilities than the text driver. But even with the text 
  driver you can do stuff like:
  
  select distinct userref from tangolog.txt where logtime  
  [currentTime-variableTimeout]
  - 
  this will give you all the userreferences of currently active users which you 
  can use to check their user scope variables (that's one of the functions I use 
  occasionally in debugging an app)
  
  
  The 
  schema.ini file for a tango 4 log format looks like this:
  [tangolog.txt]ColNameHeader=FalseFormat=TabDelimitedMaxScanRows=25CharacterSet=OEMCol1=LOGDATE 
  Char Width 10Col2=LOGTIME Char Width 10Col3=CLIENTIP Char Width 
  25Col4=USERREF Char Width 32Col5=THREADID IntegerCol6=THREADS 
  IntegerCol7=ELAPSED IntegerCol8=THREADINFO Char Width 
  255Col9=THREADDATA Char Width 255Col10=POSITION Char Width 
  255Col11=APPFILE Char Width 255Col12=SERVER Char Width 
  255Col13=ARGUMENTS LongChar
  
  
  Dave 
  Shelley
  
  -Original 
  Message-From: Atrix Wolfe 
  [mailto:[EMAIL PROTECTED]Sent: Friday, June 20, 2003 1:15 
  AMTo: [EMAIL PROTECTED]Subject: Witango-Talk: 
  text files as data sources?
  
hello,

Ifaintly remember hearing somewhere you 
can take a text file and make it a datasource somehow and interact with 
it? Im looking to do this with witango log files so that we dont have 
to go through it manualy looking for errors, or other 
information.

It seems strange that something would be able 
to look at a txt file and find a structure to it and break the data into 
columns and such but who knows! Am i nuts or is this possible?

Thanks!!
Atrix

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

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




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


RE: Witango-Talk: Config.taf

2003-06-20 Thread Ben Johansen
Would appreciate it also

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-Original Message-
From: Dan Stein [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 5:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Config.taf

Got it thanks
-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


 From: Dan Stein [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 20:06:15 -0400
 To: [EMAIL PROTECTED]
 Subject: Re: Witango-Talk: Config.taf
 
 Well if anyone has it I would appreciate it emailed off list to me.
 
 Thanks
 
 Dan
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 From: Ben Johansen [EMAIL PROTECTED]
 Organization: Intelisoft, Inc.
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 16:46:06 -0700
 To: [EMAIL PROTECTED]
 Subject: RE: Witango-Talk: Config.taf
 
 That's a good question.
 I thought it was up on the witango.com site :-P
 Well, it might be just not readily enumerated.
 
 Ben Johansen - http://www.pcforge.com
 Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
 Authorized MDaemon Mail Server Reseller
 http://www.pcforge.com/AltN.htm
 
 
 -Original Message-
 From: Dan Stein [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 19, 2003 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Witango-Talk: Config.taf
 
 Is there a version of config.taf for Witango Server 5
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 


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


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


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


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


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


RE: Witango-Talk: text files as data sources?

2003-06-20 Thread Ben Johansen









Hey,



You can still do it in R:Tango.

I have been done it in a Stored Procedure
using the LOAD AS ASCII





Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm



-Original Message-
From: Atrix Wolfe
[mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 9:17
AM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: text
files as data sources?





yeah thats correct, im on R:Tango 5, shucks! (:











Scott's suggestion w/ file reads and @array might
work, im gonna play with it and see what i can get out of it.







- Original Message - 





From: David Shelley






To: [EMAIL PROTECTED]






Sent: Friday, June 20,
2003 6:50 AM





Subject: RE: Witango-Talk:
text files as data sources?











Atrix,











I've done this with Tango 4, but not yet
with Witango 5. I buildtango log analysis into my tango debugging
toolset. There's a few hurdles to overcome. First you have to copy the .log
file to a .txt file before analyzing it for 2 reasons, the MS Text ODBC driver
looks for files with the .txt extension, and the .log file is locked by the
witango server. Also, don't you run R:Tango? It will only talk to an RBase
database, not a Text datasource. You'll need to run Witango5 instead of
R:Tango5.











Copy witango.log to witangolog.txt (or
some other name)





Create a datasource using the MS Text ODBC
driver that points to the log directory





Create a schema.ini file in the log
directory. The one I use with T4 is shown below, it will be a little different
with W5.





Before you do any current analysis, take a
fresh copy of witango.log into witangolog.txt











A more robust solution would be to
periodically copy the data from witangolog.txt and insert it into an database.
Database engines have better better searching capabilities than the text
driver. But even with the text driver you can do stuff like:











select distinct userref from tangolog.txt
where logtime  [currentTime-variableTimeout]





- this will give you all the
userreferences of currently active users which you can use to check their user
scope variables (that's one of the functions I use occasionally in debugging an
app)

















The schema.ini file for a tango 4 log
format looks like this:





[tangolog.txt]
ColNameHeader=False
Format=TabDelimited
MaxScanRows=25
CharacterSet=OEM
Col1=LOGDATE Char Width 10
Col2=LOGTIME Char Width 10
Col3=CLIENTIP Char Width 25
Col4=USERREF Char Width 32
Col5=THREADID Integer
Col6=THREADS Integer
Col7=ELAPSED Integer
Col8=THREADINFO Char Width 255
Col9=THREADDATA Char Width 255
Col10=POSITION Char Width 255
Col11=APPFILE Char Width 255
Col12=SERVER Char Width 255
Col13=ARGUMENTS LongChar

















Dave Shelley











-Original Message-
From: Atrix Wolfe
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:15
AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: text files
as data sources?







hello,











Ifaintly remember hearing somewhere you can take a
text file and make it a datasource somehow and interact with it? Im
looking to do this with witango log files so that we dont have to go through it
manualy looking for errors, or other information.











It seems strange that something would be able to look at a
txt file and find a structure to it and break the data into columns and such
but who knows! Am i nuts or is this possible?











Thanks!!





Atrix









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

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








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



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


Re: Witango-Talk: Config.taf

2003-06-20 Thread Dan Stein
Dan,
 
Go to www.witango.com http://www.witango.com
 
Under the Witango Products section (at the top below navigation).
 
Other

Witango 5 Admin App
http://www2.witango.com/installers/witango5docs/Witango5Admin.zip
 
Or click here : 
http://www2.witango.com/installers/witango5docs/Witango5Admin.zip
 
-Dominick-
 

-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


 From: Ben Johansen [EMAIL PROTECTED]
 Organization: Intelisoft, Inc.
 Reply-To: [EMAIL PROTECTED]
 Date: Fri, 20 Jun 2003 09:37:43 -0700
 To: [EMAIL PROTECTED]
 Subject: RE: Witango-Talk: Config.taf
 
 Would appreciate it also
 
 Ben Johansen - http://www.pcforge.com
 Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
 Authorized MDaemon Mail Server Reseller
 http://www.pcforge.com/AltN.htm
 
 
 -Original Message-
 From: Dan Stein [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 20, 2003 5:35 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Witango-Talk: Config.taf
 
 Got it thanks
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 From: Dan Stein [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 20:06:15 -0400
 To: [EMAIL PROTECTED]
 Subject: Re: Witango-Talk: Config.taf
 
 Well if anyone has it I would appreciate it emailed off list to me.
 
 Thanks
 
 Dan
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 From: Ben Johansen [EMAIL PROTECTED]
 Organization: Intelisoft, Inc.
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 19 Jun 2003 16:46:06 -0700
 To: [EMAIL PROTECTED]
 Subject: RE: Witango-Talk: Config.taf
 
 That's a good question.
 I thought it was up on the witango.com site :-P
 Well, it might be just not readily enumerated.
 
 Ben Johansen - http://www.pcforge.com
 Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
 Authorized MDaemon Mail Server Reseller
 http://www.pcforge.com/AltN.htm
 
 
 -Original Message-
 From: Dan Stein [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 19, 2003 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: Witango-Talk: Config.taf
 
 Is there a version of config.taf for Witango Server 5
 -- 
 Dan Stein
 Digital Software Solutions
 799 Evergreen Circle
 Telford PA 18969
 Land: 215-799-0192
 Mobile: 610-256-2843
 Fax 413-410-9682
 FMP, WiTango, EDI,SQL 2000
 [EMAIL PROTECTED]
 www.dss-db.com
 
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 


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


RE: Witango-Talk: including snippets of code Back on Topic

2003-06-20 Thread Ben Johansen
I agree,

I told ya I was Brain Dead ;-)


Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-Original Message-
From: John McGowan [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 7:15 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: including snippets of code Back on Topic

Including a taf withing a taf is a totaly different beast.

It represents a total misunderstanding of what the @include tag does 
and has nothing to do with the original question.
Of course @including a taf withing a taf won't work.  That's what 
branching is for.

It's a moot point anyway, because the original problem that Roland had 
was simply because he had a typo in his included file.  I just wanted to

make sure that everybody understanded that there was nothing wronge with

nested includes.

/John

Ben Johansen wrote:

I went back into the archives
Look at thread @INCLUDE problem

Including a taf within a taf.

I had an example but cant find it at this moment



Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-Original Message-
From: John McGowan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: including snippets of code

Ben,

I tried to send this post to you off the list, but your mail server 
doesn't seem to be accepting any thing from my mail server.

Anyway, see my comments below about nested @includes.


Ben Johansen wrote:

  

Off List,

Now, I remember (coffee finally kicked in)

The reason your sub-include of the TML works is because TML is one of
the extensions setup in the web server to tell the web server that
Witango is responsible to process this file.
 




No,   the @include tag doesn't interact at all with the web server.  It
also doesn't care about file extensions.  When the app server comes
across an @include, it doesn't care what file extension it is... it
simply includes the file and evaluates any meta code it comes across.

  

In the case where an included HTML file calling a SUB-HTML file this
is
not the case. The SUB would not have its metatags processed
 



Yes they are... See the enclosed example...  I just tested this out.

test.taf does an @include of test1.html

test1.html does an @include of test2.html
test2.html does an @include of test3.html
test3.html executes @currentdate.


/John

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

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

  




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


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


RE: Witango-Talk: text files as data sources?

2003-06-20 Thread Troy Sosamon



I was 
able to access file datasources in R:tango in this way.
With 
R:tango, you can only connect to an R:base database.
But 
with R:base, you can sconnect other datasources into your R:base 
database.
Set up 
your file DSN, go into R:base and sconnect that dsn into your R:base 
database.

Now 
Tango will see the file DSN in the R:base database as another R:basetable 
and does not care that it is not really an R:base table.


Troy


  -Original Message-From: Atrix Wolfe 
  [mailto:[EMAIL PROTECTED]Sent: Friday, June 20, 2003 10:17 
  AMTo: [EMAIL PROTECTED]Subject: Re: Witango-Talk: 
  text files as data sources?
  yeah thats correct, im on R:Tango 5, shucks! 
  (:
  
  Scott's suggestion w/ file reads and 
  @array might work, im gonna play with it and see what i can get out of 
  it.
  
- Original Message - 
From: 
David 
Shelley 
To: [EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 6:50 
AM
Subject: RE: Witango-Talk: text files 
as data sources?

Atrix,

I've done this with Tango 4, but not yet with Witango 5. I 
buildtango log analysis into my tango debugging toolset. There's a few 
hurdles to overcome. First you have to copy the .log file to a .txt file 
before analyzing it for 2 reasons, the MS Text ODBC driver looks for files 
with the .txt extension, and the .log file is locked by the witango server. 
Also, don't you run R:Tango? It will only talk to an RBase database, not a 
Text datasource. You'll need to run Witango5 instead of 
R:Tango5.

Copy witango.log to witangolog.txt (or some other 
name)
Create a datasource using the MS Text ODBC driver that points to the 
log directory
Create a schema.ini file in the log directory. The one I use with T4 
is shown below, it will be a little different with W5.
Before you do any current analysis, take a fresh copy of witango.log 
into witangolog.txt

A 
more robust solution would be to periodically copy the data from 
witangolog.txt and insert it into an database. Database engines have better 
better searching capabilities than the text driver. But even with the text 
driver you can do stuff like:

select distinct userref from tangolog.txt where logtime  
[currentTime-variableTimeout]
- 
this will give you all the userreferences of currently active users which 
you can use to check their user scope variables (that's one of the functions 
I use occasionally in debugging an app)


The schema.ini file for a tango 4 log format looks like 
this:
[tangolog.txt]ColNameHeader=FalseFormat=TabDelimitedMaxScanRows=25CharacterSet=OEMCol1=LOGDATE 
Char Width 10Col2=LOGTIME Char Width 10Col3=CLIENTIP Char Width 
25Col4=USERREF Char Width 32Col5=THREADID IntegerCol6=THREADS 
IntegerCol7=ELAPSED IntegerCol8=THREADINFO Char Width 
255Col9=THREADDATA Char Width 255Col10=POSITION Char Width 
255Col11=APPFILE Char Width 255Col12=SERVER Char Width 
255Col13=ARGUMENTS LongChar


Dave Shelley

-Original 
Message-From: Atrix Wolfe 
[mailto:[EMAIL PROTECTED]Sent: Friday, June 20, 2003 1:15 
AMTo: [EMAIL PROTECTED]Subject: Witango-Talk: 
text files as data sources?

  hello,
  
  Ifaintly remember hearing somewhere you 
  can take a text file and make it a datasource somehow and interact with 
  it? Im looking to do this with witango log files so that we dont 
  have to go through it manualy looking for errors, or other 
  information.
  
  It seems strange that something would be able 
  to look at a txt file and find a structure to it and break the data into 
  columns and such but who knows! Am i nuts or is this 
possible?
  
  Thanks!!
  Atrix
  
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

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

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




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


Re: Witango-Talk: including snippets of code [OT] Mail

2003-06-20 Thread Sri Amudhanar




I wondering if there is something more. My domains are setup that way because
my port provider prefers to manage the reverse address mapping with generic
names like
ip.address.in.reverse.in-addr.arpa  PTR  hostIP.port.provider (not mydomain.com)
I have not noticed any problems with my mail being rejected. Even Ben Johansen
has been receiving my messages all the time whenever I write to him directly.
Sri


Bill Conlon wrote:

  Ok, here's a typical setup (ignoring NS records) that people use for 
hosting domains

Your main zone is

mydomain.comA 123.456.789.123
www.mydomain.comCNAME mydomain.com
mydomain.comMX10 mydomain.com

Lets assume you have a full Class C, since it's simpler than classless 
delegation (when you have 8/16/32/64/128 IP addresses)

Then your reverse zone includes:

123.789.456.123.in-addr.arpa  PTR  mydomain.com

So you're typically sending mail with your address ([EMAIL PROTECTED]) via 
your SMTP server at mydomain.com which passes the reverse lookup test.  

Your client at herdomain.com is using virtual hosts on yours server and 
is set up as: 

herdomain.comA 123.456.789.123
www.herdomain.comCNAME herdomain.com
herdomain.comMX10 herdomain.com

There can't be a single pointer to two A records, so when 
[EMAIL PROTECTED] sends mail, the reverse lookup points to 
mydomain.com!  This causes the mail to bounce if the reverse lookup test 
is used.



  
  
Very Interesting! I have multiple domains and a single mail server.
The mail server has its own domain (smtpmirage.net).
All the hosted domains A records point directly to the IP address. The MX
record points to mail@domain.com (and mail@domain.com is an A record
that points to the IP address).
Seems to work OK..

Mark Bushaw

- Original Message - 
From: "Ben Johansen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 2:36 PM
Subject: RE: Witango-Talk: including snippets of code [OT]




  Interesting

Didn't realize that because I have multiple domains on mine.

  
  
Anyway, it's just a rant.  I had a server crash on me earlier this year

  
  
when it got hijaced by a spammer, and I've spent a lot of hours this

  
  year
  
  
fighting off spam.  But I still think it's better to allow mail from
senders that don't pass the reverse lookup, and instead rely on black
hole lists at the server, and some simple filters on the mail readers.

  
  
Because I don't want to have to tell my clients that we can't receive
mail from them.

  
  Considering turning it off.

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-Original Message-
From: Bill Conlon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 19, 2003 2:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: including snippets of code [OT]

Off-topic:

I would send this directly, but it might bounce.

One problem w/ PTR records is they map one-to-one to A records.  But
many
names (both A and CNAME records) map to one PTR.  Hence if you support
many domains with a single mail server, you can't satisfy the reverse
lookup condition.

Also, you can't always keep PTRs up to date unless you run the reverse
zone for your subnet.  Some ISPs will NOT provide classless delegation,
so you have to depend on the ISP to maintain your PTRs, leaving you at
their mercy -- not a good thing in my opinion.

For most of our clients for whom we provide mail, I ask them to use our
server for POP, but continue to use their ISP for SMTP.  Some though
prefer to use our server for both, and the consequence is that AOL just
doesn't get messages from them.

Of course AOL's hypocracy is the big story, since they and hotmail have
been big spam sources.   And much spam now flows through open relays,
which may still have PTR records that match the A record, so what does
that do?

Anyway, it's just a rant.  I had a server crash on me earlier this year
when it got hijaced by a spammer, and I've spent a lot of hours this
year
fighting off spam.  But I still think it's better to allow mail from
senders that don't pass the reverse lookup, and instead rely on black
hole lists at the server, and some simple filters on the mail readers.

Because I don't want to have to tell my clients that we can't receive
mail from them.

  
  
Hi,

Sorry you couldn't connect.

I went to dnsreport.com and your mail server doesn't reverse DNS
(checkout fail in MX section)

http://www.dnsreport.com/tools/dnsreport.ch?domain=internetcommercesolu

  
  t
  
  
ions.net

In order to curb spam there is a shift in this, AOL has shifted to this
and those who have mail servers that don't have PTR (reverse DNS)

  
  

Re: Witango-Talk: including snippets of code [OT] Mail

2003-06-20 Thread Bill Conlon
As near as I can tell, your mail agent doesn't talk to the world, but 
talks to infoserve.  As long as infoserve accepts SMTP from maxys, and 
are configured correctly, it should work.

I wondering if there is something more. My domains are setup that way 
because my port provider prefers to manage the reverse address mapping 
with generic names like

ip.address.in.reverse.in-addr.arpa  PTR  hostIP.port.provider (not 
mydomain.com)

I have not noticed any problems with my mail being rejected. Even Ben 
Johansen has been receiving my messages all the time whenever I write to 
him directly.
Sri


Bill Conlon wrote:

Ok, here's a typical setup (ignoring NS records) that people use for 
hosting domains

Your main zone is

mydomain.comA 123.456.789.123
www.mydomain.comCNAME mydomain.com
mydomain.comMX10 mydomain.com

Lets assume you have a full Class C, since it's simpler than classless 
delegation (when you have 8/16/32/64/128 IP addresses)

Then your reverse zone includes:

123.789.456.123.in-addr.arpa  PTR  mydomain.com

So you're typically sending mail with your address ([EMAIL PROTECTED]) via 
your SMTP server at mydomain.com which passes the reverse lookup test.  

Your client at herdomain.com is using virtual hosts on yours server and 
is set up as: 

herdomain.comA 123.456.789.123
www.herdomain.comCNAME herdomain.com
herdomain.comMX10 herdomain.com

There can't be a single pointer to two A records, so when 
[EMAIL PROTECTED] sends mail, the reverse lookup points to 
mydomain.com!  This causes the mail to bounce if the reverse lookup test 
is used.



  

Very Interesting! I have multiple domains and a single mail server.
The mail server has its own domain (smtpmirage.net).
All the hosted domains A records point directly to the IP address. The MX
record points to mail@domain.com (and mail@domain.com is an A record
that points to the IP address).
Seems to work OK..

Mark Bushaw

- Original Message - 
From: Ben Johansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 2:36 PM
Subject: RE: Witango-Talk: including snippets of code [OT]




Interesting

Didn't realize that because I have multiple domains on mine.

  

Anyway, it's just a rant.  I had a server crash on me earlier this year


when it got hijaced by a spammer, and I've spent a lot of hours this


year
  

fighting off spam.  But I still think it's better to allow mail from
senders that don't pass the reverse lookup, and instead rely on black
hole lists at the server, and some simple filters on the mail readers.


Because I don't want to have to tell my clients that we can't receive
mail from them.


Considering turning it off.

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-Original Message-
From: Bill Conlon [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 2:11 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: including snippets of code [OT]

Off-topic:

I would send this directly, but it might bounce.

One problem w/ PTR records is they map one-to-one to A records.  But
many
names (both A and CNAME records) map to one PTR.  Hence if you support
many domains with a single mail server, you can't satisfy the reverse
lookup condition.

Also, you can't always keep PTRs up to date unless you run the reverse
zone for your subnet.  Some ISPs will NOT provide classless delegation,
so you have to depend on the ISP to maintain your PTRs, leaving you at
their mercy -- not a good thing in my opinion.

For most of our clients for whom we provide mail, I ask them to use our
server for POP, but continue to use their ISP for SMTP.  Some though
prefer to use our server for both, and the consequence is that AOL just
doesn't get messages from them.

Of course AOL's hypocracy is the big story, since they and hotmail have
been big spam sources.   And much spam now flows through open relays,
which may still have PTR records that match the A record, so what does
that do?

Anyway, it's just a rant.  I had a server crash on me earlier this year
when it got hijaced by a spammer, and I've spent a lot of hours this
year
fighting off spam.  But I still think it's better to allow mail from
senders that don't pass the reverse lookup, and instead rely on black
hole lists at the server, and some simple filters on the mail readers.

Because I don't want to have to tell my clients that we can't receive
mail from them.

  

Hi,

Sorry you couldn't connect.

I went to dnsreport.com and your mail server doesn't reverse DNS
(checkout fail in MX section)

http://www.dnsreport.com/tools/dnsreport.ch?domain=internetcommercesolu


t
  

ions.net

In order to curb spam there is a shift in this, AOL has shifted to this
and those who have mail servers that don't have 

Witango-Talk: Personal Server

2003-06-20 Thread Stefan Gonick


Is there any news yet about the existence of the
personal server?  I'm waiting to upgrade to the
version 5 editor until the personal server is available.
I don't want to have to keep getting new temp keys
for a trial version of the app server each month.
Stefan

Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com 


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


RE: Witango-Talk: Personal Server

2003-06-20 Thread Scott Cadillac
Hi Stefan,

It's right on the front page of http://www.witango.com under Development
Server Licenses.

I've been using it for a few weeks now - works great :-)

Hope this is what you are looking for. Cheers...

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
-

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
-


 -Original Message-
 From: Stefan Gonick [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 20, 2003 12:52 PM
 To: [EMAIL PROTECTED]
 Subject: Witango-Talk: Personal Server
 
 
 
 
 Is there any news yet about the existence of the
 personal server?  I'm waiting to upgrade to the
 version 5 editor until the personal server is available.
 I don't want to have to keep getting new temp keys
 for a trial version of the app server each month.
 
 Stefan
 
 Database WebWorks: Dynamic web sites through database integration
 http://www.DatabaseWebWorks.com 
 
 __
 __
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
 


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


Re: Witango-Talk: Startup URL and Domain Variables

2003-06-20 Thread Dominick Delio
Title: RE: Witango-Talk: Startup URL and Domain Variables



John,

First, to get your domain vars to load correctly 
your best bet may be to Set the PERSISTENTRESTART switch in your Witango.ini file 
= false.

From the docs:
When set to true, the server first attempts to 
completely shut down the running server before restarting a new one. All 
variables in use at the time of the shutdown are preserved. 

When set to false, a new 
server is started immediately, even before the old one is stopped. This setting 
ensures high server availability, but variables from the old server instance are 
not available in the new one. The default value is true. 
I'm not 100% but I think this will bypass the dump 
file and come back with empty domain variables (at least that is what my tests 
have concluded).
In regards to your load splitting scenario, it 
doesn't look good. I searched the archives and found the 
following:
http://www.witango.com/readmail.taf?_function=detailid=3210
http://www.witango.com/readmail.taf?_function=detailid=1548
http://www.witango.com/readmail.taf?_function=detailid=1547
This pretty much rules out load-splitting for anyone 
using Domain Vars to control content (if you wanted to search the database to 
get the values each time you wouldn't have used Domain Vars to begin 
with). Maybe this has changed from Tango2000 to Witango 5 but I doubt 
it. It would be great if someone from With Enterprises could confirm 
this! 

Good Luck,
Dominick


  - Original Message - 
  From: 
  John Hotaling 
  To: [EMAIL PROTECTED] 
  Sent: Friday, June 20, 2003 12:26 
PM
  Subject: RE: Witango-Talk: Startup URL 
  and Domain Variables
  
  Upon further investigation, we were able to verify that the 
  STARTUPURL runs consistently but the taf called does 
  not process the @URL tag. It processes 
  everything else but that tag. Oddly, we can still run the taf 
  by hand and get the @URL to process correctly. Any 
  thoughts? 
  One of the reasons we require the domain vars to be 
  initialized during startup is that we have 
  historically found that the dump file gets "out-of-date" when Witango does not shut down properly (since it does 
  not get a chance to write the most recent variable 
  values). Thus when Witango restarts after a crash the 
  "wrong" dump file is read. In addition, even though the VariableTIMEOUT is set to 0 in the domain scope, 
  persistence across restarts does not always occur even 
  when the server is shut down properly. 
  We are hopeful that there we be few instance where Witango 
  shuts down improperly with Ver5, but it is crucial for 
  us to have up-to-date domain variable values at all 
  times the server is running. At this point, our workaround is to delete the dump file at startup and shutdown and 
  force the domain variable restoration the first time a 
  taf is called. It would almost be better if we 
  could turn off the dump file execution since inconsistent file writing is worse (for us) than no file 
  writing. 
  Most importantly, in a load splitting scenario where multiple 
  instances of Witango server are installed on one (or 
  more) machine, is that we have the capability of 
  maintaining the same set of domain vars across all Witango servers. 
  For example, if the admin of one of our sites was on 
  instance 1 and updated a domain var, that value would 
  need to be maintained on instance 2,3 etc. It would 
  seem to me that this scenario would also exist for custom scoped 
  variables. However, we have not seen anything in 
  the docs that explicitly discuss this area and have 
  found our initial testing to be somewhat frustrating. Any thoughts here are also greatly appreciated. 
  My apologies for rambling on... 
  Thanks John 
  -Original Message- From: Scott 
  Cadillac [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 19, 2003 7:12 PM To: 
  [EMAIL PROTECTED] Subject: RE: Witango-Talk: 
  Startup URL and Domain Variables 
  Hi John, 
  I'm going to guess that the problem might be more to do with 
  STARTUPURL then @URL. 
  Maybe the Server cannot find the address of the TAF specified 
  in STARTUPURL? The "HOSTS" file is handy for these 
  kinds of things. 
  Do you know if STARTUPURL is successfully calling the TAF at 
  all? 
  Because the execution of the TAF in this case is not easy to 
  see, try putting something like a File/Write Action in 
  the TAF that records something in a text/log file - 
  just to verify the TAF is executed. 
  And no, I don't think it's possible to initialize Domain 
  Variables from outside the Domain - unless you use 
  @URL of course. 
  Custom Scope works almost exactly like Domain Scope, except 
  the Variables are visible across all Domains present 
  on the Server. Just watch your naming, to make sure 
  things don't get stepped on. 
  Sometimes having the Variables visible across Domains is a 
  good thing because then sites with more than one 
  address on the same Server (e.g., www.mydomain.com 

Re: Witango-Talk: Personal Server

2003-06-20 Thread Sri Amudhanar
I would suggest to With Enterprise technical team to post a short 
summary in this list whenever they make changes to the website. I guess 
I am more event driven than polled cycle driven worker.
Sri

Stefan Gonick wrote:

Hi Scott,

Yes, this is what I was looking for. I hadn't noticed the
announcement on the web site. Now, I would like the
next version of the editor that fixes a number of the bugs
that have been mentioned and I'm ready to roll. Any
news about when the next bug-fixed version of the editor
(Windows) is coming out?
Thanks,
Stefan
At 01:00 PM 6/20/2003 -0600, you wrote:

Hi Stefan,

It's right on the front page of http://www.witango.com under 
Development
Server Licenses.

I've been using it for a few weeks now - works great :-)

Hope this is what you are looking for. Cheers...

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
-
XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
-
 -Original Message-
 From: Stefan Gonick [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 20, 2003 12:52 PM
 To: [EMAIL PROTECTED]
 Subject: Witango-Talk: Personal Server




 Is there any news yet about the existence of the
 personal server?  I'm waiting to upgrade to the
 version 5 editor until the personal server is available.
 I don't want to have to keep getting new temp keys
 for a trial version of the app server each month.

 Stefan
 
 Database WebWorks: Dynamic web sites through database integration
 http://www.DatabaseWebWorks.com

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


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



Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

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



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


Re: Witango-Talk: Java Bean Directory Management

2003-06-20 Thread Phil Wade
Kevin,
Thankyou for providing source to the witango-talk list.  Do you mind if we
compile it up and add it to our component zone.  We will register it with
your details.

Regards
Phil


On 20/6/03 3:25 AM, Kevin Boydstun [EMAIL PROTECTED] wrote:

 Since there seems to be a lot of interest in the subject, here is an
 open source .java file I wrote to do the things mentioned, and a .taf
 file that uses it.
 
 We've compiled and ran it fine in the newest versions of Witango
 Server and Development Studio.
 
 
 
 TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


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