support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > isCOBOL Samples > AS - Application Server > Why does my client machine need too much time to connect when the authentication is required?
Question Title Why does my client machine need too much time to connect when the authentication is required?

On Linux/Unix, in order to encrypt passwords, Java access to /dev/random, a special file that serves as a random number generator.

It allows access to environmental noise collected from device drivers and other sources.

The bits of noise are stored in a pool. When the pool is empty, reads from /dev/random will block until additional environmental noise is gathered.

A counterpart to /dev/random is /dev/urandom which reuses the internal pool to produce more pseudo-random bits.

This means that the call will not block, but the output may contain less entropy than the corresponding read from /dev/random.

If your client needs too much time to connect when the authentication is required, you might consider to instruct Java to use /dev/urandom instead of /dev/random, by adding the following option to the Application Server startup command-line:


-Djava.security.egd=file:///dev/urandom
Authored by: Valerio Biolchi This question has been viewed 4804 times so far.
Click Here to View all the questions in AS - Application Server category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do the thin client get the Windows username?
Article Information Additional Information
Article Number: 232
Created: 2014-06-26 10:35 AM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.