[JOBS] web development at AvantGo

2000-07-04 Thread Jonathan Swartz

The web technology group at AvantGo (http://avantgo.com) is looking for
a few killer engineers.

AvantGo develops mobile applications, most notably delivering 
internet/intranet content to handheld devices and cell phones. 

Our group is responsible for the technologies underlying AvantGo's web site 
and internal web applications. We also have impact on the handheld user 
interface and the enterprise server product. We develop almost exclusively 
with Perl, along with mod_perl, Mason, and mysql on FreeBSD Unix. 

Requirements: strong software development skills, experience with Unix 
and web technologies. Plusses include Perl or other scripting 
languages, SQL, and a computer science or equivalent degree. 

We're located in San Mateo, CA. 

Send your resume or inquiries to [EMAIL PROTECTED]

Cheers 
Jon





Re: Strange delays

2000-07-04 Thread Robin Berjon

At 07:09 04/07/2000 +0200, Eric Jain wrote:
Once in a while the first page being requested by a client is delayed
by approximately 10s, even though there is no significant load on the
server. Usual delays are between 0 and 1s, rarely up to 4s (complex
database queries).

Any Ideas where to look for the cause of this?

I first thought the problem might be with the database connections.
However these same delays also happen with pages, that don't need to
connect at all...

I used to have the same problem when I was using Apache::Session with
semaphore locking, and using another sort of locking fixed that. Are you
using semaphores ?



-- robin b.
Always remember you're unique just like everyone else. 




Re: Simple program _setting_ REMOTE_ADDR

2000-07-04 Thread Steve van der Burg

 Ack!  That was pretty stupid of me.  It doesn't explain why
 SetEnvIf Request_URI "/cgi-bin/VENDOR" REMOTE_ADDR=1.2.3.4
 didn't work, but I can take that to the Apache folks.

It's because mod_cgi sets the environment variable just before it
runs the program (and thus overriding whatever you set before).

A fixup handler to set the fake ip address (as you figured out) and
possibly a loghandler to set remote_ip to the right address again is
the way to go.

Thanks.  Between the help I got on the list, and a quick reading of some of the Apache 
source (esp. mod_cgi), I had a working solution up and running 90 minutes (!) after 
first deciding to attack the problem from that angle.

...Steve 

-- 
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]




Re: User pressed stop?

2000-07-04 Thread Eric Cholet

 Every so often I get:
 
 Broken pipe: client stopped connection before rflush completed
 
 In my error log. Is that the "user pressed stop" condition? AxKit just
 sends raw files (unless in no_cache mode), i.e. it sets $r-filename() and
 then returns DECLINED. Do I need to handle this, or can I just ignore it?

ap_rflush is called to write data to the client, but the write fails.
It's a normal "user pressed stop" condition, ap_rflush issues the
info message and sets c-aborted so that subsequent writes will not
reach the network. You can ignore the message, it is printed because you
have LogLevel = info. 

--
Eric





DIR_MERGE and .htaccess

2000-07-04 Thread Matt Sergeant

Shouldn't DIR_MERGE be called when .htaccess files are found at different
levels, e.g:

/axkit/.htaccess
and
/axkit/test/.htaccess

I ask for /axkit/test/test.xsp

I would have expected it to ask for both .htaccess files and try and merge
the two using DIR_MERGE, but it doesn't. Am I missing something, or is
this expected functionality?

-- 
Matt/

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org




Re: Can't find Apache::DBI on Win32 version

2000-07-04 Thread David Jourard

Hi,

At 03:30 PM 7/3/00 -0500, Randy Kobes wrote:
http://www.perl.com/CPAN/authors/id/M/ME/MERGL/,
unpack it, and run
perl Makefile.PL
nmake
nmake install
If you don't have nmake, you can get a self-extracting archive
from ftp://ftp.microsoft.com/softlib/MSLFILES/nmake15.exe.

This worked but now I get upon start up of the apache httpd daemon:

defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm

line 135 (Maybe you should just omit the defined()?)

I didn't find this.

Any ideas what to do .

Thanks.

David




Re: Can't find Apache::DBI on Win32 version

2000-07-04 Thread David Mitchell

 This worked but now I get upon start up of the apache httpd daemon:
 
 defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm
 
 line 135 (Maybe you should just omit the defined()?)

Just edit c:/Perl/site/5.6.0/lib/Apache/DBI.pm, deleting the 'defined'
on line 135 :-)




Getting DB2U support

2000-07-04 Thread Sam Carleton

Folks, I have installed mod_perl and I would like to access a DB2
server.  What perl modules do I need to install?  Are there any
tutorials out there to give me the basics of access DB2 from perl?

Sam



Re: Can't find Apache::DBI on Win32 version

2000-07-04 Thread Randy Kobes

On Tue, 4 Jul 2000, David Jourard wrote:

 At 06:24 PM 7/4/00 +0100, David Mitchell wrote:
   This worked but now I get upon start up of the apache httpd daemon:
   defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm
   line 135 (Maybe you should just omit the defined()?)
 
 Just edit c:/Perl/site/5.6.0/lib/Apache/DBI.pm, deleting the 'defined'
 on line 135 :-)
 
 I did look and its not so obvious what to comment out without mucking the 
 file ... Does anyone else have this one installed and had the same problem 
 I had.  I'm using the win32 version by Randy Kobes.

Line 135 looks like
 if (defined @ChildConnect) {
Try changing it to
 if (@ChildConnect) {
and see if that helps.

best regards,
randy kobes





Re: Getting DB2U support

2000-07-04 Thread Joshua Chamas

Sam Carleton wrote:
 
 Folks, I have installed mod_perl and I would like to access a DB2
 server.  What perl modules do I need to install?  Are there any
 tutorials out there to give me the basics of access DB2 from perl?
 
 Sam

Try installing DBI  DBD::DB2 .  Check out 
  http://www.symbolstone.org/technology/perl/DBI/
for more info.  Also you could use CPAN to do the installation
likely, checkout "perldoc CPAN"

Also, for access under mod_perl, check out connection caching
with Apache::DBI

-- Joshua
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks  free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Re: DIR_MERGE and .htaccess

2000-07-04 Thread Rick Myers

On Jul 04, 2000 at 14:40:26 +0100, Matt Sergeant twiddled the keys to say:
 Shouldn't DIR_MERGE be called when .htaccess files are found at different
 levels, e.g:
 
 /axkit/.htaccess
 and
 /axkit/test/.htaccess
 
 I ask for /axkit/test/test.xsp
 
 I would have expected it to ask for both .htaccess files and try and merge
 the two using DIR_MERGE, but it doesn't. Am I missing something, or is
 this expected functionality?

I can't answer that question, but a while back I noticed that sometimes
PerlSetVar's weren't being seen by $r-dir_config as I'd expected.
Namely, within the "global" section of a VirtualHost. I wrote a little
module as an example, but never got around to voicing anything about it.

From what I saw then, DIR_MERGE nor SERVER_MERGE ever got called at all.
Maybe we're missing the same thing?

Rick Myers[EMAIL PROTECTED]

The Feynman Problem   1) Write down the problem.
Solving Algorithm 2) Think real hard.
  3) Write down the answer.