Cannot use Card reader for more than 2 time.

xman san
xman san used Ask the Experts™
on
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 !
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
That might be an issue with the hardware itself. Check its docs
Top Expert 2013

Commented:
or the java program is limited to 2x reading?
Try getAtr().getBytes() before and after the call to the reader and see what that tells you if anything.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
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.
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.

Author

Commented:
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?
Top Expert 2013

Commented:
test if it works from another user account
Top Expert 2016

Commented:
Any info you need?
You do realise that you haven't mentioned the card reader ..?
Are you an IT manager, or are you just incidentally helping out a department colleague?

Author

Commented:
Card reader is Omnikey 3121

Author

Commented:
IT people
Top Expert 2016

Commented:
Ask the manufacturer to eliminate the hardware as a cause of the problem
Top Expert 2013

Commented:
did you try my suggestion?

Author

Commented:
ok,let me try.

Author

Commented:
I had created an new profile. reinstall java , reinstall card reader......but in vain.  only success 2 times the third will halt.
Upgrade to the paid-for version.

Author

Commented:
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?
Top Expert 2016

Commented:
My guess is that the reader is tied to a specific version of Java (which it shouldn't be). Check the docs
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.

Author

Commented:
IE 11 only have TSL 1.0, 1.1 and 1.2
No  TSL 2.
Any suggestion?
Commented:
The problem was solved.  The root cause was related ecet

Author

Commented:
Solved

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial