1) You are performing a variable substitution for server.prefix with the
variable ${server.name}, thus when you run the application, does
server.prefix = https://myserver.com:8080/cas?
2) Your response indicates that you are not using maven filtering so
this is most likely not your problem.
3) If you were/are experiencing the same problem as me, this would be a
workable solution.Ray On 2015-10-16 14:55, Jonas Steinberg wrote: > 1) What do you mean the "result" of server.prefix? > 2) How could maven filtering help me? > 3) Really? .nom?!? > > On Fri, Oct 16, 2015 at 3:51 PM, Ray Bon <[email protected] > <mailto:[email protected]>> wrote: > > What is the result of server.prefix while running? > Are you performing any maven filtering? > > We have some values filtered into our CAS application at build time. I > found that maven would perform a substitution of the project name > (defined at the top of pom.xml) for any variable ending in .name; > e.g., > ${server.name <http://server.name>} or ${foo.bar.name > <http://foo.bar.name>}. > I changed the few locations in the code from ${server.name > <http://server.name>} to > ${server.nom}. > > Ray > > P.S. When I get some breathing room I intend to investigate this more > and submit a bug report (to Maven) if I can reproduce with a > simple project. > > > On 2015-10-16 14:07, Jonas Steinberg wrote: > > so my ticketRegistry starts but the page I pointed > cas.properties at does not resolve the basic cas login screen. > Here's my cas.properties file in a nutshell: > > > > server.name <http://server.name>=https://myserver.com:8080 > > server.prefix=${server.name <http://server.name>}/cas > > cas.securityContext.status.access=hasIpAddress('IPv4serveraddress') > > cas.security.statistics.access('IPv4serveraddress') > > host.name <http://host.name>=myserverhostname > > > > I haven't changed anything else. It starts without errors but > the page doesn't resolve. > > > > The cas.properties is attached. > > > > > > > -- > You are currently subscribed to [email protected] > <mailto:[email protected]> as: [email protected] > <mailto:[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 -- 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
