how to set URIEncoding="UTF-8" for nuxeo server?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2013 12:31 PM
Hi, if I try to edit server.xml adding URIEncoding="UTF-8" to Connector, when I restart nuxeo, server.xml is overwritten and I lose my changes.
Tnx in advance, M.
1 REPLY 1

Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2013 02:02 PM
The server.xml is generated from conf/server.xml.nxftl in templates/common-base.
It is bad practice to directly modify the standard templates though, instead you should create your own template with your own conf/server.xml/nxftl that will override the one from the standard template:
- create a directory for your template (let's call it mytemplate)
- create a mytemplate/nuxeo.defaults file with the line: mytemplate.target=.
- add your custom server.xml.nxftl in mytemplate/conf/server.xml.nxftl
- add your template to nuxeo.conf: nuxeo.templates=default,/path/to/mytemplate (just add /path/to/mytemplate to what you currently use)
Edit: see Configuration Templates and related pages for more about templates.
