From the output of the trace OCF is seeing two readers attached to your system. Is that correct? If not look at your registry settings for readers.

Also, have you got the trace level turned up full in you opencard.properties?

cheers


Steve Pringle wrote:
When running the Gemplus gxploader to load an applet to a card
(GXPro-R3) I get
an error msg stating:

"No available terminals. Check opencard.properties or the terminal
name."

Which makes sense, in that the "-terminal" argument to the gxploader
(see details below) is mandatory and requires a terminal name.  The
problem is
that I'm using the pcsc10 interface and the only OpenCard.terminals
entry that
works is the default, which doesn't allow terminal names.  Here's the
entry:

(opencard.properties file)
OpenCard.terminals = \
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory

If I try any other entry, such as:

com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|mygcr|GemPC43
0|EXCLUSIVE

I get the following when I run a simple program that accesses the card.
Note that the program works if I use the entry with no terminal names.


CardTerminalException:
No reader found by PC/SC : mygcr GemPC430 EXCLUSIVE

Here's the script and output from trying to load the applet:

f:\cvsrepo\pmic\src\com\pointvista\pmic\card>rem E:\jdk122\bin\java
-Dgemplus.ge
mxpresso.rad.home=E:\packages\gemplus
com.gemplus.tools.gxploader.GxpLoader -car
d GXPPro-R3 -deploymentfile
F:\cvsrepo\pmic\src\com\pointvista\pmic\card\PMI.gxd
 -terminal GemPC430 -ocf
F:\cvsrepo\pmic\src\com\pointvista\pmic\card\opencard.p
roperties

f:\cvsrepo\pmic\src\com\pointvista\pmic\card>E:\jdk122\bin\java
-Dgemplus.gemxpr
esso.rad.home=E:\packages\gemplus com.gemplus.tools.gxploader.GxpLoader
-card GX
PPro-R3 -deploymentfile
F:\cvsrepo\pmic\src\com\pointvista\pmic\card\PMI.gxd -te
rminal GemPC430
Trace file is
F:\cvsrepo\pmic\src\com\pointvista\pmic\card\traces_gxploader.htm

Starting OCF...
TPDU Not Used

TPDU Not Used

OCF started.

No available terminals. Check opencard.properties or the terminal name.


Any and all help *greatly* appreciated.


thanks,
Steve Pringle



---

Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/


! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.






--
------------------------------------------------------------------
 Brian McGuiness                          Phone: +44(0)1355 272911
 Senior Software Engineer                   Fax: +44(0)1355 272993
 Ecebs Limited
 The James Watt Building,
 Scottish Enterprise Technology Park,
 East Kilbride
 G75 0QD                           Email: [EMAIL PROTECTED]
 United Kingdom                    Internet:  http://www.Ecebs.com

 This email is only for the use of the addressee.  It may contain
 information which is legally privileged, confidential and exempt
 from disclosure.  If you are not the intended recipient you are
 hereby notified that any dissemination, distribution, or copying
 of this communication and its attachments is strictly prohibited.
------------------------------------------------------------------


---
Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.




Reply via email to