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.

Bug 48855 - Failure when excuting a web module with international character in docBase
Summary: Failure when excuting a web module with international character in docBase
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: TOMCAT
Depends on:
Blocks:
 
Reported: 2004-09-10 15:51 UTC by orat
Modified: 2004-10-13 09:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Extract from tomcat logfile (6.60 KB, text/plain)
2004-09-10 15:57 UTC, orat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orat 2004-09-10 15:51:33 UTC
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.
Comment 1 orat 2004-09-10 15:57:37 UTC
Created attachment 17554 [details]
Extract from tomcat logfile
Comment 2 Sherold Dev 2004-09-20 15:07:42 UTC
This is an error in Tomcat. Filed an issue for it:
http://issues.apache.org/bugzilla/show_bug.cgi?id=31309.
Comment 3 Sherold Dev 2004-09-20 15:49:14 UTC
Changing to WONTFIX.
Comment 4 zikmund 2004-09-20 17:09:45 UTC
Reopening - Tomcat bug should be tracked opened with TOMCAT keyword.
Comment 5 Sherold Dev 2004-10-05 15:27:42 UTC
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" /> 
Comment 6 Sherold Dev 2004-10-13 09:18:41 UTC
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