ERROR: KR-NS / All / STRING_TO_DATE_FORMATS
by krishna
Am getting the below error while tomcat startup with Kuali Financial System (KFS) release 3.0. The solution is to insert statements on KRNS_PRAM_T for NMSPC_CD=’KR-NS’
ERROR org.apache.catalina.core.ContainerBase.[Cat
alina].[localhost].[/kfs-dev] :: Exception sending context initialized event to
listener instance of class org.kuali.kfs.sys.context.WebApplicationInitListener
org.kuali.rice.core.exception.RiceRuntimeException: java.lang.IllegalArgumentExc
eption: The getParameter method of KualiConfigurationServiceImpl was unable to f
ind parameter: KR-NS / All / STRING_TO_DATE_FORMATS
at org.kuali.rice.core.config.RiceConfigurer.onApplicationEvent(RiceConf
igurer.java:247)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:363)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:91)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:75)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:65)
at org.kuali.rice.kns.util.spring.ClassPathXmlApplicationContext.<init>(
ClassPathXmlApplicationContext.java:44)
at org.kuali.kfs.sys.context.SpringContext.initializeApplicationContext(
SpringContext.java:271)
at org.kuali.kfs.sys.context.SpringContext.initializeApplicationContext(
SpringContext.java:224)
at org.kuali.kfs.sys.context.WebApplicationInitListener.contextInitializ
ed(WebApplicationInitListener.java:33)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3795)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
252)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.IllegalArgumentException: The getParameter method of KualiC
onfigurationServiceImpl was unable to find parameter: KR-NS / All / STRING_TO_DA
TE_FORMATS
at org.kuali.rice.kns.service.impl.ParameterServiceBase.getParameter(Par
ameterServiceBase.java:448)
at org.kuali.rice.kns.service.impl.ParameterServiceBase.getParameterValu
es(ParameterServiceBase.java:155)
at org.kuali.rice.kns.service.impl.ParameterServiceProxyImpl.getParamete
rValues(ParameterServiceProxyImpl.java:152)
at org.kuali.rice.kns.service.impl.DateTimeServiceImpl.initializeDateTim
eService(DateTimeServiceImpl.java:49)
at org.kuali.rice.kns.config.KNSConfigurer.onEvent(KNSConfigurer.java:10
6)
at org.kuali.rice.core.config.RiceConfigurer.notify(RiceConfigurer.java:
253)
at org.kuali.rice.core.config.RiceConfigurer.onApplicationEvent(RiceConf
igurer.java:239)
… 36 more
Dec 7, 2009 10:14:25 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 7, 2009 10:14:25 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/kfs-dev] startup failed due to previous errors
2009-12-07 10:14:25,417 [main] INFO org.kuali.kfs.sys.context.WebApplicationIni
tListener :: Started web application context destruction
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’CHECK_ENCRYPTION_SERVICE_OVERRIDE_IND’,’3B13485ADC45A020E043814FD881A020′,2,’CONFG’,’Y’,’Flag for enabling/disabling (Y/N) the demonstration encryption check.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’DATE_TO_STRING_FORMAT_FOR_FILE_NAME’,’660E978D31FCFF33E0404F8189D87C62′,1,’CONFG’,’yyyyMMdd’,’A single date format string that the DateTimeService will use to format dates to be used in a file name when DateTimeServiceImpl.toDateStringForFilename(Date) is called. For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE’,’660E978D31FEFF33E0404F8189D87C62′,1,’CONFG’,’MM/dd/yyyy’,’A single date format string that the DateTimeService will use to format a date to be displayed on a web page. For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’DEFAULT_COUNTRY’,’64B87B4C5E3B8F4CE0404F8189D8291A’,1,’CONFG’,’US’,’Used as the default country code when relating records that do not have a country code to records that do have a country code, e.g. validating a zip code where the country is not collected.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’ENABLE_DIRECT_INQUIRIES_IND’,’4508B7A964B0F1F6E043814FD881F1F6′,2,’CONFG’,’N’,’Flag for enabling/disabling direct inquiries on screens that are drawn by the nervous system (i.e. lookups and maintenance documents)’,’A’,’KFS’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’ENABLE_DIRECT_INQUIRIES_IND’,’72859521CE0A81E8E0404F8189D86618′,1,’CONFG’,’Y’,’Flag for enabling/disabling direct inquiries on screens that are drawn by the nervous system (i.e. lookups and maintenance documents)’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’ENABLE_FIELD_LEVEL_HELP_IND’,’3B758A066731A114E043814FD881A114′,2,’CONFG’,’N’,’Indicates whether field level help links are enabled on lookup pages and documents.’,’A’,’KFS’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’ENABLE_FIELD_LEVEL_HELP_IND’,’72859521CE0B81E8E0404F8189D86618′,1,’CONFG’,’Y’,’Indicates whether field level help links are enabled on lookup pages and documents.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’MAX_FILE_SIZE_DEFAULT_UPLOAD’,’3C04E894956830EEE043814FD88130EE’,1,’CONFG’,’5M’,’Maximum file upload size for the application. Used by PojoFormBase. Must be an integer, optionally followed by “K”, “M”, or “G”. Only used if no other upload limits are in effect.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’SENSITIVE_DATA_PATTERNS’,’684328C3038B9D25E0404F8189D81844′,1,’CONFG’,'[0-9]{9};[0-9]{3}-[0-9]{2}-[0-9]{4}’,’A semi-colon delimted list of regular expressions that identify potentially sensitive data in strings. These patterns will be matched against notes, document explanations, and routing annotations (i.e. the document disapproval reason)’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’STRING_TO_DATE_FORMATS’,’660E978D31FBFF33E0404F8189D87C62′,1,’CONFG’,’MM/dd/yy;MM/dd/yyyy;MM/dd/yyyy HH:mm:ss;MM/dd/yy;MM-dd-yy;MMMM dd;yyyy;MMddyy’,’A semi-colon delimted list of strings representing date formats that the DateTimeService will use to parse dates when DateTimeServiceImpl.convertToSqlDate(String) or DateTimeServiceImpl.convertToDate(String) is called. Note that patterns will be applied in the order listed (and the first applicable one will be used). For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’STRING_TO_TIMESTAMP_FORMATS’,’660E978D3200FF33E0404F8189D87C62′,1,’CONFG’,’MM/dd/yyyy hh:mm a;MM/dd/yyyy;MM/dd/yyyy HH:mm:ss;MM/dd/yy;MM-dd-yy;MMMM dd;yyyy;MMddyy’,’A semi-colon delimted list of strings representing date formats that the DateTimeService will use to parse date and times when DateTimeServiceImpl.convertToDateTime(String) or DateTimeServiceImpl.convertToSqlTimestamp(String) is called. Note that patterns will be applied in the order listed (and the first applicable one will be used). For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’TIMESTAMP_TO_STRING_FORMAT_FOR_FILE_NAME’,’660E978D31FDFF33E0404F8189D87C62′,1,’CONFG’,’yyyyMMdd-HH-mm-ss-S’,’A single date format string that the DateTimeService will use to format a date and time string to be used in a file name when DateTimeServiceImpl.toDateTimeStringForFilename(Date) is called.. For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’All’,’TIMESTAMP_TO_STRING_FORMAT_FOR_USER_INTERFACE’,’660E978D31FFFF33E0404F8189D87C62′,1,’CONFG’,’MM/dd/yyyy hh:mm a’,’A single date format string that the DateTimeService will use to format a date and time to be displayed on a web page. For a more technical description of how characters in the parameter value will be interpreted, please consult the javadocs for java.text.SimpleDateFormat. Any changes will be applied when the application is restarted.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Document’,’ALLOW_ENROUTE_BLANKET_APPROVE_WITHOUT_APPROVAL_REQUEST_IND’,’70CAE9E65B562C2CE0404F8189D83B8D’,1,’CONFG’,’N’,’Controls whether the nervous system will show the blanket approve button to a user who is authorized for blanket approval but is neither the initiator of the particular document nor the recipient of an active, pending, approve action request.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Document’,’DEFAULT_CAN_PERFORM_ROUTE_REPORT_IND’,’3B13485ADC49A020E043814FD881A020′,2,’CONFG’,’N’,’If Y, the “route report” button will be displayed on the document actions bar if the document is using the default DocumentAuthorizerBase.getDocumentActionFlags to set the canPerformRouteReport property of the returned DocumentActionFlags instance.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Document’,’MAX_FILE_SIZE_ATTACHMENT’,’3C04E894956930EEE043814FD88130EE’,1,’CONFG’,’5M’,’Maximum attachment upload size for the application. Used by KualiDocumentFormBase. Must be an integer, optionally followed by “K”, “M”, or “G”.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Document’,’SEND_NOTE_WORKFLOW_NOTIFICATION_ACTIONS’,’3D0A3E897DE8A088E043814FD881A088′,1,’CONFG’,’F’,’Some documents provide the functionality to send notes to another user using a workflow FYI or acknowledge functionality. This parameter specifies the default action that will be used when sending notes. This parameter should be one of the following 2 values: “K” for acknowledge or “F” for fyi. Depending on the notes and workflow service implementation, other values may be possible (see edu.iu.uis.eden.EdenConstants javadocs for details).’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Document’,’SESSION_TIMEOUT_WARNING_MESSAGE_TIME’,’51276895A72CE13CE0404F8189D85A09′,1,’CONFG’,’5′,’The number of minutes before a session expires that user should be warned when a document uses pessimistic locking.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Lookup’,’MULTIPLE_VALUE_RESULTS_EXPIRATION_SECONDS’,’3B13485ADC4DA020E043814FD881A020′,2,’CONFG’,’86400′,’Lookup results may continue to be persisted in the DB long after they are needed. This parameter represents the maximum amount of time, in seconds, that the results will be allowed to persist in the DB before they are deleted from the DB.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Lookup’,’MULTIPLE_VALUE_RESULTS_PER_PAGE’,’3B13485ADC4EA020E043814FD881A020′,2,’CONFG’,’100′,’Maximum number of rows that will be displayed on a look-up results screen.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Lookup’,’RESULTS_DEFAULT_MAX_COLUMN_LENGTH’,’3B760A7252ECE148E043814FD881E148′,2,’CONFG’,’70’,’If a maxLength attribute has not been set on a lookup result field in the data dictionary, then the result column”s maximum length will be the value of this parameter. Set this parameter to 0 for an unlimited default length or a positive value (i.e. greater than 0) for a finite maximum length.’,’A’,’KUALI’);
Insert into KRNS_PARM_T (NMSPC_CD,PARM_DTL_TYP_CD,PARM_NM,OBJ_ID,VER_NBR,PARM_TYP_CD,TXT,PARM_DESC_TXT,CONS_CD,APPL_NMSPC_CD) values (‘KR-NS’,’Lookup’,’RESULTS_LIMIT’,’3B13485ADC4FA020E043814FD881A020′,2,’CONFG’,’200′,’Maximum number of results returned in a look-up query.’,’A’,’KUALI’);
commit;
Am getting the below error while tomcat startup with Kuali Financial System (KFS) release 3.0. The solution is to insert statements on KRNS_PRAM_T for NMSPC_CD=’KR-NS’ ERROR org.apache.catalina.core.ContainerBase.[Cat alina].[localhost].[/kfs-dev] :: Exception sending context initialized event to listener instance of class org.kuali.kfs.sys.context.WebApplicationInitListener org.kuali.rice.core.exception.RiceRuntimeException: java.lang.IllegalArgumentExc eption: The getParameter method of KualiConfigurationServiceImpl was unable to f ind parameter: KR-NS…
Recent Comments
Archives
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- February 2012
- January 2012
- December 2011
- October 2011
- August 2011
- July 2011
- May 2011
- January 2011
- November 2010
- October 2010
- September 2010
- July 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- June 2008
- December 2007
- April 2007
- January 2007