You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/10/02 10:39:00 UTC
[jira] [Resolved] (KARAF-5332) bin/stop script fails when
KARAF_DEBUG is set
[ https://issues.apache.org/jira/browse/KARAF-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-5332.
-----------------------------------------
Resolution: Fixed
> 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
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 4.2.0, 4.1.3, 4.0.11
>
>
> The {{bin/stop}} script fails with the following error when {{KARAF_DEBUG}} is set:
> {code}
> 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)