Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148461 - www-servers/jboss-3.2.5 - /etc/init.d/jboss stop - doesn't stop jboss
Summary: www-servers/jboss-3.2.5 - /etc/init.d/jboss stop - doesn't stop jboss
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 64795
Blocks:
  Show dependency tree
 
Reported: 2006-09-21 00:19 UTC by Steve Carr
Modified: 2008-01-26 19:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Carr 2006-09-21 00:19:19 UTC
OK so the package was modded to use the old java layout (compile with 1.4) but JBoss's init script seems to be invoking it with java 1.5 ala:

cookiemonster ~ # ps -fU jboss
UID        PID  PPID  C STIME TTY          TIME CMD
jboss     8309     1  0 Sep20 ?        00:00:00 /bin/sh /usr/share/jboss/bin/run.sh -b 0.0.0.0 -c default
jboss     8317  8309  0 Sep20 ?        00:01:12 /opt/ibm-jdk-bin-1.5.0.2/bin/java -Djboss.server.temp.dir=/var/tmp/jboss -Djboss.server.data.dir=/var/cache/jb

I'm not sure if this is related but the main problem that i have is that issuing "/etc/init.d/jboss stop" will not shutdown the jboss server, I have to give it a kill -9 to stop it.

Is there any extra configuration that is needed to get JBoss off the ground? i did notice there was a bind address in the /etc/conf.d/jboss file, is this fine to be left at 0.0.0.0 or does it want a valid IP to actually bind to.
Comment 1 Steve Carr 2007-04-16 13:17:12 UTC
Any move on this? it's been new for 6 months.
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2007-04-17 06:05:43 UTC
(In reply to comment #1)
> Any move on this? it's been new for 6 months.
> 

Steve, would you be able to provide your emerge --info and output from java-check-environment.

It seems that your system vm is 1.5, currently.  Are you able to reproduce this using a 1.4 java vm?  I have attempted to reproduce this using blackdown-jdk-1.4 but am unable to.

Also the 0.0.0.0 is normal,  it just means that the server will don't to all networks ( eth0 and lo normally )
Comment 3 Steve Carr 2007-04-17 12:21:08 UTC
cookiemonster ~ # emerge --info
Portage 2.1.2.2 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r5 ppc)
=================================================================
System uname: 2.6.20-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Apr 2007 04:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec apache2 arts berkdb bitmap-fonts bonobo cdr clamav cli cracklib crypt cups curl dri dvd dvdr eds emboss encode esd fam firefox fortran freetds gdbm gif gnome gpm gstreamer gtk gtkhtml iconv ieee1394 imap ipv6 isdnlog java jpeg kde ldap libg++ libwww mad midi mikmod mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly objc oci8-instant-client odbc ogg opengl oracle pam pcre pdf perl php png ppc pppd python qt3 qt4 quicktime readline reflection ruby samba sasl sdl session spell spl sqlite ssl tcl tcpd tk truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY


cookiemonster ~ # java-check-environment 
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many respects.
 * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details

 * Checking vm_environment_files ...                                                          [ ok ]

 * Checking user_settings ...
 * Running as root. Don't need to check user settings.                                        [ ok ]

 * Checking generation_1_system_vm ...                                                        [ ok ]

 * Checking virtual_provides ...                                                              [ ok ]

 * Checking overlays_eclasses ...                                                             [ ok ]

 * Java environment is sane. Congratulations!
Comment 4 Alistair Bush (RETIRED) gentoo-dev 2007-04-18 06:50:48 UTC
Steve, have you been able to reproduce this using a 1.4 vm?

Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-01-09 06:46:09 UTC
Last rited: http://archives.gentoo.org/gentoo-dev-announce/msg_00069.xml
Comment 6 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-01-26 19:10:33 UTC
Closing bug. Removed from tree, till we get a maintainer and current version
from source.