grouper-users - Re: [grouper-users] Getting error while starting tomcat service
Subject: Grouper Users - Open Discussion List
List archive
- From: "Kukar, Yuvraj" <>
- To: "Hyzer, Chris" <>
- Cc: "Redman, Chad Eric" <>, "" <>
- Subject: Re: [grouper-users] Getting error while starting tomcat service
- Date: Thu, 1 Dec 2016 16:04:09 -0500
- Ironport-phdr: 9a23:byHxFREWRiNvrH0J7JzKIp1GYnF86YWxBRYc798ds5kLTJ7zrsqwAkXT6L1XgUPTWs2DsrQf2rGQ7/mrBjZIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZb1/IA+5oAnMucUbg5VuIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1kyoMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOmd4YADeQBM+ZWoYf+ulUAswexCBK2BO/z0DJFnGP60bE43uknDArI3BYgH9ULsHnMotn7MboSUeOvw6nS1TnIcvFZ2Srj6IjSaB8ho/+AVq93fMvR1EkvCRnFgU+SqYzmIjOV1f4Cs3KA4upvW+OvlnQrpB9srTiy38ohjJTCiIwSylDB7yp5wYA1KMW/SE5/fNGoCptRtyaHN4duWcMiX3tnuDwmyr0boZ63ZjMFyJMhyhXCaPKHa5CF7gziWeqNIzp1gXxldbGkiBqu9EWtxfHwWtWp31tPsiVJjt3Bu3UI2hDN9MSIV/1w9Vq71zmVzQDc8ORELFg0laXFL54hxaY9lp8JvkTCGi/6gVz2jKyKekk99emk9frrbaj8qp+TMI90jQ7+MqAwlcClHes4NQ0OU3Ca+eS6yrLj4VX0TKtLg/EqkKTUtZ7aKMcAqaKlBgJY3Zov5wqiADqjzNsUgX0KIVdAdR6ZkYTmJknCIPXiAve+h1Ssni1rx/fDPrD5ApTNM2bDkK37crZ/6E5c1QkzwspF559PFL4BJej8Wk71tNDCAR84PRG0z/z5B9pgy4MSQXiPDbOBMKPOrV+I4foiI+aWZI8SpTb9M+Yq5+T3gX8kgl8SY7Op3YAMZXC8H/RmOFmZYWHyjtsbEGcKuBY+Q/LwiF2ETzFTe2i+U7gi6T4mFYL1RbvEE8qNka6MxmPzNZ1MZ3sMQgSJGnf5ZYiec/YXY2SPOsJnlHoJWaX3GKE70hT7/iznyLN9aqLl5zMCvJCpnIxk+vPJnBMx6D99FeySzHzLQm1pyDBbDwQq1bxy9BQugmyI1rJ11rkBTYRe
In WEB-INF/lib you have subject.jar.old. You don’t have a subject.jar.
Can you rename it or restore it or get it from the distribution? Make sure you have the right one for your version J
Thanks
Chris
From: Kukar, Yuvraj [mailto:]
Sent: Thursday, December 01, 2016 2:06 PM
To: Hyzer, Chris <>
Cc: Redman, Chad Eric <>;
Subject: Re: [grouper-users] Getting error while starting tomcat service
I did try to restore file system and this is an only error i am getting -
SEVERE: Exception starting filter GrouperUi
java.lang.NoSuchMethodError: edu.internet2.middleware.
grouper.hibernate. HibernateSession.internal_ retrieveThreadlocalReadonly() Ljava/lang/Boolean; at edu.internet2.middleware.
grouper.util. GrouperThreadLocalState. storeCurrentThreadLocals( GrouperThreadLocalState.java: 75) at edu.internet2.middleware.
grouper.util.GrouperCallable.< init>(GrouperCallable.java: 199) at edu.internet2.middleware.
grouper.misc.GrouperStartup$1. <init>(GrouperStartup.java: 310) at edu.internet2.middleware.
grouper.misc.GrouperStartup. verifyUtf8andTransactions( GrouperStartup.java:310) at edu.internet2.middleware.
grouper.misc.GrouperStartup. startup(GrouperStartup.java: 287) at edu.internet2.middleware.
grouper.ui.GrouperUiFilter. init(GrouperUiFilter.java:792) at org.apache.catalina.core.
ApplicationFilterConfig. getFilter( ApplicationFilterConfig.java: 295) at org.apache.catalina.core.
ApplicationFilterConfig. setFilterDef( ApplicationFilterConfig.java: 424) at org.apache.catalina.core.
ApplicationFilterConfig.<init> (ApplicationFilterConfig.java: 115) at org.apache.catalina.core.
StandardContext.filterStart( StandardContext.java:4072) at org.apache.catalina.core.
StandardContext.start( StandardContext.java:4726) at org.apache.catalina.core.
ContainerBase.start( ContainerBase.java:1057) at org.apache.catalina.core.
StandardHost.start( StandardHost.java:840) at org.apache.catalina.core.
ContainerBase.start( ContainerBase.java:1057) at org.apache.catalina.core.
StandardEngine.start( StandardEngine.java:463) at org.apache.catalina.core.
StandardService.start( StandardService.java:525) at org.apache.catalina.core.
StandardServer.start( StandardServer.java:754) at org.apache.catalina.startup.
Catalina.start(Catalina.java: 595) at sun.reflect.
NativeMethodAccessorImpl. invoke0(Native Method) at sun.reflect.
NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 57) at sun.reflect.
DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43) at java.lang.reflect.Method.
invoke(Method.java:606) at org.apache.catalina.startup.
Bootstrap.start(Bootstrap. java:289) at org.apache.catalina.startup.
Bootstrap.main(Bootstrap.java: 414)
On Thu, Dec 1, 2016 at 1:38 PM, Kukar, Yuvraj <> wrote:
Thank you Chris,
Yes, it was working before. Attached, please find the logs and Lib files information.
On Thu, Dec 1, 2016 at 1:20 PM, Hyzer, Chris <> wrote:
Please stop tomcat. Delete your logs. Start tomcat. Try to access the UI. Send me all the logs. Also list the files with size and dates in the WEB-INF/lib dir and send that to me too.
Did it work before patching? Want to try to revert any recent patches you applied and try that too?
Thanks
Chris
From: [mailto:] On Behalf Of Kukar, Yuvraj
Sent: Thursday, December 01, 2016 1:09 PM
To: Redman, Chad Eric <>
Cc:
Subject: Re: [grouper-users] Getting error while starting tomcat service
Thank you. I getting NoClassDefFoundError in that -
Dec 01, 2016 12:46:20 PM org.apache.catalina.core.
StandardContext filterStart SEVERE: Exception starting filter Caller page
java.lang.
NoClassDefFoundError: edu/internet2/middleware/ subject/util/ExpirableCache at edu.internet2.middleware.
grouper.util.GrouperUtil. resourcePropertiesCache( GrouperUtil.java:2566)
at java.lang.reflect.Method.
invoke(Method.java:606) at org.apache.catalina.startup.Bo
otstrap.start(Bootstrap.java: 289) at org.apache.catalina.startup.Bo
otstrap.main(Bootstrap.java: 414) Caused by: java.lang.
ClassNotFoundException: edu.internet2.middleware. subject.util.ExpirableCache at org.apache.catalina.loader.
WebappClassLoader.loadClass( WebappClassLoader.java:1680) at org.apache.catalina.loader.
WebappClassLoader.loadClass( WebappClassLoader.java:1526) ... 26 more
Dec 01, 2016 12:46:20 PM org.apache.catalina.core.
StandardContext filterStart SEVERE: Exception starting filter Login check
java.lang.
NoClassDefFoundError: edu/internet2/middleware/ subject/ SubjectNotUniqueException at java.lang.Class.
getDeclaredConstructors0( Native Method) at java.lang.Class.
privateGetDeclaredConstructors (Class.java:2585)
at org.apache.catalina.startup.Bo
otstrap.start(Bootstrap.java: 289) at org.apache.catalina.startup.Bo
otstrap.main(Bootstrap.java: 414) Caused by: java.lang.
ClassNotFoundException: edu.internet2.middleware. subject. SubjectNotUniqueException at org.apache.catalina.loader.
WebappClassLoader.loadClass( WebappClassLoader.java:1680) at org.apache.catalina.loader.
WebappClassLoader.loadClass( WebappClassLoader.java:1526) ... 22 more
On Thu, Dec 1, 2016 at 12:14 PM, Redman, Chad Eric <> wrote:
The log line "(...servlet-api-2.5.jar) - jar not loaded" is normal -- note it's at INFO level. The real error is " SEVERE: Error filterStart". Check the associated localhost.log for the same timestamp, which should have stacktraces for the problem.
-Chad
From: [mailto:] On Behalf Of Kukar, Yuvraj
Sent: Thursday, December 01, 2016 11:56 AM
To:
Subject: [grouper-users] Getting error while starting tomcat service
Hello,
Need your help in fixing the issue we are facing to restart apache tomcat (grouper service) after installing required UI and API Patches.
Catalina.out logs:
Dec 01, 2016 11:15:56 AM org.apache.catalina.core.
StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.37
Dec 01, 2016 11:16:02 AM org.apache.catalina.loader.
WebappClassLoader validateJarFile INFO: validateJarFile(/app/grouper/
grouper.ui-2.2.1/dist/grouper/ WEB-INF/lib/servlet-api-2.5. jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Dec 01, 2016 11:16:03 AM org.apache.catalina.core.
StandardContext start SEVERE: Error filterStart
Dec 01, 2016 11:16:03 AM org.apache.catalina.core.
StandardContext start SEVERE: Context [/grouper] startup failed due to previous errors
Dec 01, 2016 11:16:03 AM org.apache.catalina.startup.
HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml
The servlet-api jar file is in the lib directory. I did notice the version mismatch error yesterday in grouper error logs as well which I am not getting today while restart tomcat service.
2016-11-30 13:40:04,504: [main] ERROR GrouperCheckConfig.
checkGrouperVersion(1173) - - grouper versions do not match, GrouperVersion.class: 2.2.2, grouper.version.properties: 2.2.2, manifest: null
--
--
--
--
- [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Redman, Chad Eric, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Hyzer, Chris, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Hyzer, Chris, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Hyzer, Chris, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Hyzer, Chris, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Hyzer, Chris, 12/01/2016
- Re: [grouper-users] Getting error while starting tomcat service, Kukar, Yuvraj, 12/01/2016
- RE: [grouper-users] Getting error while starting tomcat service, Redman, Chad Eric, 12/01/2016
Archive powered by MHonArc 2.6.19.