WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: How can I deploy to running JBoss 7.1 using Cargo?

How can I deploy to running JBoss 7.1 using Cargo?

by laredotornado :: Rate this Message:

| View in Thread

Hi,

I'm using Maven 3.0.3 and trying to deploy my app to a running JBoss 7.1 server, installed locally.  What dependencies do I need to include to make this happen?  Here is my current Cargo configuration ...

                <plugins>
                        <plugin>
                                <groupId>org.codehaus.cargo</groupId>
                                <artifactId>cargo-maven2-plugin</artifactId>
                                <version>1.1.3</version>
                                <configuration>
                                        <container>
                                                <containerId>jboss7x</containerId>
                                                <type>remote</type>
                                        </container>
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>deploy</id>
                                                <phase>install</phase>
                                                <goals>
                                                        <goal>deploy</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>

And here is the error message I'm getting ...

[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.3:deploy (deploy) on project event-maven: Execution deploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.3:deploy failed: Failed to create deployer with implementation class org.codehaus.cargo.container.jboss.JBoss7xRemoteDeployer for the parameters (container [id = [jboss7x]], deployer type [remote]). InvocationTargetException: Cannot locate the JBoss connector classes! Make sure the required JBoss JARs (or Maven dependencies) are in CARGO's classpath.

Thanks for your guidance, - Dave

 « Return to Thread: How can I deploy to running JBoss 7.1 using Cargo?