Re: DBI::Gofer howto?



On Mon, Jul 28, 2008 at 07:11:04AM -0500, Brian Millett wrote:
I've looked at the DBI::Gofer::Transport::mod_perl to setup a connection
pooling server, but to be honest, I just can not grok it. How is it setup?

The docs could certainly use some expansion to 'connect the dots'.

So my question is has anyone set it up?

Er, yes, me! :)

How, or what are the
configuration files. In the cpan docs, it has

http://search.cpan.org/~timb/GoferTransport-http-1.015/lib/DBI/Gofer/Transport/mod_perl.pm

add_configurations

DBI::Gofer::Transport::mod_perl->add_configurations( \%hash_of_hashes );

Takes a reference to a hash containing gofer configuration names and their
corresponding configuration details.

What configurations?? The reference is vague.

These: http://search.cpan.org/~timb/DBI/lib/DBI/Gofer/Execute.pm#CONFIGURATION

For simple cases you don't need any configuration.

Any pointers on how to setup a simple stateless proxy with DBI::Gofer::mod_perl would be nice.

The docs say:

---snip---
The most simple configuration looks like:

<Location /gofer>
SetHandler perl-script
PerlHandler DBI::Gofer::Transport::mod_perl
</Location>
---snip---

did you try that?

Tim.
.



Relevant Pages

  • Re: C++ debug/release builds and project references
    ... Is your class library in configuration "Release"? ... How do you add reference in the Winform project? ... suspect if you add the ManagedClassLib.dll in the debug folder. ... Creating command line "cl.exe ...
    (microsoft.public.dotnet.languages.vc)
  • Never mind.
    ... different configuration. ... the entry in the GAC did not match the ... The entry in the reference pointed to an incorrect ... > the app's config file before shutting down. ...
    (microsoft.public.dotnet.distributed_apps)
  • Going nuts - Configuration Error
    ... An error occurred during the processing of a configuration file ... And a Reference to a DLL to handle my dataaccess - also created my myself. ... partial, or location-based assembly bind). ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reference per configuration
    ... I can't define reference for a specific ... >> the "Debug" configuration I use Nunit for testing, ...
    (microsoft.public.dotnet.framework)
  • Re: Access is denied:skmMenu
    ... > There's a reference to a dll skmMenu in the project that handles our ... An error occurred during the processing of a configuration ... > I've tried numerous reboots, removing the reference and re-adding it, ... Every single time I have encountered that error, ...
    (microsoft.public.dotnet.framework.aspnet)