Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper Quick Start 1.5.2/1.5.3: Hibernate/HSQL/Tomcat startup error

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper Quick Start 1.5.2/1.5.3: Hibernate/HSQL/Tomcat startup error


Chronological Thread 
  • From: Chris Hyzer <>
  • To: David Smith <>, "" <>
  • Subject: RE: [grouper-users] Grouper Quick Start 1.5.2/1.5.3: Hibernate/HSQL/Tomcat startup error
  • Date: Mon, 19 Apr 2010 16:43:21 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

This part:

Cant find version 22(V22) in objectName: Grouper,
edu.internet2.middleware.grouper.ddl.GrouperDdl

Makes me think there are Grouper 1.4 libraries somewhere. Have you ever
installed those? Can you start grouper with GSH? Can you paste the output
here? Is everything you did a clean install to 1.5.3 and not an upgrade? Is
the tomcat only used for grouper or for other things too?

Thanks,
Chris

-----Original Message-----
From: David Smith
[mailto:]

Sent: Monday, April 19, 2010 2:18 PM
To:

Subject: [grouper-users] Grouper Quick Start 1.5.2/1.5.3:
Hibernate/HSQL/Tomcat startup error

Environment:

RedHat Enterprise Linux 5 Desktop running on kernel 2.6.18-194.el5
Tomcat 5.5.23
JRE 1.6.0_19

I've followed the instructions in the Quick start documentation to
deploy grouper to Tomcat 5. After deploying the webapp to Tomcat,
starting HSQL through ant, and starting Tomcat, I see the following
startup error occur in logsgrouper_ui.log:

2010-04-19 11:06:04,293 FATAL hib3.Hib3DAO: unable to initialize
hibernate: Duplicate class/entity mapping ChangeLogEntryEntity
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping
ChangeLogEntryEntity
at org.hibernate.cfg.Mappings.addClass(Mappings.java:118)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:145)
at org.hibernate.cfg.Configuration.add(Configuration.java:675)
at org.hibernate.cfg.Configuration.addXML(Configuration.java:446)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.addClass(Hib3DAO.java:218)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:116)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.session(Hib3DAO.java:260)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAOFactory.getSession(Hib3DAOFactory.java:159)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.<init>(HibernateSession.java:105)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSession(HibernateSession.java:283)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:416)
at
edu.internet2.middleware.grouper.hibernate.ByCriteriaStatic.list(ByCriteriaStatic.java:267)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveDdlsFromDb(GrouperDdlUtils.java:1615)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveDdlsFromCache(GrouperDdlUtils.java:1298)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveObjectNames(GrouperDdlUtils.java:1555)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:358)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:261)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:83)
at
edu.internet2.middleware.grouper.ui.CallerPageFilter.init(CallerPageFilter.java:69)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardContext.filterStart(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployDirectory(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployDirectories(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardHost.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardEngine.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.so5bo62q.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
2010-04-19 11:06:04,305 ERROR ddl.GrouperDdlUtils: maybe the
grouper_ddl table isnt there... if that is the reason its ok. info
level logging will show underlying reason.unable to initialize
hibernate: Duplicate class/entity mapping ChangeLogEntryEntity,
Problem in HibernateSession: null,
Exception in list: (class
edu.internet2.middleware.grouper.app.loader.db.Hib3GrouperDdl),
ByCriteriaStatic, persistentClass: 'class
edu.internet2.middleware.grouper.app.loader.db.Hib3GrouperDdl',
criterions: null', cacheable: null, cacheRegion: null, entityName: null,
tx type: null
2010-04-19 11:06:04,419 ERROR misc.GrouperStartup: Couldnt startup
grouper: Cant find version 22(V22) in objectName: Grouper,
edu.internet2.middleware.grouper.ddl.GrouperDdl
java.lang.RuntimeException: Cant find version 22(V22) in objectName:
Grouper, edu.internet2.middleware.grouper.ddl.GrouperDdl
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retieveVersion(GrouperDdlUtils.java:1256)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:391)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:261)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:83)
at
edu.internet2.middleware.grouper.ui.CallerPageFilter.init(CallerPageFilter.java:69)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardContext.filterStart(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployDirectory(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployDirectories(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardHost.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardEngine.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.so5bo62q.so)
at
org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.so5bo62q.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
Caused by: java.lang.IllegalArgumentException: V22
at java.lang.Enum.valueOf(libgcj.so.7rh)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retieveVersion(GrouperDdlUtils.java:1254)
...28 more

I've verified through the db-ui that the grouper_dll table does exist
and the tomcat log reports some of this same exception in its own log.

Is this an issue that can be resolved in one of Grouper's config files,
or will a source code change be necessary to fix the bug? This issue
appears in both versions 1.5.2 and 1.5.3 and causes the UI webapp to be
inaccessible through the browser (reporting the error "_The requested
resource () is not available.")_.

Thanks,

David




Archive powered by MHonArc 2.6.16.

Top of Page