karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-5332) bin/stop script fails when KARAF_DEBUG is set
Date Mon, 04 Sep 2017 19:22:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-5332:
----------------------------------------
    Fix Version/s: 4.1.3
                   4.2.0

> 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
>
>
> 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)

Mime
View raw message