Questions tagged [cargo]

Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way. It is often used to start containers for integration and functional tests, especially with Maven or Ant. DO NOT use this for the Rust-related tool; use "rust-cargo" instead.

Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way. It is often used to start containers for integration and functional tests, especially with Maven (Cargo - Maven) or Ant (Cargo - Ant). Another use case is to create configurations and doing the deployments for the application.

Cargo provides the following Tools and APIs:

  • A Java API to start/stop/configure Java Containers and deploy modules into them.
  • A Java API to parse/create/merge Java EE Modules
  • Ant tasks and Maven 2/Maven 3 plugins.
319 questions
0
votes
1 answer

Glitch in pages transition

I hope you are fine. I am currently creating my portfolio on Cargo, it is almost finished but I have a small problem. There is regularly a glitch that appears when changing pages, it appears some frames and it's quite random. Is there a way to limit…
0
votes
0 answers

Embed Chatango in my Cargo built website using HTML

Hello Chatango is giving me the following code to embed into my site: in Custom HTML Field on Cargo Collective
i accidentally deleted it and saved it, and the i refreshed the site and everything is just a blank white screen. i cant even see my admin page, though i can still login. help!! I'm trying to find a way to use a proxy tool to intercept the HTTP…
0
votes
1 answer

Event Member Role Update

I'm trying to make an event that when someone gives a position to another member or places the position on himself with the administrator's permission, the bot will recognize and punish the member (but it is not acknowledging or activating the event…
0
votes
1 answer

Deploy on a remote server war + conf (cargo?)

I'm searching for something that can deploy on an application server (tomcat) a war and its relative context.xml file and/or a properties file for the application. The problem is that the properties file should be in classpath of the application…
rascio
  • 8,968
  • 19
  • 68
  • 108
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
2 answers

Cargo Collective - Photoswiper / "Zoom" feature

I am trying to customize the Lightbox/zoom feature in Cargo Collective, believe it uses Photoswiper. As of now it fills the whole screen and would like to be able to control the size so it does not cover the top and bottom nav bars. Can I add some…
0
votes
2 answers

Hover Images on Mobile

I have a hover image feature on my website that has been built with CARGO Collective. I have added the hover feature to the CSS which works fine, however these hover images don't appear on mobile. My question is how can I add to the CSS to make them…
0
votes
1 answer

Setting cargo.tomcat.valve values in a build.gradle file

What I am trying to do: I want to add a AccessLogValve to the tomcat server.xml so that I can log custom header values. (ref: https://jfrog.com/knowledge-base/how-can-i-log-custom-request-headers-using-the-tomcat-access-log-valve/) Problem I am…
JoeyHolloway
  • 458
  • 7
  • 19
0
votes
2 answers

Maven-Cargo integration test crashing due to spring version uncompatibility

I am developing an integration test involving a couple of webapps, but when compiling using maven, a linkageError is given due to version inconsistency between spring and spring context, even though I use the same version for both of them. The…
Josep
  • 1
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

Tomcat failure to deploy from Cargo plugin via Hudson, NoClassDefFoundError

I am having some issues with a Maven profile setup to run HtmlUnit test cases. The profile uses the Maven Cargo plugin to deploy the application and then subsequently run interface tests with HtmlUnit on the deployed application. On my local…
BVSmallman
  • 601
  • 3
  • 9
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

Cargo: finding out the state of an already-installed container

I'm trying to use Cargo to manage containers from a webapp on the same machine as the containers. So far, I've been able to do most things, but I'm stuck when it comes to finding out the state of container when I first start my manager app. When I…
Daniel
  • 10,115
  • 3
  • 44
  • 62
0
votes
0 answers

Maven Cargo deploying war file to LibertyServer but won't run

I'm using Maven Cargo to deploy and run a war file on a WebSphere Liberty server. Below is the profile I'm using: integration
Spinners
  • 1
  • 6