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.
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.
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.
You didn't attach the log file (messages.log) - can you please attach it? Thanks.
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.
Created attachment 18334 [details] Sorry, too late? "message.log" file.
*** Issue 50610 has been marked as a duplicate of this issue. ***
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
Marking as fixed, since the main problem was solved. Filed a new issue 50736 for the context log opening problem.
VERIFIED