tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Orlov <>
Subject TomCat realm cmd properties
Date Fri, 17 Oct 2008 05:08:15 GMT

Hello I'm trying to use TomCat realm option and I would like to pass
parameter into realm tag. Could I do it?

I use next realm tag:

<Realm  className="org.apache.catalina.realm.JNDIRealm"

But when I try to start TomCat I see next ecxeption:
javax.naming.NamingException: Cannot parse url: ${connection.url}

I use next command to start TomCat:
startup.bat -Dconnection.url=ldap://

Is it posible to pass the parameter into realm tag?
View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message