tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Tchijov <and...@tchijov.com>
Subject Re: Using JNDI. java:comp .... not defined?
Date Tue, 23 Oct 2007 03:18:49 GMT
I am using 5.5.20

On Oct 22, 2007, at 10:25 PM, foo shyn wrote:

> Hmm which Tomcat version you are using? For Tomcat 4.1 AFAIK you  
> have to put a link in your application's web.xml to the global  
> resources in order for your application to access it.
>
> HTH
> FooShyn
>
> Mark Thomas wrote:
>> Andrei Tchijov wrote:
>>
>>> when I am trying to do " ... initCtx.list( "java:comp/ 
>>> env" ); ...". Do I
>>> need to do anything to "enable" JNDI? Does it make any difference  
>>> that I
>>> am trying to use JNDI from Valve?
>>>
>>
>> Probably. I haven't looked at the code but I would not expect this to
>> work. Test it in a JSP to see if it works there.
>>
>> Mark
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message