Page 'http://localhost:8080/cas/login' does not load up

494 views
Skip to first unread message

Y Levine

unread,
May 11, 2018, 3:23:47 PM5/11/18
to CAS Community
We got lots further --- thank you to the replies.

The cas.war is now in Tomcat --- however the page 'http://localhost:8080/cas/login' does not load up -- is there a configuration we have to do to enable it? Message received below.....


HTTP Status 404 – Not Found


Type Status Report

Message /cas/login

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Y Levine

unread,
May 11, 2018, 4:36:29 PM5/11/18
to CAS Community
There is nothing in the Tomcat logs to go by (the cas.log did not appear).....perplexed at this stage.

Man H

unread,
May 11, 2018, 4:49:14 PM5/11/18
to cas-...@apereo.org
logs/catalina.out or logs/localhost.log
--
- 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 the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 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/3ebcaacb-4ad8-4fbc-9fea-6806c0861c48%40apereo.org.

Man H

unread,
May 11, 2018, 4:52:51 PM5/11/18
to cas-...@apereo.org
If that is tour message cas isnt deployed. See tomcat log for errors


El viernes, 11 de mayo de 2018, Y Levine <ylev...@gmail.com> escribió:
--
- 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 the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 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/d1f42af3-0351-42da-8978-318c70191d1b%40apereo.org.

Y Levine

unread,
May 11, 2018, 5:00:56 PM5/11/18
to CAS Community
Thank you for your reply Manfredo.

The following is obtained in the 'cataline.out' when started --- nothing further when page is accessed.

Kinda stumped -- I'm probably missing something obvious -- without logs to guide not 100% sure.

My other guess is that the 'cas.properties' is in '/opt/tomcat/webapps/cas/WEB-INF/classes/etc/cas/config' -- perhaps this is not the correct location?

11-May-2018 13:54:14.579 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-May-2018 13:54:14.588 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-May-2018 13:54:14.616 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
11-May-2018 13:54:14.617 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-May-2018 13:54:14.630 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1049 ms
11-May-2018 13:54:14.653 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-May-2018 13:54:14.653 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.31
11-May-2018 13:54:14.720 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/apache-tomcat-8.5.31/webapps/cas.war]
11-May-2018 13:54:17.117 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/apache-tomcat-8.5.31/webapps/cas.war] has finished in [2,386] ms
11-May-2018 13:54:17.120 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
11-May-2018 13:54:17.233 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
11-May-2018 13:54:17.236 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2605 ms

On Friday, May 11, 2018 at 1:52:51 PM UTC-7, Manfredo Hopp wrote:
If that is tour message cas isnt deployed. See tomcat log for errors

El viernes, 11 de mayo de 2018, Y Levine <ylev...@gmail.com> escribió:
We got lots further --- thank you to the replies.

The cas.war is now in Tomcat --- however the page 'http://localhost:8080/cas/login' does not load up -- is there a configuration we have to do to enable it? Message received below.....


HTTP Status 404 – Not Found


Type Status Report

Message /cas/login

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

--
- 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 the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.

Man H

unread,
May 11, 2018, 6:31:20 PM5/11/18
to cas-...@apereo.org
Copy cas.properties to /etc/cas/config
To unsubscribe from this group and stop receiving emails from it, 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/d63675de-79c3-468a-ac80-3ca57ab2c1cf%40apereo.org.

Man H

unread,
May 11, 2018, 6:48:28 PM5/11/18
to cas-...@apereo.org
Look into localhost.log
To unsubscribe from this group and stop receiving emails from it, 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/d63675de-79c3-468a-ac80-3ca57ab2c1cf%40apereo.org.

Man H

unread,
May 11, 2018, 7:25:59 PM5/11/18
to cas-...@apereo.org
 Explore cas.dar web-inf
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/d63675de-79c3-468a-ac80-3ca57ab2c1cf%40apereo.org.

Y Levine

unread,
May 12, 2018, 1:11:51 PM5/12/18
to CAS Community
Thank you for your help :)

I had a number of areas missing....the following is the error message received.

Was this somehow missed in the overlay?

 java.lang.IllegalStateException: java.io.FileNotFoundException: /opt/apache-tomcat-8.5.31/webapps/cas/WEB-INF/lib/cas-server-core-5.2.4.jar (No such file or directory)

Y Levine

unread,
May 12, 2018, 2:50:29 PM5/12/18
to CAS Community
Woohoo --- got it working.....thank you for all your help.

The last culprit was the tomcat...downloaded a fresh version --- followed your steps --- now running :)

On to the next battle

Man H

unread,
May 12, 2018, 4:16:02 PM5/12/18
to cas-...@apereo.org
I suggest you generate war again. 
To unsubscribe from this group and stop receiving emails from it, 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/5f1bc83a-448e-41ae-b383-acd7924babfa%40apereo.org.
Reply all
Reply to author
Forward
0 new messages