Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1619

Tomcat managed container ignores allowConnectingToRunningServer

    XMLWordPrintable

Details

    Description

      The flag is not checked

             if(manager.isRunning())
             {
                throw new LifecycleException(
                      "The server is already running! " +
                              "Managed containers does not support connecting to running server instances due to the " +
                              "possible harmful effect of connecting to the wrong server. Please stop server before running or " +
                              "change to another type of container.\n" +
                              "To disable this check and allow Arquillian to connect to a running server, " +
                              "set allowConnectingToRunningServer to true in the container configuration"
                      );
             }
      

      Attachments

        Activity

          People

            ianbrandt Ian Brandt (Inactive)
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: