On Fri, May 29, 2009 at 10:25 AM, Jacek Laskowski
<[email protected]> wrote:

> Not sure how much I can be of help, but am running the tests now so
> I'll report back with my findings.

Look at the line 290 of
http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/tomcat/apache-tomcat-6.0.18-src/java/org/apache/catalina/realm/MemoryRealm.java.
That's where the message gets born. The file is referenced in
ejb-examples-1.0/META-INF/context.xml with a very interesting comment:

  <!-- This only works if the context is installed under the correct name -->
  <Realm className="org.apache.catalina.realm.MemoryRealm"
      pathname="webapps/ejb-examples/WEB-INF/tomcat-users.xml"/>

It hence gets loaded properly when the war file is ejb-examples.war
not ejb-examples-1.0.war (strip the version). Dunno why the ejb
examples don't work.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Reply via email to