Just an update on this.

I noticed the embedded Tomcat was using 8.5.9, but could not get it working on 
the box which I had the external tomcat installed. It kept saying that the port 
was in use. All tomcat instances were shut down and 8080 and 8443 were not in 
use before I started the run.

Since I saw the embedded Tomcat was using 8.5, I moved my Tomcat installation 
to 8.5 and turned down all my logging back to the WARN with no package getting 
debug (like I had previously). I haven’t seen an issue since I’ve done this. 
This is making my assumption that the logging was the culprit here.

Thanks for the help.

Cheers,
 -Jeremy

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan Wooten
Sent: Thursday, March 09, 2017 2:52 PM
To: [email protected]
Subject: Re: [cas-user] CAS Deployment Stalls When Deploying to Tomcat

Just my 2 cents and hope it helps.

We use a time based RollingFileAppender. The size based created issues.

And check your Tomcat localhost (not access log) log file. I found that some 
errors go to cas.log others to catalina.out and some of the more esoteric ones 
go to localhost.

Also note that setting levels to debug or trace can/will create very large logs 
depending on your load.

On Thu, Mar 9, 2017 at 1:44 PM, Wickham, Jeremy 
<[email protected]<mailto:[email protected]>> wrote:
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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Misagh 
Moayyed
Sent: Thursday, March 09, 2017 2:32 PM
To: [email protected]<mailto:[email protected]>

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 
<[email protected]><mailto:[email protected]>
Reply: [email protected]<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
Date: March 9, 2017 at 11:49:06 PM
To: [email protected]<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Misagh Moayyed
Sent: Thursday, March 09, 2017 1:25 PM
To: [email protected]<mailto:[email protected]>
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 [email protected]<mailto:[email protected]>.
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 [email protected]<mailto:[email protected]>.
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 [email protected]<mailto:[email protected]>.
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 [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/83b6d68ebe7d4e5581de7d8e1e4832a0%40mail04.ad.msstate.edu<https://groups.google.com/a/apereo.org/d/msgid/cas-user/83b6d68ebe7d4e5581de7d8e1e4832a0%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 [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GV1qD9iqkYPeBTFUqEXxXJ3GpnMH_5joeeBW%2BDdXSopVw%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GV1qD9iqkYPeBTFUqEXxXJ3GpnMH_5joeeBW%2BDdXSopVw%40mail.gmail.com?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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d50397300a57414bb640cbfb4b445858%40mail04.ad.msstate.edu.

Reply via email to