----- Original Message -----
From: Rami Honig <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 23, 2000 5:47 PM
Subject: [OCF] Newbie problem starting opencard
> Hi there,
>
> I'm trying to write the most basic app that uses OpenCard and can't seem
>
> to get it going.
>
> Right now I get an exception as soon as I call SmartCard.start(). The
> stack trace is as follows:
>
> com.gieseckedevrient.opencard.terminal.io.SerialIO::init: Cannot create
> tty object - No serial port for 0
> opencard.core.terminal.TerminalInitException: Cannot get I/O agent to
> identify card terminal type
> at
>
com.gieseckedevrient.opencard.terminal.GDCardTerminalFactory.createCardTermi
nals(GDCardTerminalFactory.java:140)
>
> at
> opencard.core.service.SmartCard.handleTerminalFactoryEntries(Compiled
> Code)
> at
> opencard.core.service.SmartCard.configureTerminalRegistry(Compiled Code)
>
> at opencard.core.service.SmartCard.start(SmartCard.java:527)
> at com.sun.IDCardGUI.IDCardGUIFrame.main(IDCardGUIFrame.java:93)
>
> I'm using a G & D PCT200 card reader with a G&D SmartCafe card. It works
>
> OK when I run an applet from within their IDE,
> but I can't get it to work without the IDE
>
> The stack trace seems to indicate a problem reading from the com port.
did you install the JavaComm API for serial devices from sun? it is
necessary, because the terminal part of ocf needs it for serial card
readers. you can get it from sun's java site.
Karl
smime.p7s