Thanks Marvin and Scott!

Bryan Wooten

UIT Systems Administrator
University of Utah

[email protected]

Work: 801.585.9323
Cell: 801.414.3593


-----Original Message-----
From: Marvin Addison [mailto:[email protected]] 
Sent: Thursday, June 10, 2010 11:32 AM
To: [email protected]
Subject: Re: [cas-user] Java client configuration question

You can also set some of the parameters via context params, which may
be specified in a context xml file on Tomcat.  For example if you're
deploying a webapp.war file, you can drop a webapp.xml file in
$TOMCAT_HOME/conf/Catalina/localhost with contents like the following:

<Context path="/webapp" docBase="/path/to/webapp.war">
  <Parameter name="serverName" value="prod.utah.edu" />
</Context>

The webapp.xml context file can then be unique to each host leaving
the deployable unchanged for all hosts.  We do something similar for
our CAS server deployments and it works very well.

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to