Message
"Exception: java.util.MissingResourceException: Can't find bundle for base name jcclient, locale en_US"
Description:
Occurs when executing JavaCard RMI Client.
Reason:
This error occurs when the file jcclient.properties in not in the CLASSPATH. ApduIOCardAccessor takes its settings from the file jcclient.properties.
Solution:
Edit CLASSPATH to include the location where the file is present or copy the file to a location in the CLASSPATH.
Normally the file will be located at java_card_kit-x_x_x/samples/src_client in the binary release bundle for Solaris or Linux platforms and at java_card_kit-x_x_x\samples\src_client on the Windows platform.
If you can't find the code, create a new file jcclient.properties and add the following lines...
**#
# connection = TCP | SERIAL | PCSC
connection = TCP
# if connection == TCP | SERIAL
# protocol = T0 | T1
protocol = T1
# if connection == TCP
# TCP_HOST =
# TCP_PORT =
TCP_HOST = localhost
TCP_PORT = 9025
# if conection == SERIAL
# SERIAL_PORT =
SERIAL_PORT = COM1
# ...
Reference
Developing RMI Applications for the Java Card Platform


0 comments:
Post a Comment