Storing blessed objects via Apache::Session

2002-05-21 Thread c.w.huling


I was attempting to store a blessed object via Apache::Session, but
when the session is returned, the hash is empty.  I did some google
searching and ran across a similar question:

http://www.geocrawler.com/archives/3/182/2000/5/0/3823715/

I have not found any other information, and was curious if there was
something special that had to be done for this to work?

Any and all help would be most appreciated!

I have the latest Apache::Session-1.54.

-- 
C Wayne Huling <[EMAIL PROTECTED]>



Java.pm

2001-04-10 Thread c.w.huling


http://www-personal.umich.edu/~mcafee/perl/java-pm.html

Known Issues:

  Currently, Java.pm can only read uncompressed zipfiles; it will die
  if there is a member of CLASSPATH which is a compressed zipfile
  (this includes jar files). I am looking into remedying this
  deficiency.

cbell writes:
> 
> Hello everyone, has anyone had any experience with Java.pm?  There
> doesn't seem to be much info in the mail archives.  I'm trying to access
> a JAR from within perl using the Java.pm, but I always receive the
> error: 'java.lang.ClassNotFoundException'.  I can access the jar from a
> Java script at the command line, so the problem is from within Perl
> itself.
> 
> I've tried the following two methods but always end up with the same
> results...
> 
> my $class = $java->java_lang_Class("forName","Test");
> my $return_value =
> $java->static_call("MyStaticClass","",@params);
> 
> I can't find any examples in the archives to help me set this up
> properly.  If anyone has had any experience with this is would be
> greatly appreciated.  I'm running Modperl 1.24_01, Apache 1.3.14, and
> jdk1.3.0_02 from Sun.
> 
> Thanks in advance,
> Chris.
> 

-- 
C Wayne Huling <[EMAIL PROTECTED]>



Apache::DBILogger

2001-02-06 Thread c.w.huling


I have set this up with our Oracle Database, but I am not getting
anything in the database nor am I getting any errors.  Everything
still seems to log to the log files?

If errors are being generated, where would I find them?  Any way to
trace through and see what is happening?

-- 
C Wayne Huling <[EMAIL PROTECTED]>



Apache::Session::Oracle

2000-12-19 Thread c.w.huling


Does anyone have an example of Apache::Session::Oracle.  I am trying
to use this inside an Embedded perl page:

$id='';
eval {
  tie %session,'Apache::Session::Oracle',$id,{
DataSource => 'dbi:Oracle:host=db.host.com;sid=dbname',
UserName   => 'USER',
Password   => 'PWD',
Commit => 1
  };
};
if ($@) {
$html.="Failed to tie session."
} else {
  $session{login}='Bob';
  $html.="Setting up $id";
}

But nothing seems to make it to the database.  It is getting to the
else clause of the if ($@)?  I have poked around looking for more
examples but have not seen anything more? 

-- 
C Wayne Huling <[EMAIL PROTECTED]>



Apache::Session Question

2000-11-30 Thread c.w.huling


I have read all the documentation I can find, but have not found a
clear answer about Apache::Session sharing information across load
balanced machines?  My assumption is that if I am using a database
(Oracle), that the information will be available across the load
balanced machines.  But when I look at the schema for the database, I
no longer get the feeling that it is?  

Can anyone confirm this for me please?

-- 
C Wayne Huling <[EMAIL PROTECTED]>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]