Hi,
I am running 7.0.68 (downloaded from the website) on SLES 12 SP0 and
openjdk (from repos) 1.7.0.101-30.1

and I am moving to SLES 12 SP1 with everything from repos:

Tomcat 8.0.32-3.1
OpenJDK 1.8.0.91-11.1


And I don't have duplicated JAR in none of the directories of the servers.

Best regards.

On Tue, Sep 27, 2016 at 10:58 AM, Misagh Moayyed <[email protected]>
wrote:

>
> What is the exact tomcat 7 version you’re on? And what is the exact tomcat
> 8 version you’re moving to? Are these tomcat packages you have downloaded
> from the tomcat website? Or from some sort of OS distro? Do you have
> duplicate JARs in WEB-INF/lib folder of CAS inside Tomcat?
>
> --
> Misagh
>
> From: Toni McWild <[email protected]> <[email protected]>
> Reply: Toni McWild <[email protected]> <[email protected]>
> Date: September 27, 2016 at 12:19:53 PM
> To: Misagh Moayyed <[email protected]> <[email protected]>
> Cc: [email protected] <[email protected]> <[email protected]>
> Subject:  Re: [cas-user] Tomcat 7 to Tomcat 8 doesn't work
>
> Thanks,
> That's everything I can find:
>
> Caused by: java.lang.IllegalStateException: Unable to complete the scan
> for annotations for web application [/cas] due to a StackOverflowError.
> Possible root causes include a too low setting for -Xss and illegal cyclic
> inheritance dependencies. The class hierarchy being processed was
> [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.
> bouncycastle.asn1.ASN1Boolean]
>
>
> Doesn't matter how high I set "-Xss" size, if I set it to 10M it allows me
> to do 1 restart, but the second restart throws the previous error.
>
> Thanks.
>
> On Tue, Sep 27, 2016 at 10:32 AM, Misagh Moayyed <[email protected]>
> wrote:
>
>> Look further into your tomcat logs, (and all of the logs), and you’ll
>> find something that should explain the startup failure.
>>
>> --
>> Misagh
>>
>> From: Toni McWild <[email protected]> <[email protected]>
>> Reply: Toni McWild <[email protected]> <[email protected]>
>> Date: September 27, 2016 at 11:55:26 AM
>> To: [email protected] <[email protected]> <[email protected]>
>> Subject:  [cas-user] Tomcat 7 to Tomcat 8 doesn't work
>>
>> Hi,
>> We have been using Tomcat 7 with CAS 4.1 and the following configuration
>> in order to start tomcat ( JVM 7 ):
>>
>> 'CATALINA_OPTS=-Duser.timezone=CET -Xms8G -Xmx16G -XX:NewSize=4G
>> -XX:MaxNewSize=8g -XX:MaxPermSize=8G -XX:+DisableExplicitGC
>> -XX:+ExplicitGCInvokesConcurrent -Xloggc:/var/log/tomcat/gc.log'
>>
>> 32G of Physical memory
>>
>>
>> So, when I have tried to set up Tomcat 8 and install the CAS compilation
>> that I have running on tomcat and Java 7 it doesn't work, it allows me to
>> start Tomcat and load CAS, but if I try to stop it and start it again it
>> drops an error:
>>
>> May I change Java configuration?
>>
>> 27-Sep-2016 09:17:23.807 INFO [http-bio-8443-exec-6]
>> org.apache.catalina.core.ApplicationContext.log HTMLManager: start:
>> Starting web application '/cas'
>> 27-Sep-2016 09:17:24.455 SEVERE [http-bio-8443-exec-6]
>> org.apache.catalina.core.ApplicationContext.log FAIL - Application at
>> context path /cas could not be started
>>  org.apache.catalina.LifecycleException: Failed to start component
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas]]
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
>> at org.apache.catalina.manager.ManagerServlet.start(ManagerServ
>> let.java:1293)
>> at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLMan
>> agerServlet.java:666)
>> at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLMa
>> nagerServlet.java:217)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:292)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(Cs
>> rfPreventionFilter.java:136)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.apache.catalina.filters.SetCharacterEncodingFilter.doFil
>> ter(SetCharacterEncodingFilter.java:108)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>> dWrapperValve.java:212)
>> at org.apache.catalina.core.StandardContextValve.invoke(Standar
>> dContextValve.java:106)
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>> uthenticatorBase.java:614)
>> at org.apache.catalina.valves.RequestFilterValve.process(Reques
>> tFilterValve.java:312)
>> at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddr
>> Valve.java:95)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>> stValve.java:141)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>> rtValve.java:79)
>> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(Abs
>> tractAccessLogValve.java:616)
>> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>> EngineValve.java:88)
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>> apter.java:522)
>> at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>> tractHttp11Processor.java:1095)
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>> .process(AbstractProtocol.java:672)
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(
>> JIoEndpoint.java:279)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.java:617)
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
>> run(TaskThread.java:61)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.IllegalStateException: Unable to complete the scan
>> for annotations for web application [/cas] due to a StackOverflowError.
>> Possible root causes include a too low setting for -Xss and illegal cyclic
>> inheritance dependencies. The class hierarchy being processed was
>> [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.
>> DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
>> at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(
>> ContextConfig.java:2100)
>> at org.apache.catalina.startup.ContextConfig.processAnnotations
>> Stream(ContextConfig.java:2046)
>> at org.apache.catalina.startup.ContextConfig.processAnnotations
>> Jar(ContextConfig.java:1991)
>> at org.apache.catalina.startup.ContextConfig.processAnnotations
>> Url(ContextConfig.java:1961)
>> at org.apache.catalina.startup.ContextConfig.processAnnotations
>> (ContextConfig.java:1915)
>> at org.apache.catalina.startup.ContextConfig.webConfig(ContextC
>> onfig.java:1158)
>> at org.apache.catalina.startup.ContextConfig.configureStart(Con
>> textConfig.java:780)
>> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Con
>> textConfig.java:305)
>> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
>> (LifecycleSupport.java:95)
>> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Li
>> fecycleBase.java:90)
>> at org.apache.catalina.core.StandardContext.startInternal(Stand
>> ardContext.java:5154)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>> ... 33 more
>>
>> --
>> 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 post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/a/ap
>> ereo.org/group/cas-user/.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CAEzQRepH%2BhcJp1jBRQaVav0WzBP4Ct%
>> 3DquLK5svpq348Cu8QQeA%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEzQRepH%2BhcJp1jBRQaVav0WzBP4Ct%3DquLK5svpq348Cu8QQeA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAEzQReovX2eV9LZRB8ULPDCSX-
> 0Y8cg40GXHKYgfBHcrXzm7Vg%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEzQReovX2eV9LZRB8ULPDCSX-0Y8cg40GXHKYgfBHcrXzm7Vg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/etPan.57ea34af.137d9b2.31e4%40unicon.net
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ea34af.137d9b2.31e4%40unicon.net?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEzQReq93hf%2BfYWVHaojcJMeVOx3%2BT6G%2BPR%2Bux-WXnNzct1SRg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to