tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberts, Eric" <Eric.Robe...@one.at>
Subject RE: javax.naming.NameNotFoundException: Name java: is not bound in this Context
Date Thu, 16 Jan 2003 13:15:44 GMT
I am using 4.1.18 also - but upgraded from 4.1.12

-----Original Message-----
From: Veniamin Fichin [mailto:3ca28f66@mail.ru]
Sent: Donnerstag, 16. Jänner 2003 14:03
To: Tomcat Users List
Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound
in this Context


Roberts, Eric wrote:

> All I know is that if you read the server.xml which comes with TC, that is what is there!!

    You may saw this attribute in UserDatabaseRealm definition in 
server.xml:

       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                  debug="0" resourceName="UserDatabase"/>

    But we are talking about DataSourceRealm...

    Anyway thank you for your effort! May be I should try writing in 
tomcat-dev , as this feature is relatively new (if I'm not wrong, it 
first appeared in 4.1.18), and there may be truly a bug.

> -----Original Message-----
> From: Veniamin Fichin [mailto:3ca28f66@mail.ru]
> Sent: Donnerstag, 16. Jänner 2003 13:33
> To: Tomcat Users List
> Subject: Re: javax.naming.NameNotFoundException: Name java: is not bound
> in this Context
> 
> Roberts, Eric wrote:
> 
>>Sorry - missed it earlier - in the Realm definition, I think it should be just resourceName="jdbc/esljsp"
- not dataSourceName="jdbc/esljsp"
> 
>     That's odd. There is no "resourceName" attribute in DataSourceRealm 
> documentation. I looked at the source of it and saw 
> (set|get)DataSourceName only.
>     And I see that tomcat docs is wrong in DataSourceRealm description, 
> because attribute list there is not reflect real things in code.
>     Now I'm trying to look into the sources, but I'm not so hacky...

--= [ cut ] =--


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message