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.
Security protected Servlet can't be executed. Steps to reproduce: 1)Mount some web module with well working servlet 2)View properties of web.xml of this web module 3)Swith properties to security tab and: 3.1) Set "Login configuration" to "BASIC" 3.2) Add new security role "tomcat" 3.3)Click on "..." near "Security Constraints", add new resource with valid URI to your servlet, Check "Apply Authorization Constraint" checkbox for this resource. 4)Try to execute your servlet and notice, that error page in browser shown, servlet not executed. Output window: 2002-08-12 19:28:49 ContextConfig[]: No Realm has been configured to authenticate against 2002-08-12 19:28:49 ContextConfig[]: Marking this application unavailable due to previous error(s) 2002-08-12 19:28:49 StandardContext[]: Error initializing naming context for context 2002-08-12 19:28:49 StandardContext[]: Context startup failed due to previous errors 2002-08-12 19:28:49 StandardContext[]: Error initializing naming context for context Well reproduced with S1S4 update 1 EE build 020808_1 under Win2K Looks like the reason of this bug is the same as for #23951 and in this case declaration of realm is missed for Tomcat-Netbeans service.
Thanks Alexei, you have identified the source of the bug well indeed. The bug was already fixed for Netbeans 3.4.
Very well. Hovewer it is serious defect in S1S. Will be it fixed in fututre S1S releases ?
Well reproduced with 020905 build
Integrated into sierrafixes branch (path 2).
Verified with S1S 5 build 030217_1.
Verified in Sierra patch 2.