This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

YAML-Configurable Java Application Wrapper

Project Description

YAML-Configurable Java Application Wrapper

Features

Launch your Java application more safely, explicitly, and flexibly!

This script does …

  • (before the launch)
    • Load settings from a YAML file
    • Verify the OS user name and Java version
    • Check if the application has already been running when duplicate running is prohibited
    • Execute pre-launch commands
    • Log to syslog
  • Launch the Java application with the proper options
  • (after the launch)
    • Log to syslog
    • Execute post-launch commands

Dependencies

  • Python: 2.6 / 2.7 / 3.2 / 3.3 / 3.4
  • pyyaml
  • six

Installation

  • pip command may require sudo
Operation Command
Install pip install javactl
Upgrade pip install --upgrade javactl
Uninstall pip uninstall javactl
Check installed version javactl --version
Help javactl -h
  • Then, write your configuration to the file your-app.yml.

See the example below.

Configuration Example

See this example.

Now Launch Your Application

  • Dry-run mode
javactl --check /path/to/your-app.yml
  • Launch the java application
javactl /path/to/your-app.yml
  • Launch with arguments
javactl /path/to/your-app.yml --option-for-your-app arg1 arg2

That’s it!

Release History

Release History

This version
History Node

0.2.0

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
javactl-0.2.0.tar.gz (39.3 kB) Copy SHA256 Checksum SHA256 Source Nov 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting