Re: mod_perl and DB2

2002-04-12 Thread Bill McCabe
On 4/11/02 at 9:54 AM, [EMAIL PROTECTED] (David Shrewsbury) wrote: Hey gang. Couldn't find an answer to this in the archives. We have a DB2 database that we access via mod_perl scripts. We have been getting errors in the Apache log files every morning whenever we first try to access the

RE: PDF generation

2002-04-04 Thread Bill McCabe
On 4/4/02 at 1:07 PM, [EMAIL PROTECTED] (Wilson, Allen) wrote: In reference to PDF::Create... Has anyone found any good documentation behind the module... I would like to print the results of a query to PDF and I not exactly sure whether I can use an array or a concatenate the results in

PDF generation

2002-04-03 Thread Bill McCabe
Hi All I have a large number of mod_perl modules that connect to various databases and generate workflow performance reports for my organization. I give the users 3 output options: HTML, Excel (Spreadsheet::WriteExcel), and PDF. For PDF output I've been using PDF::Create, which has been at

Re: Non-web use for Apache/mod_perl

2002-03-21 Thread Bill McCabe
Over the last year I've been slowly working on a similar system in my spare time (of which I have none). To do systems monitoring and reporting I'm using mod_perl on the front end and communicating with remote systems via XML::RPC. The XML::RPC server on the remote system runs local command via

Re: HTML Mason 1.0 setup

2001-03-01 Thread Bill McCabe
Hi Rob I just went through this exact situation this morning. I ended up (unnecessarily) recompiling apache/mod_perl in the hopes of fixing it. All that really needed to be done was to add "use HTML::Mason::ApacheHandler;" to mason's handler.pl. I'm assuming your v0.89 site was working properly.

Re: Cannot make mod_perl on *@!* RH Linux :(

2001-01-30 Thread Bill McCabe
Error: Cannot find SSL header files in any of the following dirs: Error: . /usr/include /usr/include/ssl/ /usr/local/include /usr/local/include/ssl Have you tried symlinking /usr/include/ssl to /usr/include/openssl? Bill

Re: prototype mismatch in Socket.pm

2000-11-01 Thread Bill McCabe
At 6:22 AM -0800 11/1/00, Jason Liu wrote: Hi, I got the following prototype mismatch error when starting up Apache. Has anyone seen this before? Prototype mismatch: sub Socket::INADDR_ANY vs () at /usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328. Prototype mismatch: sub

mod_perl handler and formats

2000-10-19 Thread Bill McCabe
Hi All I have a rather elementary setup [apache(1.3.12)/mod_perl(1.24)/perl(5.6.0)/rhat(6.1)] which allows user to request reports. My mod_perl handler retrieves the data from db2 and generates either a text or a pdf-based report which is written out to a file. The object that generates the

mod_perl and DBI::Proxy

2000-09-19 Thread Bill McCabe
Hi All I'm thinking of restructuring my setup so that I have my apache/mod_perl servers access database servers remotely using DBI::Proxy, rather than locally. Does anyone have a sense of what kind of performance degradation I should expect? Will it come chiefly from network latency (leaving

Re: Mason--Passing references to components

2000-06-27 Thread Bill McCabe
and not my file. Once I sorted that out I immediately saw the real problem. Bill At 9:13 AM +0200 6/27/00, Francesc Guasch wrote: Bill McCabe wrote: Hi All I'm converting a mod_perl module-based site to HTML::Mason and have a question about passing arguments to a component. my $penuser = $r

package globals?

2000-05-09 Thread Bill McCabe
Hi All I have a mod_perl module in which I am trying to make use of package globals for relatively static data. The code is in essence the following: package Apache::repsys; #File Apache/repsys.pm use strict; use Apache::Constants qw(:common); my ($var1, $var2); sub handler { my $r = shift;

Re: package globals?

2000-05-09 Thread Bill McCabe
Thanks, you're right. In single user mode it hit it just the once. Bill At 12:56 PM -0700 5/9/00, ___cliff rayman___ wrote: are you hitting the same child process over and over again? try starting the server in single user mode -X, and see if you still see the same results. cliff Bill McCabe

Re: RV: make test doesn´t work...

2000-04-26 Thread Bill McCabe
I regularly get that message when I make mod_perl as a regular user and try to make test as root. Make sure you kill the httpd process would've started from the prior attempt. 1.23 is supposed to fix this I think. Bill At 4:35 PM -0300 4/26/00, FEITO Nazareno wrote: -Mensaje original-

internal_redirect

2000-04-08 Thread Bill McCabe
Hi All I have a module that displays a selection of FORMs for the user to pick from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a different module which parses the data and uses 'open' to call an external perl script to generate a file and returns the full disk path of