Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure protocol when setting up container #17

Open
mojavelinux opened this issue Apr 29, 2012 · 2 comments
Open

Configure protocol when setting up container #17

mojavelinux opened this issue Apr 29, 2012 · 2 comments
Labels

Comments

@mojavelinux
Copy link
Member

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>
@mojavelinux
Copy link
Member Author

I want to add that this is a real pain point for developers right now, so Forge could really help smooth this out.

@mojavelinux
Copy link
Member Author

Here's the issue tracking support for setting the protocol at the container level: https://issues.jboss.org/browse/ARQ-579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant