Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Getting error while starting tomcat service

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Getting error while starting tomcat service


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Kukar, Yuvraj" <>
  • Cc: "Redman, Chad Eric" <>, "" <>
  • Subject: RE: [grouper-users] Getting error while starting tomcat service
  • Date: Thu, 1 Dec 2016 19:22:48 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:ne2OHxEe/1ygwhOX/E4VUJ1GYnF86YWxBRYc798ds5kLTJ7yocSwAkXT6L1XgUPTWs2DsrQf2rGQ7/mrBzdIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZb1/IA+5oAnMucUbgIVvIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1kyoMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOmd4YBD/QPM/tEr4fzpFUOoxmxBQiwC+zg0TJInGP60bEg3ug9DQ3L3gotFM8OvnTOq9X1Mb8fXe63wqjIzDTMcelW1S/g44XWchAhu/CMXal+fcHMzkQvEh/KjlWQqI3kITyVzP8As2mA7+V8T+6vlnYnpB93ojip3MsjlJTGhp8Mx13C6C53zoE1JdiiR056Z96pCJxQtyWHOIdsQsIiRHxotD4hyr0ao5G7ZjQKyIk/xxLFcPOHdI6F6Q/gWuaJOTp0mmhqdK6iixu37ESs1/DwW8y60FtFsiZJjtzBu3IT2BHc9MSKT/5w8lm91TuLzwzf9+9JLVwumaffNpIt2KA8mocXvEjZAyP7mkT7gamLfUs+4Oeo8f7oYrD+q5+cKYB0jgb+P7w2lMGjBuo0LhUCU3GG9Ou+yrHv5Er5T65UgfEslanZrYzaKt8cpq6kBQ9az5wv6w6lDzehzNQXg2UILE5EeBKAiYjlIVbOIO3kDfe7hFSslzRry+raMb3mB5XBNnnDkLH/crZh80NQ1hA8wcxC659RF70NPe//V0r/tNHXEhM1Lwm5zuT5B9hyyI8TXGeCDrGFPK7WqVOI4/ggI+iIZI8bojb9LP0l6ubrjXAlmV8cfaio0oUNaH2jH/RmOFmWbWDxgtcZD2gKuAw+QPb0h1KfTD5ff2yyUL4k5jEnFIKmCp/ORo+3gLyGwSe7BoNZZnpfBlCRCnfnaZ+EW+wXZSKWI89hiSAEVaO/R4M71BGushP6xKR9LurS5CIYqYzv2MJr6OLOiBFhvQBzWo6+zmKEVSU8r34WXTY0lugrsFFj0F6B0rV7iuZwGsNOof5FT1FpG4TbyrkwK8HgVxiFNvyJUle9CJ3yBDoxX8A82fcPeE07Bs2viBaF0ia3VexG34eXDYA5p/qPl0P6INxwnjOfjPEs
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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. 

 

 

Inline image 1

 

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.Bootstrap.start(Bootstrap.java:289)

        at org.apache.catalina.startup.Bootstrap.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.Bootstrap.start(Bootstrap.java:289)

        at org.apache.catalina.startup.Bootstrap.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

 

 

 

-- 

Yuvraj Kukar

University Web & Identity Services

 

 



 

--

Yuvraj Kukar

University Web & Identity Services

 

 



 

--

Yuvraj Kukar

University Web & Identity Services

 

 



 

--

Yuvraj Kukar

University Web & Identity Services

(571) 553-4314

 

 




Archive powered by MHonArc 2.6.19.

Top of Page