Running Cargo Tracker with WebLogic

It is possible to run Cargo Tracker on WebLogic with any Maven capable IDE or without an IDE. In the following instructions we will outline how to do so specifically with NetBeans. The instructions should be generally helpful with running the application any other way using WebLogic such as in another Maven capable IDE like IntelliJ. Note that we currently do not recommend Eclipse due to it’s weak support of Maven. For detailed reasons why this is the case, please look here.

Installing and Configuring WebLogic

The first step to running Cargo Tracker on WebLogic is properly installing and configuring the application server. For GlassFish this is a trivial matter of unzipping the downloaded distribution anywhere in the file system. For WebLogic the instructions are more involved. We have outlined the instructions that should work for Cargo Tracker below.

Running Cargo Tracker on WebLogic with NetBeans

The Cargo Tracker NetBeans instructions with GlassFish largely applies to WebLogic. In this section we will focus on the differences instead of repeating what is common. It will help to open those instructions on another browser tab and flip back and forth with this page.

Running Cargo Tracker with Cargo

Cargo Tracker includes support for running the application using the Cargo Maven plug-in. As a result you can get the application running simply by entering “mvn cargo:run” in the project directory. Under the hood the Cargo Maven plug-in downloads GlassFish, installs the application server and runs the application against it. This is provided as a convenience quick start of the application that requires minimal effort - certainly avoiding application server setup or an IDE. This is possible because GlassFish can be installed and run by simply unzipping a distributable. Unfortunately a similar minimalist quick start with WebLogic is not currently possible due to it’s more involved installation and configuration. As a result we do not currently support running Cargo Tracker using WebLogic via Cargo. Note that Cargo as such does support running against pre-installed and configured WebLogic remote instances. Such support is primarily intended for operational automation rather than the quick start mechanism more relevant for this project.