You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Veniamin Fichin <3c...@mail.ru> on 2003/01/20 14:09:56 UTC

DataSourceRealm -- test case (question to Glenn Nielsen)

Hello list, especially Glenn!

    I'm not sure if this list is the right place to ask this kind of 
questions, and ask them directly to one person, but I thought that 
writing straight to such a busy person like Glenn would be even worse.
    As I saw in sources, you are the author of DataSourceRealm class, am 
I right? Can you provide me with some test cases about how to configure 
this realm? I tried to start using DataSourceRealm for about a four 
days, but still have no luck -- I end up at NameNotFoundException "Name 
java: is not bound in this Context". I tried various places in 
server.xml to place <Resource> and <ResourceParams> tags... Looking at 
the sources, I found that resource should be placed inside 
<GlobalNamingResource> tag, but this didn't help either.
    Tomcat Users List didn't help me much, may be because nobody have 
tried this kind of realm yet.
    BTW, another person in tomcat-user asked for something similar, so 
this information will be useful not for me only. If you will be so kind 
to shed some light at this problem, please answer me directly or write 
in tomcat-user list so anybody who need it will be happy. :-)

    *** Sorry again, if i broke this list's netiquette.

-- 
Veniamin Fichin  <3c...@mail.ru>
Programmer at    http://www.rbcsoft.ru/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>