An: Tomcat Users List
> Betreff: AW: datasource-realm troubles
>
> Thanks Chuck,
>
> i followed your suggestion and it works fine. Maybe you can
> help me with another problem i stuck.
>
> Right now i can use RealmDataSource to authenticate the user.
> But want/have t
have any idea.
Regards Oliver
> -Ursprüngliche Nachricht-
> Von: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 30. Januar 2007 17:22
> An: Tomcat Users List
> Betreff: RE: datasource-realm troubles
>
> > From: Walter, Oliver (BR/ICI3)
&g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Walter,
Walter, Oliver (BR/ICI3) wrote:
> Problem solved.
>
> The missing glue is, if you define Realm and DataSource inside the Context,
> don`t forget to
> specify
>
> localDataSource="true"
>
> When the realm is nested inside a Con
> From: Walter, Oliver (BR/ICI3) [mailto:[EMAIL PROTECTED]
> Subject: AW: datasource-realm troubles
Now that you've got the main problem sorted, some additional info for
you:
> The file is named "context.xml" and it is stored in the
> war`s META-INF direct
ers List
> Betreff: AW: datasource-realm troubles
>
> Hello David,
>
> thanks for the reply. We are talking about your 2. description.
>
> The file is named "context.xml" and it is stored in the war`s META-INF
> directory.
>
> The full error output is:
> 10
. Januar 2007 18:44
> An: Tomcat Users List
> Betreff: Re: datasource-realm troubles
>
> Oliver,
>
> Walter, Oliver (BR/ICI3) wrote:
> > In META-INF/Context.xml i defined a datasource:
> >
> >
> [snip]
>
> > and in web.xml a resource reference:
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oliver,
Walter, Oliver (BR/ICI3) wrote:
> In META-INF/Context.xml i defined a datasource:
>
> and in web.xml a resource reference:
>
>
[snip]
> With hibernate everything works fine, no problems, but if i define a
> datasource realm in Context.xm
ext.xml is:
regards Oliver
> -Ursprüngliche Nachricht-
> Von: David Smith [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 29. Januar 2007 17:11
> An: Tomcat Users List
> Betreff: Re: datasource-realm troubles
>
> I would guess from the outs
I would guess from the outset that your "Context.xml" file isn't being
used. Where are your putting it and what are you naming it? What's the
name of your webapp when deployed?
Quick checks:
1. It has to be named to match your webapp if your are storing it in
Catalina/localhost and deploying an
Hello,
i have some trouble using a datasource realm in tomcat 5.5.20, jdk
1.5.0_09.
In META-INF/Context.xml i defined a datasource:
and in web.xml a resource reference:
DB Connection
jdbc/mangos
javax.sql.DataSource
Container
With hibernate everything works
10 matches
Mail list logo