Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dbremote hook not working as a service

15 views
Skip to first unread message

Jim Diaz

unread,
Nov 3, 2009, 10:55:28 AM11/3/09
to
9.0.2.2551

To solve some replication transfer issues we were having we developed a
secure transfer product which will send files from a directory of one
computer to the directory of another over tcp/ip. Sort of like ftp without
the hassle.

We are now trying to hook into the dbremote send begin and end to create a
file which records before and after statistics so that we can examine these
prior to processing at the receiving end of the replication process.

I'm using the dbremote hook dba.sp_hook_dbremote_send_end() but this does
not seem to work when dbremote is run as a service. Is this by design or am
I doing something wrong?

Is there another way to accomplish what I'm trying to do? Can I read this
info from the replication files themselves?

Thanks,

Jim

Reg Domaratzki [Sybase iAnywhere]

unread,
Nov 3, 2009, 1:02:52 PM11/3/09
to

Hooks will fire when running as a service. If the service is running as
Local System, it's possible that you are doing something in the hook
that needs access to a network resource that is unavailable.

--
Reg Domaratzki, Sybase iAnywhere Solutions
Please reply only to the newsgroup

Documentation : Exercise your WRITE @DocCommentXchange: DCX.sybase.com
SQL Anywhere Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere
-> Optionally set filter to "Display ALL platforms IN ALL MONTHS"

0 new messages