You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Hookom <ho...@uwec.edu> on 2002/08/08 03:52:24 UTC

Realm Configuration and LDAP

The requirements of an application simulate LDAP.  I was wondering if I
can spoof the JNDIRealm with my own implementation that may be backed by
a DB?


Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
 


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


Re: confusion about

Posted by Mark <ma...@mminternet.com>.
No, it's not a browser cache issue. Please, what's the easiest way to 
make tomcat reload all servlets every time?????

thanks,
- Mark

On Thu, 8 Aug 2002 13:54:51 +0200, Cédric Viaud wrote:
>Maybe change your browser. Maybe the problem is elsewhere, but most
>of my
>problems of this kind are browser ones.
>
>I don't want to launche a controversy but IE get me on my nerves
>about his
>cache managment.
>
>I use Opera 6 and configure tightly the cache strategy. Try it, and
>you'll
>love it.
>
>Regards,
>
>Cédric
>
>----- Original Message -----
>From: "Mark" <ma...@mminternet.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Thursday, August 08, 2002 4:02 AM
>Subject: confusion about <context>
>
>
>>Hi,
>>let's say I have a folder in webapps called Go and in there is a
>>WEB-INF with a servlet-mapping for GoSocket.
>>if I point to:
>>http://localhost:8080/Go/GoSocket
>>I can get the servlet but when I recompile it won't get reloaded
>>unless I restart Tomcat.
>>
>>inside of server.xml I put:
>><Context path="/Go" docBase="g:/jakarta-tomcat-4.0.4/webapps/Go"
>>reloadable="true"/>
>>
>>and restarted but it didn't help.
>>I also tried "Go" for the docBase and "webApps/Go"
>>
>>what's it supposed to be???
>>
>>thanks,
>>- Mark
>>
>>On Wed, 7 Aug 2002 20:52:24 -0500, Jacob Hookom wrote:
>>>The requirements of an application simulate LDAP.  I was wondering
>>>if I
>>>can spoof the JNDIRealm with my own implementation that may be
>>>backed by
>>>a DB?
>>>
>>>
>>>Jacob Hookom
>>>Comprehensive Computer Science
>>>University of Wisconsin, Eau Claire
>>>
>>>
>>>
>>>---
>>>Outgoing mail is certified Virus Free.
>>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>>Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
>>>
>>>
>>>
>>>--
>>>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:
><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
><ma...@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>
>
>




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


Re: confusion about

Posted by Cédric Viaud <ce...@matrasi-tls.fr>.
Maybe change your browser. Maybe the problem is elsewhere, but most of my
problems of this kind are browser ones.

I don't want to launche a controversy but IE get me on my nerves about his
cache managment.

I use Opera 6 and configure tightly the cache strategy. Try it, and you'll
love it.

Regards,

    Cédric

----- Original Message -----
From: "Mark" <ma...@mminternet.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, August 08, 2002 4:02 AM
Subject: confusion about <context>


> Hi,
> let's say I have a folder in webapps called Go and in there is a
> WEB-INF with a servlet-mapping for GoSocket.
> if I point to:
> http://localhost:8080/Go/GoSocket
> I can get the servlet but when I recompile it won't get reloaded
> unless I restart Tomcat.
>
> inside of server.xml I put:
> <Context path="/Go" docBase="g:/jakarta-tomcat-4.0.4/webapps/Go"
> reloadable="true"/>
>
> and restarted but it didn't help.
> I also tried "Go" for the docBase and "webApps/Go"
>
> what's it supposed to be???
>
> thanks,
> - Mark
>
> On Wed, 7 Aug 2002 20:52:24 -0500, Jacob Hookom wrote:
> >The requirements of an application simulate LDAP.  I was wondering
> >if I
> >can spoof the JNDIRealm with my own implementation that may be
> >backed by
> >a DB?
> >
> >
> >Jacob Hookom
> >Comprehensive Computer Science
> >University of Wisconsin, Eau Claire
> >
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
> >
> >
> >
> >--
> >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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


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


RE: confusion about

Posted by Andrew <an...@attbi.com>.
Try adding a Loader to your Context

<Context ...>
	<Loader reloadable="true" checkInterval="1" />
</Context>

That way you can control the interval between reloading checks.


- Andrew

> -----Original Message-----
> From: Mark [mailto:maggelet@mminternet.com] 
> Sent: Wednesday, August 07, 2002 10:02 PM
> To: Tomcat Users List
> Subject: confusion about <context>
> 
> 
> Hi,
> let's say I have a folder in webapps called Go and in there is a 
> WEB-INF with a servlet-mapping for GoSocket.
> if I point to:
> http://localhost:8080/Go/GoSocket
> I can get the servlet but when I recompile it won't get reloaded 
> unless I restart Tomcat.
> 
> inside of server.xml I put:
> <Context path="/Go" docBase="g:/jakarta-tomcat-4.0.4/webapps/Go" 
> reloadable="true"/>
> 
> and restarted but it didn't help.
> I also tried "Go" for the docBase and "webApps/Go"
> 
> what's it supposed to be???
> 
> thanks,
> - Mark
> 
> On Wed, 7 Aug 2002 20:52:24 -0500, Jacob Hookom wrote:
> >The requirements of an application simulate LDAP.  I was 
> wondering if I
> >can spoof the JNDIRealm with my own implementation that may be
> >backed by
> >a DB?
> >
> >
> >Jacob Hookom
> >Comprehensive Computer Science
> >University of Wisconsin, Eau Claire
> >
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
> >
> >
> >
> >--
> >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: <ma...@jakarta.apache.org>
> 


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


confusion about

Posted by Mark <ma...@mminternet.com>.
Hi,
let's say I have a folder in webapps called Go and in there is a 
WEB-INF with a servlet-mapping for GoSocket.
if I point to:
http://localhost:8080/Go/GoSocket
I can get the servlet but when I recompile it won't get reloaded 
unless I restart Tomcat.

inside of server.xml I put:
<Context path="/Go" docBase="g:/jakarta-tomcat-4.0.4/webapps/Go" 
reloadable="true"/>

and restarted but it didn't help.
I also tried "Go" for the docBase and "webApps/Go"

what's it supposed to be???

thanks,
- Mark

On Wed, 7 Aug 2002 20:52:24 -0500, Jacob Hookom wrote:
>The requirements of an application simulate LDAP.  I was wondering
>if I
>can spoof the JNDIRealm with my own implementation that may be
>backed by
>a DB?
>
>
>Jacob Hookom
>Comprehensive Computer Science
>University of Wisconsin, Eau Claire
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
>
>
>
>--
>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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Realm Configuration and LDAP

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Wed, 7 Aug 2002, Jacob Hookom wrote:

> Date: Wed, 7 Aug 2002 20:52:24 -0500
> From: Jacob Hookom <ho...@uwec.edu>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Realm Configuration and LDAP
>
> The requirements of an application simulate LDAP.  I was wondering if I
> can spoof the JNDIRealm with my own implementation that may be backed by
> a DB?
>

If you build a JNDI-compatible Context implementation for your app, and
set the contextFactory property, you can certainly pull this off.  It's
called JNDIRealm and not LDAPRealm for a reason.

>
> Jacob Hookom
> Comprehensive Computer Science
> University of Wisconsin, Eau Claire

Craig


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