Sponsored Content
Operating Systems SCO Issue using SCO java SerialDemo Post 302691405 by jdsnatl on Friday 24th of August 2012 11:59:18 AM
Old 08-24-2012
Issue using SCO java SerialDemo [CLOSED]

I recently installed the Java Communications API (v2.0Aa) on SCO and I'm having some issues running the SerialDemo application that comes with it.

I can open a connection and send text from SCO to a toy windows app I wrote - that works fine. However, when I try and close the connection, I get the following error:

libthread error: _thr_sigacthandler: fault 1 inside a critical section

What follows after that is a mass of debug text with various values (I don't know what any of it means). Can anyone suggest anything I could read up on to try and figure out what the error actually is? Is more information stored in log files anywhere?

If it helps at all, the offending line in the java program is when the SerialPort object is being closed.

Any suggestions are welcome. I didn't want to immediately just dump the whole thing here and hope someone else can glean something useful from it.

Last edited by jdsnatl; 10-24-2012 at 05:14 PM.. Reason: Marking as closed
 

8 More Discussions You Might Find Interesting

1. AIX

License issue on Java install

I'm a AIX novice - please bear with me.. I'm trying to install Java14_64_sdk on an Aix 5.2 server (P690) I've copied the ff files to a separate directory: Java14_64.ext Java14_64.license Java14_64.sdk I then run smitty installp, point to the above directory and choose the Java14_64.sdk... (0 Replies)
Discussion started by: morgan_g
0 Replies

2. Shell Programming and Scripting

runing shell with java and sqlloader issue

Hello there, I'm writing a shellscript and it uses sqlloader, it works good coz load the data into the DB. But I'm runing the shell from a java program with Runtime(). It does execute the shell but the sqlloader doesn't seem to be working!! Does anybody out there knows why?? (0 Replies)
Discussion started by: ying_dav
0 Replies

3. Programming

Issue Related to Splash Screen in Java

Hi all, Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code-- Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Discussion started by: smartgupta
2 Replies

4. SCO

SCO Reboot Issue

Hi, We are using SCO UNIX 7.1.3 and the server recently started rebooting by itself. Do anyone know how can i create a dump or crash dump while the server rebooots? Your quick help on this is really appreciated. Regards, Ravikumar R (1 Reply)
Discussion started by: rrb2009
1 Replies

5. UNIX for Dummies Questions & Answers

host key issue via java

Hi, I am encountering below mentioned exception when I execute my Java program that is supposed to SFTP the file from one server over to another. Can you please tell me some pointers to resolve this issue? Exception HostName- 10.1.1.1 ; userName- bmsftp log4j:WARN No appenders could be... (0 Replies)
Discussion started by: prashant.ladha
0 Replies

6. Shell Programming and Scripting

Issue with spaces in Java command line options

Hi, I am writing a shell script to build Java options dynamically in a variable array and pass them to java.exe. If an option value contains a space, I cannot find a way to get it interpreted correctly. Here is my example: #!/bin/bash JAVA_HOME=/opt/jvm/jre1.5.0_18 JAVA_OPTS=("-Xms256m... (4 Replies)
Discussion started by: Romain
4 Replies

7. Programming

PortInUse Exception in SerialDemo

Using JRE 1.4.2_12 on SCO OpenServer 5.0.7, I was able to use the Java Comm Api to open and close serial ports. After upgrading to JRE 1.4.2_19, the Java Comm Api complains that the ports are in use. Does anyone have any thoughts on how to make 1.4.2_19 work with Java Comm API? FYI. I was using... (21 Replies)
Discussion started by: rkelly
21 Replies

8. AIX

Strange issue installing Java 8

I just intalled java8_64.jre and .sdk respectively installp -agXYd . Java8_64.jre Java8_64.sdk 2>&1 | tee installp.log Worked like a champ. Now I see this-- jeff@server:/usr> ls -l | grep java drwxr-xr-x 9 bin bin 512 Sep 22 2010 java14 drwxr-xr-x 7 bin bin ... (9 Replies)
Discussion started by: jeffs42885
9 Replies
AIRPORT-MODEM(1)					      General Commands Manual						  AIRPORT-MODEM(1)

NAME
airport-modem - Modem monitoring and hangup utility for the original Apple AirPort Base Station ("Graphite"), the Lucent RG-1000 base sta- tion and the Apple Airport Extreme base station SYNOPSIS
airport-modem DESCRIPTION
airport-modem allows you to monitor the state of the internal modem of your base station and to start/stop the modem connection. On the AirPort Extreme base station, the modem utility can also display the approximate duration of the modem connection. OPTIONS
airport-modem accepts no command-line options. airport-modem is a wrapper script around the AirportBaseStationHangup.jar jar file located in /usr/share/java/airport-utils. You can set the JAVACMD environment variable to use a specific JVM instead of the one chosen by the wrapper script. Set the DEBUG environ- ment variable to 1 to get the debug output from the wrapper script. ENVIRONMENT VARIABLES
DEBUG Set this variable to 1 to get the debug output from the wrapper script. JAVACMD The full path to the Java Virtual Machine to use. By default, the wrapper uses JAVACMD; if it is not set, it looks for JAVA_BINDIR/java, then for JAVA_HOME/bin/java before looking for a java executable in the PATH. In the latter case, the JVM used can be configured using the Debian alternatives system (see update-alternatives(8)). JAVA_HOME The full path where your JDK/JRE is installed. JAVA_BINDIR The full path to the directory where the java executable is located. JAVA_ARGS Extra command-line arguments to be passed to the Java Virtual Machine. AUTHOR
airport-modem was written by Jon Sevy <jsevy@cs.drexel.edu>. This manual page was written by Julien BLACHE <jblache@debian.org>, for the Debian project (but may be used by others). May 20, 2006 AIRPORT-MODEM(1)
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy