You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Emily Berk (JIRA)" <ji...@apache.org> on 2017/08/31 16:15:02 UTC
[jira] [Created] (KARAF-5332) bin/stop script fails when
KARAF_DEBUG is set
Emily Berk created KARAF-5332:
---------------------------------
Summary: bin/stop script fails when KARAF_DEBUG is set
Key: KARAF-5332
URL: https://issues.apache.org/jira/browse/KARAF-5332
Project: Karaf
Issue Type: Bug
Affects Versions: 4.1.2
Reporter: Emily Berk
Priority: Minor
The {{bin/stop}} script fails with the following error when {{KARAF_DEBUG}} is set.
{code}
$ ./bin/stop
ps: illegal argument: o
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-u]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
karaf: Enabling Java debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
<karaf install directory>/bin/karaf: line 152: 970 Abort trap: 6 ${KARAF_EXEC} "${JAVA}" ${JAVA_OPTS} -Djava.endorsed.dirs="${JAVA_ENDORSED_DIRS}" -Djava.ext.dirs="${JAVA_EXT_DIRS}" -Dkaraf.instances="${KARAF_HOME}/instances" -Dkaraf.home="${KARAF_HOME}" -Dkaraf.base="${KARAF_BASE}" -Dkaraf.data="${KARAF_DATA}" -Dkaraf.etc="${KARAF_ETC}" -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir="${KARAF_DATA}/tmp" -Djava.util.logging.config.file="${KARAF_BASE}/etc/java.util.logging.properties" ${KARAF_SYSTEM_OPTS} ${KARAF_OPTS} ${OPTS} -classpath "${CLASSPATH}" ${MAIN} "$@"
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)