grouper-users - [grouper-users] Config file line invalid
Subject: Grouper Users - Open Discussion List
List archive
- From: Ben Beecher <>
- To: " Mailing List" <>
- Subject: [grouper-users] Config file line invalid
- Date: Wed, 25 Mar 2020 11:05:43 -0400
I am upgrading from Grouper 2.3 to Grouper 2.4. I am getting errors regarding comments in grouper.client.base.properties
How can I resolve this?
2020-03-25 10:55:47,058 [grouper-dev.cc.columbia.edu-startStop-1] ERROR (ConfigFileMetadata.java:278) - Config file line invalid, GROUPER_CLIENT_PROPERTIES, line: 174 should be a comment with one hash: '####'
2020-03-25 10:55:42,065 [grouper-dev.cc.columbia.edu-startStop-1] WARN How can I resolve this?
2020-03-25 10:55:47,058 [grouper-dev.cc.columbia.edu-startStop-1] ERROR (ConfigFileMetadata.java:278) - Config file line invalid, GROUPER_CLIENT_PROPERTIES, line: 174 should be a comment with one hash: '####'
Ben
(GrouperStartup.java:232) - Grouper starting up: version: 2.4.0, build date:
null, env: dev
grouperPatchStatus read from:
/var/tomcat/grouperdev/webapps/grouper/WEB-INF/grouperPatchStatus.properties
api patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93
ui patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56
grouper.properties read from:
file:/var/tomcat/grouperdev/webapps/grouper/WEB-INF/classes/grouper.properties
Grouper current directory is: /opt/apache-tomcat
log4j.properties read from:
file:/var/tomcat/grouperdev/webapps/grouper/WEB-INF/classes/log4j.properties
Grouper is logging to file: /var/log/tcat/grouperdev/grouper_error.log, at
min level WARN for package: edu.internet2.middleware.grouper, based on
log4j.properties
grouper.hibernate.properties:
file:/var/tomcat/grouperdev/webapps/grouper/WEB-INF/classes/grouper.hibernate.properties
grouper.hibernate.properties:
grouper@jdbc:oracle:thin:@grouperdevdb01.cc.columbia.edu:1527:grp1d
2020-03-25 10:55:47,058 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(ConfigFileMetadata.java:278) - Config file line invalid,
GROUPER_CLIENT_PROPERTIES, line: 174 should be a comment with one hash: '####'
2020-03-25 10:55:47,059 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(ConfigFileMetadata.java:278) - Config file line invalid,
GROUPER_CLIENT_PROPERTIES, line: 175 should be a comment with one hash: '##
Below here are default values and override values for the discovery '
2020-03-25 10:55:47,059 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(ConfigFileMetadata.java:278) - Config file line invalid,
GROUPER_CLIENT_PROPERTIES, line: 176 should be a comment with one hash: '##
properties at your institution. Note: if the override keys are there'
2020-03-25 10:55:47,059 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(ConfigFileMetadata.java:278) - Config file line invalid,
GROUPER_CLIENT_PROPERTIES, line: 177 should be a comment with one hash: '##
with no value then it will blank out the discovery service value'
2020-03-25 10:55:47,059 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(ConfigFileMetadata.java:278) - Config file line invalid,
GROUPER_CLIENT_PROPERTIES, line: 178 should be a comment with one hash: '####'
2020-03-25 10:55:47,060 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(GrouperStartup.java:429) - Couldnt startup grouper: Cant have whitespace
between comments without a property,
Config file line invalid, GROUPER_CLIENT_PROPERTIES, line: 180 '# default
urls of directory, including the base DN (distinguished name)'
java.lang.RuntimeException: Cant have whitespace between comments without a
property,
Config file line invalid, GROUPER_CLIENT_PROPERTIES, line: 180 '# default
urls of directory, including the base DN (distinguished name)'
at
edu.internet2.middleware.grouper.cfg.dbConfig.ConfigFileMetadata.generateMetadataForConfigFile(ConfigFileMetadata.java:320)
at
edu.internet2.middleware.grouper.cfg.dbConfig.ConfigFileName.configFileMetadata(ConfigFileName.java:216)
at
edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperConfigs(GrouperCheckConfig.java:420)
at
edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:524)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:372)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:784)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4662)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-03-25 10:55:52,536 [grouper-dev.cc.columbia.edu-startStop-1] WARN
(GrouperStartup.java:232) - Grouper starting up: version: 2.4.0, build date:
null, env: dev
grouperPatchStatus read from:
/var/tomcat/grouperdev/webapps/grouper-ws/WEB-INF/grouperPatchStatus.properties
api patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93
grouper.properties read from:
file:/var/tomcat/grouperdev/webapps/grouper-ws/WEB-INF/classes/grouper.properties
Grouper current directory is: /opt/apache-tomcat
log4j.properties read from:
file:/var/tomcat/grouperdev/webapps/grouper-ws/WEB-INF/classes/log4j.properties
Grouper logs are not using log4j: class
org.apache.commons.logging.impl.SLF4JLocationAwareLog
grouper.hibernate.properties:
file:/var/tomcat/grouperdev/webapps/grouper-ws/WEB-INF/classes/grouper.hibernate.properties
grouper.hibernate.properties:
grouper@jdbc:oracle:thin:@grouperdevdb01.cc.columbia.edu:1527:grp1d
2020-03-25 10:55:53,159 [grouper-dev.cc.columbia.edu-startStop-1] ERROR
(Hib3DAO.java:279) - unable to initialize hibernate:
org/dom4j/io/STAXEventReader
java.lang.NoClassDefFoundError: org/dom4j/io/STAXEventReader
at
org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.java:43)
at org.hibernate.boot.MetadataSources.<init>(MetadataSources.java:87)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:124)
at org.hibernate.cfg.Configuration.<init>(Configuration.java:119)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:132)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.session(Hib3DAO.java:365)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAOFactory.getSession(Hib3DAOFactory.java:196)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.<init>(HibernateSession.java:242)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSession(HibernateSession.java:470)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:662)
at
edu.internet2.middleware.grouper.hibernate.ByCriteriaStatic.list(ByCriteriaStatic.java:303)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveDdlsFromDb(GrouperDdlUtils.java:1983)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveDdlsFromCache(GrouperDdlUtils.java:1545)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.retrieveObjectNames(GrouperDdlUtils.java:1819)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:442)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:344)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:364)
at
edu.internet2.middleware.grouper.subj.SubjectResolverFactory.getInstance(SubjectResolverFactory.java:58)
at
edu.internet2.middleware.grouper.SubjectFinder.getResolver(SubjectFinder.java:972)
at
edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:957)
at
edu.internet2.middleware.grouper.GrouperSession.startRootSession(GrouperSession.java:426)
at
edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1017)
at
edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.initGroup(GrouperServiceJ2ee.java:1008)
at
edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.initOnce(GrouperServiceJ2ee.java:1074)
at
edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.init(GrouperServiceJ2ee.java:995)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4662)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1423)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1413)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.dom4j.io.STAXEventReader
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
... 37 more
- [grouper-users] Config file line invalid, Ben Beecher, 03/25/2020
- Re: [grouper-users] Config file line invalid, Ben Beecher, 03/25/2020
Archive powered by MHonArc 2.6.19.