openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject 3.1.1 Windows failures
Date Fri, 29 May 2009 09:58:46 GMT

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

> On Fri, May 29, 2009 at 10:25 AM, Jacek Laskowski
> <jacek@laskowski.net.pl> 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.

-David




Mime
View raw message