• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java and Windows keystores

 
Ranch Hand
Posts: 38
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the late response.
I will try with the latest update.
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic