[Building Sakai] nightly experimental stack trace cast on login

Matthew Jones matthew at longsight.com
Tue Aug 12 07:15:28 PDT 2014


Hopefully after some search work last week, removing legacy search, elastic
search upgrade, fixing the deploy of experimental, updating dashboard, this
server will finally come up on the next rebuild (which will most likely be
on schedule in about 14 hours at 2:30AM EDT). Everything in it comes up
locally for me.


On Thu, Aug 7, 2014 at 9:45 AM, Matthew Jones <matthew at longsight.com> wrote:

> Yeah, the error in the log is related to the search bean not starting up
> correctly, and then clog taking down spring because it tries to inject the
> search service. This is probably related to the elastic search/lucene
> (SAK-27685 / SAK-27658) upgrade. Either because the libraries aren't set up
> correctly or there's some incompatibly with a newer version of lucene (that
> was moved into shared. I'm not sure why this error isn't appearing in
> regular trunk though, which makes me think it's probably more of a problem
> with shared path on experimental. Would have to test though.
>
> Offending resource: file [/home/tomcat-contrib/sakai-demo/components/search-pack/WEB-INF/components.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Class that bean class [org.sakaiproject.search.filter.impl.DateRelevanceSort] depends on not found
> Offending resource: file [/home/tomcat-contrib/sakai-demo/components/search-pack/WEBINF/parallelIndexComponents.xml]
> Bean 'dateRelevanceSort'; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/Sort
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [parallelIndexComponents.xml]
> Offending resource: file [/home/tomcat-contrib/sakai-demo/components/search-pack/WEB-INF/components.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Class that bean class [org.sakaiproject.search.filter.impl.DateRelevanceSort] depends on not found
> Offending resource: file [/home/tomcat-contrib/sakai-demo/components/search-pack/WEBINF/parallelIndexComponents.xml]
> Bean 'dateRelevanceSort'; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/Sort
>
>
>
> On Thu, Aug 7, 2014 at 9:20 AM, Roger Brown <roger.brown at uct.ac.za> wrote:
>
>>
>> Hiya nightly gurus
>>
>> Any chance of getting nightly experimental (
>> http://nightly2.sakaiproject.org:8085) back up?
>>
>> Start of trace
>>
>> org.sakaiproject.portal.api.PortalHandlerException: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
>>     at org.sakaiproject.portal.charon.handlers.ReLoginHandler.doPost(ReLoginHandler.java:50)
>> caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.NullPointerException
>>     at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)
>> caused by: java.lang.NullPointerException
>>     at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.nextTimestamp(RegionFactoryCacheProviderBridge.java:93)
>>     at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:639)
>>     at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:648)
>>     at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:491)
>>     at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:372)
>>     at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:417)
>>     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:255)
>>     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
>>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>>     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>
>>
>>
>> The trace is cast just after login but you can (post login) get to the
>> tools by directing the URL to
>> http://nightly2.sakaiproject.org:8085/portal/site but then all tools
>> cast error.
>>
>> Thanks
>>
>> Roger
>>
>>
>> Roger Brown
>> Learning Technologies Operations Manager
>> Centre for Innovation in Learning and Teaching (formerly CET and HAEDSU)
>> 7.58 PD Hahn Building Upper Campus
>> University of Cape Town
>> Email/IM/XMPP roger.brown at uct.ac.za
>> Skype rjg.brown
>> Tel:+27(21) 650 4425
>>  ------------------------------
>> UNIVERSITY OF CAPE TOWN
>>
>> This e-mail is subject to the UCT ICT policies and e-mail disclaimer
>> published on our website at
>> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27
>> 21 650 9111. This e-mail is intended only for the person(s) to whom it
>> is addressed. If the e-mail has reached you in error, please notify the
>> author. If you are not the intended recipient of the e-mail you may not
>> use, disclose, copy, redirect or print the content. If this e-mail is not
>> related to the business of UCT it is sent by the sender in the sender's
>> individual capacity.
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140812/f4762596/attachment.html 


More information about the sakai-dev mailing list