Dan Washusen <[EMAIL PROTECTED]> wrote:
> Hi Sven,
> I can access the data source from within my code using the name
> "java:/comp/env/jdbc/MindDB" and everything works great.  It's just
> that the Realm can't... I have found a few other posts to this list
> with the same problem and one of the email suggested that the Realm is
> configured before the DataSource causing an error to be thrown during
> realm initialisation (as the DataSource is missing).
> 
> It looks like the "solution" is to move the DataSource configuration
> to the Global configuration area or to use the JBDCRealm.

It is not necessary to make the datasource global. Try adding 
localDataSource="true" to your context Realm definition.
Having consulted the docs for 4.1.x, 5.0.x and 5.5.x, t seems that this 
flag is only allowed in the latest version of tomcat. There's a chance 
though that it has been backported without having the docs updated.


HTH,
/dd


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to