Re: How do you use mod_perl for your web application?

2011-06-21 Thread Perrin Harkins
On Tue, Jun 21, 2011 at 5:03 PM, Rolf Schaufelberger wrote: >> My approach to this problem would be to run separate httpd servers for >> each version of the code you need to support and use a proxy in front >> to do the dispatching. > > yes, I've tried this too, but this leads to a big memory foot

Re: How do you use mod_perl for your web application?

2011-06-21 Thread Rolf Schaufelberger
Am 21.06.2011 um 18:12 schrieb Perrin Harkins: > On Tue, Jun 21, 2011 at 2:25 AM, Rolf Schaufelberger wrote: >> We are using Mason 1.x, a (little) modified version of MasonX::WebApp > > Us too! Glad to know someone else is using it. Same to me, didn't hear from somebody else using it. When

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to "James B. Muir" on Tue, 06/21/11 at 12:57: > > Getting back to basics... Are you sure that your build of Apache > and perl went well? Have you scrutinized the logs you created when > you built perl and apache for any surprising error messages? Yes, they built without error. Regards

Re: How do you use mod_perl for your web application?

2011-06-21 Thread David E. Wheeler
On Jun 21, 2011, at 9:33 AM, Cosimo Streppone wrote: > Recently we have seen two friendly factions struggling > for power :), one moving towards Catalyst/DBIx/TT2 and > another testing Plack/PSGI. To be clear, these two factions are orthogonal. FWIW, Catalyst is being updated to run on Plack. B

RE: apache2 or mod_perl2 oddball error

2011-06-21 Thread James B. Muir
Getting back to basics... Are you sure that your build of Apache and perl went well? Have you scrutinized the logs you created when you built perl and apache for any surprising error messages? -James -Original Message- From: William Bulley [mailto:w...@umich.edu] Sent: Tuesday, June 21,

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Andr? Warnier on Tue, 06/21/11 at 12:05: > > Right, but what that page is showing, is the syntax of the perl "use > some::module;" directive, as used /inside of a perl program/. > Here we are talking about the "PerlModule" directive, as used in a > httpd.conf file (or another file i

Re: How do you use mod_perl for your web application?

2011-06-21 Thread Cosimo Streppone
On Thu, 16 Jun 2011 06:01:03 +0200, Fred Moyer wrote: I'm interested in hearing about what application frameworks (Catalyst, CGI::App, Mojolicious) are used here with mod_perl. A bit late to the party. In Opera we have lots of systems running modperl 2, ranging from 1 server to moderately

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Perrin Harkins on Tue, 06/21/11 at 11:57: > > Maybe I'm the one confused now, but I thought you said that when you > removed that the application started and those errors about the > modules went away. You said that instead you got errors about > "unreferenced scalar" stuff when apa

Re: How do you use mod_perl for your web application?

2011-06-21 Thread Perrin Harkins
On Tue, Jun 21, 2011 at 2:25 AM, Rolf Schaufelberger wrote: > We are using Mason 1.x,  a (little) modified version of MasonX::WebApp Us too! Glad to know someone else is using it. > Currently,  I can use on Perl instance in all virtual hosts  or add  a > separate instance with +Parent for a vi

Re: How do you use mod_perl for your web application?

2011-06-21 Thread Perrin Harkins
On Mon, Jun 20, 2011 at 11:00 PM, Randolf Richardson wrote: > I have encountered some people > (not just in the DBIx::Class community) who have told me things like > "you should be using FastCGI instead," or "you're crazy to not run > mod_perl behind a proxy," etc. Well, this is a sidetrack, but

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread André Warnier
William Bulley wrote: ... Perhaps the reason that syntax is used may have come from this POD: Right, but what that page is showing, is the syntax of the perl "use some::module;" directive, as used /inside o

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread Perrin Harkins
On Tue, Jun 21, 2011 at 8:05 AM, William Bulley wrote: >> So, if you just remove the "-compile => ':common'" part, does Apache still >> fail to start (at the same point I mean) ? [...] > This suggestion was given earlier and I tried it late last week to no avail. > I still got the same error compl

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Andr? Warnier on Sun, 06/19/11 at 17:52: > > When Apache executes a LoadModule directive, it not only loads that module > code in memory. The module code also gets called at that point, and in > return the module tells Apache which further configuration directives "it > is intere

Re: How do you use mod_perl for your web application?

2011-06-21 Thread Rolf Banting
We use mp2 + httpd in prefork mode to translate between JSON/SOAP to proprietary CORBA (via opalORB - the 100% painless CORBA interface) on dedicated servers . We've run 100's of requests a second through a single server. So long as httpd is configured sensibly the performance is excellent. A word