========================================================================= Date: Wed, 3 Mar 1999 19:13:39 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Huber Subject: Configuring the Location of Access Logs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know how to configure the location of the access logs generated by the nslog module under AOLserver 2.1? I've studied the documentation but I can not figure out how to do this. Thanks -- ---------------------------------------------- | Jeff Huber | Web Applications Developer | | jeff@am.net | AM.net - http://am.net | ---------------------------------------------- ========================================================================= Date: Sat, 6 Mar 1999 13:36:45 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Robert.Garron@Access3000.net Subject: Re: AOLSERVER Digest - 6 Jan 1999 to 3 Mar 1999 Jeff, What we do to "place" the logs is to utilize soft links within the file system, i.e. UNIX. In this way, we have minimal changes to the "default" operation of the server and thus insure that we do not uncover unknown bugs. This server is the best, but as with any "free" software, we always worry about continued support. Robert Garron Access3000.net Robert.Garron@Access3000.net Automatic digest processor wrote: > There is one message totalling 18 lines in this issue. > > Topics of the day: > > 1. Configuring the Location of Access Logs > > ---------------------------------------------------------------------- > > Date: Wed, 3 Mar 1999 19:13:39 -0800 > From: Jeff Huber > Subject: Configuring the Location of Access Logs > > Does anyone know how to configure the location of the access logs > generated by the nslog module under AOLserver 2.1? I've studied the > documentation but I can not figure out how to do this. > > Thanks > > -- > ---------------------------------------------- > | Jeff Huber | Web Applications Developer | > | jeff@am.net | AM.net - http://am.net | > ---------------------------------------------- > > ------------------------------ > > End of AOLSERVER Digest - 6 Jan 1999 to 3 Mar 1999 > ************************************************** ========================================================================= Date: Sun, 7 Mar 1999 05:15:07 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Peter Jansson Subject: Re: AOLSERVER Digest - 6 Jan 1999 to 3 Mar 1999 In-Reply-To: <199903062132.NAA16939@daddylonglegs.microweb.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In the configuration file for the server, in the [ns/server/www.yourserver.com/module/nslog] section, you can set the location of the access log using the "File=" parameter. Pete. On Sat, 6 Mar 1999 Robert.Garron@Access3000.net wrote: > Jeff, > > What we do to "place" the logs is to utilize soft links within > the file system, i.e. UNIX. In this way, we have minimal > changes to the "default" operation of the server and thus > insure that we do not uncover unknown bugs. This server > is the best, but as with any "free" software, we always worry > about continued support. > > Robert Garron > Access3000.net > Robert.Garron@Access3000.net > > Automatic digest processor wrote: > > > There is one message totalling 18 lines in this issue. > > > > Topics of the day: > > > > 1. Configuring the Location of Access Logs > > > > ---------------------------------------------------------------------- > > > > Date: Wed, 3 Mar 1999 19:13:39 -0800 > > From: Jeff Huber > > Subject: Configuring the Location of Access Logs > > > > Does anyone know how to configure the location of the access logs > > generated by the nslog module under AOLserver 2.1? I've studied the > > documentation but I can not figure out how to do this. > > > > Thanks > > > > -- > > ---------------------------------------------- > > | Jeff Huber | Web Applications Developer | > > | jeff@am.net | AM.net - http://am.net | > > ---------------------------------------------- > > > > ------------------------------ > > > > End of AOLSERVER Digest - 6 Jan 1999 to 3 Mar 1999 > > ************************************************** > ========================================================================= Date: Sun, 7 Mar 1999 10:24:42 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Do It Sports Staff Subject: virtual servers per AOLServer installation In-Reply-To: <199804040502.AAA14283@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I have roughly 30 virtual servers to run that vary in traffic. I was wondering what the ideal number of servers per AOLServer installation might be. Is there a rule of thumb here (e.g. 12 per server process)? Or is it more a function of non-server related issues, like isolating each virtual server process, such that trouble in one doesn't result in trouble for the rest on some process? Thanks ------------------------------------------------------------------------ --o / Brad Chick `\<, / "DoMan" 0/ 0 / \e/ Do It Sports, Inc. __o __o / I 150 S. Fifth Ave. `\<, `\<, / `\\, Suite C O/ O --o O/ O/ O/ O Ann Arbor, MI 48014 `\<, / 0/ 0 / Voice: (734) 998-0007 __o / Fax: (734) 998-0056 `\-\ / 0/ 0 http://www.doitsports.com / e-mail: doman@doitsports.com ------------------------------------------------------------------------- "Doesn't matter where you finish, as long as you're sweating!" ========================================================================= Date: Sun, 7 Mar 1999 14:50:34 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Peter M. Jansson" Subject: Re: virtual servers per AOLServer installation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The two guidelines I use are these: 1. If a site can script, and the script authors are not trusted, then each virtual server gets a physical server, running chrooted, and under a separate user ID. This give me good containment if one of the authors decides to be evil. 2. Otherwise, I put in the maximum number of virtual servers such that the entire server restart takes less than a minute. That way, if I have to do maintenance, I won't tick off too many people at once. On robust hardware, like a DEC^H^H^HCompaq Alpha, 20-50 isn't unreasonable. (Actually, 50 is starting to push it). Pete. Do It Sports Staff wrote: > I have roughly 30 virtual servers to run that vary in traffic. I was > wondering what the ideal number of servers per AOLServer installation might be. ========================================================================= Date: Mon, 8 Mar 1999 12:38:27 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Sebastian Skracic Subject: External database driver for InterBase released MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Excerpts from By separating external driver to another host, we can access databases for which no client library is available on platform AOLserver runs. An example for this would be InterBase 4.0 running on Linux host which we want to connect to AOLServer running on Solaris box. Let's assume that InterBase client library is not available for Solaris. So we build external db driver on Linux host using available Linux InterBase client library. Now AOLServer on Solaris and proxy daemon on Linux can talk to each other using AOLServer's database-independent external data source protocol. .... and the bad news: Development of internal version is abandoned because InterBase client API is not thread safe. Therefore, if you're still using it, you are urged to migrate to external version. .... however: You can still use the same InterBase datasource and the same C/Tcl scripts you developed so far. Regards, Sebastian Skracic freelance web/db developer http://www.lavsa.com/sskracic ========================================================================= Date: Mon, 8 Mar 1999 22:55:31 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Hal Heisler Subject: Servlets? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is JSDK20 supported with AOLServer 2.3? After configuring the nsservlet.so module my virtual server fails to initialize with- Can't find class NcgiServletGate Unable to connect to NCGI server I've found very few references to the NCGI classes. Seems to be a part of an earlier JSDK. Is any work being done to in this area? -Hal ========================================================================= Date: Wed, 10 Mar 1999 13:06:38 -0600 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Andrew J Urbanski Subject: FAQ / List archive? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Can someone give me a pointer to these if they exist? (before I start to ask all of my 'silly' questions). -Andrue ========================================================================= Date: Thu, 11 Mar 1999 13:54:18 +0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Brian Baquiran Organization: Evoserve Subject: FAQ / List archive? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Date: Wed, 10 Mar 1999 13:06:38 -0600 > From: Andrew J Urbanski > Subject: FAQ / List archive? > > Can someone give me a pointer to these if they exist? (before I start to > ask all of my 'silly' questions). Hi, The only list archive I know of is at http://www.magnets.com/lists/aolserver-l/threads.html but the last message there is dated July 1997. More current archives are accessible via the listserver software. Read the confirmation email that you recieved when you signed on. There should be instructions there. HTH, Brian -- brianb@evoserve.com http://www.evoserve.com/~brianb ========================================================================= Date: Thu, 11 Mar 1999 17:06:35 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver Comments: SoVerNet Verification (on pike.sover.net) tau.omegafilters.com from tau.omegafilters.com [207.136.225.141] 207.136.225.141 Thu, 11 Mar 1999 17:05:56 -0500 (EST) From: Michael Newton Organization: Omega Optical, Inc. Subject: seeking web hosting services that have aolserver. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am looking for a web hosting provider with AOLserver and Oracle to develop and run my services. Any leads are appreciated. -- Michael Newton Information Systems Omega Optical, Inc. http://www.omegafilters.com ========================================================================= Date: Thu, 11 Mar 1999 16:08:22 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Huber Subject: Re: seeking web hosting services that have aolserver. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Michael, My company AM.net (http://am.net/) does just that! We offer virtual hosting with Linux using AOLserver 2.3 with either Solid or Illustra as the backend. Unfortunately, we don't offer Oracle virtual hosting. If you are interested in purchasing Oracle (quite expensive) you could either rent or colocate a machine that we would support. For basic virtual hosting with Solid or Illustra is $200 a month and $175 setup. This includes your own database pool, your own AOLserver process, 50 megs of file storage, 50 megs of database storage, 50 emailboxes (we set these up for you), backup on our shared DDS3, and 24x7 monitering. You can access your site's pageroot and private Tcl directory through either FTP or SMB. If you are interested in something more high-end, we are *extremly* flexible. Feel free to give me a call anytime at 1-800-579-2018 (our mail line) and ask for Jeff Huber (me). BTW, if you go to our website try not to laugh too hard. We are currently in the renovation process. Michael Newton wrote: > > I am looking for a web hosting provider with AOLserver and Oracle to > develop and run my services. Any leads are appreciated. > > -- > Michael Newton > Information Systems > Omega Optical, Inc. > http://www.omegafilters.com -- ---------------------------------------------- | Jeff Huber | Web Applications Developer | | jeff@am.net | AM.net - http://am.net | ---------------------------------------------- ========================================================================= Date: Thu, 11 Mar 1999 19:18:53 -0500 Reply-To: internet@inter-net.com Sender: Web Development with AOLserver From: Harvey Lunenfeld Subject: Re: seeking web hosting services that have aolserver. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit We can provide you with consultation, development, and support for your AOLserver requirements. We are considering offering web hosting services in the near future. Harvey Lunenfeld Internet Corporation internet@inter-net.com Phone: 1-516-757-1600 Fax: 1-516-757-7575 Michael Newton wrote: > I am looking for a web hosting provider with AOLserver and Oracle to > develop and run my services. Any leads are appreciated. > > -- > Michael Newton > Information Systems > Omega Optical, Inc. > http://www.omegafilters.com ========================================================================= Date: Thu, 11 Mar 1999 16:36:42 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Huber Subject: Re: seeking web hosting services that have aolserver. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I meant to send the previous message directly to Michael and not to the list. I apologize and hope I didn't ruin the noncommercial nature of the list. Several other companies also provide AOLserver Hosting including Primehost (http://www.primehost.com), carpeNET (http://www.carpe.net/), and ArsDigita (http://www.arsdigita.com/). Jeff Huber wrote: > > Hi Michael, > > My company AM.net (http://am.net/) does just that! > > We offer virtual hosting with Linux using AOLserver 2.3 with either > Solid or Illustra as the backend. Unfortunately, we don't offer Oracle > virtual hosting. If you are interested in purchasing Oracle (quite > expensive) you could either rent or colocate a machine that we would > support. For basic virtual hosting with Solid or Illustra is $200 a > month and $175 setup. This includes your own database pool, your own > AOLserver process, 50 megs of file storage, 50 megs of database storage, > 50 emailboxes (we set these up for you), backup on our shared DDS3, and > 24x7 monitering. You can access your site's pageroot and private Tcl > directory through either FTP or SMB. > > If you are interested in something more high-end, we are *extremly* > flexible. Feel free to give me a call anytime at 1-800-579-2018 (our > mail line) and ask for Jeff Huber (me). > > BTW, if you go to our website try not to laugh too hard. We are > currently in the renovation process. > > Michael Newton wrote: > > > > I am looking for a web hosting provider with AOLserver and Oracle to > > develop and run my services. Any leads are appreciated. > > > > -- > > Michael Newton > > Information Systems > > Omega Optical, Inc. > > http://www.omegafilters.com > > -- > ---------------------------------------------- > | Jeff Huber | Web Applications Developer | > | jeff@am.net | AM.net - http://am.net | > ---------------------------------------------- -- ---------------------------------------------- | Jeff Huber | Web Applications Developer | | jeff@am.net | AM.net - http://am.net | ---------------------------------------------- ========================================================================= Date: Sun, 14 Mar 1999 03:09:27 -0500 Reply-To: philg@mit.edu Sender: Web Development with AOLserver From: Philip Greenspun Subject: new version of Oracle driver released We've released a new version of our Oracle driver for AOLserver. It is available from http://arsdigita.com (if you click around a bit and are clever). Better support for BLOBs, CLOBs, etc. The driver seems to work fine with Oracle 8.1, btw. The enhancements were done by none other than Mark Dalrymple, now a full-time ArsDigitan. Other news: 1) http://photo.net/wtr/thebook/ comes out in bookstores next month. 2) AOLserver will be behind the race scores for the Boston Marathon on April 19. This is going to be a high-traffic day! We're expecting about 3 million queries. 3) Our open-source toolkit for online communities keeps getting enhanced. It is almost good now (see http://photo.net/wtr/using-the-acs.html). It will be a lot better by mid-April when we've rolled in a lot of stuff to take advantage of Oracle 8.1 (e.g., the revamped full-text search engine, now called Intermedia). 4) if you know any young people who've developed a good Web service, point them at http://arsdigita.org/prize/ ; we might give them $10,000 plus a trip to MIT where they get to have lunch with Dave Clark (developer of Internet) and Tim Berners-Lee (developer of the Web). Philip ========================================================================= Date: Mon, 15 Mar 1999 03:00:25 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: e/c Subject: Re: AOLSERVER Digest - 11 Mar 1999 to 14 Mar 1999 In-Reply-To: <199903150507.AAA02326@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Servlets in AOLServer sun.servlet.apache.NcgiException: bad auth When I try to run an applet from AOLServer, I get this error. Any help anyone? AOLServer starts up fine w/ the unicom package, although you have to start up the NcgiServletGate manaully. Mike Chan Snotty e/c ========================================================================= Date: Mon, 15 Mar 1999 09:57:31 -0600 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Dave Weis Subject: module loading errors MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello I am running version 2.3.2 and 2.3.3 on a machine and it began giving me errors when loading modules. I got them occasionally on the nssock module, but mainly with the ora8.so database driver distributed by arsdigita. The machine is a Celeron running RedHat linux 5.2 with 128 megs of RAM. I also get zombie nsd processes on startup, which I never did before. Any ideas what may be wrong? dave -- David Weis | 10520 New York Ave, Des Moines, IA 50322 djweis@plconline.com | Voice 515-278-0133 Ext 231 http://www.plconline.com/ | "Great spirits will always encounter violent | opposition from mediocre minds" - Einstein ========================================================================= Date: Mon, 15 Mar 1999 17:32:56 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Hal Heisler Subject: Oracle driver for Linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To compile on linux redhat 5.2 I made the follwing changes. ifeq ($(the_uname), Linux) PLATFORM = linux CC = gcc # LD = ld -ld -dy -G LD = ld -dy -G The driver seems to work fine so far. Redhat 5.2, Dual PII, 2.2.2 kernel. Wish there was support for Long > 1024. _hal P.S. Still trying to set up a Servlet environment on AOLserver. Any tips would be greatly appreciated. ========================================================================= Date: Tue, 16 Mar 1999 00:52:23 -0500 Reply-To: Harvey Lunenfeld Sender: Web Development with AOLserver From: Harvey Lunenfeld Subject: Tcl Compiler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit When will AOLserver be made available for use with a Tcl compiler, such as in Tcl 8.0.3 or higher? Can current versions of AOLserver be adapted for use with a Tcl compiler? Harvey Internet Corporation internet@inter-net.com Phone: 1-516-757-1600 ========================================================================= Date: Tue, 16 Mar 1999 13:15:08 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Sebastian Skracic Subject: Re: module loading errors Comments: cc: Dave Weis In-Reply-To: <199903160507.AAA09898@services.web.aol.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > Date: Mon, 15 Mar 1999 09:57:31 -0600 > From: Dave Weis > Subject: module loading errors > > Hello > > I am running version 2.3.2 and 2.3.3 on a machine and it began giving me > errors when loading modules. I got them occasionally on the nssock module, > but mainly with the ora8.so database driver distributed by arsdigita. > > The machine is a Celeron running RedHat linux 5.2 with 128 megs of RAM. I > also get zombie nsd processes on startup, which I never did before. > > Any ideas what may be wrong? Did you maybe perform upgrade without recompiling the driver? What did that messages look like? Excerpts from your server.log could be of help. Reagrds, Seb. ========================================================================= Date: Tue, 16 Mar 1999 09:18:44 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: e/c Subject: Servlets in AOLServer In-Reply-To: <199903160507.AAA09898@services.web.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Servlets in AOLServer sun.servlet.apache.NcgiException: bad auth When I try to run an servlet from AOLServer, I get this error. Any help anyone? AOLServer starts up fine w/ the unicom package, although you have to start up the NcgiServletGate manaully. Sorry, this is a repost, but I mistyped my last posting. BTW does anyone know if AOLServer has any plans to support servlets as embedded tags in HTML using the shtml extension? Mike Chan Snotty e/c ========================================================================= Date: Tue, 16 Mar 1999 09:38:22 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Steven Hertzberg Subject: AOL/Oracle/ACS Developer Talent Req'd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am in the process of developing an implementation plan for an extranet that I am building for a membership organization. Having evaluated the functions that I wish to perform, it appears that the AOL Server with an Oracle backend driving some of Arsdigita's applications will satisfy a good portion of my goals. I am looking for a developer (preferrably California based) who has experience with Intra/Extranets and all of these tools on a Linux (or other open source UNIX) platform. Please contact me if you have this experience and can assist with my project's application development and systems integration. _____________________________ Steven Hertzberg Pasadena, California 626.796.7965 ========================================================================= Date: Tue, 16 Mar 1999 21:35:25 +0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Hal Heisler Subject: AOL Developer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The group I have been working with is looking for an AOL Server developer. Requires experience with TCL, SQL and AOL Server. Java experience would be a plus. -18 month contract position. -Blue Chip firm -Portland Oregon _hal ========================================================================= Date: Thu, 18 Mar 1999 11:56:07 -0700 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "Daniel P. Stasinski" Subject: bugs and fixes in AOLserver 2.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Although I sent in bug reports quite some time ago, they're still in 2.3.3. Here are the bugs and fixes: /nsdb/util.tcl No types are defined for int2, int4, float4, and float8 so you cannot perform searches or add search criteria on these columns. Replace the appropriate proc in /nsdb/util.tcl with: proc ns_dbquotevalue {value {type text}} { if [string match $value ""] { return "NULL" } if {$type == "decimal" \ || $type == "double" \ || $type == "integer" \ || $type == "int" \ || $type == "int2" \ || $type == "int4" \ || $type == "real" \ || $type == "smallint" \ || $type == "bigint" \ || $type == "bit" \ || $type == "float" \ || $type == "float4" \ || $type == "float8" \ || $type == "numeric" \ || $type == "tinyint"} { return $value } regsub -all "'" $value "''" value return "'$value'" } /nsdb/getdata.tcl When generating SQL for Database Services/Get Data, the code is wrong. If you restore a database from this data, kiss your database goodbye. Replace the appropriate proc in /nsdb/getdata.tcl with: proc ns_writesql {datafp db table} { puts $datafp "\n-- The following SQL will insert data into -- the table \"$table\". It will not remove any -- existing data in the table.\n" set colcount [ns_column count $db $table] set row [ns_db select $db "select * from [ns_dbquotename $table]"] set rowsize [ns_set size $row] set startsql "insert into [ns_dbquotename $table] ([ns_column name $db $table 0]" for {set i 1} {$i < $colcount} {incr i} { append startsql ", [ns_column name $db $table $i]" } append startsql ")\n values (" while {[ns_db getrow $db $row]} { set vals {} for {set i 0} {$i < $colcount} {incr i} { set name [ns_column name $db $table $i] set type [ns_column typebyindex $db $table $i] lappend vals [ns_dbquotevalue [ns_set get $row $name] $type] } puts $datafp "$startsql[join $vals {, }]);" } } Here is a nice feature to add to /nsdb/forms.tcl. At the very end of proc ns_searchqbf, add: append htmltable "
$sql" Now, when you do a query in the Admin Database search area, you will see the syntax of the query that was sent to the database. Daniel -- -- | Daniel P. Stasinski | KareMor International, Inc. | Software Engineer | 2401 South 24th Street | Internet Services Dept. | Phoenix, AZ 85034 | daniels@karemor.com | http://www.karemor.com ========================================================================= Date: Fri, 19 Mar 1999 12:35:10 -0800 Reply-To: aabedi@gseis.ucla.edu Sender: Web Development with AOLserver From: Ali Abedi Organization: UCLA Subject: (no subject) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am trying to write a TCL script where clients can select specific files and upload it to the server. But it seems like none of the TCL functions work properly with that. Does anyone know how I can achieve this upload script, through TCL. Thanks, Ali Abedi ========================================================================= Date: Fri, 19 Mar 1999 13:50:05 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Huber Subject: Re: (no subject) Comments: To: aabedi@gseis.ucla.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ali, You can upload a file through html by using multipart formdata. If you're running AOLserver 2.3, on the server side you can use the AOLserver ns_queryget Tcl command. They provide a good example using multipart formdata. See: http://www.aolserver.com/server/docs/2.3/html/tapi-c88.htm If you're running 2.2, you can use the ns_get_multipart_formdata command. Which is supposedly "depreciated" in 2.3. If your using 2.1, I believe it was Jeff Rawlings who wrote a nice module to allow multipart formdata. Ali Abedi wrote: > > I am trying to write a TCL script where clients can select specific > files and upload it to the server. But it seems like none of the TCL > functions work properly with that. Does anyone know how I can achieve > this upload script, through TCL. > Thanks, > Ali Abedi -- ---------------------------------------------- | Jeff Huber | Web Applications Developer | | jeff@am.net | AM.net - http://am.net | ---------------------------------------------- ========================================================================= Date: Fri, 19 Mar 1999 17:10:12 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jeff Rawlings Subject: Re: file upload Comments: To: aabedi@gseis.ucla.edu Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:35 PM 3/19/99 -0800, Ali Abedi wrote: >I am trying to write a TCL script where clients can select specific >files and upload it to the server. But it seems like none of the TCL >functions work properly with that. Does anyone know how I can achieve >this upload script, through TCL. >Thanks, >Ali Abedi Take a look at the AOLserver documentation for the [ns_queryget] command, at www.aolserver.com . Basically, with a file upload, AOLserver will write the file to a temporary filename and store that filename in the formdata's ns_set. You can then use [ns_cp] to move the file, or whatever. Cheers, --Jeff Rawlings Board of Directors, Association of Internet Professionals jrawlings@association.org -- http://www.association.org Senior Software Engineer, America Online rawlings@aol.net -- http://www.aol.com ========================================================================= Date: Mon, 22 Mar 1999 10:24:57 -0700 Reply-To: aland@fc.hp.com Sender: Web Development with AOLserver From: Aland Adams Subject: Re: AOLSERVER Digest - 18 Mar 1999 to 19 Mar 1999 In-Reply-To: <199903200502.AAA27940@services.web.aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Ali: Not sure if I'm using this mail service correctly... Here's a utility (tcl procedure) I wrote for uploading files. I use a wide scree vi editor, hence the line wraps. Also, there may be some tabs you need to fix if the mailer removes them. ************************************************** proc filetran {conn ignore} { # The directory path of the destination directory from the base location # follows the base URL # Set a POST permission for this utility including the destination direectory path # to control who can use the tool # Unless there is formdata then it is used (options) set location [ns_conn location] set url [ns_conn url] # Set the base directory path for different virtual servers set sysname [string range $location 7 end] switch $sysname { stooges.fc.hp.com { set basedir "/common/udlweb" } hpuxweb.fc.hp.com { set basedir "/common/hpuxweb" } udlweb.fc.hp.com { set basedir "/common/udlweb" } default { set basedir "/tmp" } } set option "" set override "" set formdata [ns_getform] if {$formdata!=""} { set option [ns_queryget option] set override [ns_queryget override] set localfile [ns_queryget localfile] set fileloc [ns_queryget localfile.tmpfile] } if {$option == ""} { set option "form" } set dirpath "$basedir/" append dirpath [string range $url [expr [string first "filetran" $url] + 9] end] if {[string length $dirpath] > 0} { set endpos [expr [string length $dirpath] - 1] if {[string range $dirpath $endpos $endpos] != "/"} { append dirpath "/" } } set output "\ \nFile Transfer\n\n\

File Transfer

\n" if {$option=="form"} { set promptcheck "CHECKED" set autocheck "" } else { set promptcheck "" set autocheck "CHECKED" } set baseform "\ \n\ \n\ \ \n\ \ \n\ \ \n\ \ \n\ \ \n" switch $option { form { append output "\ \n\ $baseform\
Destination system:$sysname
Destination directory:$dirpath
Overwrite policy:\ Prompt before overwritting existing file.
\ \ Automatically overwrite existing file.\n\
Local file:

\n\ \n\

Help for this utility.\n" } help { append output "\

Destination system: $sysname\n\

Destination directory: $dirpath\n\

This utiltiy can be used to transfer a file to a web server. Some specifics\ on how it operates:\n\

    \n\
  • When confirming to overwite an existing file (when prompted) the source file\ name must be re-entered. But, it is shown in the page to facilitate a cut and\ paste operation.\n\
  • Only one file can be transferred at a time.\n\
  • The destination directory on the web server is specified by placing the path\ after the URL to this tool.\ (i.e. http://ServerPath/udlit/filetran/DestinationDirectory\n\
  • The permissions on the transferred file will be set to -rw-rw-rw (0666).\n\
  • Directory access for this is controlled by setting POST permisions on the\ web server. This should be done carefully. Including strict matching down\ to the directory level.\n\
\n\

Return to the form.\n" } postit { set fterror "no" if {$localfile == ""} { set fterror "yes" append output "

No local file was specified. Nothing was transferred.\n" } if {[file exists $dirpath] == 0} { set fterror "yes" append output "

The $dirpath directory does not exist on $sysname.\n" } if {$fterror == "no"} { if {[string last "\\" $localfile] != -1} { set upname [string range $localfile [expr [string last "\\" $localfile] + 1] end ] } else { if {[string last "/" $localfile] != -1} { set upname [string range $localfile [expr [string last "/" $localfile] + 1] end ] } else { set upname $localfile } } if {[file exists $dirpath$upname] == 0 | $override == "yes"} { ns_cp $fileloc $dirpath$upname ns_chmod $dirpath$upname 0666 append output "

The $localfile file was transferred to $dirpath\n" } else { set modtime [ns_httptime [file mtime $dirpath$upname]] append output "\

The $dirpath$upname file already exists. Use the following\ form to replace the existing file.\n\

\n\ $baseform\ Previously specified local file:\ $localfile (last modified $modtime)\n\ \n\
\n" } } append output "\

Return to the form.\n\

Help for this utility.\n" } } append output "\n" ns_return $conn 200 text/html $output } ************************************ A. Adams -----Original Message----- From: Web Development with AOLserver [mailto:AOLSERVER@SERVICES.WEB.AOL.COM]On Behalf Of Automatic digest processor Sent: Friday, March 19, 1999 10:03 PM To: Recipients of AOLSERVER digests Subject: AOLSERVER Digest - 18 Mar 1999 to 19 Mar 1999 There are 3 messages totalling 78 lines in this issue. Topics of the day: 1. (no subject) (2) 2. file upload ---------------------------------------------------------------------- Date: Fri, 19 Mar 1999 12:35:10 -0800 From: Ali Abedi Subject: (no subject) I am trying to write a TCL script where clients can select specific files and upload it to the server. But it seems like none of the TCL functions work properly with that. Does anyone know how I can achieve this upload script, through TCL. Thanks, Ali Abedi ========================================================================= Date: Mon, 22 Mar 1999 17:55:51 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Thomas Degremont Subject: XML 1.0 on AOL Server 2.3 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Has anyone on this list played around with XML in the context of AOLServer yet? As those of you who have know, sending XML is no more complicated than producing a well-formatted HTML pages - so nothing to complicated there. The hard part (and this is my question) is figuring out a clever way to parse some xml on the server side. I have found 2 TCL modules that may do the trick (http://www.zveno.com/zm.cgi/in-tclxml/) but I was hoping someone had found a more elegant solution tailored for use within aolserver. (both these parsers use a callback methodology that does not suit my needs - I want to be able to query the document for specific items) I would appreciate any feed-back or ideas you may have, and will compile a best-of for this list. thanks Tom. from : Thomas Degremont tom@aolstudios.com ========================================================================= Date: Mon, 22 Mar 1999 20:08:37 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Jim Wilcoxson Subject: tclstate bug Comments: cc: bugs@aolserver.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" There's a bug in tclstate/init.tcl, fn ns_save_state. It says: if {$id != ""} { set file $_ns_state(dir)/state$id.dat but should say: if {[string compare $id ""] != 0} { set file $_ns_state(dir)/state$id.dat If an id like 123456789012 is passed in, the former will blow because $id is almost a valid number but not quite. Jim _____________________________________________ Jim Wilcoxson, Owner Ruby Lane Fine Art, Antiques and Collectibles 1.888.782.9586 (+1.415.864.4563) http://www.rubylane.com ========================================================================= Date: Tue, 23 Mar 1999 14:04:50 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Kerry Barlow Subject: file upload script for NT Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi all I recently saw the file upload script for AOL. I am not sure if it will run on AOLserver for NT 2.1? I am looking for a script in TCL or Perl that will allow a web user to upload files and a small text description/paragraph and then have an html webpage generated from this for others to view. Maybe the browser could type in the page Heading/title in a form field, a form field,paragraph of description of the pictures and then the pictures they wish uploaded in a final form field. Has anyone seen anything along these lines? Thankyou all for your time! Sincerely Kerry Admin@MntnWeb.Com WWW server hosting Http://mntnweb.com Binghamton online Webcam Http://MntnWeb.Com/bing.htm CHRISTMAS Web Page Http://mntnweb.com/xmas.htm ========================================================================= Date: Thu, 25 Mar 1999 15:27:50 -0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: David Wynne Subject: Can you answer me these questions - Erg 4 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am currently running Aolserver 2.2.1 under Solaris 2.6, and would like to pose the following questions: 1. I have several users who want to POST their data to cgi-scripts which lie in different locations below the DocumentRoot. By default the virtual server has a restriction on POST to / requiring system privilege. Rather than create many allow POST permission to these cgi directories I removed the POST / permission. However this has now stopped many of the sysadmin URL's working e.g. Add User. Any workaround ? 2. I use the Full Text Processing to provide a search mechanism. Is there any way to automate the update of the database overnight. Currently I have to remember to use a browser & do it manually. 3. I recently wrote my first ADP & would like to allow other users to do so. However it is easy to crash the server e.g. I naively used the exit command thereby quitting the server. Is there any way to make the system more robust. Currently we use CGIWrap, which you could write a vanilla TCL script, but you wouldn't get access to the VERY useful ns_ procedures. 4. Are there any plans to incorporate something like the PERL CGI.pm module to the TCL interpreter with AOLServer. ========================================================================= Date: Thu, 25 Mar 1999 15:25:15 -0500 Reply-To: Stanislav Krasilovskiy Sender: Web Development with AOLserver From: Stanislav Krasilovskiy Subject: Multi-hosting pains In-Reply-To: <199903240501.AAA06504@services.web.aol.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Could you please help me out? This is strange... Imagine the following situation: host H1 hosts two sites A and B using multi-hosting as outlined in the AOLserver v2.3 doc. Host H2 (also running AOLserver) tries to use ns_geturl to retrieve a web page from site A. The result is that site A reports the web page is not found (HTTP code 404). When the exact same URL is pasted into the web browser, it works fine. Do you know why that is happening? Is there a possible workaround? I have a suspicion that this happens due to the way the "master" redirects to the correct web site... Thanks in adavance for your help. If you need more information to make the picture complete, I will gladly supply it. Stan Krasilovskiy ========================================================================= Date: Thu, 25 Mar 1999 13:36:57 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: jim@rubylane.com Subject: Re: Can you answer me these questions - Erg 4 In-Reply-To: <000d01be76d4$0b481410$0530cc96@kant> from "David Wynne" at Mar 25, 99 03:27:50 pm Content-Type: text > I am currently running Aolserver 2.2.1 under Solaris 2.6, and would like to > pose the following questions: ... > > 2. I use the Full Text Processing to provide a search mechanism. Is there > any way to automate the update of the database overnight. Currently I have > to remember to use a browser & do it manually. Use ns_schedule_proc > > 3. I recently wrote my first ADP & would like to allow other users to do so. > However it is easy to crash the server e.g. I naively used the exit command > thereby quitting the server. Is there any way to make the system more > robust. Currently we use CGIWrap, which you could write a vanilla TCL > script, but you wouldn't get access to the VERY useful ns_ procedures. Use the rename TCL command to eliminate exit (and cd too - it's broken) Jim ========================================================================= Date: Thu, 25 Mar 1999 16:51:36 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: "J. Michael Roberts" Subject: Re: Multi-hosting pains Comments: To: Stanislav Krasilovskiy In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Virtual hosting can't tell which virtual host to respond with if the Host: header isn't set in the request. (The basic HTTP request doesn't contain the domain used; that is simply resolved with DNS on the client and once the socket is attached it is discarded.) ns_geturl and the other AOLserver HTTP client functions don't set the Host: header. I have some free HTTP client code that replaces the native ns_ functions, if you're interested in giving that a shot -- it even sets the Host: header for you automatically. I'll email it if you're interested (I've been intending to set up a download area on my site, but you know how these good intentions go...) On Thu, 25 Mar 1999, Stanislav Krasilovskiy wrote: > Hi, > > Could you please help me out? This is strange... > > Imagine the following situation: host H1 hosts two sites A and B using > multi-hosting as outlined in the AOLserver v2.3 doc. Host H2 (also > running AOLserver) tries to use ns_geturl to retrieve a web page from site > A. The result is that site A reports the web page is not found (HTTP code > 404). When the exact same URL is pasted into the web browser, it works > fine. Do you know why that is happening? Is there a possible workaround? > > I have a suspicion that this happens due to the way the "master" redirects > to the correct web site... > > Thanks in adavance for your help. If you need more information to make > the picture complete, I will gladly supply it. > > Stan Krasilovskiy > ========================================================================= Date: Thu, 25 Mar 1999 17:16:16 EST Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Lance Martel Subject: Parsing an XML file with TCL Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Hi all, I'm receiving a news feed file that is in XML format. I would like to parse out the Headline, abstract, story links, etc..... using TCL. Two questions: 1) I open and read the XML text file to a variable. I then want to search this text file for all occurrences of the XML tag . set file_channel [open $file_name r] set html [read $file_channel] set title1 [string first "<TITLE>" $html] This successfully returns the index of the first occurrence, but how to I then retreive the next occurrence of <TITLE>? 2) Now that I've found the location of the tag <TITLE> I can retreive the line of the text file that contains the flag. set title1 [string first "<TITLE>" $html] seek $file_channel $title1 gets $file_channel So I end up with something like this: <TITLE> News Headline Now I just want to extract the News Headline from the line. If I know the index of and , how can I grab the text between them? Thanks in advance for any feedback.... Lance. 1) ========================================================================= Date: Fri, 26 Mar 1999 11:41:41 +0100 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Sebastian Skracic Subject: ANNOUNCE: InterBase port of ACS - ArsDigita Community System MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ArsDigita Community System has been ported to InterBase DBMS. Development is done on IB4.0 for Linux, but there should be no problems for newer IB releases (at least on Linux). For other Unix platforms, you should probably edit makefile for AOLServer IB database driver to compile it cleanly. InterBase port of ACS: AOLServer IB db driver: Good luck, Sebastian Skracic http://www.lavsa.com/sskracic/ mailto:sskracic@usa.net ========================================================================= Date: Fri, 26 Mar 1999 08:10:48 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: voja Subject: "arg list too long" message in Illustra 3.2 MIME-version: 1.0 Content-type: text/plain; charset="us-ascii" Hello, Illustra has all of a sudden started to trash with: WaitForMiServer(default:db1): recv(512, MSG_PEEK) failed: Arg list too long Database operation "select" failed Would anyone know what is causing this and how to avoid it? Any help appreciated, Voja ========================================================================= Date: Fri, 26 Mar 1999 00:23:16 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: James Smallacombe Subject: nsd memory useage MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I recently upgraded to AOLserver 2.3.3 from 2.2x on a Sparc running Solaris 2.6. I noticed, while doing a top today, that nsd is taking up 55MB of RAM. Since I only have around 70 virtual hosts, this suprised me a bit. Is this normal? James Smallacombe Internet Access for The Delaware james@pil.net Valley in PA, NJ and DE PlantageNet Internet Ltd. http://www.pil.net ======================================================================== ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans 3 days of clues, news, and views from the industry's best and brightest. Visit for information and registration. ======================================================================== ========================================================================= Date: Fri, 26 Mar 1999 15:01:58 -0000 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Mark Dalrymple Subject: Re: Mutli-hosting pains In-Reply-To: <199903260505.AAA25451@services.web.aol.com> (message from Automatic digest processor on Fri, 26 Mar 1999 00:02:11 -0500) > ns_geturl and the other AOLserver HTTP client functions don't set the > Host: header. things like ns_httpopen and ns_httpget send the host: header in AOLserver 2.3.3. For ns_geturl, you can add the host: header to the optional set you pass into ns_geturl. Cheers, ++Mark Dalrymple, ArsDigita "Food: Any kind of flake food will do just fine, though some fish fanciers suggest buying some brine fish treats too, for variery. Honestly, I can't taste the difference at all." -- Andy Ihnatko, "The Original Macquarium" ========================================================================= Date: Fri, 26 Mar 1999 10:39:56 -0500 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: Kerry Barlow Subject: file upload script needed Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Greetings: does anyone have a file upload script that will run on the AOlserver NT version 2.1? a TCL version would be better for me if such an item is out there. Thankyou Sincerely Kerry Admin@MntnWeb.Com WWW server hosting Http://mntnweb.com Binghamton online Webcam Http://MntnWeb.Com/bing.htm CHRISTMAS Web Page Http://mntnweb.com/xmas.htm ========================================================================= Date: Fri, 26 Mar 1999 13:39:30 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: jim@rubylane.com Subject: Re: nsd memory useage In-Reply-To: from "James Smallacombe" at Mar 26, 99 00:23:16 am Content-Type: text I'll second the memory usage issue, only with 2.3.2. We have a secondary web site that only runs a couple of TCL functions and is getting about 100K hits/day. When we first reboot, the server uses about 9MB (Red Hat Linux 5.0) It continues to grow throughout the day and has gotten as high as 45MB before I restarted it. This is a perfect example of needing to examine the source to find out if there are memory leaks and even help fix them. Is anyone at AOL considering releasing the source? I'd be happy to sign non-disclosures or whatever. It's a great product, but I'm uncomfortable basing my entire business around software that AOL could stop supporting, especially considering the recent purchase of Netscape. Jim www.rubylane.com > > I recently upgraded to AOLserver 2.3.3 from 2.2x on a Sparc running > Solaris 2.6. I noticed, while doing a top today, that nsd is taking up > 55MB of RAM. Since I only have around 70 virtual hosts, this suprised me > a bit. Is this normal? > > James Smallacombe Internet Access for The Delaware > james@pil.net Valley in PA, NJ and DE > PlantageNet Internet Ltd. http://www.pil.net > ========================================================================= > ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans > 3 days of clues, news, and views from the industry's best and brightest. > Visit for information and registration. > ========================================================================= > ========================================================================= Date: Fri, 26 Mar 1999 13:46:22 -0800 Reply-To: Web Development with AOLserver Sender: Web Development with AOLserver From: jim@rubylane.com Subject: Re: Parsing an XML file with TCL In-Reply-To: from "Lance Martel" at Mar 25, 99 05:16:16 pm Content-Type: text > > Hi all, > > I'm receiving a news feed file that is in XML format. I would like to parse > out the Headline, abstract, story links, etc..... using TCL. > > Two questions: > > 1) I open and read the XML text file to a variable. > I then want to search this text file for all occurrences of the XML tag > . > > set file_channel [open $file_name r] > set html [read $file_channel] > > set title1 [string first "<TITLE>" $html] > > This successfully returns the index of the first occurrence, but how to I > then > retreive the next occurrence of <TITLE>? 1. Use regsub to change occurrances of title to a special character, like ~ (make sure you use a character that doesn't occur in the text): regsub -all -nocase {<title>} $html "~" html 2. Use split to break the HTML up into pieces: set htmllist [split $html ~] 3. Use foreach to go through the list: foreach piece $htmllist { do something with $piece } > > > 2) Now that I've found the location of the tag <TITLE> I can retreive the > line of > the text file that contains the flag. > > set title1 [string first "<TITLE>" $html] > seek $file_channel $title1 > gets $file_channel > > So I end up with something like this: > <TITLE> News Headline > > Now I just want to extract the News Headline from the line. > If I know the index of and , how can I grab the text between > them? If you use the above code, your tag will now be ~. If you know that the text in $piece won't contain a less than, you can say: foreach piece $htmllist { if [regexp {~([^<]*)} $piece wholematch title] { $title is the title } else { oops, no title found } } ========================================================================= Date: Sat, 27 Mar 1999 13:33:47 -0000 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Mark Dalrymple <markd@arsdigita.com> Subject: Re: nsd memory usage In-Reply-To: <199903270505.AAA22618@services.web.aol.com> (message from Automatic digest processor on Sat, 27 Mar 1999 00:01:13 -0500) Hey James, > I recently upgraded to AOLserver 2.3.3 from 2.2x on a Sparc running > Solaris 2.6. I noticed, while doing a top today, that nsd is taking up > 55MB of RAM. Since I only have around 70 virtual hosts, this suprised me > a bit. Is this normal? each virtual host doesn't take up too much memory (there's a handful for the virtual server, and another handful for the virtual host vector). What's more interesting are the number of threads active. There's not an easy way to see how many threads total are in use, but you can turn on "CheckStats" and then have something grovel over the logs and sum up the "HWM-Threads" (high water mark, threads). Each thread has OS overhead + stack overhead (defaults to 48K I think, and you may have upped the value if you're running the ArsDigita Oracle driver). Does the memory grow over time, or does it hit a steady-state? If it keeps growing to truly obscene proportions, then it's a leak somewhere. Cheers, ++Mark Dalrymple, Ars Digita "If you go to Brig'A'Dun, you will die" -- O'Kosh ========================================================================= Date: Sun, 28 Mar 1999 15:11:47 -0500 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Thomas Degremont <tom@aolstudios.com> Subject: JSDK and AOLServer (and xml) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit JSDK: In order to get some rapid, solid, cross-platform development I am investigating using sun's java servlets. Now I am pretty sure I am missing something, but I can't seem to find any reference anywhere to the NcgiServletGate class apart from the section on configuring the nsservlet module in teh documentation. I downloaded the jsdk from sun, and THAT CLASS JUST AIN'T THERE! (As I am writting this it's dawning on me that 2.3.2 probably does not support jsdk 2.0 - which means I am probably going to be stuck developing on 1.0, which is a major drag) well, in the hope that someone has found a work-around to this, I am still going to post this! Thanks for any feedback, tom [ to those of you that answered my XML posting, I am still in the process of figuring out the best way to go - I am hoping the servlet approach might help me on the way. The lesson learnt so far is that there is no "out of the box" solution for aolserver & XML. ] from : Thomas Degremont tom@aolstudios.com ========================================================================= Date: Sun, 28 Mar 1999 12:41:41 -0800 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Jeff Huber <jeff@am.net> Subject: Re: nsd memory usage MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark, I am hoping you can help me. There is two issues I wanted to bring to the attention of the AOLserver development team. When I send an email to bugs@aolserver.com or feedback@aolserver.com the message bounces back to me. I am hoping you could forward this to someone who will doing something about it, or tell me who to email this to. The issues are: The ns_cypt example provided at http://www.aolserver.com/server/docs/2.3/html/tapi-c30.htm#3386 is incorrect. The example lists the salt being before the key. Yet the key is really suppose to be before the salt. (As the syntax shows.) On the AOLserver Web Site Feedback page, clicking on the 'sign up online' link (http://www.aolserver.com/server/listserv.adp) returns a garbaged page. Thanks BTW, if you don't mind me asking (which you probably do) why did you leave AOL? -- ---------------------------------------------- | Jeff Huber | Web Applications Developer | | jeff@am.net | AM.net - http://am.net | ---------------------------------------------- ========================================================================= Date: Mon, 29 Mar 1999 14:12:34 -0000 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Mark Dalrymple <markd@arsdigita.com> Subject: Re: nsd memory usage In-Reply-To: <199903290506.AAA10462@services.web.aol.com> (message from Automatic digest processor on Mon, 29 Mar 1999 00:00:00 -0500) Hey Jeff, > BTW, if you don't mind me asking (which you probably do) why did you > leave AOL? nah, I don't mind. (just amazed anyone would care!) It all had to do with the size of the company. I grew up in a small state, went to a tiny high school, a tiny liberal arts college, and started my career in a small startup. The bureaucracy involved with a 12,000 employee company just finally got to me (10 months to replace a bookcase, days to fix hardware problems that took out my workstation, weeks to get a book ordered when there was a Computer Literacy bookstore in walking distance). I had an opportunity to join a nice small company packed with really smart people, so I took it! AOLserver's in really good hands, though. The folks I handed things over to have some great ideas, and I'm pretty pumped with what's coming down the pipeline. ++Mark Dalrymple, ArsDigita. "In olden times, we thought there were four basic elements of the universe: earth, water, air, and fire. Now we know there are *really* for basic states of matter: solid, liquid, gas, and plasma. Three cheers for progress." - _Analog_ ========================================================================= Date: Tue, 30 Mar 1999 00:12:31 -0500 Reply-To: philg@mit.edu Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Philip Greenspun <philg@martigny.ai.mit.edu> Subject: ArsDigita versus AOL In-Reply-To: <199903300504.AAA05238@services.web.aol.com> (message from Automatic digest processor on Tue, 30 Mar 1999 00:01:38 -0500) Date: Mon, 29 Mar 1999 14:12:34 -0000 From: Mark Dalrymple <markd@arsdigita.com> Subject: Re: nsd memory usage Hey Jeff, > BTW, if you don't mind me asking (which you probably do) why did you > leave AOL? nah, I don't mind. (just amazed anyone would care!) It all had to do with the size of the company. I grew up in a small state, went to a tiny high school, a tiny liberal arts college, and started my career in a small startup. The bureaucracy involved with a 12,000 employee company just finally got to me (10 months to replace a bookcase, days to fix hardware problems that took out my workstation, weeks to get a book ordered when there was a Computer Literacy bookstore in walking distance). I had an opportunity to join a nice small company packed with really smart people, so I took it! We're very glad to have Mark here at ArsDigita where we're so smart that we 1) got bookcases from our landlord's basement 2) don't have any workstations (only servers at above.net and exodus.net); if a desktop system (really just an ssh/X terminal) breaks, we throw it out 3) make people order their own damn books (though I guess we let them use the company credit card) Speaking of ArsDigita, we've included a jobs posting below for those who don't want to read http://arsdigita.com/jobs.html Philip ------------- our jobs pitch, loosely adapted from the spam we get at our lab at MIT ******************** Programmers Wanted! ************************* ArsDigita, LLC DBA ``arsdigita.com'' is looking to hire bright, energetic, talented people like yourself. We are a small multinational conglomerate looking for people who know how to make things happen, people who won't just sit around watching things happen or wondering what happened, but people who will roll up their sleeves, dig right in, and play ball. Our solutions are universally applicable and we are actively seeking new problems solvable using our solutions. We are also (of course!) seeking new solutions to our problems. We are a small company with the wisdom of the ages, yet we are young and fresh. We are looking for people who smell nice, because we smell nice, too. ArsDigita is currently privately owned, but should be undergoing an initial public offering quite soon. Don't miss this opportunity to get in on the ground floor of a very tall building that stands very straight. If you think that you can handle working in such a dynamic, exciting, and rewarding environment, you are encouraged to submit an application and we are encouraged to respond. Only you can stand in your way. The early bird gets the worm and you having nothing to fear but fear itself. We have a variety of positions available ranging from Junior Assistant Honcho all the way up to Partner Honcho in Charge of Making Good Things Happen. Mail, fax, dictate, or sign in your application now. ========================================================================= Date: Wed, 31 Mar 1999 01:31:23 -0500 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Edmund Lian <elian@ibm.net> Subject: Re: Arsdigita vs AOL In-Reply-To: <199903310500.AAA29294@services.web.aol.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mark wrote: > The bureaucracy involved with a 12,000 employee company just finally > got to me (10 months to replace a bookcase, days to fix hardware > problems that took out my workstation, weeks to get a book ordered > when there was a Computer Literacy bookstore in walking distance). Well, I suppose that to be fair to all the large companies out there, I must say that bureaucracy isn't a given thing. What you experienced is really more the result of disorganization than AOL being 12,000 staff big. I've seen bigger and smaller companies that were better or worse than this! Phil wrote: > ArsDigita is currently privately owned, but should be undergoing an > initial public offering quite soon. Don't miss this opportunity to get > in on the ground floor of a very tall building that stands very > straight. Now, this is big news... here I was hacking away quietly when my understanding and preconceptions of how Things Should Be (see sections titled "Growing ArsDigita the Annoying Way: Sell Software" and "Growing ArsDigita the Sustainable Way: Teams" in Phil's book) melted away. I think the Earth moved. ;-) Oh well... I guess since a lot of dumb people are getting really rich doing stupid things, it's only fair that the move evolved get a piece of the cake! ...Edmund. ========================================================================= Date: Tue, 30 Mar 1999 23:43:26 -0500 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: James Smallacombe <james@pil.net> Subject: More fun with 2.3.3 bugs? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII My virtual host server started acting very strange, finally needing a reboot. here's what was in the /var/adm/messages file: Mar 30 22:50:49 richard AOLserver[11561]: Sock: Could not receive bind response: Software caused connection abort Does this look like an AOLserver problem, or a Solaris problem? The whole box became virtually unreachable... TIA James Smallacombe Internet Access for The Delaware james@pil.net Valley in PA, NJ and DE PlantageNet Internet Ltd. http://www.pil.net ======================================================================== ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans 3 days of clues, news, and views from the industry's best and brightest. Visit <http://www.ispf.com/> for information and registration. ======================================================================== ========================================================================= Date: Wed, 31 Mar 1999 10:14:18 EST Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Cssmnko@cs.com Subject: thread max 50 revisited Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit We are using AOL Server 2.2 and have been seeing many occurrences of "thread max (50) reached with x connections waiting" in our server.log file. We are making a socket connection to a remote host. Does this error mean that only 50 users can be using that socket connection at one time? Is there a method for bumping up that number? Are there any help files discussing this particular situation? Please respond as soon as you can. Much appreciated. - CompuServe Search Development Team ========================================================================= Date: Wed, 31 Mar 1999 20:51:42 -0500 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: Patrick Giagnocavo <pgiagnoc@qi.com> Organization: Quadrant International Subject: Re: thread max 50 revisited MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cssmnko@cs.com wrote: > > We are using AOL Server 2.2 and have been seeing many occurrences of "thread > max (50) reached with x connections waiting" in our server.log file. We are > making a socket connection to a remote host. Does this error mean that only > 50 users can be using that socket connection at one time? Is there a method > for bumping up that number? Are there any help files discussing this > particular situation? Please respond as soon as you can. Much appreciated. > > - CompuServe Search Development Team This can be handled via a configuration directive in nsd.ini. What you are seeing is that there can be up to x number of thread; in your case 50 threads. You need to increase the ThreadMax parameter and set this number to be higher than 50. The online docs say: The maximum number of threads this virtual server can use within the AOLServer process, excluding threads used for returning "server busy" status pages. The absolute maximum number of threads the virtual server can use is MaxThreads plus MaxBusyThreads. If more threads are requested than MaxThreads, the requests will be forced to wait until MaxWait requests are pending (at which point "server busy" status will be returned), or the number of waiting requests drops below MaxThreads. LINK: http://www.aolserver.com/server/docs/2.3/html/con-ch5.htm#7928 Cordially ./patrick ========================================================================= Date: Wed, 31 Mar 1999 18:40:35 +6400 Reply-To: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> Sender: Web Development with AOLserver <AOLSERVER@SERVICES.WEB.AOL.COM> From: jim@rubylane.com Subject: Re: thread max 50 revisited In-Reply-To: <27ba1368.37023bca@cs.com> from "Cssmnko@cs.com" at Mar 31, 99 10:14:18 am Content-Type: text Set MaxThreads higher than 50 in nsd.ini. However, you may be subject to other per-process limits like number of subprocesses/threads you can start and/or number of open file descriptors. -Jim > > We are using AOL Server 2.2 and have been seeing many occurrences of "thread > max (50) reached with x connections waiting" in our server.log file. We are > making a socket connection to a remote host. Does this error mean that only > 50 users can be using that socket connection at one time? Is there a method > for bumping up that number? Are there any help files discussing this > particular situation? Please respond as soon as you can. Much appreciated. > > > - CompuServe Search Development Team >