You can ignore the WARNs. They only mean that the language bundle isn't up
to date and misses some keys.

 

Your issue likely has to do with the cas-management properties file. Does
it point to your CAS server? 

 

From: Raymond Drew Walker [mailto:[email protected]] 
Sent: Thursday, October 2, 2014 4:38 PM
To: [email protected]
Subject: [cas-user] errors with maven overlay of cas-management-webapp

 

In trying to create a maven overlay for cas-management-webapp 4.0.0, I
seem to be missing something in configuration. Using the following docs :

 

http://jasig.github.io/cas/4.0.0/installation/Service-Management.html

 

Setup for the local file based admin users via
'classpath:user-details.properties'

 

Using the pom.xml:

 

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0";

         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd
<http://maven.apache.org/POM/4.0.0%20http:/maven.apache.org/xsd/maven-4.0.
0.xsd%20> ">

        <groupId>edu.nau.its.sia.cas</groupId>

        <modelVersion>4.0.0</modelVersion>

        <artifactId>nau-cas-management</artifactId>

        <packaging>war</packaging>

        <version>0.1-DEVELOPMENT</version>

 

        <build>

            <plugins>

                <plugin>

                    <artifactId>maven-war-plugin</artifactId>

                    <version>2.4</version>

                    <configuration>

                        <warName>cas-management</warName>

                          <overlays>

                              <overlay>

                                 <groupId>org.jasig.cas</groupId>

 
<artifactId>cas-management-webapp</artifactId>

                              </overlay>

                          </overlays>

                    </configuration>

                </plugin>

            </plugins>

        </build>

 

        <dependencies>

            <dependency>

                <groupId>org.jasig.cas</groupId>

                <artifactId>cas-management-webapp</artifactId>

                <version>${cas.version}</version>

                <type>war</type>

                <scope>runtime</scope>

            </dependency>

        </dependencies>

        <properties>

            <cas.version>4.0.0</cas.version>

        </properties>

</project>

 

I get the following WARN on startup:

 

2014-10-02 16:27:32,939 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[AbstractAccessDecisionManager.accessDenied] cannot be found in the
language bundle for the locale [en_US]>

 

When trying to access the /cas-management/ webapp, I get the following
ERROR and WARNs:

 

2014-10-02 16:28:55,367 ERROR [org.jasig.cas.client.util.CommonUtils] -
<Connection refused>

java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:33
9)

at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.
java:200)

at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:579)

at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)

at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)

at sun.net.NetworkClient.doConnect(NetworkClient.java:180)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)

at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)

at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)

at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpCl
ient(AbstractDelegateHttpsURLConnection.java:191)

at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection
.java:932)

at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Abst
ractDelegateHttpsURLConnection.java:177)

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnecti
on.java:1300)

at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLC
onnectionImpl.java:254)

at
org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.ja
va:326)

at
org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.ja
va:305)

at
org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator
.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.jav
a:50)

at
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(A
bstractUrlBasedTicketValidator.java:207)

at
org.springframework.security.cas.authentication.CasAuthenticationProvider.
authenticateNow(CasAuthenticationProvider.java:140)

at
org.springframework.security.cas.authentication.CasAuthenticationProvider.
authenticate(CasAuthenticationProvider.java:126)

at
org.springframework.security.authentication.ProviderManager.authenticate(P
roviderManager.java:156)

at
org.springframework.security.cas.web.CasAuthenticationFilter.attemptAuthen
tication(CasAuthenticationFilter.java:242)

at
org.springframework.security.web.authentication.AbstractAuthenticationProc
essingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)

at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFil
ter(FilterChainProxy.java:342)

at
org.springframework.security.web.authentication.logout.LogoutFilter.doFilt
er(LogoutFilter.java:110)

at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFil
ter(FilterChainProxy.java:342)

at
org.springframework.security.web.context.request.async.WebAsyncManagerInte
grationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)

at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerReques
tFilter.java:107)

at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFil
ter(FilterChainProxy.java:342)

at
org.springframework.security.web.context.SecurityContextPersistenceFilter.
doFilter(SecurityContextPersistenceFilter.java:87)

at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFil
ter(FilterChainProxy.java:342)

at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterC
hainProxy.java:192)

at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProx
y.java:160)

at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delega
tingFilterProxy.java:343)

at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFi
lterProxy.java:260)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
onFilterChain.java:239)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
Chain.java:206)

at
com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(Client
InfoThreadLocalFilter.java:63)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
onFilterChain.java:239)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
Chain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
java:219)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
java:106)

at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBa
se.java:503)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
36)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:7
8)

at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLog
Valve.java:610)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
va:88)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526
)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Pro
cessor.java:1033)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstr
actProtocol.java:652)

at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
(Http11AprProtocol.java:277)

at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.j
ava:2451)

at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.jav
a:2440)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:615)

at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.
java:61)

at java.lang.Thread.run(Thread.java:745)

2014-10-02 16:28:55,371 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[management.services.title] cannot be found in the language bundle for the
locale [en_US]>

2014-10-02 16:28:55,373 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[management.services.link.logout] cannot be found in the language bundle
for the locale [en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[application.title] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[management.services.title] cannot be found in the language bundle for the
locale [en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[addServiceView] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[manageServiceView] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[screen.unavailable.heading] cannot be found in the language bundle for
the locale [en_US]>

2014-10-02 16:28:55,374 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[screen.unavailable.message] cannot be found in the language bundle for
the locale [en_US]>

2014-10-02 16:28:55,375 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.links] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,375 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.homePage] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,375 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.wiki] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,375 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.issueTracker] cannot be found in the language bundle for the
locale [en_US]>

2014-10-02 16:28:55,375 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.mailingLists] cannot be found in the language bundle for the
locale [en_US]>

2014-10-02 16:28:55,376 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.copyright] cannot be found in the language bundle for the locale
[en_US]>

2014-10-02 16:28:55,376 WARN
[org.jasig.cas.web.view.CasReloadableMessageBundle] - <The code
[footer.poweredBy] cannot be found in the language bundle for the locale
[en_US]>

 

Any ideas on this?

-

Raymond Walker

Software Systems Engineer StSp.

ITS - Northern Arizona University

 
-- 
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

Reply via email to