karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Gonsalves (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-3132) Trailing whitespace on property hangs karaf at startup
Date Mon, 21 Jul 2014 20:26:39 GMT

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

Jan Gonsalves updated KARAF-3132:
---------------------------------

    Description: 
Ran into an issue starting Karaf locally where the karaf would not fully start up.  In this
state, running "la" at the command prompt showed the web console was hung in "starting' mode
and never completed.  The root cause was a trailing whitespace at the end of the property
"org.osgi.service.http.port" in the "org.ops4j.pax.web.cfg" file.  

causes karaf to hang:
org.osgi.service.http.port=8581  

allows the server to succeed:
org.osgi.service.http.port=8581 

All properties pulled in should use trim() and values that are expected to be numbers should
be checked for validity.  Would also be nice if some type of error message could have been
found, no error was ever found.  

  was:
Ran into an issue starting Karaf locally where the karaf would not fully start up.  In this
state, running "la" at the command prompt showed the web console was hung in "starting' mode
and never completed.  The root cause was a trailing whitespace at the end of the property
"org.osgi.service.http.port" in the "org.ops4j.pax.web.cfg" file.  

|org.osgi.service.http.port=8581 | causes karaf to hang
|org.osgi.service.http.port=8581| allows the server to succeed.  

All properties pulled in should use trim() and values that are expected to be numbers should
be checked for validity.  Would also be nice if some type of error message could have been
found, no error was ever found.  


> Trailing whitespace on property hangs karaf at startup
> ------------------------------------------------------
>
>                 Key: KARAF-3132
>                 URL: https://issues.apache.org/jira/browse/KARAF-3132
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: cellar-2.3.0
>         Environment: This was discovered on a Windows machine, but seems hardware/OS
independent.  
>            Reporter: Jan Gonsalves
>
> Ran into an issue starting Karaf locally where the karaf would not fully start up.  In
this state, running "la" at the command prompt showed the web console was hung in "starting'
mode and never completed.  The root cause was a trailing whitespace at the end of the property
"org.osgi.service.http.port" in the "org.ops4j.pax.web.cfg" file.  
> causes karaf to hang:
> org.osgi.service.http.port=8581  
> allows the server to succeed:
> org.osgi.service.http.port=8581 
> All properties pulled in should use trim() and values that are expected to be numbers
should be checked for validity.  Would also be nice if some type of error message could have
been found, no error was ever found.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message