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 50410 - Tomcat Problem under Japanese Environment
Summary: Tomcat Problem under Japanese Environment
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL: http://issues.apache.org/bugzilla/sho...
Keywords: I18N
: 50610 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-14 10:36 UTC by cropcrusher
Modified: 2006-03-24 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sorry, too late? "message.log" file. (123.16 KB, text/plain)
2004-10-16 03:38 UTC, cropcrusher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cropcrusher 2004-10-14 10:36:33 UTC
Running Web Application by "Run Project" or "Run
File" command does not work under Windows XP
Japanese(NetBeans 4.0 Beta 2 is of course English
version). The error message is:

C:\nonidata\nbref40\TomcatJSPExample\nbproject\build-impl.xml:279:
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException:
Deployment error: String index out of range: -1. 
See the messages.log file for details.

I tried the same operation under Windows XP
English Version and found no problem in running
webapps. One of my friend says it might be the
problem causing by output from Tomcat by japanese
Language.
Comment 1 cropcrusher 2004-10-15 15:22:18 UTC
Additional report: I installed another tomcat 5 to my Windows XP
Japanese Version and edit catalina.bat to work with English Language.
Then I set this "English tomcat" as default server of NB4. This made
web applications work successfully also on  Japanese OS. So I think
there is no doubt the cause of the trouble is Japanere output of
tomcat server. 
Comment 2 Petr Jiricka 2004-10-15 16:16:39 UTC
You didn't attach the log file (messages.log) - can you please attach
it? Thanks.
Comment 3 Sherold Dev 2004-10-15 17:16:54 UTC
Probably just a bug in Japanese localization of Tomcat Manager
application. Filed an issue in Tomcat's bugzilla for it
http://issues.apache.org/bugzilla/show_bug.cgi?id=31732.
Comment 4 cropcrusher 2004-10-16 03:38:38 UTC
Created attachment 18334 [details]
Sorry, too late? "message.log" file.
Comment 5 Sherold Dev 2004-10-19 13:51:10 UTC
*** Issue 50610 has been marked as a duplicate of this issue. ***
Comment 6 Sherold Dev 2004-10-20 09:52:28 UTC
Deployment and other functionality should be fixed now, however 
until related Tomcat issue is fixed, IDE won't be able to open web 
module's context log (this applies only when running under Japanese 
Environment). 
 
Commit log: 
 
Checking in src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java,v  
<--  TomcatManagerImpl.java 
new revision: 1.37; previous revision: 1.36 
done 
Comment 7 Sherold Dev 2004-10-22 13:19:52 UTC
Marking as fixed, since the main problem was solved. Filed a new 
issue 50736 for the context log opening problem. 
Comment 8 Jaroslav Pospisil 2005-12-15 10:17:22 UTC
VERIFIED