cas-overlay-template with cas 5.2.3 and default cas.properties

53 views
Skip to first unread message

Jono Jono

unread,
Mar 14, 2018, 6:55:33 PM3/14/18
to CAS Community
I am following the instructions to bring this up here:
https://github.com/apereo/cas-overlay-template

With the default setup if I run build.sh it does not come up and there are no error messages.

When visiting 8443, nothing is running there.

Now if I delete the cas.properties file, it does come up at https://localhost:8443, but not http://localhost:8080 as the cas-overlay-template says.

If I change the pom to use cas 5.2.2 I am able to bring up the service while cas.propertes exists however.

To be clear there are 2 issues:
1.  readme shows the use of localhost:8080, but the default setup does not bring that up
2. cas 5.2.3 does not work with cas.properties file in template

Marc Maurice

unread,
Mar 15, 2018, 4:48:03 AM3/15/18
to CAS Community
when running the cas server, do you have a message indicating that the server is ready ?

What is the output of 'netstat -tlnp' after running the server ?

Matthew Uribe

unread,
Mar 15, 2018, 10:06:31 AM3/15/18
to CAS Community
I haven't tried 5.2.3 yet, but when I was using the included Tomcat server, I was using ./build.sh package  or  ./build.sh run  to start it.
As Marc said, you should get a message on screen or in the logs showing that CAS is ready. Have you dug into any of the logs yet? cas.log and catalina.out are two helpful places to start. If those don't have any data, then you probably aren't actually getting Tomcat started, but since you say Tomcat is answering on 8443, it just sounds like you need to find out what errors need to be addressed. I don't ever recall the Tomcat server included in the overlay starting 8080. CAS requires encryption, so http://localhost:8080 isn't really useful.

Jono

unread,
Mar 15, 2018, 11:55:14 AM3/15/18
to cas-...@apereo.org
There is no message that anything is ready. It only shows the last warnings about encyption keys. When I visit 8443 though I do see some audit stuff in the logs. Greping the logs shows nothing about 8443 or 8080, so I have no feedback about what port its running on.

Netstat shows 8443 in use. Not 8080.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/NMBY-AebWdc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/71ca3d41-6ffb-413c-bf65-5ebe98f92a14%40apereo.org.

Matthew Uribe

unread,
Mar 15, 2018, 11:57:49 AM3/15/18
to CAS Community
Did you setup the keystore?
To unsubscribe from this group and all its topics, send an email to cas-user+u...@apereo.org.

Jono

unread,
Mar 15, 2018, 11:58:24 AM3/15/18
to cas-...@apereo.org
Even in 5.2.2 there is no notification of being ready.

I have looked at all the logs in both etc/cas/logs and in my local *.log files with no mention of those ports. So I dont know which port it thinks it is starting on.

I have also modified my local etc/cas/config/cas.properties as well as /etc/cas/config/cas.properties

I know that cas requires SSL, and we do that at our load balancer. As a developer I would prefer to run without ssl. This was doable with cas 4.2.

Also the overlay documentation says it should be running on both 8080 and 8443. If that is no longer the case, it should be updated.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/NMBY-AebWdc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/64241d70-c508-4ff5-a78b-f677f42ab893%40apereo.org.

Jono

unread,
Mar 15, 2018, 12:07:46 PM3/15/18
to cas-...@apereo.org
Yes I did.
The site comes up fine. 

Reply all
Reply to author
Forward
0 new messages