step1:
I download completed new cas-overlay-template-5.3:
step 2: vi pom.xml
I just did one change: remove -tomcat since I will use external tomcat:
<app.server></app.server>
step 3: Build the cas.war
 ./build.sh clean
./build.sh package
./build.sh copy
Step 4: copy cas.war to tomcat
step 5: starttup tomcat
step 6: shutdown it after a few minutes
then I got the WARNING:

30-Jul-2021 16:29:33.895 WARNING [localhost-startStop-2] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
web application [cas] appears to have started a thread named [Thread-9] but 
has failed to stop it. This is very likely to create a memory leak. Stack 
trace of thread:
 sun.nio.fs.LinuxWatchService.poll(Native Method)
 sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
 sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
 java.lang.Thread.run(Thread.java:748)
30-Jul-2021 16:29:33.896 WARNING [localhost-startStop-2] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
web application [cas] appears to have started a thread named [config] but 
has failed to stop it. This is very likely to create a memory leak. Stack 
trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 
java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492)
 java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680)
 sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
 org.apereo.cas.util.io.PathWatcherService.run(PathWatcherService.java:67)
 java.lang.Thread.run(Thread.java:748)
30-Jul-2021 16:29:33.958 INFO [main] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
["http-nio-8080"]
30-Jul-2021 16:29:33.966 INFO [main] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
["https-jsse-nio-9000"]
30-Jul-2021 16:29:33.970 INFO [main] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
["http-nio-8080"]
30-Jul-2021 16:29:33.972 INFO [main] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
["https-jsse-nio-9000"]


-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8ab407a8-cda2-40eb-a5fc-1cd79b652807n%40apereo.org.

Reply via email to