Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Container Instantiation

(tick) ContainerFactory.createContainer("tomcat9x"...)

(tick) <cargo containerId="tomcat9x".../>

(tick) <containerId>tomcat9x</containerId>

 


Local Container

(tick)

(tick)

(tick) 


  Container Classpath

(tick)

(tick)

(tick) 


  Container Start

(tick)

(tick)

(tick) 


  Container Stop

(tick)

(tick)

(tick)


    Container Timeout

(tick)

(tick)

(tick) 


  Embedded Container

(tick) o.c.c.c.tomcat.Tomcat9xEmbeddedLocalContainer

(tick)

(tick)


    Installed Container

(tick) o.c.c.c.tomcat.Tomcat9xInstalledLocalContainer

(tick)

(tick)

 


   Passing system properties

(tick)

(tick)

(tick) 


   Installer

(tick)

(tick)

(tick)

 


Remote Container

(tick) o.c.c.c.tomcat.Tomcat9xRemoteContainer

(tick)

(tick) 



Info
titleRunning multiple Tomcat 7.x / Tomcat 8.x / Tomcat 9.x embedded containers within the same JVM

Tomcat 7.x has introduced a class called TomcatURLStreamHandlerFactory where the singleton has a static instance field and a final registered attribute which are not always in sync and cause unexpected exceptions. Due to this, it is not possible to execute Tomcat 7.x, Tomcat 8.x and / or Tomcat 9.x embedded in the same JVM, in addition running one of these Tomcat embedded versions one after the other within the same JVM but different classpaths might also fail.

If you want to be safe, prefer using the Installed Container.

...

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Standalone Local Configuration for installed container

(tick) o.c.c.c.tomcat.Tomcat9xStandaloneLocalConfiguration

(tick)

(tick) 


Standalone Local Configuration for embedded container

(tick) o.c.c.c.tomcat.Tomcat9xStandaloneLocalConfiguration

(tick)

(tick) 


Existing Local Configuration for installed container

(tick) o.c.c.c.tomcat.TomcatExistingLocalConfiguration

(tick)

(tick)

 


Existing Local Configuration for embedded container

(tick) o.c.c.c.tomcat.TomcatExistingLocalConfiguration

(tick)

(tick) 


Runtime Configuration

(tick) o.c.c.c.tomcat.TomcatRuntimeConfiguration

(tick)

(tick) 


Static deployment of WAR

(tick)

(tick)

(tick) 


Static deployment of expanded WAR

(tick)

(tick)

(tick) 


Static deployment of EJB

(error)

(error)

(error)

 


Static deployment of EAR

(error)

(error)

(error) 


Static deployment of RAR

(error)

(error)

(error)

 


Static deployment of files

(error)

(error)

(error)

 


Static deployment of OSGi Bundles

(error)

(error)

(error)

 


Deployer Features

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Installed Deployer

(tick) o.c.c.c.tomcat.TomcatCopyingInstalledLocalDeployer

(tick)

(tick) 


Embedded Deployer

(tick) o.c.c.c.tomcat.TomcatEmbeddedLocalDeployer

(tick)

(tick)

 


Remote Deployer

(tick) o.c.c.c.tomcat.Tomcat9xRemoteDeployer

(tick)

(tick) 


Other Features

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Debugging

(tick)

(tick)

(tick) 


Supported Configuration properties

...

This container is automatically tested by the Continous Integration system every time there is a code change.
The server used for tests is downloaded from: http://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/9.0.14/tomcat-9.0.14.zip