Yes I am using an external tomcat instance. I am also using the CAS overlay 
project because I had some customization that is required for our deployment. 
Is there a way to use the embedded tomcat with the CAS maven overlay?

From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Misagh 
Moayyed
Sent: Thursday, March 09, 2017 2:32 PM
To: cas-user@apereo.org
Subject: RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

Sounds like this an external tomcat instance. I’d look into various other log 
files for Tomcat under /logs. If there isnt anything there, I’d adjust log 
levels for both CAS and Tomcat and see what might be happening. I’d also try 
the embedded tomcat and see if that shows the same thing.

--
Misagh

From: Wickham, Jeremy 
<jeremy.wick...@msstate.edu><mailto:jeremy.wick...@msstate.edu>
Reply: cas-user@apereo.org<mailto:cas-user@apereo.org> 
<cas-user@apereo.org><mailto:cas-user@apereo.org>
Date: March 9, 2017 at 11:49:06 PM
To: cas-user@apereo.org<mailto:cas-user@apereo.org> 
<cas-user@apereo.org><mailto:cas-user@apereo.org>
Subject:  RE: [cas-user] CAS Deployment Stalls When Deploying to Tomcat


Yes, it is writing the same thing to the cas.log in the tomcat logs directory. 
But it does write rolling log files on start up to the webapps directory. Which 
I don’t understand why.

My logging config:
logging.config: file:/etc/cas/config/log4j2.xml


<RollingFile name="file" fileName="/data/tomcat/logs/cas.log" append="true"
                     filePattern="cas-%d{yyyy-MM-dd-HH}-%i.log">
            <PatternLayout pattern="%d %p [%c] - &lt;%m&gt;%n"/>
            <Policies>
                <OnStartupTriggeringPolicy />
                <SizeBasedTriggeringPolicy size="100 MB"/>
                <TimeBasedTriggeringPolicy />
            </Policies>
        </RollingFile>

To note: If the cas.war is deployed to tomcat, and I restart tomcat, tomcat 
never fully comes up because it is in some sort of hung state. When I shut down 
tomcat, it errors off saying there is no connection on 8080. If I deploy the 
war file onto a clean tomcat, it just sits there and writes nothing to the log 
files. I’ve left it running for 20-30 minutes before I will shut it down and 
start over.

I say about every 4 times I restart/deploy the cas.war it will fully come up 
and I am able to test it. This is just a best guess average.

From: cas-user@apereo.org<mailto:cas-user@apereo.org> 
[mailto:cas-user@apereo.org] On Behalf Of Misagh Moayyed
Sent: Thursday, March 09, 2017 1:25 PM
To: cas-user@apereo.org<mailto:cas-user@apereo.org>
Subject: Re: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

 The following is what is written to my log file—After the profile log, there 
is nothing else written to catalina.out. What are some recommendations I need 
to look at?

I doubt this has anything to do with Tomcat. You provided a log4j config file 
to CAS, correct? Is writing to the right place? Does it have permission to do 
so?
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1ac19.30cd6afd.c1e%40unicon.net<https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1ac19.30cd6afd.c1e%40unicon.net?utm_medium=email&utm_source=footer>.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a5ffc2d970247b291199683336f4975%40mail04.ad.msstate.edu<https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a5ffc2d970247b291199683336f4975%40mail04.ad.msstate.edu?utm_medium=email&utm_source=footer>.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1bbd6.5beb9927.c1e%40unicon.net<https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58c1bbd6.5beb9927.c1e%40unicon.net?utm_medium=email&utm_source=footer>.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/83b6d68ebe7d4e5581de7d8e1e4832a0%40mail04.ad.msstate.edu.

Reply via email to