Jean-Paul COGNET wrote:
I upgrade with the new version of Apache 2.0 (httpd-2.0.52) and mod_perl
1.99_17 and the behaviour is exactly the same.

OK

If  I set NLS_LANG I obtain this logs just before connect
ORACLE_HOME=/opt/oracle/product/10g/OraDB10g
NLS_LANG=french_france.WE8ISO8859P1
I cannot connect and have this log in Apache
DBI connect('TOPDEV5','automate',...) failed: ORA-00604: error occurred at
recursive SQL level 1
ORA-01756: quoted string not properly terminated (DBD ERROR:
OCISessionBegin) at /var/www/perl/automate1.pl line 1126

If  I do not set NLS_LANG I obtain this logs just before connect
ORACLE_HOME=/opt/oracle/product/10g/OraDB10g
NLS_LANG=
and then I can connect but "été" becomes "ete"

Please reread my reply again, besides upgrading I've asked you:

> What do you get when you print that value from a modperl script? Does it
> show the right setting?

Is that what you mean by 'I obtain this logs'?

And this:

> Any difference if you use Env::C (from CPAN) to set it (it doesn't do any
> locking, but you shouldn't have a problem, if you are using a prefork mpm.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to