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 - Tomcat admin password prompt when Realm moved out of context.xml to CATALINA_BASE
Summary: Tomcat admin password prompt when Realm moved out of context.xml to CATALINA_...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: TOMCAT
Depends on:
Blocks:
 
Reported: 2015-08-20 11:38 UTC by jeffsui
Modified: 2015-08-20 11:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot. (19.25 KB, image/png)
2015-08-20 11:38 UTC, jeffsui
Details

Note You need to log in before you can comment on or make changes to this bug.
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.