Uploaded image for project: 'JBoss Enterprise Web Server'
  1. JBoss Enterprise Web Server
  2. JBEWS-52

EWS on Windows - Tomcat SSL doesn't work when started as a service

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Migrated to another ITS
    • Affects Version/s: EWS 1.0.2
    • Fix Version/s: TBD EWS
    • Labels:
      None
    • Environment:

      Both Tomcat 5 and 6, Windows 2k8 R2 Datacenter

    • Workaround Description:
      Hide

      Add path to EWS's bin directory to `PATH` env var of the user under which the service runs (SYSTEM by default).

      Show
      Add path to EWS's bin directory to `PATH` env var of the user under which the service runs (SYSTEM by default).

      Description

      STR:
      1) Configure SSL as per https://tcms.engineering.redhat.com/case/5559/?from_plan=583
      2) Run it using startup.sh, check SSL https://localhost:8443/
      3) Install Tomcat's as services
      4) Run it as service
      5) Reload https://localhost:8443/ - server is not listening on that port

      Caused by Tomcat using JSSE, looking for .keystore at incorrect path:

      SEVERE: Error initializing endpoint
      java.io.FileNotFoundException: C:\.keystore (The system cannot find the file specified)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:120)
      	at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:325)
      

      See attached log.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rebecca_newton Rebecca Newton (Inactive)
                Reporter:
                ozizka Ondrej Zizka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: