Cannot connect https using tomcat (keytool) gives an error 500

A

aditya _22cen

First of all i have created keystore(in my user directory) and a self
signed certificate called adi.cer(in tomcat-->conf) and i am getting a
error


server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="conf/adi.cer"
keystorePass="aditya" />

The error is
org.apache.jasper.JasperException: java.lang.IllegalStateException: No
output folder
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
570)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
378)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

java.lang.IllegalStateException: No output folder
org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:
683)
org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:
199)
org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:
516)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:470)
org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:417)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
587)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


Please give a reply to this thread
 
R

Roedy Green

First of all i have created keystore(in my user directory) and a self
signed certificate called adi.cer(in tomcat-->conf) and i am getting a
err

SSL certs and Code signing certs are different animals. Did you
create a phony SSL cert? Try getting a trial one from one of the
vendors.

see http://mindprod.com/jgloss/certificate.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
It should not be considered an error when the user starts something
already started or stops something already stopped. This applies
to browsers, services, editors... It is inexcusable to
punish the user by requiring some elaborate sequence to atone,
e.g. open the task editor, find and kill some processes.
 
A

Arne Vajhøj

First of all i have created keystore(in my user directory) and a self
signed certificate called adi.cer(in tomcat-->conf) and i am getting a
error

server.xml

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="conf/adi.cer"
keystorePass="aditya" />

The error is
org.apache.jasper.JasperException: java.lang.IllegalStateException: No
output folder
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
570)
root cause

java.lang.IllegalStateException: No output folder
org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:
683)
org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:
199)
Please give a reply to this thread

The exception does not seem related to HTTPS at all.

It seems to indicate that the JSP compiler can not create
a directory for its output!

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top