This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When a docBase with international character (รค - German umlaut a in my case) is set in context.xml then the character is not converted to encoding of the native filesystem before traing to load files. (See attached extract from tomcat logfile.
Created attachment 17554 [details] Extract from tomcat logfile
This is an error in Tomcat. Filed an issue for it: http://issues.apache.org/bugzilla/show_bug.cgi?id=31309.
Changing to WONTFIX.
Reopening - Tomcat bug should be tracked opened with TOMCAT keyword.
A workaround for this is to set the URIEncoding attribute in the http connector element in tomcat's server.xml config file to "utf-8". e.g.: <Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" URIEncoding="utf-8" disableUploadTimeout="true" />
Bundled Tomcat has now the http connector's "URIEncoding" attribute preset to "utf-8". In external Tomcat is this however still left up to the users. Commit log: Checking in src/org/netbeans/modules/tomcat5/TomcatManager.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v <-- TomcatManager.java new revision: 1.60; previous revision: 1.59 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd,v <-- tomcat5_server.dtd new revision: 1.4; previous revision: 1.3 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java,v <-- TomcatInstallUtil.java new revision: 1.12; previous revision: 1.11 done