• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: Cannot find keystore file

 
Ian Whitelaw
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure whether this is specifically a JSP/Servlet problem or a more general one involving the J2EE.
Has anyone come across this error and how did you get around it?
I'm using J2EE version 1.2 on Windows NT4. The problem occurred when pointing my browser (IE4.0) at a JSP file. The error seems to be intermittant, i.e. sometimes the JSP page comes up OK, (but usually not ), and results in the J2EE server being stopped. The particular pages have been viewed successfully in the past, and no changes have been made to them, so I assume it's an environment problem.
I have tried restarting the server, rebooting the PC and reinstalling the J2EE. No joy.
What's going on?
 
John Bateman
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Which Servlet engine do you use?
 
Ian Whitelaw
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure how to answer that question - All I can say is that I presume I'm using whichever one is bundled with the J2EE.
 
Ian Whitelaw
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still don't know what the cause of the error is, but deleting the .class file produced from the compilation of the java source file generated from the JSP seems to fix it.
Anyone suggest why forcing a regeneration/recompilation might have this effect?
 
Ian Whitelaw
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never discovered the reason for it. Deleting the .class produced from the compilation of the JSP seemed to fix it though, so try that if you haven't already.
 
Ian Whitelaw
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right - the JSP is only compiled when the page is first loaded by your browser. As to where the class files end up, that's more difficult to say. Mine ended up in a sub-directory of j2sdkee1.2\repository, but I wouldn't like to hazard a guess as to where yours are.
If you do find them, they have a name which is full of digits and underscores. Sorry I can't be of more help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic