|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Message handler woes
Date: Nov 13 1997 11:56PM
Fred Strauss wrote:
>
> I hope someone can help me with this. I'm using Perl 5.003 with Sybperl
> 2-07. What I'm trying to do is establish one database handle and
> corresponding message handlers for my application. I have the message
> handler routines in a separate module:
>
> as soon as ct_connect is called I get the following:
>
> Open Client Message: (In msg_cb)
> Message number: LAYER = (1) ORIGIN = (1) SEVERITY = (1) NUMBER = (50)
> Message String: ct_cmd_alloc(): user api layer: external error: The
> connection has been marked dead.
> ct_cmd_alloc failed at gen_race_reports.pl line 30.
You are probably not returning CS_SUCCEED from your callbacks.
Look at the example callbacks in ctutil.pl.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|