Avatar of xman san
xman san
 asked on

Cannot use Card reader for more than 2 time.

User told me that she have the Java program cannot read Card Reader more than 2 times.
After then, the Java program will halt.

Even she had asked another user to use their own card, the result was no different.

I had tried uninstalled and installed Card reader with using anther usb port but in vain.

The Java version is JRE 1 .8 .0.91.

Please help !
JavaProgrammingHardware

Avatar of undefined
Last Comment
xman san

8/22/2022 - Mon
CEHJ

That might be an issue with the hardware itself. Check its docs
nobus

or the java program is limited to 2x reading?
krakatoa

Try getAtr().getBytes() before and after the call to the reader and see what that tells you if anything.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
xman san

ASKER
Have some good points.
However, the program use by many people but
only the user have the problem.
If any checking program can help us?
Java 8.91 and Java 7.101 are the current Java program.
krakatoa

Would have been nice if you'd included that piece of information in the original problem description. This TA is more focused on Java code problems, and this is more likely than not, as has already been said, some form of hardware problem, or some old hardware or OS of the machine in question, or underpitched RAM. You'd probably get a faster answer if you tell us all the detail you have, particularly regarding the spec of this machine.
xman san

ASKER
The PC information as below:
Win7 pro
Java program
It need read the e-cert ftom card reader.
Java 7u101 or
Java 8u91( we select it)
Any info you need?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

test if it works from another user account
CEHJ

Any info you need?
You do realise that you haven't mentioned the card reader ..?
krakatoa

Are you an IT manager, or are you just incidentally helping out a department colleague?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
xman san

ASKER
Card reader is Omnikey 3121
xman san

ASKER
IT people
CEHJ

Ask the manufacturer to eliminate the hardware as a cause of the problem
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
nobus

did you try my suggestion?
xman san

ASKER
ok,let me try.
xman san

ASKER
I had created an new profile. reinstall java , reinstall card reader......but in vain.  only success 2 times the third will halt.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
krakatoa

Upgrade to the paid-for version.
xman san

ASKER
JAVA is free version? pai-for what?
Yesterdays, i upgrade to new version from 8.91 to 8.102.
It cannot sign.
After I reinstall 8.91, it can do 2 times.
Why?
CEHJ

My guess is that the reader is tied to a specific version of Java (which it shouldn't be). Check the docs
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
krakatoa

More guesses include :

Disable TLS2
Uptry to USB 3 or downtry to 2.0.
Try a USB cable from another machine, and/ or another reader that works.
xman san

ASKER
IE 11 only have TSL 1.0, 1.1 and 1.2
No  TSL 2.
Any suggestion?
ASKER CERTIFIED SOLUTION
xman san

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
xman san

ASKER
Solved
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck