This page last changed on Jun 02, 2010 by alitokmen.

Mission

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

Tools

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, Maven 1, Maven 2 plugins.
    • Intellij IDEA and Netbeans plugins are in the sandbox.

Usage

Cargo is often used to deploy applications to containers from ant or maven builds.  Cargo can install the container and dependencies needed for your deployment as well.   Click here for a Maven 2 quick start!

For more use cases, please check the utilisation page.

Development Status

Current Versions

click in the status column to get release notes:

Version Status Comments
Core 1.0.1 Released on 02/06/10

All released versions are available here.

Container Support

List of supported containers and the extensions that are implemented for each container (Java API, Ant tasks and Maven plugins). The specified version is the version of the associated Cargo module where the feature was first made available (for example 0.2 for the Maven2 plugin means version 0.2 of the Cargo Maven 2 extension release). Click on a container's name to see a detailed list of features it supports.

Container Java API(version) Ant tasks(version) Maven 1 plugin(version) Maven 2 plugin(version)
Geronimo 1.x
0.8

0.8

0.8

0.2
Glassfish 2.x
1.0.1

1.0.1

1.0.1

1.0.1
Glassfish 3.x
1.0.1

1.0.1

1.0.1

1.0.1
JBoss 3.x
0.7

0.7

0.7

0.1
JBoss 4.x
0.7

0.7

0.7

0.1
JBoss 4.2.x
1.0

1.0

1.0

1.0
JBoss 5.x
1.0

1.0

1.0

1.0
JBoss 5.1.x
1.0.1

1.0.1

1.0.1

1.0.1
JBoss 6.x
1.0.1

1.0.1

1.0.1

1.0.1
Jetty 4.x
0.1

1.0

1.0

0.2
Jetty 5.x
0.8

1.0

1.0

0.2
Jetty 6.x
0.8

1.0

1.0

0.2
Jetty 7.x
1.0.1

1.0.1

1.0.1

1.0.1
jo! 1.x
0.5

0.5

0.5

0.1
JOnAS 4.x
1.0

1.0

1.0

1.0
JOnAS 5.x
1.0

1.0

1.0

1.0
JRun 4.x
1.0

1.0

1.0

1.0
Oc4J 9.x
0.3

0.3

0.5

0.1
Oc4j 10.x
1.0

1.0

1.0

1.0
Resin 2.x
0.1

0.1

0.5

0.1
Resin 3.x
0.1

0.1

0.5

0.1
Tomcat 4.x
0.1

0.1

0.5

0.1
Tomcat 5.x
0.1

0.1

0.5

0.1
Tomcat 6.x
1.0

1.0

1.0

1.0
WebLogic 8.x
0.3

0.3

0.5

0.1
WebLogic 9.x
1.0

1.0

1.0

1.0
WebLogic 10.x
1.0

1.0

1.0

1.0
WebLogic 10.3.x
1.0

1.0

1.0

1.0


We also encourage you to report success and failures on different versions of those containers in the Tested on section.

News

Last changed Jun 02, 2010 22:13 by S. Ali Tokmen

CARGO 1.0.1 is now available !

1 year and 3 months after CARGO 1.0, the CARGO team is proud to announce the immediate availability of CARGO 1.0.1.

This new version fixed 36 bugs, takes into account 13 improvements and 7 new features.

New containers

CARGO 1.0.1 supports new containers:

  • Glassfish 3.x
  • JBoss 5.1 and 6.0 milestones
  • Jetty 7.x from eclipse.org

Also, support of existing containers has been improved. For example:

  • JBoss 5 is now stable
  • All JBoss versions support the username and password arguments
  • JOnAS 5 supports the modern JOnAS 5.1 releases
  • Memory-related arguments are now taken into account for all containers
  • The "username" attribute bug on modern Tomcat versions has been fixed
  • ...

New features

Apart from new containers, CARGO 1.0.1 has two main new features:

  • ANT tasks can now also be used for configuring a container (without start)
  • CARGO can now start and stop remote containers via ssh. Note that we did not completely finish that feature yet, try at your own risk

Improvements

On the improvements side, we have:

  • All container implementations now rely on the discovery mechanisms, instead of having manual entries in the CARGO core
  • The samples and Maven plugin now just use the uberjar. This ensures that the uberjar is complete.
  • When running the samples, they now all use random ports.
  • When running cargo:start and then cargo:stop, CARGO doesn't display logs twice anymore.
  • ...

You can get the full release notes via http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10730&version=15230

To download CARGO, please visit http://cargo.codehaus.org/Downloads

Finally, Maven users actually don't care about downloading CARGO; Maven can do everything by itself:

Enjoy !

Posted at Jun 02, 2010 by S. Ali Tokmen | 0 comments | Edit
Last changed Apr 16, 2009 11:27 by Adrian Cole

Cargo 1.0 Released!

The Cargo community is pleased to announce the release of Cargo 1.0!

Homepage: http://cargo.codehaus.org/
Download: http://cargo.codehaus.org/Downloads

This is a major release of Cargo, including the following major improvements:

New Features

  • Multiple DataSource and Resource support via Maven/Ant/Java properties (CARGO-608)
    • Including support for Tomcat, WebLogic, OC4J, Resin
  • Transactional DataSource configuration support (CARGO-644)
    • Including support for WebLogic and OC4J
  • JBoss Clustering Support for Deploying to farm directory (CARGO-535)
  • Support for Servlet 2.4 web.xml files (CARGO-534)
  • Add configuration option to allow JVM to be specified (CARGO-480)

New Containers

  • Tomcat 6.x (CARGO-563)
  • Jetty 6.x (CARGO-32)
  • JBoss 4.2x (CARGO-562)
  • WebLogic 8.1-10.3x (CARGO-636)
  • JOnAs 4-5.x (CARGO-94)

Experimental Containers

  • JRun 4.x
  • JBoss 5.x
  • Jetty 7.x

There were of course many other improvements and bug fixes. Have a look at our Jira for more information.

Enjoy Cargo 1.0!

-Adrian Cole

Posted at Apr 16, 2009 by Adrian Cole | 0 comments | Edit

architecture.jpg (image/jpeg)
architecture.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
access-layers.jpg (image/jpeg)
Document generated by Confluence on Jun 02, 2010 22:47