Results 1 to 2 of 2
  1. #1
    aditya_22cent is offline Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    0

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

    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.handle JspException(JspServletWrapper.java:570)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:378)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)

    root cause

    java.lang.IllegalStateException: No output folder
    org.apache.jasper.JspCompilationContext.createOutp utDir(JspCompilationContext.java:683)
    org.apache.jasper.JspCompilationContext.getOutputD ir(JspCompilationContext.java:199)
    org.apache.jasper.JspCompilationContext.getClassFi leName(JspCompilationContext.java:516)
    org.apache.jasper.compiler.Compiler.isOutDated(Com piler.java:470)
    org.apache.jasper.compiler.Compiler.isOutDated(Com piler.java:417)
    org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:587)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:344)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)


    Please give a reply to this thread

  2. #2
    unaTRASotra is offline Member
    Join Date
    Nov 2011
    Posts
    5
    Rep Power
    0

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

    what are you trying to do???

Similar Threads

  1. Executing 'keytool' command from a java program
    By revathi17 in forum New To Java
    Replies: 0
    Last Post: 03-08-2011, 11:06 AM
  2. connect servlet and jsp in tomcat
    By abcdef in forum Java Servlet
    Replies: 1
    Last Post: 02-18-2011, 12:04 PM
  3. Connect to HTTPS + SSL handshake failure
    By jamojo in forum Advanced Java
    Replies: 3
    Last Post: 06-25-2009, 11:04 PM
  4. HTTPS & Keytool too
    By jamesEdwards in forum Advanced Java
    Replies: 5
    Last Post: 01-31-2009, 09:25 PM
  5. KeyTool IUI 2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-01-2007, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •