Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Peter M. Jansson
On Wednesday, November 20, 2002, at 07:26 PM, Durga wrote:


[20/Nov/2002:17:16:25][1753.25][-conn1-] Error: exec: process 6534 exited
from signal: 11
[20/Nov/2002:17:16:25][1753.25][-conn1-] Error: exec: process 6534 dumped
core



Is the Informix driver an external driver?  If so, it looks like the
driver is segfaulting right away, so AOLserver can't get a handle open.
Could this be a gmake issue again?  Otherwise, what do you get in a stack
backtrace from the core file?  (It says it dumped core.)



Re: [AOLSERVER] segfault in ns_malloc, _smalloc

2002-11-21 Thread Andrew Piskorski
On Fri, Nov 15, 2002 at 10:02:22AM +0100, Zoran Vasiljevic wrote:
 On Friday 15 November 2002 08:09, you wrote:

  Turns out, *ALL* the Array Bounds Write, Free Memory Write and Read,
  and other nasty Purify errors (aka, not just UMR) are from the tzcpy
  function, which is called ultimately from localtime_u, localtime_r,
  mktime, or strftime.

 You should not be using thread unsafe functions. Period.
 I know it does not help much in your case, but this is the bottom line.
 But, in this case, you should try modifying the thread/reentrant.c
 and lock the same mutex for localtime_r() in ns_localtime().

Well, I thought this might be of some interest.  In 3.3+ad13, I went
into thread/reentrant.c and had ns_localtime and almost all the
other functions there lock a single global mutex.  Then when making
any call to my closed-source vendor library, I also locked that same
mutex.  So now I know ALL use of the reentrant.c functions and my
vendor library are completely serialized.

Guess what?  That didn't fix anything.  But then I tried something
different.  In nsd/log.c and nslog/nslog.c, I changed the
appropriate functions to NOT call Ns_LogTime_LogTime2 when writing
timestamps to the server or access log.  Instead, it just writes the
unix epoch time.  E.g.:

  Ns_ConfigGetBool(ns/parameters, log_local_time_p, log_local_time_p);
  if (log_local_time_p == NS_TRUE) {
  Ns_LogTime(buf);
  } else {
  /*
   * Instead of the nice formatted time string, simply spit out
   * the unix epoch time.  On Solaris, this seems to fix issues
   * with non-thread-safe vendor libraries which call
   * localtime() rather than localtime_r().
   * [EMAIL PROTECTED], 2002/11/21 02:27 EST
   */
 sprintf(buf, [%ld], (long) time(NULL));
  }

And that WORKED!  My thread-safety problems seem to have gone away.
(In reality, they're probably still there, but they're at least orders
of magnitude less bothersome.)

Thing is, Ns_LogTime2 calls ns_localtime, but I'd already tried protecting
ns_localtime with a global mutex above, and that didn't seem to work.
And other than ns_localtime, there just isn't anything in Ns_LogTime2
that looks like a potential issue.

So, by simply replacing the pretty timestamp in the logs with an ugly
unix epoch integer, I've band-aided my thread safety problems by
simply enormously reducing the number of times AOLserver calls
localtime_r().  But why was that necessary?  Why didn't the mutex
locking approach work?

--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Peter M. Jansson
Durga,

What do you get from running pstack on the core file?



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Durga
Pete,

How do I issue a command on core file?..Looks like pstack command is for
process id. I don't get the process id, it immediately aborts with core. Can
you please let me know how can I get this? Is any other command?

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


Durga,

What do you get from running pstack on the core file?



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Peter M. Jansson
pstack /path/to/core

On Thursday, November 21, 2002, at 01:03 PM, Durga wrote:


Pete,

How do I issue a command on core file?..Looks like pstack command is for
process id. I don't get the process id, it immediately aborts with core.
Can
you please let me know how can I get this? Is any other command?

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


Durga,

What do you get from running pstack on the core file?



Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Steve Manning
Nathan

I think that you possibly mean 19:00 UTC not 18:00. I'm sitting here in
the chat room at 18:30 GMT and its very quiet. :o)

Steve

On Thu, 2002-11-21 at 17:09, Nathan Folkman wrote:
 What, When,  Where
 -

 The AOLserver weekly chat takes place today, Thursday, November 21, 2002, at
 18:00 UTC, which translates to:

2 PM US/Eastern
1 PM US/Central
12 PM US/Mountain
11 AM US/Pacific + Arizona

 AOL/AIM chatroom: AOLserver on exchange 4: A 
HREF=aim:GoChat?RoomName=AOLserveraim:GoChat?RoomName=AOLserver/A.

 Agenda
 ---

 1. AOLserver Core Team voting results
 2. Status of documentation effort
 3. State of Win32 support
 4. Planned 3.5.2 release

 Getting on AIM
 --

 You do not need to be an AOL subscriber to use AIM. You simply need an AIM
 client and an AIM handle.

 Windows and Macintosh Users:

 You can download the standard AIM client and register for a login here: A 
HREF=http://aim.aol.com/;
 http://aim.aol.com//A.

 Unix/Linux Users:

 You can download the TiK AIM client, which requires Tcl/Tk 8.1 or later,
 here: A HREF=http://tik.sourceforge.net/;http://tik.sourceforge.net//A. Or you 
can get a stripped-down version of
 TiK, called MiniTik, here: A 
HREF=http://sourceforge.net/projects/minitik/;http://sourceforge.net/projects/minitik//A.
 Or you
 can get GAIM, an AIM client written in C using the Gtk+ toolkit, here: A 
HREF=http://gaim.sourceforge.net/;
 http://gaim.sourceforge.net//A. Then you can get an AIM handle here: A 
HREF=http://aim.aol.com/;
 http://aim.aol.com//A.

 Getting into the AOLserver Chat Room
 

 You may be able to get into the AOLserver chat room by clicking this link: A 
HREF=aim:GoChat?RoomName=AOLserver
 aim:GoChat?RoomName=AOLserver/A.

 If that doesn't work, try inviting yourself to the chat room.

 For the Windows or Macintosh client, select People - Send Chat Invitation.
 You will get a Chat Invitation dialog box. Clear out any names in the
 Screen names to invite box and type in your own screen name. Clear out
 anything in the Chat room field and type in AOLserver. Then click send.

 For the TiK client, try this: in your Buddy List window, you should have a
 button labelled Chat. Click it. In the Screen Names to Invite box, put
 your own handle and delete any others. In the Location or Name of Buddy
 Chat Room box, put AOLserver. Then click Send or Invite.

 As a last resort if nothing else works, try sending an instant message to
 quixotus (that's me) or ianmfink asking for an invitation.

 If you're using TiK, then you can add the AOLserver chat room to your menus.
 Choose Packages/Quick Chat/New Quick Chat from the menu bar. For Menu
 Label, put AOLserver. For Chat Room, again put AOLserver. For
 Exchange, put 4 (which is the default, so you shouldn't need to change it).
 Then click Ok. Now if you pull down the Packages/Quick Chat menu, you
 should see an item named AOLserver, which will bring up the AOLserver chat
 room.


--
Steve Manning - Linux Mandrake 9.0 - Gnome 2.0
East Goscote  - Leicester - UK +44 (0)116 260 5457
Reply to [EMAIL PROTECTED] - AIM: verbomania
--
 Only 1 in 10 people understand binary
  - the other one hasn't got a clue.
--



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Durga
I did the same command, but pstack doesn't work on box. So I copied the
core file to other machine then I did pstack command. Here is what I got:

pstack -F core
core 'core' of 20890:   /users/WWW/AOL/aolserver_3.5/bin/iuspd
 0008  (0, 0, 0, 0, 0, 0)

Does it make sense?

Thanks,
Durga

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


pstack /path/to/core

On Thursday, November 21, 2002, at 01:03 PM, Durga wrote:

 Pete,

 How do I issue a command on core file?..Looks like pstack command is for
 process id. I don't get the process id, it immediately aborts with core.
 Can
 you please let me know how can I get this? Is any other command?

 -Original Message-
 From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
 Of Peter M. Jansson
 Sent: Thursday, November 21, 2002 10:37 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [AOLSERVER] Informix Drivers


 Durga,

 What do you get from running pstack on the core file?



Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Rob Mayoff
+-- On Nov 21, Steve Manning said:
 I think that you possibly mean 19:00 UTC not 18:00. I'm sitting here in
 the chat room at 18:30 GMT and its very quiet. :o)

People never figured out that the chat time was independent of DST back
when I was sending out the reminder, either.



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Durga
Pete,

I also did strings core, here is what I get:

CORE
iuspd
/users/WWW/AOL/aolserver_3.5/bin/iuspd
CORE
SUNW,Ultra-1
CORE
CORE
CORE
CORE
CORE
iuspd
/users/WWW/AOL/aolserver_3.5/bin/iuspd
CORE
CORE
SUNW,Ultra-1
CORE
CORE
CORE
CORE
oserr: %-10d  errstr: %s
  ascid: 0x%-8lx  flags: %-10d  timeout: %-10d
  asyncfunc: 0x%-8lx  asyncid: 0x%-8lx
(null)
  asfcode: %-10doserr: %-10d
%s%s%s%s
read
_iforkbackend: trouble setup pipes
_pipe connect: Error execing '%s'
ipcshm
%s%s%d%s%s%c
Listener: Port no. %d is allocated for %s(%s).
%s%s%d%s%s%c
Listener: Service name %s is allocated for %s(%s).
%s%s%d%s%s%c
Listener: Service name %s is allocated for %s(%s).
%s/.dynamic_listener
%s=%d
(%s@%s)
(%s@%s)
sqlexec
ipcshm
ipcpip
.dbs
||ipcpip
bin/sqlgw
ipcpip

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Durga
Sent: Thursday, November 21, 2002 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


I did the same command, but pstack doesn't work on box. So I copied the
core file to other machine then I did pstack command. Here is what I got:

pstack -F core
core 'core' of 20890:   /users/WWW/AOL/aolserver_3.5/bin/iuspd
 0008  (0, 0, 0, 0, 0, 0)

Does it make sense?

Thanks,
Durga

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


pstack /path/to/core



Re: [AOLSERVER] segfault in ns_malloc, _smalloc

2002-11-21 Thread Dossy
On 2002.11.21, Andrew Piskorski [EMAIL PROTECTED] wrote:
 Why didn't the mutex locking approach work?

Are you sure you're actually locking the /same/ mutex from both
pieces of code (reentrant.c and your wrapper around the vendor
library)?  Not just locking mutexes with the same variable name
in two different scopes?

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)



Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Scott S. Goodwin
You can lead a horse to water, but you can't make him tell time.

/s.

- Original Message -
From: Rob Mayoff [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 21, 2002 12:36 PM
Subject: Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20,
2002)


 +-- On Nov 21, Steve Manning said:
  I think that you possibly mean 19:00 UTC not 18:00. I'm sitting here in
  the chat room at 18:30 GMT and its very quiet. :o)

 People never figured out that the chat time was independent of DST back
 when I was sending out the reminder, either.





Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Steve Manning
On Thu, 2002-11-21 at 19:17, Nathan Folkman wrote:

 Can someone please send me the verbiage for the correct times. All I want is
 to be able to look at my watch here in lovely Dulles, Virginia, and know that
 if it says 2:00 PM that it's AOLserver chat time. Thanks! ;-)

 - Nathan

Whatever time your on now the correct time for the chat is 19:00UTC or
GMT

Steve

--
Steve Manning - Linux Mandrake 9.0 - Gnome 2.0
East Goscote  - Leicester - UK +44 (0)116 260 5457
Reply to [EMAIL PROTECTED] - AIM: verbomania
--
 Only 1 in 10 people understand binary
  - the other one hasn't got a clue.
--



Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Scott S. Goodwin



here you go:

axis-goodwins TZ=CDT6CSTaxis-goodwins 
dateThu Nov 21 13:41:12 CDT 
2002

axis-goodwins TZ=UCT 
axis-goodwins dateThu Nov 21 19:40:49 
UCT 2002
axis-goodwins TZ=GMTaxis-goodwins dateThu Nov 21 19:41:20 GMT 2002
So 19:00 UCT  GMT (they're the same)

When we switch to standard vs daylight savings, I don't think UCT/GMT 
changes. Sorry I called you a horse :)


/s.

  - Original Message - 
  From: 
  Nathan Folkman 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, November 21, 2002 1:17 
  PM
  Subject: Re: [AOLSERVER] Reminder: Weekly 
  Chat Today (Thursday, November 20, 2002)
  In a message dated 11/21/2002 2:14:37 PM Eastern Standard 
  Time, [EMAIL PROTECTED] writes:
  You can lead a horse to water, but you can't make him tell 
time./s.Can someone please send me the 
  verbiage for the correct times. All I want is to be able to look at my watch 
  here in lovely Dulles, Virginia, and know that if it says 2:00 PM that it's 
  AOLserver chat time. Thanks! ;-)- Nathan 



Re: [AOLSERVER] Reminder: Weekly Chat Today (Thursday, November 20, 2002)

2002-11-21 Thread Steve Manning
On Thu, 2002-11-21 at 19:44, Scott S. Goodwin wrote:

 When we switch to standard vs daylight savings, I don't think UCT/GMT changes. Sorry 
I called you a horse :)


 /s.


No UTC/GMT stays the same regardless - as of late Oct the UK is on GMT
and will remain so until we switch to BST next spring (which is UTC +1
or otherwise known as a complete waste of time - no pun intended)

Steve

--
Steve Manning - Linux Mandrake 9.0 - Gnome 2.0
East Goscote  - Leicester - UK +44 (0)116 260 5457
Reply to [EMAIL PROTECTED] - AIM: verbomania
--
 Only 1 in 10 people understand binary
  - the other one hasn't got a clue.
--



[AOLSERVER] AOLServer on Mac OS X

2002-11-21 Thread Morgan Goeller
Hello,

This is my first post to the list, hopefully it isn't too silly.  My
apologies if this is a common I am trying to compile AOLServer 3.5.1 on Mac
OS X.  I have already installed it successfully on RH Linux 7.3 without a
problem, but OS X seems to have some peculiarities.

I had to recompile TCL with the --enable thread options, so I just went
ahead and upgraded to version 8.4.1.  I was able to configure just fine, and
the Make went fine for individual files, other than the occasional warning.
However, after a few minutes I get the following output:

 snip ---
/bin/rm -f libnsd
cc -dynamiclib -install_name /usr/local/aolserver/lib/libnsd -L../nsthread
-L../nsd  -o libnsd adp.o adpfancy.o auth.o binder.o cache.o callbacks.o
config.o conn.o crypt.o dbdrv.o dbinit.o dbtcl.o dbutil.o dns.o drv.o
dstring.o exec.o fastpath.o fd.o filter.o httptime.o htuu.o id.o index.o
keepalive.o lisp.o listen.o log.o main.o mimetypes.o modload.o nsconf.o
nsmain.o nsthread.o op.o pathname.o pidfile.o proc.o quotehtml.o random.o
request.o return.o rollfile.o sched.o serv.o set.o sock.o sockcallback.o
str.o tclcmds.o tclconf.o tclenv.o tclfile.o tclinit.o tclmisc.o tclop.o
tclresp.o tclsched.o tclset.o tclsock.o tclstats.o tclxkeylist.o tclthread.o
tclvar.o unix.o url.o urlencode.o urlopen.o urlspace.o tclstub8x.o stamp.o
-lnsthread -L/dl/tcl8.4.1/unix -ltcl8.4   -lpthread -framework
CoreFoundation
/usr/bin/libtool: can't locate file for: -lnsthread
/usr/bin/libtool: file: -lnsthread is not an object file (not allowed in a
library)
make[1]: *** [libnsd] Error 1
make: *** [all] Error 1
 snip ---

My guess is that this is something to do with late/early binding differences
on the Mac, as libnsthread does exist in the nsthread directory.  Any ideas?
I am not a C programmer, so some of this stuff is way above my head. Do I
need to use a different compiler argument or set an environment variable for
use with OS X?

Thanks in advance.   I have searched the list archives and FAQ and not seen
anything on this subject.

Morgan



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Peter M. Jansson
On Thursday, November 21, 2002, at 01:46 PM, Durga wrote:


I also did strings core, here is what I get:


Sorry, but that doesn't help.



Re: [AOLSERVER] Informix Drivers

2002-11-21 Thread Peter M. Jansson
On a Solaris 8 machine, I did ulimit -c unlimited and started a program
and then killed it with -ABRT, producing a core file. I then ran pstack
core (no -F), and got this:

core 'core' of 17914:   perl
 ff11ab94 _read(ff13c2cc, ff13fa34, 50, 1, 4040004, 22c30) + c
 ff307064 Perl_sv_gets (22c30, 0, 29f68, 0, 0, a) + 618
 ff30f57c Perl_yylex (ff347620, ff33f788, ff347208, ff338fc4, ff13c2cc, 0)
 + e9c
 ff2bc750 Perl_yyparse (ff34778c, 45fa, ff338fc4, ff34226a, ff344a0c, 10c5)
 + 150
 ff2bfdb8 perl_parse (ff347484, , 22018, ff347218, 0, 1) + c28
 00011044 main (1, 22000, ffbefb0c, 21c00, 0, 0) + 68
 00010fc4 _start   (0, 0, 0, 0, 0, 0) + b8

Make sure you've built the Informix driver with debugging enabled, so you
get all the symbols, and then work with your ulimit to make sure you're
generating a well-formed core file.  The first line of the pstack output,
the Core 'core' of 17914: perl says that you're dumping the stack on a
core file named core from a process that had pid 17914, and was named
perl.  The rest of the lines are the call stack in reverse order.

Pete.

On Thursday, November 21, 2002, at 01:35 PM, Durga wrote:


I did the same command, but pstack doesn't work on box. So I copied the
core file to other machine then I did pstack command. Here is what I
got:

pstack -F core
core 'core' of 20890:   /users/WWW/AOL/aolserver_3.5/bin/iuspd
 0008  (0, 0, 0, 0, 0, 0)

Does it make sense?

Thanks,
Durga

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


pstack /path/to/core

On Thursday, November 21, 2002, at 01:03 PM, Durga wrote:


Pete,

How do I issue a command on core file?..Looks like pstack command is
for
process id. I don't get the process id, it immediately aborts with core.
Can
you please let me know how can I get this? Is any other command?

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Peter M. Jansson
Sent: Thursday, November 21, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Informix Drivers


Durga,

What do you get from running pstack on the core file?



Re: [AOLSERVER] AOLServer on Mac OS X

2002-11-21 Thread Nathan Folkman
In a message dated 11/21/2002 4:14:02 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

Hello,

This is my first post to the list, hopefully it isn't too silly. My
apologies if this is a common I am trying to compile AOLServer 3.5.1 on Mac
OS X. I have already installed it successfully on RH Linux 7.3 without a
problem, but OS X seems to have some peculiarities.

I had to recompile TCL with the --enable thread options, so I just went
ahead and upgraded to version 8.4.1. I was able to configure just fine, and
the Make went fine for individual files, other than the occasional warning.
However, after a few minutes I get the following output:

Do you have the OS X developer tools installed?

- Nathan


Re: [AOLSERVER] AOLServer on Mac OS X

2002-11-21 Thread Morgan Goeller
Title: Re: [AOLSERVER] AOLServer on Mac OS X



On 11/21/02 15:11, Nathan Folkman [EMAIL PROTECTED] wrote:

In a message dated 11/21/2002 4:14:02 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

Hello,

This is my first post to the list, hopefully it isn't too silly. My
apologies if this is a common I am trying to compile AOLServer 3.5.1 on Mac
OS X. I have already installed it successfully on RH Linux 7.3 without a
problem, but OS X seems to have some peculiarities.

I had to recompile TCL with the --enable thread options, so I just went
ahead and upgraded to version 8.4.1. I was able to configure just fine, and
the Make went fine for individual files, other than the occasional warning.
However, after a few minutes I get the following output:


Do you have the OS X developer tools installed?

- Nathan

Nathan,

Yes, I do have them installed (from the disk with 10.2)

Morgan





[AOLSERVER] AOLServer Oracle Driver

2002-11-21 Thread Jean-Fabrice RABAUTE
Hi all,

I have a web site based on ACS 3.5.
The DB is ORACLE 8.1.6, and I've got 2 separate machines, one for the DB and
one for AOLServer (all SUN hardware, for info).

We plan to migrate on linux and Oracle 9i.

So I have two points to validate :
1/ If I have Oracle 9i as DB, and the AOLServer/Oracle driver is compiled
using 8i and is using 8i client libs to connect, is it ok ?

2/ can the Oracle driver be compiled with the 9i client library and is it
working fine under linux ? (we plan to use Debian).

Thanks for any input.

Best Regards.

Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
[EMAIL PROTECTED]
Mob: +33 (0)6 13 82 67 67



Re: [AOLSERVER] AOLServer Oracle Driver

2002-11-21 Thread Doug Harris
 So I have two points to validate :
 1/ If I have Oracle 9i as DB, and the AOLServer/Oracle driver is compiled
 using 8i and is using 8i client libs to connect, is it ok ?

Yes. We've been doing this for about a week and we've had no trouble
so far.

 2/ can the Oracle driver be compiled with the 9i client library and is it
 working fine under linux ? (we plan to use Debian).

I've done this under Solaris and it works fine also.

We ran into more problems with undocumented changes in Oracle than we
have had with the Oracle driver. If you're using ACS 4, you'll need to
modify some PL/SQL packages. Write back if you want more info or
search the forums over at OpenACS.org for Oracle 9i.

Doug Harris



Re: [AOLSERVER] AOLServer Oracle Driver

2002-11-21 Thread Jean-Fabrice RABAUTE
Hi,

Thank you very much.

As we are based on ACS 3.5 and didn't add any package nor PL/SQL but only
tables, we should not have troubles.

Best Regards.

Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
[EMAIL PROTECTED]
Mob: +33 (0)6 13 82 67 67


-Message d'origine-
De : AOLserver Discussion [mailto:[EMAIL PROTECTED]]De la part
de Doug Harris
Envoyé : vendredi 22 novembre 2002 00:41
À : [EMAIL PROTECTED]
Objet : Re: [AOLSERVER] AOLServer Oracle Driver


 So I have two points to validate :
 1/ If I have Oracle 9i as DB, and the AOLServer/Oracle driver is compiled
 using 8i and is using 8i client libs to connect, is it ok ?

Yes. We've been doing this for about a week and we've had no trouble
so far.

 2/ can the Oracle driver be compiled with the 9i client library and is it
 working fine under linux ? (we plan to use Debian).

I've done this under Solaris and it works fine also.

We ran into more problems with undocumented changes in Oracle than we
have had with the Oracle driver. If you're using ACS 4, you'll need to
modify some PL/SQL packages. Write back if you want more info or
search the forums over at OpenACS.org for Oracle 9i.

Doug Harris



[AOLSERVER] ACT Vote Off

2002-11-21 Thread Nathan Folkman
Sorry for missing the chat this afternoon. Shaz said everyone decided the best way to break the tie would be to have another quick vote to determine the winner. That said, please send me ([EMAIL PROTECTED]) a quick email with your vote for either Dossy Shiobara or Tom Jackson. I've reposted their info below. Thanks!

- Nathan


Dossy Shiobara

    I started working with AOLserver back in 1999--2000, when it was
    first released as open source under the 3.0 release.

    I've since developed two database drivers (nsmysql and nsfreetds)
    and the beginnings of a session manager as well as an initial
    implementation of WebDAV extensions for AOLserver in pure Tcl.

    I also worked to package up the Win32 binary distribution of
    AOLserver 3.4.  I plan to continue to work with the AOLserver
    community to ensure that Win32 support continues to be available in
    some form for AOLserver into the future.

    I now have AOLserver instances in production, the most significant
    of which is receiving more than 300K page views a day to a single
    instance.  I now have a vested commercial interest in AOLserver
    development and continued enhancement.

    Outside of AOLserver development, I've worked in Tcl since 1998,
    primarily with Vignette's application servers, and have been working
    in web technologies since 1994.  My programming background spans C,
    Perl, Tcl, Ruby as well as other languages.  I've also helped
    implement Extreme Programming as the software development
    methodology in my current organization to help improve the software
    we build here.

    I believe I would make a good addition to the AOLserver Core Team
    because I will work towards ensuring that AOLserver remains a
    high-quality and reliable platform for application development.
    This means being sensitive to the community's desires while
    being aware of the impacts of the changes to the core software.


Tom Jackson

Using AOLserver since before 2.3.3.

Using ACS and OpenACS since those projects began.

Active member of Photo.net web/db forum until OpenACS took over as the
community voice.

Active member of OpenACS community since March 13, 2000, with 360
postings, not all literate.

Developed AOLserver Tcl modules:
tclvhr -- tcl based proxy
VAT -- virtual host abstract url templating module, predating the ACS
request processor. Still works great.

Developed AOLserver C modules:
ns_ldap -- wrapper for ldap client library.
ns_jabber and ns_xode -- modules which turn AOLserver into threaded
jabber client with full access to the AOLserver Tcl API.

Developed ACS modules:
Mydomain.com -- one of the largest user communities of ACS (300,000
users).
PkBuilder -- given data model builds Oracle pl/sql packages for
create/delete/update/reset/object_p functions.
           -- also creates similar plpgsql functions.
typing -- fun module that allows you to teach/learn typing skills. 

Developed OpenACS modules:
cronjob -- runs every minute and checks a schedule similar to a cron
facility
query-writer -- handles conversion of simple db access calls to
postgresql pl/sql and dml statements.
              -- provides secure generic form processing page. PkBuilder
functionality included.
merchant-system -- distributor ecommerce platform supporting customer
accounts, multiple suppliers 

In development:
Iunicycle.com -- integrated tool for unicyclists to log progress in
skill development, learn, teach, plan routines, etc.
Rmadilo -- "binary XML" data format and tools.

Actually familiar with 3.x and 4.0 source code.

Time to devote to AOLserver Core issues.

Not great or fast at anything, just stick to it until it gets done.

Big dumb idea for AOLserver: ns_tcp and ns_udp as generic ns_conn.
Should be easy in 4.0.


[AOLSERVER] Using amp; to seperate query vars

2002-11-21 Thread Bart Teeuwisse
Running some pages through a the W3.org HTML validator I learned that the HTML
4.01 Transitional standard requires query vars to be separated by amp; instead of
. E.g.

  http://.thecodemill.biz/vars?bla=bladiblablurb=blabla

should be

  http://.thecodemill.biz/vars?bla=bladiblaamp;blurb=blabla

Yet if you follow the above links you'll notice that AOLserver does not handle
query vars separated by amp; very well. Rather than treating amp; as an entity.
AOLserver replaces the  character which results in a var named 'amp;blurb'
instead of 'blurb'

Google for example treats amp; and  separated queries the same. Shouldn't
AOLserver be patched to stay standards compliant?

/Bart



Re: [AOLSERVER] Using amp; to seperate query vars

2002-11-21 Thread Dave Bauer
Bart,

Doesn't the browser turn that into a  in the link?

You are also supposed to use amp; in your text anywhere a  appears.
But the browser just displays . I expect the URLs in a link should be
the same.

Dave

On Thu, Nov 21, 2002 at 03:59:26PM -0800, Bart Teeuwisse wrote:
 Running some pages through a the W3.org HTML validator I learned that the
 HTML
 4.01 Transitional standard requires query vars to be separated by amp;
 instead of
 . E.g.

   http://.thecodemill.biz/vars?bla=bladiblablurb=blabla

 should be

   http://.thecodemill.biz/vars?bla=bladiblaamp;blurb=blabla

 Yet if you follow the above links you'll notice that AOLserver does not
 handle
 query vars separated by amp; very well. Rather than treating amp; as an
 entity.
 AOLserver replaces the  character which results in a var named 'amp;blurb'
 instead of 'blurb'

 Google for example treats amp; and  separated queries the same. Shouldn't
 AOLserver be patched to stay standards compliant?

 /Bart


--
Dave Bauer
[EMAIL PROTECTED]
http://www.thedesignexperience.org



Re: [AOLSERVER] Using amp; to seperate query vars

2002-11-21 Thread Branimir Dolicki
Bart Teeuwisse wrote:

 Running some pages through a the W3.org HTML validator I learned that the HTML
 4.01 Transitional standard requires query vars to be separated by amp; instead of
 . E.g.

http://.thecodemill.biz/vars?bla=bladiblablurb=blabla

 should be

http://.thecodemill.biz/vars?bla=bladiblaamp;blurb=blabla

 Yet if you follow the above links you'll notice that AOLserver does not handle
 query vars separated by amp; very well. Rather than treating amp; as an entity.
 AOLserver replaces the  character which results in a var named 'amp;blurb'
 instead of 'blurb'

Web server isn't supposed to expand HTML entities.  It is HTML parser that has
to turn amp; to  in HREF before it sends the request to server..

That means that you have to us amp; in your HTML, but outside of HTML (say
when you are redirecting or typing a plain text email) you should use .

 -- Branimir