Hi,
What JBoss setting does the "cargo.jboss.management.port" correspond to? Also, do I need to include a JBoss admin username/password somewhere? I'm still having trouble getting this to deploy on my Mac OSX Lion, JBoss 7.1 installation. Here is the complete pom.xml ...
<project xmlns="
http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.myco.eventmaven</groupId>
<artifactId>event-maven</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>event-maven</name>
<url>
http://maven.apache.org</url>
<!-- Shared version number properties -->
<properties>
<org.springframework.version>3.0.5.RELEASE</org.springframework.version>
</properties>
<repositories>
<repository>
<id>google-api-services</id>
<url>
http://mavenrepo.google-api-java-client.googlecode.com/hg</url>
</repository>
<repository>
<id>jboss</id>
<url>
http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<!-- Library for parsing RSS feeds -->
<dependency>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-calendar</artifactId>
<version>v3-1.3.1-beta</version>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>gdata-core</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>gdata-calendar</artifactId>
<version>2.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>gdata-client</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>gdata-client-meta</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>gdata-calendar-meta</artifactId>
<version>2.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>google</groupId>
<artifactId>collect</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr305</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<!-- Core utilities used by other modules. Define this if you use Spring
Utility APIs (org.springframework.core.*/org.springframework.util.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Expression Language (depends on spring-core) Define this if you use
Spring Expression APIs (org.springframework.expression.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Bean Factory and JavaBeans utilities (depends on spring-core) Define
this if you use Spring Bean APIs (org.springframework.beans.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Aspect Oriented Programming (AOP) Framework (depends on spring-core,
spring-beans) Define this if you use Spring AOP APIs (org.springframework.aop.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Application Context (depends on spring-core, spring-expression, spring-aop,
spring-beans) This is the central artifact for Spring's Dependency Injection
Container and is generally always defined -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Various Application Context utilities, including EhCache, JavaMail,
Quartz, and Freemarker integration Define this if you need any of these integrations -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Transaction Management Abstraction (depends on spring-core, spring-beans,
spring-aop, spring-context) Define this if you use Spring Transactions or
DAO Exception Hierarchy (org.springframework.transaction.*/org.springframework.dao.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- JDBC Data Access Library (depends on spring-core, spring-beans, spring-context,
spring-tx) Define this if you use Spring's JdbcTemplate API (org.springframework.jdbc.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA,
and iBatis. (depends on spring-core, spring-beans, spring-context, spring-tx)
Define this if you need ORM (org.springframework.orm.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Object-to-XML Mapping (OXM) abstraction and integration with JAXB,
JiBX, Castor, XStream, and XML Beans. (depends on spring-core, spring-beans,
spring-context) Define this if you need OXM (org.springframework.oxm.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Web application development utilities applicable to both Servlet and
Portlet Environments (depends on spring-core, spring-beans, spring-context)
Define this if you use Spring MVC, or wish to use Struts, JSF, or another
web framework with Spring (org.springframework.web.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Spring MVC for Servlet Environments (depends on spring-core, spring-beans,
spring-context, spring-web) Define this if you use Spring MVC with a Servlet
Container such as Apache Tomcat (org.springframework.web.servlet.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Spring MVC for Portlet Environments (depends on spring-core, spring-beans,
spring-context, spring-web) Define this if you use Spring MVC with a Portlet
Container (org.springframework.web.portlet.*) -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- Support for testing Spring applications with tools such as JUnit and
TestNG This artifact is generally always defined with a 'test' scope for
the integration testing framework and unit testing stubs -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${org.springframework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<exclusions>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>4.0.1.Final</version>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.0.1.Final</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.1.0.CR2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<container>
<containerId>jboss71x</containerId>
<type>remote</type>
</container>
</configuration>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>redeploy</goal>
</goals>
<configuration>
<type>runtime</type>
<properties>
<cargo.hostname>localhost</cargo.hostname>
<cargo.jboss.management.port>19999</cargo.jboss.management.port>
</properties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller-client</artifactId>
<version>7.1.0.Final</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Here is the debugging output (at least, what I hope is relevant), when I run "mvn clean install":
=====================Begin debugging output ========================
...
[DEBUG] Configuring mojo org.codehaus.cargo:cargo-maven2-plugin:1.2.0:redeploy from plugin realm ClassRealm[plugin>org.codehaus.cargo:cargo-maven2-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@20cf2c80]
[DEBUG] Configuring mojo 'org.codehaus.cargo:cargo-maven2-plugin:1.2.0:redeploy' with basic configurator -->
[DEBUG] (s) containerId = jboss71x
[DEBUG] (f) type = remote
[DEBUG] (f) container = org.codehaus.cargo.maven2.configuration.Container@18557d7e
[DEBUG] (f) localRepository = id: local
url: file:///Users/myuser/.m2/repository/
layout: none
[DEBUG] (f) project = MavenProject: com.myco.eventmaven:event-maven:1.0-SNAPSHOT @ /Users/myuser/workspace/event-maven/pom.xml
[DEBUG] (f) repositories = [ id: google-api-services
url:
http://mavenrepo.google-api-java-client.googlecode.com/hg layout: default
snapshots: [enabled => true, update => daily]
releases: [enabled => true, update => daily]
, id: jboss
url:
http://repository.jboss.org/nexus/content/groups/public/ layout: default
snapshots: [enabled => true, update => daily]
releases: [enabled => true, update => daily]
, id: central
url:
http://repo.maven.apache.org/maven2 layout: default
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
[DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@11711970
[DEBUG] (f) skip = false
[DEBUG] -- end configuration --
[DEBUG] dummy:dummy:pom:0.1 (selected for null)
[DEBUG] org.codehaus.cargo:cargo-core-container-jboss:jar:1.2.0 (selected for null)
[DEBUG] org.codehaus.cargo:cargo-core-api-generic:jar:1.2.0:compile (selected for compile)
[DEBUG] commons-discovery:commons-discovery:jar:0.4:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-container:jar:1.2.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.2.0:compile (selected for compile)
[DEBUG] jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.2.0:compile (selected for compile)
[DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG] commons-discovery:commons-discovery:jar:0.4:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-container:jar:1.2.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.2.0:compile (selected for compile)
[DEBUG] jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.2.0:compile (selected for compile)
[DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.2.0:compile (selected for compile)
[DEBUG] jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.2.0:compile (selected for compile)
[DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] jdom:jdom:jar:1.0:compile (selected for compile)
[DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.2.0:compile (selected for compile)
[DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile)
[DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
[DEBUG] msv:msv:jar:20020414:compile (selected for compile)
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
[DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile)
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG] xmlunit:xmlunit:jar:1.2:test (selected for test)
[DEBUG] org.codehaus.cargo:cargo-core-api-container:test-jar:tests:1.2.0:test (selected for test)
[DEBUG] org.codehaus.cargo:cargo-core-api-util:test-jar:tests:1.2.0:test (selected for test)
[DEBUG] junit:junit:jar:3.8.1:test (selected for test)
[DEBUG] jmock:jmock:jar:1.2.0:test (selected for test)
[DEBUG] jmock:jmock-cglib:jar:1.2.0:test (selected for test)
[DEBUG] cglib:cglib-nodep:jar:2.1_3:test (selected for test)
[DEBUG] commons-vfs:commons-vfs:jar:1.0:test (selected for test)
[DEBUG] [DeployerRedeployMojo] Resolved artifact and dependencies: [file:/Users/myuser/.m2/repository/org/codehaus/cargo/cargo-core-container-jboss/1.2.0/cargo-core-container-jboss-1.2.0.jar, file:/Users/myuser/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar, file:/Users/myuser/.m2/repository/org/codehaus/cargo/cargo-core-api-container/1.2.0/cargo-core-api-container-1.2.0-tests.jar, file:/Users/myuser/.m2/repository/org/codehaus/cargo/cargo-core-api-util/1.2.0/cargo-core-api-util-1.2.0-tests.jar, file:/Users/myuser/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar, file:/Users/myuser/.m2/repository/jmock/jmock-cglib/1.2.0/jmock-cglib-1.2.0.jar, file:/Users/myuser/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar, file:/Users/myuser/.m2/repository/commons-vfs/commons-vfs/1.0/commons-vfs-1.0.jar]
[INFO] [DeployerRedeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-jboss:jar:1.2.0 for container jboss71x
[DEBUG] Performing deployment action into [JBoss 7.1.x Remote]...
[DEBUG] Initial deployable values: groupId = [null], artifactId = [null], type = [null], location = [null]
[DEBUG] Computed deployable values: groupId = [com.myco.eventmaven], artifactId = [event-maven], classifier = [null], type = [war], location = [/Users/myuser/workspace/event-maven/target/event-maven-1.0-SNAPSHOT.war]
[DEBUG] Redeploying [/Users/myuser/workspace/event-maven/target/event-maven-1.0-SNAPSHOT.war] ...
Mar 5, 2012 1:28:54 PM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.3.GA
Mar 5, 2012 1:28:54 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.3.GA
Mar 5, 2012 1:28:54 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.2.GA
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.641s
[INFO] Finished at: Mon Mar 05 13:28:58 CST 2012
[INFO] Final Memory: 18M/101M
S. Ali Tokmen wrote:
Hi Dave
I would suggest you send a FULL pom once you're done with your trials,
we can then easily judge where the problem comes from.
I've realized something else: your containerId is set to jboss7x. JBoss
7.1.x works better when containerId is set to jboss71x.
Have a nice weekend
S. Ali Tokmen
http://ali.tokmen.com/GSM (ch): +41 79 207 29 22 [Swisscom]
GSM (fr): +33 7 70 10 33 79 [Virgin Mobile]
GSM (tr): +90 555 266 52 73 [Avea]
My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on
http://contact.ali.tokmen.comOn 2012/03/02 23:42, laredotornado wrote:
> Please disregard my previous message as I still have some additional
> configurations to do. I noticed that even if I change my port to something
> that clearly doesn't exist ...
>
> <cargo.jboss.management.port>1</cargo.jboss.management.port>
>
> I get a "BUILD SUCCESS" message. So my app was probably never deployed in
> the first place. - Dave
>
>
>
> S. Ali Tokmen wrote:
>> Hi Dave
>>
>> You can find a full sample in here:
>>
http://cargo.codehaus.org/Maven2+Archetypes#Maven2Archetypes-remote>>
>> In your case:
>>
>> * The container type is not specified correctly, it should be runtime
>> * Version 1.1.3 is not a good idea, you should try with the latest and
>> greatest 1.2.0
>>
>> Cheers
>>
>> S. Ali Tokmen
>>
http://ali.tokmen.com/>>
>> GSM (ch): +41 79 207 29 22 [Swisscom]
>> GSM (fr): +33 7 70 10 33 79 [Virgin Mobile]
>> GSM (tr): +90 555 266 52 73 [Avea]
>>
>> My AIM, ICQ, MSN Messenger and Yahoo IM
>> contact details are on
http://contact.ali.tokmen.com>>
>>
>> On 2012/03/01 23:48, laredotornado wrote:
>>> 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
>>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email