Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Nicholas Wehr
I'm with Tom on this one. Unless you've narrowed all optimization efforts and this is all you have left - it could be worth a try.. but as Jason points out, you may not gain a thing. I'd recommend profiling your code and tracking down performance issues from that base level. Please post your result

Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Tomas Doran
On 7 Sep 2010, at 18:59, Simon Miner wrote: All three of these apps run under a single Apache 1.3.42/mod_perl 1.31 server. Wow, mod_perl 1 Ok then :) It appears that each server process creates a unique database connection variable for each of these apps. Although these database con

Re: [Catalyst] SIGINT triggers segfault in Oracle libraries

2010-09-07 Thread Tomas Doran
On 7 Sep 2010, at 21:27, E R wrote: If I hit Control-c after starting up the standalone catalyst server without the -r option, I'll get a segfault. Here is the backtrace: #0 0xb6240a07 in nsgetcinfo () from .../rnapps/oracle/libclntsh.so. 10.1 #1 0xb62658c8 in nioqih () from .../rnapps/or

Re: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Tomas Doran
On 7 Sep 2010, at 17:42, Mesdaq, Ali wrote: I am getting a weird error when I start/restart my catalyst server. The error does not seem to be stopping anything from working from what I can tell. This is the error: Tried to write to the catalyst_component_name accessor - is your component

Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Jason L. Froebe
Hi Simon, Reducing the number of connections to the database from three to one will reduce the responsiveness and will definitely hurt when trying to debug issues (performance, etc). My recommendation is that each application have at least one unique connection to the database. jason On 0

[Catalyst] SIGINT triggers segfault in Oracle libraries

2010-09-07 Thread E R
If I hit Control-c after starting up the standalone catalyst server without the -r option, I'll get a segfault. Here is the backtrace: #0 0xb6240a07 in nsgetcinfo () from .../rnapps/oracle/libclntsh.so.10.1 #1 0xb62658c8 in nioqih () from .../rnapps/oracle/libclntsh.so.10.1 #2 0xb626bb49 in ni

RE: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
Same errors. Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com -- From: Devin Austin [mailto:devin.aus...

Re: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Devin Austin
On Tue, Sep 7, 2010 at 12:10 PM, Mesdaq, Ali wrote: > package web::View::JSON; > > > > use strict; > > use warnings; > > use parent 'Catalyst::View::JSON'; > > > > 1; > > > > Thanks, > > -- > > Ali Mesdaq (CISSP, GIAC-GREM) > > Sr. Security Researcher > >

RE: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
package web::View::JSON; use strict; use warnings; use parent 'Catalyst::View::JSON'; 1; Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com -

[Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Simon Miner
Hi, I am running 3 separate Catalyst (version '5.80022) apps that use a common (Oracle 11g) database. Each app has a model class which wraps around a common DBIC schema class, like so. - package App1::Model::DB; use strict; use base 'Catalyst::Model::DBIC::Schema'; __PACKAGE__->confi

Re: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Devin Austin
On Tue, Sep 7, 2010 at 10:42 AM, Mesdaq, Ali wrote: > Hey all, > > I am getting a weird error when I start/restart my catalyst server. The > error does not seem to be stopping anything from working from what I can > tell. > > This is the error: > Tried to write to the catalyst_component_name acce

[Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
Hey all, I am getting a weird error when I start/restart my catalyst server. The error does not seem to be stopping anything from working from what I can tell. This is the error: Tried to write to the catalyst_component_name accessor - is your component broken or just mad? (Write ignored - usin