Erm,... forgotten to restart the server...
O:-)
Thanks, anyway,
Florian
On Tue, 2006-01-17 at 15:46 +0100, Marc Logghe wrote:
> Hi,
>
>
> > <%init>
> > use JDBC;
> > JDBC->load_driver('oracle.jdbc.driver.OracleDriver');
> > </%init>
> >
> > I get this error:
> >
> > Can't locate object method "load_driver" via package "JDBC" at
> >
> > But having the same thing as a script outside Mason, mean
> > normal script, it works without problems...
> >
> > Any idea?
>
> Guess the path where JDBC.pm is residing is not in PERL5LIB. Thing is
> that this environmental variable is not automatically exported when
> apache is launched. There are several options:
> 1) use the appropriate directives in httpd.conf (PassEnv or SetEnv)
> 2) point to the correct folder in your component with use lib
>
> HTH,
> Marc
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd_______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
--
Florian Merges <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users