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"
......
connectionURL="${connection.url}"
......
/>
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://xxx.xxx.xxx:PORT
Is it posible to pass the parameter into realm tag?
--
View this message in context:
http://www.nabble.com/TomCat-realm-cmd-properties-tp20027191p20027191.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]