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 Bug
    • Status: Closed (View Workflow)
    • Priority: Critical 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).
    • Similar Issues:
      Show 7 results 

      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

          Activity

          Hide
          Ondrej Zizka added a comment -

          Okay, so this is one more thing to add to docs:

          The service mode need C:\Program Files\Red Hat\Enterprise Web Server\bin in the system environment PATH to be able to work.

          Putting to Release notes.

          This requirement might be removed in future EWS releases by this:
          https://issues.apache.org/jira/browse/DAEMON-209

          Show
          Ondrej Zizka added a comment - Okay, so this is one more thing to add to docs: The service mode need C:\Program Files\Red Hat\Enterprise Web Server\bin in the system environment PATH to be able to work. Putting to Release notes. This requirement might be removed in future EWS releases by this: https://issues.apache.org/jira/browse/DAEMON-209
          Hide
          Ondrej Zizka added a comment -

          This needs to be documented, pls reassign as needed.

          Show
          Ondrej Zizka added a comment - This needs to be documented, pls reassign as needed.
          Hide
          Rebecca Newton (Inactive) added a comment -
          Show
          Rebecca Newton (Inactive) added a comment - Hey Ondrej, I think this might be covered with step 7 of procedure 4.4 here: http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Server/1.0/html/Installation_Guide/sec-Configuring_the_Environment-Win.html
          Hide
          Ondrej Zizka added a comment -

          Oh really, good catch! I overlooked it. Maybe it could be "important" or something, I mean, in a box with [!]... but then we could put almost everything into box So let it be, sorry for false alarm.

          Show
          Ondrej Zizka added a comment - Oh really, good catch! I overlooked it. Maybe it could be "important" or something, I mean, in a box with [!] ... but then we could put almost everything into box So let it be, sorry for false alarm.
          Hide
          RH Bugzilla Integration added a comment -

          This issue has been migrated to Bugzilla bug 899445. Please note that this JIRA issue has been closed as part of the migration and therefore you will need to check the Bugzilla issue to find the current status.

          Show
          RH Bugzilla Integration added a comment - This issue has been migrated to Bugzilla bug 899445 . Please note that this JIRA issue has been closed as part of the migration and therefore you will need to check the Bugzilla issue to find the current status.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development