It says “Address already in use”. Try different port or kill the process 
running on port 8443.

Thanks
Ramakrishna G
+91 8792114542

From: Emmanuel Chukwu
Sent: Thursday, December 6, 2018 11:23 AM
To: [email protected]
Subject: Re: [cas-user] Httpt 404 Error while trying to access CAS login page

Thanks David.
I just check catalina.out and noticed CAS didn't start successfully. There was 
a severe error " Failed to initialize connector [Connector[HTTP/1.1-8443]". But 
I don't know how to troubleshoot it. Please could you help me interpret below 
the errors from catalina.out and cas.log?
Thanks

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
05-Dec-2018 17:18:44.450 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-jsse-nio-8443"]
05-Dec-2018 17:18:44.469 SEVERE [main] 
org.apache.catalina.core.StandardService.initInternal Failed to initialize 
connector [Connector[HTTP/1.1-8443]]
 org.apache.catalina.LifecycleException: Failed to initialize component 
[Connector[HTTP/1.1-8443]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
        at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:638)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:661)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)

Caused by: org.apache.catalina.LifecycleException: Protocol handler 
initialization failed
        at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        ... 12 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:219)
        at 
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1087)
        at 
org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:265)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
        at 
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:68)
        at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
        ... 13 more

05-Dec-2018 17:18:44.472 INFO [main] org.apache.catalina.startup.Catalina.load 
Initialization processed in 1098 ms
05-Dec-2018 17:18:44.524 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
05-Dec-2018 17:18:44.525 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
05-Dec-2018 17:18:44.549 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [/opt/tomcat/webapps/cas]
05-Dec-2018 17:18:57.330 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logge$
^[[36m

  / /  / ___|    / \    / ___|  \ \
 | |  | |       / _ \   \___ \   | |
 | |  | |___   / ___ \   ___) |  | |
 | |   \____| /_/   \_\ |____/   | |
  \_\                           /_/

CAS Version: 5.3.6
CAS Commit Id: e2bdca06fe0229afcf624700e1617a3841364d11
CAS Build Date/Time: 2018-11-21T10:00:18Z
Spring Boot Version: 1.5.16.RELEASE
Spring Version: 4.3.20.RELEASE
Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_191
JVM Free Memory: 25 MB
JVM Maximum Memory: 237 MB
JVM Total Memory: 94 MB
JCE Installed: Yes
Node Version: N/A
NPM Version: N/A
OS Architecture: amd64
OS Name: Linux
OS Version: 4.15.0-1021-aws
OS Date/Time: 2018-12-05T17:19:05.144
OS Temp Directory: /opt/tomcat/temp
------------------------------------------------------------
Apache Tomcat Version: Apache Tomcat/8.5.35
--------------------------------------------------------
^[[0m
2018-12-05 17:19:05,247 INFO 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] - 
<Configuration files found at [/etc/cas/config] are 
[[/etc/cas/config/cas.properties]] $
2018-12-05 17:19:05,292 INFO 
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 - <Located property source: CompositePropertySource 
[name='casCompositePropertySource$
2018-12-05 17:19:12,787 WARN 
[org.apereo.cas.config.CasCoreTicketsConfiguration] - <Runtime memory is used 
as the persistence storage for retrieving and managing tickets. Tickets that 
are issued d$
2018-12-05 17:19:24,885 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[36m>
2018-12-05 17:19:24,896 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <

  ____    _____    ___    ____    _
 / ___|  |_   _|  / _ \  |  _ \  | |
 \___ \    | |   | | | | | |_) | | |
  ___) |   | |   | |_| | |  __/  |_|
 |____/    |_|    \___/  |_|     (_)


CAS is configured to accept a static list of credentials for authentication. 
While this is generally useful for demo purposes, it is STRONGLY recommended 
that you DISABLE this authentication metho$
2018-12-05 17:19:24,897 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[0m>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


And below are the errors from cas.log

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2018-12-05 17:00:29,350 WARN 
[org.apereo.cas.config.CasCoreTicketsConfiguration] - <Runtime memory is used 
as the persistence storage for retrieving and managing tickets. Tickets that 
are issued d$
2018-12-05 17:00:40,856 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[36m>
2018-12-05 17:00:41,102 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <

  ____    _____    ___    ____    _
 / ___|  |_   _|  / _ \  |  _ \  | |
 \___ \    | |   | | | | | |_) | | |
  ___) |   | |   | |_| | |  __/  |_|
 |____/    |_|    \___/  |_|     (_)


CAS is configured to accept a static list of credentials for authentication. 
While this is generally useful for demo purposes, it is STRONGLY recommended 
that you DISABLE this authentication metho$
2018-12-05 17:00:41,104 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[0m>
2018-12-05 17:00:54,534 WARN 
[org.apereo.cas.config.CasCoreServicesConfiguration] - <Runtime memory is used 
as the persistence storage for retrieving and persisting service definitions. 
Changes th$
2018-12-05 17:19:12,787 WARN 
[org.apereo.cas.config.CasCoreTicketsConfiguration] - <Runtime memory is used 
as the persistence storage for retrieving and managing tickets. Tickets that 
are issued d$
2018-12-05 17:19:24,885 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[36m>
2018-12-05 17:19:24,896 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <

  ____    _____    ___    ____    _
 / ___|  |_   _|  / _ \  |  _ \  | |
 \___ \    | |   | | | | | |_) | | |
  ___) |   | |   | |_| | |  __/  |_|
 |____/    |_|    \___/  |_|     (_)


CAS is configured to accept a static list of credentials for authentication. 
While this is generally useful for demo purposes, it is STRONGLY recommended 
that you DISABLE this authentication metho$
2018-12-05 17:19:24,897 WARN 
[org.apereo.cas.config.support.authentication.AcceptUsersAuthenticationEventExecutionPlanConfiguration]
 - <^[[0m>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

On Wed, Dec 5, 2018 at 6:37 PM David Curry <[email protected]> wrote:
Check your Tomcat logs (especially catalina.out) -- did the CAS server 
successfully start?


--
DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
THE NEW SCHOOL • INFORMATION TECHNOLOGY
71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]


On Wed, Dec 5, 2018 at 12:31 PM Emmanuel Chukwu <[email protected]> 
wrote:
Dear all,
Please I need help.
I just installed CAS using David's notes: : 
https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html

I tried to access the login page through https://<my-server>:8443/cas/login but 
it is giving 404 error

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.

Apache Tomcat/8.5.35


Tomcat is installed and loading very well at
https://<my-server>:8443

What could be the problem?
-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c0512ade-5c93-4a58-a759-56cb3db9356c%40apereo.org.
-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANFF1zyv6n0tY3Khnuz30%3DohXq0YZU_A9a9PqRrfc%3DYUA%40mail.gmail.com.
-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP-uZg7ijO8%2Bu62Kt_ggF%2BC17T-%2B-5CJQbswiBuzCkLFY3dHHg%40mail.gmail.com.

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/5c08b9d8.1c69fb81.650ee.06ec%40mx.google.com.

Reply via email to