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.
1. Create web-app and set it's context path to "with space" 2. Execute the web-app Deployment hangs. App is visible under webmodules, but cannot be started, stopped, or undeployed.
How about this quick hotfix? It could be solved better, but it works. RCS file: /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatModule.java,v retrieving revision 1.5 diff -w -b -r1.5 TomcatModule.java 57c57 < return target.getServerUri () + path; --- > return target.getServerUri () + path.replaceAll(" ", "%20"); Index: TomcatManagerImpl.java =================================================================== RCS file: /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java,v retrieving revision 1.31 diff -w -b -r1.31 TomcatManagerImpl.java 336c336,338 < urlToConnectTo = new URL(uri + command); --- > String withoutSpaces = (uri + command).replaceAll(" ", "%20"); //NOI18N > urlToConnectTo = new URL(withoutSpaces); >
Fixed in trunk
c
Verified in build from 24.5.2004