Skip to content

Configure protocol when setting up container #17

Open
@mojavelinux

Description

The setup command should provide an option set setup the protocol. In particular, this feature is aimed at configuring the Servlet 3.0 protocol for JBoss AS 7, which is not the default.

The protocol should be configured in the container configuration, since it does not apply to all containers (such as Weld Embedded).

<container qualifier="jbossas-managed-7">
    <protocol type="Servlet 3.0"/>
</container>

^^^ However, this is not currently support in Arquillian. For now, you need to set the default protocol globally:

<defaultProtocol type="Servlet 3.0"/>

You also need to add the Servlet protocol library to the Maven profile for the adapter:

<dependency>
    <groupId>org.jboss.arquillian.protocol</groupId>
    <artifactId>arquillian-protocol-servlet</artifactId>
    <scope>test</scope>
</dependency>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions