Skip to content

Instantly share code, notes, and snippets.

@lancespeelmon
lancespeelmon / gist:4958228
Created February 15, 2013 02:54
KC cmuPersonImportTrigger exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmuPersonImportTrigger' defined in class path resource [edu/cmu/kuali/kra/identity/config/IdentitySpringBeans.xml]: Invocation of init method failed; nested exception is java.text.ParseException: Unexpected end of expression.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBe
@lancespeelmon
lancespeelmon / gist:4958504
Created February 15, 2013 04:01
quartz.SchedulerFactoryBean ERROR org.kuali.kra.service.impl.KcEmailServiceImpl - Failed to send email.
2013-02-14 22:55:59,048 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] u:/d: ERROR org.kuali.kra.service.impl.KcEmailServiceImpl - Failed to send email.
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 10000;
nested exception is:
java.net.ConnectException: Connection refused. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 10000;
nested exception is:
java.net.ConnectException: Connection refused; message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 10000;
nested exception is:
java.net.ConnectException: Connection refused
ERROR org.apache.ojb.broker.core.PersistenceBrokerImpl - No running tx found, please only store in context of an PB-transaction, to avoid side-effects - e.g. when rollback of complex objects
java.lang.Exception: ** Try to store object without active PersistenceBroker transaction **
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeAndLinkOneToMany(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeCollections(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
@lancespeelmon
lancespeelmon / gist:4958657
Created February 15, 2013 05:02
post KC startup
2013-02-15 00:00:00,043 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] u:/d: INFO org.apache.ojb.broker.metadata.MetadataManager - No 'default-connection' attribute set in jdbc-connection-descriptors, thus it's currently not possible to use 'defaultPersistenceBroker()' convenience method to lookup PersistenceBroker instances. But it's possible to enable this at runtime using 'setDefaultKey' method.
2013-02-15 00:00:00,051 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] u:/d: INFO org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl - Create new PB instance for PBKey org.apache.ojb.broker.PBKey: jcdAlias=kimDataSource, user=null, password=null, already created persistence broker instances: 4
2013-02-15 00:00:00,051 [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] u:/d: INFO org.apache.ojb.broker.cache.ObjectCacheFactory - Start creating new ObjectCache instance
2013-02-15 00:00:00,052 [org.springframework.scheduling.quartz.Sched
@lancespeelmon
lancespeelmon / gist:5306596
Created April 4, 2013 00:08
normal KC 5.0.1 startup
This file has been truncated, but you can view the full file.
nitMethodName=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/bo/datadictionary/PessimisticLock.xml]]
2013-04-03 10:19:54,587 [main] u:/d: INFO org.springframework.beans.factory.support.KualiDefaultListableBeanFactory - Overriding bean definition for bean 'PessimisticLock-id': replacing [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/bo/datadictionary/PessimisticLock.xml]] with [Generic bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/bo/datadictionary/PessimisticLock.xml]]
2013-04-03 10:19:54,587 [main] u:/d: INFO o
@lancespeelmon
lancespeelmon / gist:5306620
Created April 4, 2013 00:13
jetty:run normal startup
This file has been truncated, but you can view the full file.
me=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/uif/UifGroupDefinitions.xml]]
2013-04-03 17:07:15,989 [main] u:/d: INFO org.springframework.beans.factory.support.KualiDefaultListableBeanFactory - Overriding bean definition for bean 'Uif-ListCollectionGroup-parentBean': replacing [Generic bean: class [org.kuali.rice.krad.uif.container.CollectionGroup]; scope=; abstract=true; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/uif/UifGroupDefinitions.xml]] with [Generic bean: class [org.kuali.rice.krad.uif.container.CollectionGroup]; scope=; abstract=true; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/kuali/rice/krad/uif/UifGrou
###############################################################################
# java
###############################################################################
if [[ "$OSTYPE" == darwin* ]]; then
export JAVA_HOME=`/usr/libexec/java_home -d64 -v 1.6`
# java 7 oracle jdk
# export JAVA_HOME=`/usr/libexec/java_home -d64 -v 1.7`
export JRE_HOME="$JAVA_HOME"
HTTP Status 500 - An exception occurred processing JSP page /kr/WEB-INF/jsp/KualiExceptionIncident.jsp at line 82
type Exception report
message An exception occurred processing JSP page /kr/WEB-INF/jsp/KualiExceptionIncident.jsp at line 82
description The server encountered an internal error that prevented it from fulfilling this request.
exception
@lancespeelmon
lancespeelmon / IllegalArgumentException: argument type mismatch
Created August 28, 2013 16:58
IllegalArgumentException: argument type mismatch
org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase$KimTypeAttributeValidationException: java.lang.IllegalArgumentException: argument type mismatch
at org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase.validateDataDictionaryAttribute(DataDictionaryTypeServiceBase.java:503)
at org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase.validateAttributes(DataDictionaryTypeServiceBase.java:169)
at org.kuali.kra.kim.service.impl.UnitHierarchyRoleTypeServiceImpl.validateAttributes(UnitHierarchyRoleTypeServiceImpl.java:61)
at org.kuali.rice.kim.document.rule.IdentityManagementPersonDocumentRule.validateRoleQualifier(IdentityManagementPersonDocumentRule.java:412)
at org.kuali.rice.kim.document.rule.IdentityManagementPersonDocumentRule.processCustomSaveDocumentBusinessRules(IdentityManagementPersonDocumentRule.java:120)
at org.kuali.rice.krad.rules.DocumentRuleBase.processSaveDocument(DocumentRuleBase.java:161)
at org.kuali.rice.krad.rules.rule.event
@lancespeelmon
lancespeelmon / gist:8925551
Created February 10, 2014 22:28
KC svn vs git 5.2.0 tags
diff -r kc-release-5_2-tag kc-git-5.2.0
Only in kc-release-5_2-tag: .idea
Only in kc-release-5_2-tag: kc_project.iml
diff -r kc-release-5_2-tag/pom.xml kc-git-5.2.0/pom.xml
459,481d458
< <groupId>org.codehaus.mojo</groupId>
< <artifactId>truezip-maven-plugin</artifactId>
< <version>${truezip-maven-plugin.version}</version>
< <executions>
< <execution>