From: Bill Fenwick (
Date: Thu Nov 09 2000 - 16:51:57 CST

Did a little more digging in the archives and found something that solved
my problem.

Using admintool, I was able to go in and disable services on serial port B
(by listing Serial Ports, picking port B, and unchecking the Service Enable
box), and then PDASync worked correctly.

As a follow-up question, anybody know how to do the same thing from the
command line, so I can put this in a script? I messed around with pmadm
and sacadm but what I tried with them didn't work.

Original question:

>Has anybody gotten PDASync 1.0 to run successfully on a system running
>Solaris 7 previous to the 11/99 release?
>We're running Solaris 7 8/99 on an Ultra 2. I downloaded the
>PDAsync-1_0-sol7sparc.bin file for "pre1199" releases of Solaris 7 and
>installed it and the appropriate packages. Our Ultra has an external
>connected to port B, so I disconnected the modem and hooked up the adapter
>cable for the Palm pilot. I also used pmadm -r and sacadm -r to remove
>service and port monitor that were using port B.
>I'm trying to run PDASync from the command line in an X terminal window,
>and every time I type the command "sdtpdasync", the PDASync window comes
>with the message "port currently owned by another application". Also, the
>following appears on the Xterm window:
>nWaitForEvent: cond_wait error 4
>java.lang.IllegalStateException: This port is closed
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.lang.RuntimeException.<init>(
> at
> at com.sun.comm.SolarisSerial.close(
> at com.sun.comm.SolarisSerial.finalize(
> at java.lang.ref.Finalizer.runFinalizer(Compiled Code)
> at java.lang.ref.Finalizer.access$1(Compiled Code)
> at java.lang.ref.Finalizer$
>This happens whether I try to run PDASync using /dev/term/b or /dev/cua/b.
> Oddly enough, when I set it to /dev/term/a, it doesn't happen, even
>I have a console terminal plugged into port A and can't plug the Palm
>adapter in there.
>There was a Solstice PPP daemon running, which I killed, but I'm still
>getting the same messages. Running sdtpdasync with the -debug flag gives
>no further information.
>Am I missing something obvious (hopefully)?
>TIA and IWS.

Bill Fenwick                               Email:
Digicomp Research                          Voice:  (607) 273-5900 ext 32

S U BEFORE POSTING please READ the FAQ located at N . and the list POLICY statement located at M A To submit questions/summaries to this list send your email message to: N A To unsubscribe from this list please send an email message to: G E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I S T

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:22 CDT