- Wordpress Upgrade shell Script - plugins, themes, crontab and more!
- Wordpress install script
- Setup mail hosting on Debian Squeeze and other distros using postfixadmin
- Setting up Domains Keys (DKIM) on Postfix
- Restoring an Exploited Wordpress files
- rdiff-backup script using sshfs for larger backups
- Quick and easy iptables blocking and firewalling basics
- Quick and Easy Automatic Backup Script
- PCI compliance - a basic HOWTO
- Mysql Master/Master Replication & File sync for quick easy scaling or load balance
- Kernel 4.14 LTS released
- HOWTO videos for Rimuhosting Control Panel on youtube
- Fixing broken permissions or ownership
- Easy Peasy Linux Firewalling - iptables
- Your Let’s Encrypt client used ACME TLS-SNI-01 domain validation to issue
- Solve Letsencrypt (including Certbot) problems caused by rogue .htaccess files
- New Zealand-Based RimuHosting — Striving to Help Tech-Savvy Businesses Across the Globe Put Down Their Roots for Strong Online Growth
- Certbot/Letsencrypt with Apache and Tomcat using proxypass
- Debian Stretch and old installs
- Ubuntu 18.04 available
- Drupal Exploits – script to detect versions
- 32 to 64 bit distro crossgrades for Debian and Ubuntu
- Modernizing your ancient server distro
- Spectre and Meltdown article roundup
- Kernel 4.14 LTS released
- Letsencrypt with Zonomi and Rimuhosting name servers using hooks
- Virtualmin Changes binding from ip:80 to *:80 and breaks older configs … FIX
- Reboot-less Xen patching
- DKIM and subaddressing added to 25mail.st
- Whitelist your own computer in fail2ban
- Lets Encrypt with Virtualmin
- ClamAV: mpool_malloc and disk space
- Using Fail2ban on wordpress wp-login.php and xmlrpc.php
- Using Ansible to manage your VPSs – Part Two
Subscribe to Posts via Email
Tag Archives: jboss
One of the services we provide includes maintaining a set of installer scripts for automating common tasks and setups our customers like to use. Those help you by taking the pain and time out of getting setup and serving the … Continue reading
JBoss Application Server (or JBoss AS) is an open-source Java EE-based application server. It has been optimized for multiples cores, it has a very fast startup time and a great low memory consumption. We have created a new version of … Continue reading
There is a JBoss exploit out in the wild. See http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0738 and https://access.redhat.com/kb/docs/DOC-30741 for details.
Need an init script for a Java service? Like tomcat, liferay, or jboss?
Regular Linux init scripts often don't work so well. e.g. Java apps typically want to be run by a particular user (e.g. tomcat or liferay). e.g. They may require a 'special' shutdown mechanism (e.g. with Tomcat sending a signal to a particular port).
So over the years I have had a handy-dandy script that can control most of my most commonly used Java apps (liferay, tomcat, jboss).
It does things like start up the app as a particular user. Checks to ensure the app is responding on a URL before saying it is stared. Waits for the app to shutdown gracefully, else forces it to quit. And provides kill and killstart commands when you're developing and just want the thing restarted!
This morning I updated it to use the lsb logging methods. So the output is a bit prettier than the 'old' echo's we used to use.
The current version of the file will live at http://proj.ri.mu/javainitscript
To use it wget that to the /etc/init.d directory on your server. Then rename (or symlink) it to the service you want to control. Currently the tomcat, liferay and jboss names are supported.
Some excerpts from the script follow... Continue reading