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.
Summary: | Tomcat installed by installer cannot be registered | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Tomcat | Assignee: | Petr Hejl <phejl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, pjiricka |
Priority: | P1 | Keywords: | SPACE_IN_PATH |
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stack trace from add server instance wizard.
sample test |
Description
Jiri Skrivanek
2011-06-02 09:46:20 UTC
Created attachment 108674 [details]
sample test
For some reason code inside tomcat is throwing exception. The code is simple so it might be something in Windows preventing access. Please try to run the test:
java -cp TestTomcat.jar;C:\path\to\tomcat\lib\catalina.jar;C:\path\to\tomcat\lib\tomcat-coyote.jar testtomcat.TestTomcat
I know how to resolve CNFE, but there might be something wrong anyway.
I'm not able to reproduce in XP.
Fixed in web-main 8af5cd163906. The root cause was usage of File.toURL(). Transplanted to 701 25578f30e02a. Integrated into 'main-golden', will be available in build *201106031000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8af5cd163906 User: phejl@netbeans.org Log: #199102 Tomcat installed by installer cannot be registered Verified. Product Version: NetBeans IDE 7.0.1 Dev (Build 201106052101) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b14 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb) |