ConfigurationGenerator needs to strip spaces before/after values
----------------------------------------------------------------

                 Key: NXP-5544
                 URL: https://jira.nuxeo.org/browse/NXP-5544
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.4-SNAPSHOT
            Reporter: Mathieu Guillaume
            Assignee: Julien Carsique


The ConfigurationGenerator doesn't seem to strip extraneous spaces present in 
the configuration files, which can lead to some errors.

The following happened to me when uncommenting the nuxeo.bind.address line 
(which currently has a space at the end in the default nuxeo.conf):

WARN  [ServiceController] Problem creating service 
jboss.remoting:service=Connector,transport=socket
java.net.MalformedURLException: Illegal character in authority at index 9: 
socket://0.0.0.0 
:4446/?dataType=invocation&enableTcpNoDelay=true&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller
        at org.jboss.remoting.InvokerLocator.URIParse(InvokerLocator.java:318)
        at org.jboss.remoting.InvokerLocator.parse(InvokerLocator.java:267)
        at org.jboss.remoting.InvokerLocator.<init>(InvokerLocator.java:247)
        at org.jboss.remoting.transport.Connector.init(Connector.java:393)
        at org.jboss.remoting.transport.Connector.create(Connector.java:815)

Removing the space at the end of the line fixes that error.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to