best practie for open and close connection database

2010-04-21 Thread Felipe de Jesús Molina Bravo
Hi In my application, I opened my database from authentication handler and close it from child exit handler. It is correct (is a best practice)? or is a bad design? where i can read for best practice for it? thank's

Re: best practie for open and close connection database

2010-04-21 Thread Felipe de Jesús Molina Bravo
El 21 de abril de 2010 17:33, Chris Bennett escribió: > On 04/21/10 11:33, Felipe de Jesús Molina Bravo wrote: > >> Hi >> >> In my application, I opened my database from authentication handler and >> close it from child exit handler. It is correct (is a best pr

share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
hi I have installed static mp2 with apache 2.0.63 (forker). I am using perl bind (Sleepycat::DBXML) from dbxml; then I create an object (reference to Sleepycat::DBXML) in startup.pl because i want to share it. After some test (stress it) for my application I saw some error in error.log; the prob

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
2008/4/3, Jeff Pang <[EMAIL PROTECTED]>: > > On Thu, Apr 3, 2008 at 11:32 PM, Felipe de Jesús Molina Bravo > <[EMAIL PROTECTED]> wrote: > > hi > > > > I have installed static mp2 with apache 2.0.63 (forker). I am using > perl > > bind (Sleep

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
2008/4/3, Perrin Harkins <[EMAIL PROTECTED]>: > > On Thu, Apr 3, 2008 at 11:32 AM, Felipe de Jesús Molina Bravo > <[EMAIL PROTECTED]> wrote: > > > I know I can share data between processes, but what I also shared > objects? > > > It depends on what you me

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
2008/4/3, Perrin Harkins <[EMAIL PROTECTED]>: > > On Thu, Apr 3, 2008 at 1:33 PM, Felipe de Jesús Molina Bravo > <[EMAIL PROTECTED]> wrote: > > > It depends on what you mean by share. You can create a simple perl > > > object in startup.pl and access it fro

apache 2.2.8 and modperl 2.0.3

2008-04-04 Thread Felipe de Jesús Molina Bravo
Hi Is correct install apache 2.2.8 with modperl 2.0.3? ... when I try to install; i gotten the next message: mod_per. is not compatible with this version of Apache (found , need xxx) sorry i don't remember the dates .. I read the next link: http://perl.apache.org/docs/2.0/user/trouble

Re: [mp2] HTML::Mason and Missing content

2008-04-07 Thread Felipe de Jesús Molina Bravo
Hi how did you installed modperl ... static or dinamic? It can be a solution (change from static to dinamic), maybe you help the next link http://www.masonhq.com/?FAQ:Installation#h-why_am_i_getting_segmentation_faults__or_silently_failing_on_startup__ regards felipe 2008/4/7, Robert Land

Re: How to pass the post data to a script

2008-09-18 Thread Felipe de Jesús Molina Bravo
maybe can help you $r->args() see you 2008/9/17 grsvarma019 <[EMAIL PROTECTED]> > > Hi, > > I am using mod_perl2 for authentication. > > In this, when a request is made to a script in a particular directory, the > control will go through mod_perl authentication. > Once mod_perl returns OK as a

Sleepycat::DbXml problem "httpd: symbol lookup error"

2008-10-10 Thread Felipe de Jesús Molina Bravo
Hi My english is not good (sorry) but I try to explain my problem I have apache2.2.9 with modperl 2.0.4 static; I have some perl modules (development by me) with Sleepycat::DbXml library; when ran "make test" for its modules all is fine (I also develop the test); I also use mason (1.37). When

Re: Sleepycat::DbXml problem "httpd: symbol lookup error"

2008-10-10 Thread Felipe de Jesús Molina Bravo
2008/10/10 Fred Moyer <[EMAIL PROTECTED]> > Felipe de Jesús Molina Bravo wrote: > >> Hi >> >> My english is not good (sorry) but I try to explain my problem >> >> I have apache2.2.9 with modperl 2.0.4 static; I have some perl modules >> (develo

Re: Sleepycat::DbXml problem "httpd: symbol lookup error"

2008-10-10 Thread Felipe de Jesús Molina Bravo
2008/10/10 Felipe de Jesús Molina Bravo <[EMAIL PROTECTED]> > > > 2008/10/10 Fred Moyer <[EMAIL PROTECTED]> > > Felipe de Jesús Molina Bravo wrote: >> >>> Hi >>> >>> My english is not good (sorry) but I try to explain my problem &

Re: Sleepycat::DbXml problem "httpd: symbol lookup error"

2008-10-13 Thread Felipe de Jesús Molina Bravo
2008/10/11 Fred Moyer <[EMAIL PROTECTED]> > Felipe de Jesús Molina Bravo wrote: > >> >> > Try rebuilding apache and mod_perl - it may be trying to load a >>version of DbXML at runtime different than what it was built >>with. I&#

Re: Sleepycat::DbXml problem "httpd: symbol lookup error"

2008-10-22 Thread Felipe de Jesús Molina Bravo
2008/10/13 Fred Moyer <[EMAIL PROTECTED]> > Felipe de Jesús Molina Bravo wrote: > >> >>maybe is important to say how compile apache and modperl >>(it was very difficult): >> >> >>Can you try compiling mod_perl as a shared

Re: Mason Error

2008-12-17 Thread Felipe de Jesús Molina Bravo
2008/12/17 db > I have Apache/2.0.52, and HTML::Mason::ApacheHandler VERSION = 1.69. > Http server can be started without error, but web page will show > following error: > > ~~ > mkdir /etc/httpd/mason/obj/: Permission denied at > /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Compiler/To

Re: Mason Error

2008-12-18 Thread Felipe de Jesús Molina Bravo
xr-x 4 nobody nogroup 96 oct 22 10:29 mason - in my httpd.conf: User nobody Group #-1 - in /etc/passwd nobody:x:65534:65534:nobody:/:/bin/false - in /etc/group nogroup:x:65533: > > On 12/17/08, Felipe de Jesús Molina Bravo wrote: > > > > > &g