Thanks Change to ?xml in tomcat-users.xml and uncommmenting additional Realm config fixed issue
Holly Lund EES, LLC, Contractor to the United States Department of Energy 1000 Independence Avenue, SW Washington, DC 20585 Phone:202-586-4431 Email:holly.l...@hq.doe.gov -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, October 12, 2011 2:24 PM To: Tomcat Users List Subject: Re: manager trying to use JAASRealm vice tomcat-users.xml -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Holly, On 10/12/2011 12:50 PM, Lund, Holly (CONTR) wrote: > Umcommented the UserDatabaseRealm section Really? > <!-- This Realm uses the UserDatabase configured in the global JNDI > resources under the key "UserDatabase". Any edits that are performed > against this UserDatabase are immediately available for use by the > Realm. --> <!-- <Realm > className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase"/> --> Looks like it's still commented-out to me. > Oct 12, 2011 12:45:35 PM org.apache.catalina.realm.JAASRealm > setContainer INFO: Set JAAS app name Catalina Oct 12, 2011 12:45:35 PM > org.apache.tomcat.util.digester.Digester fatalError SEVERE: > Parse Fatal Error at line 1 column 2: The markup in the document > preceding the root element must be well-formed. > org.xml.sax.SAXParseException: The markup in the document preceding > the root element must be well-formed. This is a different problem: Tomcat-users.xml < -xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Found You have "< -xml" which isn't a valid processing instruction. You want "<?xml" instead. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6V21QACgkQ9CaO5/Lv0PADggCfVP5pA87PV1H/6I3EZbb7AC2/ J3oAoLLPZRBdNLkj9IHnrZYHGH+QzHq1 =QlOG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org