[Samba] samba and JNI
floyds at 4peakstech.com
Thu Apr 11 09:49:02 GMT 2002
i am using a linux/samba box as a print server. whenever a user submits a
print job, i want to notify the user that samba is receiving the print job.
i have a java service running on each client machine that pops up a gui to
that effect when notified. i am trying to integrate java JNI into samba to
tell the java server on the client to display the gui. however, just adding
the JNI initialization code to "smbd/server.c main" causes samba to get the
following error whenever a print job is submitted. also, the print job fails
to spool. (debug level 3)
[2002/04/11 11:34:11, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(284)
Failed to setup RT_SIGNAL_LEASE handler
[2002/04/11 11:34:11, 3] smbd/oplock.c:init_oplocks(1214)
open_oplock ipc: pid = 15010, global_oplock_port = 32775
[2002/04/11 11:34:11, 0] smbd/notify_kernel.c:kernel_notify_init(190)
Failed to setup RT_SIGNAL_NOTIFY handler
has anyone been successful in getting samba and JNI to work? alternatively,
can anyone suggest why JNI might be causing samba to fail in this manner and
how i can make it work?
4 Peaks Technology Group, Inc.
EMAIL: FloydS at 4PeaksTech.com
acta non verba
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.342 / Virus Database: 189 - Release Date: 3/14/2002
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba