my dog learned polymorphism*
The moose likes Servlets and the fly likes Error: Cannot find keystore file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error: Cannot find keystore file" Watch "Error: Cannot find keystore file" New topic
Author

Error: Cannot find keystore file

Ian Whitelaw
Greenhorn

Joined: Mar 30, 2000
Posts: 13
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

Joined: Mar 09, 2000
Posts: 320
Hi
Which Servlet engine do you use?

SOURCE CODE should be SURROUNDED by "code" tags.
Ian Whitelaw
Greenhorn

Joined: Mar 30, 2000
Posts: 13
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

Joined: Mar 30, 2000
Posts: 13
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

Joined: Mar 30, 2000
Posts: 13
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

Joined: Mar 30, 2000
Posts: 13
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error: Cannot find keystore file