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 254553

Summary: Tomcat admin password prompt when Realm moved out of context.xml to CATALINA_BASE
Product: serverplugins Reporter: jeffsui
Component: TomcatAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal CC: jeffsui
Priority: P3 Keywords: TOMCAT
Version: 8.0.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen shot.

Description jeffsui 2015-08-20 11:38:06 UTC
Created attachment 155494 [details]
Screen shot.

I'm running Netbeans 8.2 on a mac.  In my project i had a JNDI LDAP realm defined in /META_INF/context.xml.  Our security folks asked me to move it out of the project into CATALINA_BASE/conf/context.xml.

Upon doing this netbeans continually prompts me for the Tomcat Manager username and password whenever I try to run from netbeans.

If i put this LDAP realm definition back into META_INF/context.xml everything works fine.  VERY strange bug.

I have two tomcats on linux that i've pushed the war to with a similar configuration and they work fine.