Feeds:
Posts
Comments

Archive for the ‘linux’ Category

Using the new Eclipse version 3.4.0 and its subeclipse plugin, I found that my linux svn client has been too old:
svn: This client is too old to work with working copy ‘.’; please get a newer Subversion client
So, I have followed cylindric.net instructions installing via apt-get the 1.5 version of svn client: it works [...]

Read Full Post »

I share with you my rough script for init jboss on Debian.
I have:

taken this from the JPackage Project
simplified and adapted to work on DebianSarge with lsb functions.

I have tested compliance with HA LSB semplified rules and seems working.
I’m not very famliar with shell scripts , if you can get better I’m happy to learn. [...]

Read Full Post »

#!/bin/sh
#
# Startup script for JBoss takenm and modified by my hands,
# from JPackage Project
# It is under the same license terms

# Source LSB function library.
[ -f /lib/lsb/init-functions ] && . /lib/lsb/init-functions

#———————————————
# Begin Java and Jboss trivial Confgiuration params
#———————————————
JBOSS_HOME=/usr/local/jboss/jboss-3.2.3
JBOSS_USER=”jboss”
JBOSS_CONFIGURATION=”default”
JAVA_HOME=/usr/lib/j2sdk1.4-sun/
JAVACMD=”$JAVA_HOME/bin/java”
# JAVA_OPTS=”-Xms64M -Xmx128M”
JAVAC_JAR=”$JAVA_HOME/lib/tools.jar”
#———————————————
# End Java and Jboss trivial Confgiuration params
#———————————————

# Set some essential variables
JBOSS_BINDIR=”$JBOSS_HOME/bin”
LOCKFILE=/var/lock/subsys/jboss
PIDFILE=/var/run/jboss.pid
TMPDIR=/var/cache/jboss

# Functions
start ()
{
[...]

Read Full Post »