Questions tagged [maven-cargo]

A Maven plugin that allows you to interact (start, deploy, stop, ...) with common J2EE servers.

Cargos

Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way.

Official site : http://cargo.codehaus.org/Home

140 questions
0
votes
0 answers

cargo-maven3-plugin: unable to add datasource

I am trying to configure datasources on a Tomcat using Cargo to allow people doing local tests of the software. When I start the application using cargo, I have the following error: SEVERE: Exception sending context initialized event to listener…
Sixro
  • 402
  • 4
  • 16
0
votes
1 answer

How to force the Cargo Maven Plugin to produce Errors rather then Infos or Warnings when deploy fails?

I am using the cargo maven plugin to deploy my application into a glassfish container for integration test: org.codehaus.cargo cargo-maven2-plugin
Matthias
  • 1
  • 1
0
votes
0 answers

Using Maven Cargo to Upload a Folder to a Remote UNIX system

I am thinking if this is possible. I am creating a resource/properties folder using maven and maven-ant-run-plugin. After the folder is created, I want to upload it to a remote UNIX server's file system. Is there a way I can do it using maven-cargo?…
hell_storm2004
  • 1,401
  • 2
  • 33
  • 66
0
votes
1 answer

Running 2 webapps with maven Cargo?

I've got 2 applications (as WAR files) that I need to run on pre-integration phase before executing my test scenarios. I've already configure the maven cargo plugin like this : org.codehaus.cargo
0
votes
1 answer

Maven Cargo Plugin Multiple Executions: Username and Password are Mandatory

I am trying to use the Cargo plugin to deploy to a simple Tomcat clustered environment, with two Tomcat nodes: tomcat1 (192.168.10.21) tomcat2 (192.168.10.22) When attempting to run mvn cargo:deploy I get the following error: [ERROR] Failed to…
Jason
  • 3,943
  • 12
  • 64
  • 104
0
votes
0 answers

Is there a way to run application with maven cargo:run and attach debugger automatically in idea?

I have a run configuration in Idea which runs cargo:run maven goal. In order to debug it, I need to wait until weblogic starts listening at debugger port: Listening for transport dt_socket at address: 9005. Then I can attach debugger with remote…
0
votes
1 answer

Using VisualVM with Maven Cargo

We use Maven Cargo to launch our service locally and run tests on it. Here is the configuration of the plugin: org.codehaus.cargo cargo-maven2-plugin
payne
  • 4,691
  • 8
  • 37
  • 85
0
votes
1 answer

maven cargo plugin with tomcat6

I'm trying to setup maven cargo plugin. I have the following requirements: tomcat 6 custom server.xml custom context.xml log4j jar deployed to tomcat lib install tomcat on the machine if it's not there already tie to maven's install lifecycle phase…
Kevin
  • 24,871
  • 19
  • 102
  • 158
0
votes
1 answer

Simple WAR file merging - overwriting first WAR file with second WAR file

I want to simply merge two WAR files, overwriting corresponding files in first WAR with files from second WAR i.e. output WAR will contain web.xml from second WAR if one was present there. I am trying to use cargo-maven2-plugin but I have problems…
L. Rother
  • 41
  • 1
  • 5
0
votes
1 answer

Maven cargo during merging web.xml not include all error-page

I trying to merge two war files using maven cargo plugin. The problem is that. I have only one web.xml in one archive. Other archives not include web.xml. So the situation looks like below: first.war --> with web.xml second.war --> without…
Michał Ziembiński
  • 1,124
  • 2
  • 10
  • 31
0
votes
0 answers

Hot deployment of JavaEE applications using Maven-Cargo pluin

I am using maven-cargo plugin for deployment of a very simple JavaEE application. And I was able to run and deploy to jboss but the hot deployment of the class files and jsps is not working. (By hot deployment I mean when I change my Java classes…
Deep
  • 929
  • 2
  • 16
  • 32
0
votes
1 answer

How to specify core.cargo.version to use in cargo-maven2-plugin

I am trying to upgrade my existing maven application to use tomcat 7.10 and above. On 7.8 I use the cargo-maven2-plugin to startup the tomcat container and deploy the webapp, this works fine. On 7.10 and above this fails with the error: [WARNING]…
Matt Wheeler
  • 455
  • 2
  • 10
0
votes
1 answer

Modifying configs files in my.war/WEB-INF/ before deploying on Tomcat for integration tests

I have REST client/server application based on a Jetty Servlet That I deploy on Tomcat. The client and servers and two different modules. I have also created a third module (webapp-tests) that is only responsible for launching integration tests. I…
Raphael Jolivet
  • 3,940
  • 5
  • 36
  • 56
0
votes
1 answer

slight url mismatch while publishing java 6 maven webapp to tomcat from netbeans

Honestly I've started this small maven webapp using eclipse 3.6 (STS) and i found it so complicated that i had to switch to netbeans.I really wanted to use eclipse but these are reality on the ground.So at the end of everything I'll like to have an…
black sensei
  • 6,528
  • 22
  • 109
  • 188
0
votes
1 answer

Cargo Maven plugin Token Replacement

I am using cargo-maven plugin and I am trying to use token replacement feature of the plugin. Somehow its not working for me. I think I dont know how to represent token so that cargo can replace it with the value. Here is my plugin config …
Sahil
  • 121
  • 9