Comm api errors

Hi
We are developing an application with Point of Sale capabilities. To interact with the printer and cash drawer we use the comm api. The cash drawer is attached to the printer and the printer is attached to the pc via a serial port.
We have tried and succeeded to print and open the cash drawer on a desktop running Win2000 and WinXP, but when we run the same code on a Dell laptop running WinXP the following happens:
Printing:
Garbage as well as the text we pass through is printed and the following is printed to the standard output (not by us):
Unable to GetCommConfig() – 1
CashDrawer:
Cash drawer opens and the following error is caught
     Unsopported Comm Operation
javax.comm.UnsupportedCommOperationException: Win32 Comm Driver: Error 1
     at com.sun.comm.Win32SerialPort.setCommDeviceParams(Native Method)
     at com.sun.comm.Win32SerialPort.setSerialPortParams(Win32SerialPort.java:276)
at SerialDemo.main(SerialDemo.java:49)
and the following is printed to the standard output(not by us):
Unable to GetCommConfig() – 1
We are sure we’ve placed the win32comm.dll, javax.comm.properties and comm.jar files in the correct places. Are we missing something obvious? Do laptops handle serial ports differently? Is Dell evil?

Thanks for the advice.
We've checked for conflicts and compared the settings.
There is nothing that we could see that would indicate
a conflict of any sort. But it got us thinking...so we
uninstalled the generic text driver we installed and
the exceptions and error printouts have stopped, but
if we print the string "Hello World\n" the text
"?Hello World" or "Some other garbageHelloWorld" where
Some other garbage has been a small L superscript
thingy or a sc combo character.I am guessing it's a serial printer...
If it is parallel, check the CMOS\BIOS to see if your laptop LPT1 is set to ECP,EPP or Standard ( I think that's what the third one might be called) and verify that it matches the first PC settings...
For a serial printer, on thing to check is the DIP switches... Your laptop ( on a guess that this maybe a different printer than the one used with the first PC) may have the Comm\Serial port set to 9600 8 none 1 Xon\Xoff and the DIP switched on the printer may be 9600 7 even 1 Hardware... For the most part you still communicate between the printer and the laptop, but some stuff gets lost\corrupted...
As for changing the driver, Windows does not delete all the files when removing or replacing drivers for some device especially printers, so if the driver is corrupt, then assuming that it is windows and same version, look in device manager and see what drivers are loaded, uninstall like you had done earlier ( you may need to reboot with the printer disconnected) and manually delete the driver files ( actually just move them to a backup folder\directory in just in case ) then re-install the drivers...
Hope this help you find the solution...
- MaxxDmg...
- ' He who never sleeps... '

Similar Messages

  • Error in the latest Java comm api for Linux

    installed latest Java comm api for Linux, tried test application for the Sun package:
    $ java SimpleRead
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at SimpleRead.main(SimpleRead.java:67)
    Caused by: java.lang.NullPointerException
    at javax.comm.CommPortIdentifier.findConfFile(CommPortIdentifier.java:199)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:117)
    ... 1 more
    What deis this message mean? How to make you serial port support work?

    and what does this error message mean??
    The package was installed accordingly to "Java(tm) Communications API Linux Installation Instructions":
    $ls /usr/lib/libLinuxSerialParallel.so
    /usr/lib/libLinuxSerialParallel.so
    $env|grep CLASS
    CLASSPATH=<..skipped..>:/opt/commapi/jar/comm.jar:/opt/commapi/jar/commtest.jar
    $ ls /opt/jdk1.5.0_04/jre/lib/javax.comm.properties
    /opt/jdk1.5.0_04/jre/lib/javax.comm.properties
    What else does it need?

  • My last chance...for comm api with applet

    Hi to u great valued developers,
    Did anybody on earth the same as I do:
    Create and deploy a signed applet including the java comm api lib.
    The applet is deployed on an Apache Server and should run under IE6
    Easy? sure but something is certainly missing in the cab 'cause altough no error is return in console, I either do not receive any info from the ports.
    Same app compiled as application is ok.
    Thanks very much for any help.
    Cedric ([email protected])

    Hello Enrique,
    tx for ur answer.
    As said, the application (reading serial ports) works fine.
    The problem come possibly from javax.comm.property.
    Should I package it with the cab?

  • API Error: table does not exists

    Hello every one,
    I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
    Here is my procedure:
    CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
    AUTHID CURRENT_USER AS
    lv_BOOKING_ID NUMBER;
    lv_BOOKING_STATUS_TYPE_ID NUMBER;
    lv_EVENT_ID NUMBER;
    lv_PERSON_ID NUMBER;
    lv_DATE_BOOKING_PLACED DATE;
    lv_OBJECT_VERSION_NUMBER NUMBER;
    lv_FINANCE_LINE_ID NUMBER;
    CURSOR C1 IS
    SELECT OLM_NUMBER,
    OLM_DATE_OF_CLASS,
    OLM_CLASS
    FROM OLM_HISTORY_CLASS;
    BEGIN
    FOR C1_REC IN C1
    LOOP
    begin
    select PAF.PERSON_ID INTO lv_PERSON_ID
    from PER.PER_ALL_PEOPLE_F PAF
    where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
    and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
    between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
    and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
    BEGIN
    SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
    FROM APPS_APPLMGR.ota_events_tl AOET
    WHERE
    AOET.TITLE = C1_REC.OLM_CLASS;
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    dbms_output.put_line('Event id:'||lv_event_id);
    dbms_output.put_line('Person id:'||lv_person_id);
    dbms_output.put_line('Booking date:'||lv_date_booking_placed);
    dbms_output.put_line('Ovn:'||lv_object_version_number);
    dbms_output.put_line('Finance line id:'||lv_finance_line_id);
    BEGIN
    APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => trunc(sysdate),
    P_BOOKING_ID => lv_BOOKING_ID,
    P_BOOKING_STATUS_TYPE_ID => '1016',
    p_delegate_person_id => lv_PERSON_ID,
    p_contact_id => NULL,
    P_BUSINESS_GROUP_ID => '0',
    P_EVENT_ID => lv_EVENT_ID,
    P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
    P_INTERNAL_BOOKING_FLAG => 'Y',
    p_number_of_places => '1',
    P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
    P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
    P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    END LOOP;
    COMMIT;
    --rollback;
    END;
    and now when I run this procedure,I am getting this error:
    PID Error: 100 - ORA-01403: no data found
    Event id:5684
    Person id:12530
    Booking date:14-DEC-11 00:00:00
    Ovn:
    Finance line id:
    API Error: -942 - ORA-00942: table or view does not exist
    I don't know if it is API which is making problem or my code. Please advice.
    Thanks,

    You are creating the procedure in which schema.
    does this user has permission to access the objects specified in the code.
    the issue must be with your code not the ebs api

  • Configure comm.api in tomcat

    hello friends,
    i want to configure comm.api in tomcat5.5. please help me
    Thanks in advance.
    javax.comm: Error loading javax.comm.properties!
    null
    java.io.IOException: javax.comm: platform driver class name = null
    (Check 'driver' property in javax.comm.properties)
    at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
    at welcome.list(welcome.java:47)
    at welcome.doGet(welcome.java:21)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

    If your operating system works it as a comm port you can readily run the BlackBox example that comes with the comm 2.0 API and see if it picks it up.

  • Java comm api doubt.

    ive downloaded the comm api and installed it in my system (win 95) Ive followed exactly all the steps that are recommended and even changed by classpath. I still get the followin error message
    Excpetion in thread "main" java.lang.NoClassDefFoundError : SimpleRead/java.
    Please help.
    thanks
    G.P.

    u were right amolk, i did not include the period and that was the problem. thanks a lot and thank u too DrClap.
    G.P.

  • Comm API and Exception in SerialDemo

    I was able to compile the SerialDemo source into the application. However, when I run it, it throws an exception at line 560 of SerialDemo$ConfigurationPanel.listPortChoices
    This line deals with enumerating the available ports on a system. The exception is a NoClassDefFound (no such class) error. It is looking for javax.comm.CommPortIdentifier
    I have installed Comm API 2.0 according to the Win32 directions. I once had a prior installation working - at least listing what ports I actually had on the system - but even then the apps were unable to work with them at all.
    Anyone got ideas?

    i have this error when run SerialDemo:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier
    at SerialDemo$ConfigurationPanel.listPortChoices(SerialDemo.java:560)
    at SerialDemo$ConfigurationPanel.<init>(SerialDemo.java:448)
    at SerialDemo.<init>(SerialDemo.java:142)
    at SerialDemo.main(SerialDemo.java:89)
    My CLASSPATH :
    C:\j2me\midp2.0fcs\classes;C:\Benhui_Bluecove;
    C:\Benhui_Bluecove\classes;
    C:\WTK23\apps\BTGalleryExample\src;
    C:\Programmi\UCB\jdk1.4.1_02\j2sdk1.4.1_02\jre\lib\comm.jar;
    and i have followed the instructions that are at http://www.benhui.net
    These are the instructions :
    To get mine to work, I copied the 'comm.jar' and 'javax.comm.properties' files into the following locations:
    * <J2SE SDK installation directory>\lib
    * <J2SE SDK installation directory>\jre\lib
    * <J2SE SDK installation directory>\jre\lib\ext
    And copied the 'win32com.dll' into the following locations:
    * <J2SE SDK installation directory>\bin
    * <J2SE SDK installation directory>\jre\bin
    Can someone help me?
    Thanks
    Dani

  • Oracle 6i Repository Internal API Error 25012

    I am running into an RME-00020 Internal API error when I try to fire up designer and do anything. I followed the standard install on a windows 2000 Pro laptop, installed the repository and ran into this. The Oracle error is ORA-00600 and the internal error is 25012. I must have missed something. I have wiped and reinstalled the repository, but continue to get this error. Any avenues you can push me down would be greatly appreciated.
    I'm running Oracle 9i on the laptop and have installed the repository on this platform. I downloaded Oracle 6i and am trying to use these together. I installed both in seperate Oracle Home directories as specified. The database is working just fine with another db, as I'm designing and installing that db with ERStudio version 5. I'm running on a Dell Inspiron 8000 with 512M of memory and 20Gigs of disk.
    Thanks for any help and insight you can give!

    Hi
    I am experiencing the same error while trying to user Oracle Designer 10g I am new to Designer.I trying to create a user before I do a design capture and it is giveing me the error:
    Message
    RME-00020: Internal API error - ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Cause
    The API has detected an internal inconsistency.
    Action
    Check the detail of the associated Oracle Server error message
    (ORA-xxxxx) and resolve it.
    Message
    RME-00011: Operation 'close' on ACTIVITY has failed
    Cause
    An API operation request has failed for some reason.
    Action
    Examine other reported errors for specific details.
    Message
    RME-00222: Failed to dispatch operation to Repository
    Cause
    Requested operation failed because of other errors.
    Action
    Examine other reported errors for specific details.
    Message
    RME-00224: Failed to close activity
    Cause
    Could not close ('commit') an activity.
    Action
    Examine other reported errors for specific details.
    Can you help please?

  • Java comm api in 64-bit Linux

    I apologise if this is off-topic. I can't find a suitable forum, I tried posting in the Java plugin forum, but no luck there. I would appreciate any ideas to find a solution.
    I am trying to use the java comm api to read and write to the serial port but I am getting the following error:
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: /usr/lib64/libLinuxSerialParallel.so: Can't load IA 32-bit .so on a AMD 64-bit platform
    I am using openSUSE 10.2 (X86-64) which uses Linux 2.6.18.2-34-default x86_64.
    I tried Switching to a 32-bit version of java (1.4.2) from within Eclipse and I always run Eclipse in 32-bit java (/usr/share/eclipse/eclipse -vm /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java) but I still get this error.
    Is there anything I can do to get the java comm api working on a 64-bit system?
    Is the java comm api still being developed and maintained? It does not look like it is?
    I've done some searching on the web and I find there is an open source version of the java comm api called RXTX but the website at http://www.rxtx.org/ is not very readable. I don't think I know enough to install this on my system.
    I would appreciate any ideas to get this working.
    Thanks,
    Martin

    I'm stuck again so I would appreciate some more help.
    I've managed to install the Sun 1.6 JDK and configure
    and make rxtx.Any small amount of progress is still progress. :)
    >
    But it still does not work, I get the following error
    when I run the SerialDemo:<snip>
    >
    It seems to be com.sun.comm which is not finding its
    native binary not rxtx! No, it's finding the shared library, unless there are a few more lines at the start of your error message that look like this:
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError:
    no LinuxSerialParallel in java.library.pathIt's not finding the function it is looking for in that library.
    This is what confuses me, the
    instructions say install the Solaris version of comm
    api (http://www.rxtx.org/ how-to said Solaris Sparc
    and the rxtx INSTALL file said Solaris x86 so I tried
    both in turn and neither worked) Same here after downloading the latest stuff to my x86 Linux box. I received a similar UnsatisfiedLinkError. I checked the shared libraries and the functions were not in it.
    normally these would
    call the Solaris binary drivers but I assume this has
    to be redirected to rxtx which calls its own
    binaries?Yes. There is a part of RXTX called JCL (Java Comm for Linux) that handles that.
    http://www.geeksville.com/~kevinh/linuxcomm.html
    However, I think the problem is that Sun's API has changed since the RXTX How-To was written. Try downloading the 'comm.jar' at the bottom of the page. It says:
    comm.jar, 2.0.3, generic, English (3rd party backward compatibility, only), EnglishUnzip it and copy the comm.jar file to the 'jre/lib/ext' folder of the JDK/JVM where everything else RXTX created was placed.
    After doing this the SerialDemo app started for me without errors.
    Jim S.

  • Comm API Problems

    Hi Everyone,
    I've just installed the comm API, and installation process seems to have gone quite smoothly, (the code is compilling correctly), but the demo programs will not run, i get the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: SimpleWrite
    or the same error coming from SimpleRead.
    Any ideas on whats going on?
    Andrew

    You can't use directory names that have a space in
    them when using Java.Okay, I've uninstalled the java sdk, installed it to
    C:\jdk
    copied the win32.dll to the jdk\bin directory
    and the properties and comm.jar file to the jdk\lib directory
    reset the classpath using
    set CLASSPATH=c:\jdk\lib\comm.jar
    and it's still not working, any other suggestions?

  • COMM api ParallelPort locks

    Hello all,
    I'm trying to use the Parallel Port from COMM api just to send 1 byte to Paralell data I/O using the code below,
    portList = CommPortIdentifier.getPortIdentifiers();
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier) portList.nextElement();
    portId.getPortType());
    if (portId.getPortType() == CommPortIdentifier.PORT_PARALLEL) {
    try {
    parallelPort = (ParallelPort) portId.open("MoodMusic", 2000);
    } catch (PortInUseException e) { }
    // Writing to port
    try {
    outputStream = parallelPort.getOutputStream();
    outputStream.write("Hello World".getBytes());
    } catch (Exception e) { System.out.println(e.getMesssage());}
    And the application keep locked when I proceed the write method,
    I do not need read anything from Parallel Port and I have no device connected it.
    Is it possible to use the ParalelPort class just to send bytes , It is needed something else to work? or It just work for printers.
    best regards,

    Thank you very much Jos,You're welcome.
    But I really do not understand the solution you proposed, I really need
    an answer from device or Could I solve it from PC Host?Sun's API expects that nAck negative pulse; if it doesn't arrive it won't
    send new data. You either need to fake that pulse (using a bit of
    additional hardware triggered by the strobe signal coming from the host)
    or maybe (just a quick idea), you could set a small timeout value and
    try to send your bytes one by one. This would slow down the communication
    speed substantially but you don't need to build special hardware.
    If your device is fast enough it would pick up the eight bits of data and
    then Sun's API would time out. This way you also lose quite a lot of
    functionality like error detection etc.
    kind regards,
    Jos

  • COMM API & JDK Versions

    Hello,
    I used COMM API with JDk1.3.1 & 1.3.0. It worked fine for first few times....But after some times, it started
    giving errors while compiling -->
    Note: c:\temp\CommPortIdentifier.java uses a deprecated API. Recompile with "-d
    eprecation" for details.
    COMM API version is 2.0..............
    Thank You !!
    Mayur

    You do NOT need to compile classes of the comm api. Just put comm.jar in your JDK's jre/lib/ext directory and the comm api will be available to you. Get rid of the java source files unless you want to know what they are doing.

  • Help...problems using java comm API

    Hi all
    im using Fedora Core and in order to list all the available serial ports for my computer i'm using the classic program TestEnumeration, but when running from jbuilder 2005 not from shell i received the following errors:
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver
    warning: no ports found - make sure javax.comm.properties file is found
    i have followed all the instruction to install comm API but i received the same error i need help plz if someone can
    thx

    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    import java.lang.*;
    import java.Buff.*;
    public class SimpleRead implements Runnable, SerialPortEventListener
         static CommPortIdentifier portId;
         static Enumeration portList;
         InputStream inputStream;
         SerialPort serialPort;
         Thread readThread;
         public static void main(String[] args)
         {//System.out.println("hello");
              portList = CommPortIdentifier.getPortIdentifiers();
              while (portList.hasMoreElements())
                   portId = (CommPortIdentifier) portList.nextElement();
                   if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
              if (portId.getName().equals("COM1"))
                   // if (portId.getName().equals("/dev/term/a")) {
              SimpleRead reader = new SimpleRead();
         public SimpleRead()
         try
              serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
         catch (PortInUseException e)
                                  System.out.println(e);
         try
         inputStream = serialPort.getInputStream();
         catch (IOException e)
                        System.out.println(e);
                   try
    serialPort.addEventListener(this);
                   catch (TooManyListenersException e)
                        System.out.println(e);
         serialPort.notifyOnDataAvailable(true);
         try
         serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
              catch (UnsupportedCommOperationException e)
                        System.out.println(e);
    try {
    out = new OutputStreamWriter(serialPort.getOutputStream());
    out.write("ATQ0V1E0");
    out.flush();
    out.write("ATQ0V1E0");
    Out.close();
    //System.out.println("ATQ0V1E0");
    catch (IOException e) {}
    try {
    int line;
    int result ;
    InputStream = serialPort.getInputStream();
    int num= inputStream.available();
    InputStreamReader reader = new InputStreamReader(inputStream);
    System.out.println(reader.ready());
    while ((line = reader.read()) <= 0)
    result =reader.read();
    System.out.println("Success " + result);
    reader.close();
    catch (IOException e) {}
    readThread = new Thread(this);
    readThread.start();
    try {
    OutputStream = SerialPort.getOutputStream();
    catch (IOException e) {}
              System.out.println("ATQ0V1E0");
    public void run()
         try
    Thread.sleep(500);
    catch (InterruptedException e)
                   System.out.println(e);
    public void serialEvent(SerialPortEvent event)
    switch(event.getEventType())
    case SerialPortEvent.BI:
    case SerialPortEvent.OE:
    case SerialPortEvent.FE:
    case SerialPortEvent.PE:
    case SerialPortEvent.CD:
    case SerialPortEvent.CTS:
    case SerialPortEvent.DSR:
    case SerialPortEvent.RI:
    case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
    break;
    case SerialPortEvent.DATA_AVAILABLE:
    byte[] readBuffer = new byte[20];
    try
    while (inputStream.available() > 0)
    int numBytes = inputStream.read(readBuffer);
    System.out.print(new String(readBuffer));
    catch (IOException e)
                        System.out.println(e);
    break;
    hi friends am getting these errors
    C:\programs>javac SimpleRead.java
    SimpleRead.java:115: illegal start of expression
    public void run()
    ^
    SimpleRead.java:159: ';' expected
    ^
    2 errors
    please help me....
    its very urgent....this is the first program of mine.... am so tensed..
    i should finish this soon... please help me...
    this is my mail ID
    [email protected]

  • DI API error while adding AP Invoice (Using serial Nos.)

    Hi,
    Im getting the following DI API error when adding an AP Invoice which has serial numbers and i cant seem to find any logical fault in the code.
    " [PCH1.WhsCode][line: 4] , 'This entry already exists in the following tables (ODBC -2035) "
    If anybody has encountered this error and found a solution kindly let me know.

    Hi Vivek,
    Are you trying to add same document number, serial number or so on?
    "entry exist " means like "duplicate key problem", I guess.
    Basically, whscode column in PCH1 table allows duplicating.
    So, I think serial number is duplicated among same item code.
    Hope this useful for you.
    Regards,
    Hyunil Choi.

  • How to use the COMM API in a JAR file

    I have developed an application, using the NetBeans IDE, to communicate with a modem over the COM1 serial port using the Java Comm API. The application works fine within the IDE, but when a JAR file is created and "double-clicked", the application launches correctly, but when the code is executed to "talk" over the COM1 serial port - nothing happens. No exceptions and no warnings are thrown. My environment is XP, SP1.
    The manifest file is as follows:
    Manifest-Version: 1.0
    Class-Path: ../j2sdk1.4.2/jre/lib/ext/TimerBean.jar ../j2sdk1.4.2/jre/
    lib/ext/AbsoluteLayout.jar ../j2sdk1.4.2/jre/lib/ext/comm.jar
    Created-By: NetBeans IDE
    Specified-By: Projects/TheApp/Files/TheApp.jarContent
    Main-Class: Main
    According to the Comm API installation instructions, the following files are copied:
    copy comm.jar \j2sdk1.4.2\jre\lib\ext
    copy wind32com.dll \j2sdk1.4.2\bin
    copy javax.comm.properties \j2sdk1.4.2\jre\lib
    I suspect it has something to do with the paths.
    Any help would be greatly appreciated. Thanks.

    Thanks for your input, but after trying what you suggested the problem still exists. I think your right to be suspicous of the javax.comm.properties file. The application, that worked in the IDE, exhibits the same behavoir as the JAR file if the javax.comm.properties file is removed from the ../jre/lib directory. In other words it compiles correctly in the IDE, but when executed, nothing happens when the code that "talks" to the serial port is run.
    I've tried moving the javax.comm.properties file into the working directory. Also, the CLASSPATH and PATH system variables were modified to include the path to javax.comm.properties.
    If you have anymore ideas, please let me know.
    Thanks.

Maybe you are looking for

  • My brain hurts: Mega sharing multiple accounts and devices

    What’s the best way to organize all this? I would like to avoid repurchasing the exact same DRM’ed content in too many itunes accounts. I have a big family full of 6 people/laptops, 3 TV/PCs, multiple ipods, iphones, etc. per person; and a growing nu

  • My Torch 9800 will no longer sync after 6.0 Bundle upgrade

    My torch 9800 was working fine, upgraded to 6.0 Bundle 2949, and it synced a few times, and now It will not sync. It goes 1/2 way through and then I get the error message   "Sync Error-Invalid record ID" "An error occured during an attempt to access

  • File corruption with a very large .ai file

    A little background first: I am a graphic designer/cartographer with 15+ years of experience. I started making maps in Illustrator with version 6 and have upgraded to every version since. My machines: 2x Mac Pro 8-core 3.0GHz, 16GB RAM, 10.5.7 Mac Pr

  • Where are the memory files located?

    I backed up all my premiere pro cs4 files when reinstalling my operating system and now can't get the program to run exactly as before.  Other than my documents, where else are the memory files stored?

  • Connect USB device to Firewire port

    Can I connect a keyboard, expansion CD, or other USB-cabled device to a Firewire port on the iMAC?  What brand of USB-Female to Firewire-Male is recommended?