I am using Oracle 8.1.6 on the client side (so the nsoracle driver is using 8.1.6) and Oracle 9i on the server, and it's running like a charm for about 1 year now.
I konw nothing about 9i client, looks like there are a lot of memory leaks :-( Regards. Jean-Fabrice RABAUTE Core Services - Enjoy the future today http://www.core-services.fr > -----Message d'origine----- > De : AOLserver Discussion [mailto:[EMAIL PROTECTED] la part > de Greg McGuire > Envoy� : jeudi 4 d�cembre 2003 22:21 > � : [EMAIL PROTECTED] > Objet : Re: [AOLSERVER] Problems compiling nsoracle 2.6 with aolserver 4 > on Solaris 2.6 > > > When I said "my version is too hacked for a diff", it was because > I'm running on 9i now; haven't run 8i in a few years... :) So I > can't speak for any memory leaks or whatnot that might exist in > the Oracle OCI drivers; in my experience with 9i, there are many. > > The warnings can probably be ignored; they're the result of > tighter compiler restrictions in AOLServer AFAIK. > > And as far as AOLServer 4 goes, you'll want to read the module > porting guide: > > http://aolserver.sourceforge.net/docs/devel/c/as4_moduleportingguide.html > > And note that the db module must now be loaded explicity in your > config file: > > ns_section ns/server/${server}/modules > ns_param nsdb ${bin_dir}/nsdb.so > > I think that the oracle driver is being revived for 4.0 (with new > maintainers), so those folks can probably chime in and address > your other questions. > > Regards, > Greg > > > > -----Original Message----- > > From: AOLserver Discussion > > [mailto:[EMAIL PROTECTED] Behalf > > Of Ramesh Venkitaswaran > > Sent: Thursday, December 04, 2003 4:00 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [AOLSERVER] Problems compiling nsoracle 2.6 with > > aolserver > > 4 on Solaris 2.6 > > > > > > Thanks! That seems to work just fine. I got tons of warnings > > (too many to > > post here) but the compilation went through fine. > > > > Are there any other items that I need to be aware of when I run Oracle > > 8.1.7 with Aolserver 4.0? I was unable to find documentation > > on the new > > revision on either on sourceforge or on the aolserver website. > > -- > > Ramesh. > > > > On Thu, 4 Dec 2003, Greg McGuire wrote: > > > > > Database related function prototypes have moved into nsdb.h > > in Aolserver 4.0. You'll want to make sure that this file is > > included in ora8.h. I think you could do something like this: > > > > > > /* bring in the AOLserver interface libraries from > > /home/nsadmin/include/ */ > > > > > > #include <ns.h> > > > > > > #if defined (NS_MAJOR_VERSION) > > > /* Compile against 4.x or later */ > > > #if (NS_MAJOR_VERSION == 4) && (NS_MINOR_VERSION < 1) > > > /* We're on the 4.0 server */ > > > #include <nsdb.h> > > > #endif > > > #else > > > /* Compile against pre-4.x server */ > > > #if !defined(NS_AOLSERVER_3_PLUS) > > > #include <nsdb.h> > > > #include <nstcl.h> > > > #define NS_EXPORT > > > #endif > > > #endif /* NS_MAJOR_VERSION */ > > > > > > This is from the migration guide, and goes in around line > > 125 (my version is too hacked for a useful diff, sorry). > > > > > > Regards, > > > Greg > > > > > > > > > > -----Original Message----- > > > > From: AOLserver Discussion > > > > [mailto:[EMAIL PROTECTED] Behalf > > > > Of Ramesh Venkitaswaran > > > > Sent: Thursday, December 04, 2003 3:22 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: [AOLSERVER] Problems compiling nsoracle 2.6 with > > > > aolserver 4 on > > > > Solaris 2.6 > > > > > > > > > > > > I've successfully managed to compile aolserver-4 on > > > > Solaris 2.6. However when I try to compile the Oracle > > > > library (nsoracle) I get the following error: > > > > > > > > "ora8.c", line 219: syntax error before or at: Ns_DbHandle > > > > "ora8.c", line 219: cannot recover from previous errors > > > > cc: acomp failed for ora8.c > > > > make: *** [ora8.o] Error 2 > > > > > > > > Here're the details of my aolserver, oracle and tcl > > > > - Aolserver - Version 4.0 running on Solaris 2.6 > > > > - Oracle Client - Version 8.1.7 running on Solaris 2.6 > > > > - TCL Version 8.4.5 with compiled with --enable-threads > > > > - nsoracle Version 2.6 > > > > > > > > I'd set the ORACLE_HOME and the NSHOME as indicated in > > > > the README. > > > > > > > > Any help on this would be greatly appreciated. > > > > > > > > > > > > -- > > > > AOLserver - http://www.aolserver.com/ > > > > > > > > To Remove yourself from this list, simply send an email to > > > > <[EMAIL PROTECTED]> with the > > > > body of "SIGNOFF AOLSERVER" in the email message. You can > > > > leave the Subject: field of your email blank. > > > > > > > > > > > > > -- > > > AOLserver - http://www.aolserver.com/ > > > > > > To Remove yourself from this list, simply send an email to > > <[EMAIL PROTECTED]> with the > > > body of "SIGNOFF AOLSERVER" in the email message. You can > > leave the Subject: field of your email blank. > > > > > > > > > -- > > AOLserver - http://www.aolserver.com/ > > > > To Remove yourself from this list, simply send an email to > > <[EMAIL PROTECTED]> with the > > body of "SIGNOFF AOLSERVER" in the email message. You can > > leave the Subject: field of your email blank. > > > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to > <[EMAIL PROTECTED]> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave > the Subject: field of your email blank. > > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
