cloned server

11 views
Skip to first unread message

Jeffrey Ramsay

unread,
Mar 1, 2018, 4:51:51 PM3/1/18
to CAS Community
I'm getting the following error after cloning the entire tomcat home.

What am I missing? Everything works as is on the original node

01-Mar-2018 16:27:04.979 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/u01/app/badm/apps/tomcat/apache-tomca
t-cas-8.5.24/webapps/cas-client.war]
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-client]]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: org/jasig/cas/client/ssl/HttpURLConnectionFactory
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
        at java.lang.Class.getDeclaredFields(Class.java:1916)
        at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110)
        at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:262)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:108)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
        at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:778)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: org.jasig.cas.client.ssl.HttpURLConnectionFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
        ... 23 more

Ray Bon

unread,
Mar 1, 2018, 6:13:34 PM3/1/18
to cas-...@apereo.org
Jeffrey,

From where did you 'clone' tomcat home?
Try downloading tomcat from apache and then copy cas-client.war into its webapp.

Ray
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca

Jeffrey Ramsay

unread,
Mar 1, 2018, 7:36:44 PM3/1/18
to CAS Community
I cloned from an OEL 7 server to an AWS EC2 instance. I replace the cas and saml jars which cleared the error however, the page does not load.

Thanks,
-Jeff

--
- 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/1519946006.1801.82.camel%40uvic.ca.

Ray Bon

unread,
Mar 1, 2018, 7:52:46 PM3/1/18
to cas-...@apereo.org
Hmm, could be a java version mismatch.
You will have to check things like certificate installs, directory permissions, etc.
Is the page blank or some error text?
What do the logs say?

Ray

Jeffrey Ramsay

unread,
Mar 2, 2018, 6:33:20 AM3/2/18
to cas-...@apereo.org
I was able to resolve this last night after replacing the java-cas-client files and updating the filters. Still not sure why it worked on one and not the other.

Thanks for your support.

Jeff

To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca

--
- 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.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1519951959.1801.86.camel%40uvic.ca.
--
Sent from Gmail Mobile
Reply all
Reply to author
Forward
0 new messages