• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and Windows keystores

 
Jurica Krizanic
Ranch Hand
Posts: 38
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I am trying to get an instance of Windows-ROOT and Windows-MY keystores and load both keystores.

It takes less than 1 second to load Windows-ROOT keystore, and about 12 seconds to load Windows-MY keystore.

I am running Java 1.6 update 24, 32-bit version on Windows 7.

On WindowsXP, Java 1.6, both keystores are loaded in less than a second.

Does anyone know why does it take that long to load Windows-MY keystore, and how to speed it up?

The code I use to load:



and




Thank you in advance!

Best regards,
Jurica Krizanic
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could not reproduce the timing you reported. (Windows 7, java version 1.6.0_31-b05) both keystores loaded very quickly:
java32Programs>%J32%\bin\java TestKeystores Windows-MY
That took 106804384 (0.106 seconds)

java32Programs>%J32%\bin\java TestKeystores Windows-ROOT
That took 218768486 (0.218 seconds)

I wonder if you should try it with release 31?

or maybe post more of your code?
 
Jurica Krizanic
Ranch Hand
Posts: 38
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the late response.
I will try with the latest update.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic