[ https://issues.apache.org/jira/browse/FELIX-6629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6629. ------------------------------------- Resolution: Fixed > Cannot create factory configuration when Felix WebConsole is running in Tomcat > ------------------------------------------------------------------------------ > > Key: FELIX-6629 > URL: https://issues.apache.org/jira/browse/FELIX-6629 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-4.8.12 > Reporter: Serge Huber > Assignee: Carsten Ziegeler > Priority: Major > Fix For: webconsole-4.9.0 > > > The code used when creating a new OSGi factory configuration uses the > following placeholder PID : > [Temporary PID replaced by real PID upon save] > (found in the code at > https://github.com/apache/felix-dev/blob/master/webconsole/src/main/java/org/apache/felix/webconsole/internal/configuration/ConfigurationUtil.java) > While this might work with some HTTP servers, Tomcat does not allow the > square brackets as they are not encoded and not allowed in the URL as they > are reserved characters. One way around this is to configure the > relatedPathChars in > https://tomcat.apache.org/tomcat-10.1-doc/config/http.html#Standard_Implementation > to allow the brackets but this should only be considered as a workaround, a > better solution would be to use an URL-compliant placeholder such as : > __Temporary PID replaced by real PID upon save__ > I can propose a PR if this solution seems acceptable. -- This message was sent by Atlassian Jira (v8.20.10#820010)