On Wed, Aug 22, 2001 at 08:33:53PM +0100, Ged Haywood wrote:
DBD::Oracle::db prepare failed: ORA-03120: two-task conversion routine:
[snip]
DBD::Oracle::db prepare failed: ORA-03113: end-of-file on communication channel
(DBD: oopen error)
and EVERY connect to database fails since that.
Hi,
I have a compile error while compiling embperl mod_perl.
On several machines I have succeeded, but on that machine not :-(
Maybe You can help me...
I added error messages:
[Wed Aug 22 18:09:53 2001] [error] Can't locate loadable object for module
Apache::Constants in @INC (@INC
Hi!
I have a tree of static html files and perl cgi-scripts. But sometimes I
want to include some simple functionality in html-file. The best
solution, I think, is including perl code to html file. I found
several tools on the Net. The best i liked is Embperl
(http://perl.apache.org/embperl/)
http://perl.apache.org/features/tmpl-cmp.html
- Original Message -
From: Mike V. Andreev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 11:28 AM
Subject: embedding perl code to html
Hi!
I have a tree of static html files and perl cgi-scripts. But sometimes
I am new to the LWP::UserAgent module and also in fact to object
programming. I am currently writing a simple HTTP client.
I am using the LWP::UserAgent module and everything works fine apart from
that I do not manage to access the headers of the respons message:
The page I access include a
-Original Message-
From: Erik Andersson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 11:28 AM
To: [EMAIL PROTECTED]
Subject: Trouble with LWP::UserAgent respons header.
[snip]
This confuses me a lot. I really want to access every
available data in the
first
PH == Perrin Harkins [EMAIL PROTECTED] writes:
PH Don't open a connection during startup. If you do, it will be shared when
PH Apache forks, and sharing a database handle is bad for the same reasons
PH sharig a file handle is. Open a connection in the child process instead.
Speaking of
Thank you.
---
Rodney Broom
Programmer: Desert.Net
From: Benjamin Trott [EMAIL PROTECTED]
PH Don't open a connection during startup.
PH Open a connection in the child process instead.
BT I will second this. I've done this (unintentionally) when using MySQL, and
BT you get a lot of weird errors about statement handles being active, etc.
Rodney Broom [EMAIL PROTECTED] said something to this effect on 08/23/2001:
From: Rasoul Hajikhani [EMAIL PROTECTED]
I am sorry but this topic is confusing me... Are you saying that
persistent DB connection objects are bad?
It sounds like that, doesn't it?
This is only when one handle is
PH Don't open a connection during startup.
PH Open a connection in the child process instead.
BT I will second this. I've done this (unintentionally) when using MySQL,
and
BT you get a lot of weird errors about statement handles being active, etc.
I haven't read the entire thread, so
Nope, you've got it. If you don't have transactions (anything else?) to
worry about, I'd say to use
Apache::DBI.
Apache::DBI doesn't have a problem with transactions. If you're doing
strange things like changing isolation levels on particular requests you can
get into trouble, but that's an
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared PerlModule
MY::Perl::Control::WebAccess which I know is where it is supposed to
be. My @INC does not include the path to that directory, however,
and what do the error logs say?
Rasoul Hajikhani wrote:
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared PerlModule
MY::Perl::Control::WebAccess which I know is where it is supposed to
be.
___cliff rayman___ wrote:
and what do the error logs say?
Rasoul Hajikhani wrote:
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared PerlModule
MY::Perl::Control::WebAccess which I
i have finally installed mod_perl (on mac osX)
i can telnet to the sever
and the error_log says:
[Fri Aug 24 00:53:40 2001] [notice] Apache/1.3.20 (Darwin) mod_perl/1.25
configured -- resuming normal operations
so im quite sure im pretty close ...
my first major problem now is that i get a
From: Perrin Harkins [EMAIL PROTECTED]
Apache::DBI doesn't have a problem with transactions.
Ah, OK. What about when a shared connection is rolled back in one process, will it
effect other running processes with the same handle?
---
Rodney Broom
Programmer: Desert.Net
Apache::DBI doesn't have a problem with transactions.
Ah, OK. What about when a shared connection is rolled back in one process,
will it effect other running processes with the same handle?
Database handles are never shared between processes. If you missed this,
you should re-read the
I seem to have a strange problem here with Netscape displaying the error
'Document contains no data' when I do $Response-Redirect($location).
I'm using Apache 1.3.19, mod_perl 1.25, Apache::ASP v2.09, but I don't think
it's in Apache::ASP, as the redirect code in there looks pretty much the
On Thu, 23 Aug 2001, Rasoul Hajikhani wrote:
___cliff rayman___ wrote:
and what do the error logs say?
Rasoul Hajikhani wrote:
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared
[EMAIL PROTECTED] (Rasoul Hajikhani) wrote:
use lib qw(...);. I have tried declaring:
use MY::Perl::Control::WebAccess; in my startup.pl, with the same
Here it is:
Undefined subroutine My::Perl::Control::WebAccess::handler called.
Looks like you need to check the capitalization on 'MY'.
PH Don't open a connection during startup. If you do, it will be shared when
PH Apache forks, and sharing a database handle is bad for the same reasons
PH sharig a file handle is. Open a connection in the child process instead.
I will second this. I've done this (unintentionally) when using
Benjamin Trott wrote:
PH Don't open a connection during startup. If you do, it will be shared when
PH Apache forks, and sharing a database handle is bad for the same reasons
PH sharig a file handle is. Open a connection in the child process instead.
I will second this. I've done this
BT == Benjamin Trott [EMAIL PROTECTED] writes:
that all clients also use? That is, how can I force Apache::DBI to
close that handle prior to the forking of children?
BT By using the magic 6th arg ($connect_meth in the DBI::connect source) to
BT DBI::connect. In my DB wrapper I have a
We've seen this happen before. Unfortunately, I don't have a fix for you
but I here's where we left off our chase...
1. ORA-03113: end-of-file on communication channel (for unknown reason,
maybe a network blip?)
2. We have some code that will catch this error and call DBI-connect again.
3.
On Thu, Aug 23, 2001 at 11:19:22AM -0700, Kyle Oppenheim wrote:
3. Apache::DBI intercepts the connect(), looks in it's hash and sees that it
already has a connection. It pings the handle, fails, and deletes the entry
from the hash. That's the last refcount on the dbh, so DESTROY gets
26 matches
Mail list logo