tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Orlov <dor...@nebuad.com>
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"
   ......
   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: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message