On May 29, 2009, at 2:58 AM, David Blevins wrote:


On May 29, 2009, at 2:25 AM, Jacek Laskowski wrote:

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.

The context.xml for the itests webapp looks to be the same as it was in 3.1, so I'm not sure if that's the culprit. Though I seem to recall a context.xml related change between 3.1 and now. Going to check that out.

Think there was something to that. If I rollback this change http://svn.apache.org/viewvc?rev=739591&view=rev then the context errors go away. At least I think it's related, the first log involved cygwin so it could be that.

Anyway, still the same test failures and the "javax.naming.NameNotFoundException: Name BasicBmpBean is not bound in this Context" errors in the logs.

  http://people.apache.org/~dblevins/stage/windowslog2.txt


-David

Reply via email to