You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jan Gonsalves (JIRA)" <ji...@apache.org> on 2014/07/21 22:26:38 UTC

[jira] [Created] (KARAF-3132) Trailing whitespace on property hangs karaf at startup

Jan Gonsalves created KARAF-3132:
------------------------------------

             Summary: 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.  

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



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