Tom, if you haven't cleaned out your DSpace dir (where you have the webapps
deployed) you probably have old/cached config and lib folders. Easiest
thing to do is move the old one out of the way, make a new DSpace
directory, and deploy to the new directory with ant.

On Jul 26, 2017 7:23 PM, "Tom Avino" <[email protected]> wrote:

George,

It does sound similar to my problem.  I did drop the database and restore
from a good 3.3.  I also validated that my dspace.cfg file was the original
one.  I did  complete rebuild using maven and ant.  I get a 404 error when
I try to bring up out website.  This is getting to be a real pain.

Thanks for your input!

*Tom Avino *

o: 757.864-8495 <(757)%20864-8495> | [email protected]

f:  757.864-6649 | [email protected]

On Wednesday, July 26, 2017 at 6:41:53 PM UTC-4, George Kozak wrote:

> Hi, Tom:
>
> I am not sure if this is the same problem as you are having, but I had a
> similar problem when I tried to back out of a DSpace 6.0 install to DSpace
> 5.5.  I discovered that for some reason that I had some remnants from the
> DSpace 6.0 install left in the PostGres database and config files in the
> dspace home directory (even after I removed all of teh DSpace 6.0 stuff).
>
> In my case. I found that I had to drop the dspace database, and then
> recreated it, and then added the data from the restored backup. I did the
> same with the dspace home directory.  It may be that you already did all of
> this, but that is what I found helped my problem.
> George Kozak
> Cornell University
>
> On Wed, Jul 26, 2017 at 2:01 PM, Tom Avino <[email protected]> wrote:
>
>> The errors listed below in cocoon, happen when Tomcat is started back up,
>> not when trying to load the webpage.
>> I hope this helps
>>
>> Tom
>>
>> On Wednesday, July 26, 2017 at 11:08:16 AM UTC-4, Tom Avino wrote:
>>>
>>> I have done a few of these upgrades from 3.3 to 5.5 without any issues.
>>> This one however failed and could not find the issue, so I decided to start
>>> over.  I had done this a few times before on another Dspace instance.
>>>
>>> What I did then was
>>>
>>>    - restore my postgres database back to pre-upgrade
>>>    - changed dspace .bash_profile back to maven 2.2.1 from 3.3.9
>>>    - logged off dspace then logged on
>>>    - shut down Tomcat
>>>    - did a rebuild from my original dspace 3.3 src
>>>    - restarted tomcat
>>>
>>> This is the error I get.  The application just shows a blank screen, and
>>> the message below is from cocoon.
>>>
>>> 2017-07-26 10:27:15,200 ERROR org.springframework.web.context.ContextLoader
>>>  - Context initialization failed
>>> org.springframework.beans.factory.BeanCreationException: Error creating
>>> bean with name 'dspace.eventService' defined in ServletContext resource
>>> [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed;
>>> nested exception is org.springframework.beans.fact
>>> ory.BeanDefinitionStoreException: Factory method [public
>>> org.dspace.services.EventService org.dspace.utils.DSpace.getEventService()]
>>> threw exception; nested exception is java.lang.IllegalStateException:
>>> DSpace kernel cannot be null
>>> at org.springframework.beans.factory.support.ConstructorResolve
>>> r.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.instantiateUsingFactoryMethod(AbstractAutow
>>> ireCapableBeanFactory.java:1015)
>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBeanInstance(AbstractAut
>>> owireCapableBeanFactory.java:911)
>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFac
>>> tory.java:485)
>>> at org.springframework.beans.factory.support.AbstractAutowireCa
>>> pableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>> at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y$1.getObject(AbstractBeanFactory.java:294)
>>> at org.springframework.beans.factory.support.DefaultSingletonBe
>>> anRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
>>> at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.doGetBean(AbstractBeanFactory.java:291)
>>> at org.springframework.beans.factory.support.AbstractBeanFactor
>>> y.getBean(AbstractBeanFactory.java:193)
>>> at org.springframework.beans.factory.support.DefaultListableBea
>>> nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>>> at org.springframework.context.support.AbstractApplicationConte
>>> xt.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
>>> at org.springframework.context.support.AbstractApplicationConte
>>> xt.refresh(AbstractApplicationContext.java:464)
>>> at org.springframework.web.context.ContextLoader.configureAndRe
>>> freshWebApplicationContext(ContextLoader.java:385)
>>> at org.springframework.web.context.ContextLoader.initWebApplica
>>> tionContext(ContextLoader.java:284)
>>> at org.springframework.web.context.ContextLoaderListener.contex
>>> tInitialized(ContextLoaderListener.java:111)
>>> at org.apache.catalina.core.StandardContext.listenerStart(Stand
>>> ardContext.java:5017)
>>> at org.apache.catalina.core.StandardContext.startInternal(Stand
>>> ardContext.java:5531)
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> at org.apache.catalina.core.ContainerBase.addChildInternal(Cont
>>> ainerBase.java:901)
>>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas
>>> e.java:877)
>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>>> at org.apache.catalina.startup.HostConfig.deployDirectory(HostC
>>> onfig.java:1263)
>>> at org.apache.catalina.startup.HostConfig$DeployDirectory.run(
>>> HostConfig.java:1948)
>>> at java.util.concurrent.Executors$RunnableAdapter.call(
>>> Executors.java:511)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Executor.java:1149)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>> lExecutor.java:624)
>>> at java.lang.Thread.run(Thread.java:748)
>>> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
>>> Factory method [public org.dspace.services.EventService
>>> org.dspace.utils.DSpace.getEventService()] threw exception; nested
>>> exception is java.lang.IllegalStateException: DSpace kernel cannot be
>>> null
>>> at org.springframework.beans.factory.support.SimpleInstantiatio
>>> nStrategy.instantiate(SimpleInstantiationStrategy.java:169)
>>> at org.springframework.beans.factory.support.ConstructorResolve
>>> r.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
>>> ... 27 more
>>> Caused by: java.lang.IllegalStateException: DSpace kernel cannot be null
>>> at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
>>> at org.dspace.utils.DSpace.getEventService(DSpace.java:75)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>>> ssorImpl.java:62)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at org.springframework.beans.factory.support.SimpleInstantiatio
>>> nStrategy.instantiate(SimpleInstantiationStrategy.java:149)
>>>
>>> Thank you,
>>>
>>> Tom Avino
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>>
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> ***************************
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
> [email protected]
>
-- 
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to