Tom:
Thank you everyone with helping me solve this problem.  Once I cleaned out 
the directories, it solved most of my issues.  I also discovered that I 
needed to remove the dspace/target/dspace-3.3-build directory. For some 
reason, older versions of some files remained and did not update during the 
mvn process.


On Thursday, July 27, 2017 at 2:08:03 PM UTC-4, George Kozak wrote:
>
> Tom:
>
> I concur with Hardy.  It might be something in your dspace home 
> directory.  Renaming the existing one and creating a whole new one before 
> you compile the source might fix the problem.
> George Kozak
> Cornell University
>
> On Wed, Jul 26, 2017 at 9:01 PM, Hardy Pottinger <hardy.p...@gmail.com 
> <javascript:>> wrote:
>
>> 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" <toma...@gmail.com <javascript:>> 
>> 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 | thomas.w.av...@nasa.gov <javascript:>
>>
>> f:  757.864-6649 | thomas.av...@saic.com <javascript:>
>>
>> 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 <toma...@gmail.com> 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.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.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
>>>>> at 
>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
>>>>> at 
>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
>>>>> at 
>>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
>>>>> 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.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
>>>>> at 
>>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
>>>>> at 
>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
>>>>> at org.springframework.context.su
>>>>> pport.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
>>>>> at org.springframework.context.su
>>>>> pport.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
>>>>> at 
>>>>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
>>>>> at 
>>>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
>>>>> at 
>>>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
>>>>> at 
>>>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)
>>>>> at 
>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)
>>>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>> at 
>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>>>>> at 
>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>>>>> at 
>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>>>>> at 
>>>>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.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(ThreadPoolExecutor.java:1149)
>>>>> at 
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.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.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)
>>>>> at 
>>>>> org.springframework.beans.factory.support.ConstructorResolver.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(NativeMethodAccessorImpl.java:62)
>>>>> at 
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>> at 
>>>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.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 dspace-tech...@googlegroups.com.
>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>>
>>>> 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
>>> gs...@cornell.edu 
>>>
>> -- 
>> 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 dspace-tech...@googlegroups.com <javascript:>.
>> To post to this group, send email to dspac...@googlegroups.com 
>> <javascript:>.
>> 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 dspace-tech...@googlegroups.com <javascript:>.
>> To post to this group, send email to dspac...@googlegroups.com 
>> <javascript:>.
>> 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
> gs...@cornell.edu <javascript:> 
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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