Forwarding the solution to dspace-tech, in case anyone reads this in the mailinglists archive.
-------- Original Message -------- Subject: Re: [Dspace-tech] Error in enabling media filter Date: Fri, 16 May 2014 16:00:55 -0500 From: Anoj Atapattu <anojatapa...@gmail.com> To: Becker, Pascal-Nicolas <p.bec...@tu-berlin.de> Hi Pascal, Thanks for your quick response. Root caused, Found the exception due to calling filter-media command in wrong location. Thanks, Anoj On Fri, May 16, 2014 at 4:58 AM, Becker, Pascal-Nicolas wrote: Hi, I don't think that the problem comes from changing the dspace.cfg. The exception message is that the class org.springframework.core.io.ClassPathResource couldn't be found. Probably some jars are missing? Can you execute other commands over the dspace command line interface? Can you list the content of the lib-directory? Regards, Pascal > -----Original Message----- > From: Anoj [mailto:anojatapa...@gmail.com <mailto:anojatapa...@gmail.com>] > Sent: Wednesday, May 14, 2014 6:54 PM > To: dspace-tech@lists.sourceforge.net <mailto:dspace-tech@lists.sourceforge.net> > Subject: [Dspace-tech] Error in enabling media filter > > Hi, > > I am trying to enable thumbnail creation using Media Filter plugin for Dspace > 3.2. > Got the following exception while executing the script. > > Here are the steps followed and changes in dspac.cfg file. > > - webui.browse.thumbnail.show = true > > - webui.item.thumbnail.show = true > > - webui.browse.thumbnail.linkbehaviour = item > > - webui.browse.thumbnail.maxheight = 40 > - webui.browse.thumbnail.maxwidth = 40 > > After having changed to dspace.cfg, > - Restart Tomcat Server, > - run [dspace]/bin/dspace filter-media, > > Any help would be great. > > Thanks > > > > Throws the following exception----- > > INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: > DSpaceKernel:org.dspace:name=fcbd715e-2d76-49d8-9956- > da3829fe2b41,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:k > ernel=null > INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: > file:/klib/app/dspace/3.2-up/config/dspace.cfg > INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log > configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) > - Loading: > /klib/app/dspace/3.2-up/config/log4j.properties > Exception in thread "main" java.lang.NoClassDefFoundError: > org/springframework/core/io/ClassPathResource > at > org.dspace.servicemanager.config.DSpaceConfigurationService.readPropert > yResource(DSpaceConfigurationService.java:550) > at > org.dspace.servicemanager.config.DSpaceConfigurationService.loadInitialCo > nfig(DSpaceConfigurationService.java:344) > at > org.dspace.servicemanager.config.DSpaceConfigurationService.<init>(DSpac > eConfigurationService.java:61) > at > org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java: > 145) > at > org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:51) > Caused by: java.lang.ClassNotFoundException: > org.springframework.core.io.ClassPathResource > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 5 more > > > > > -- > View this message in context: http://dspace.2283337.n4.nabble.com/Error- > in-enabling-media-filter-tp4673070.html > Sent from the DSpace - Tech mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net <mailto:DSpace-tech@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette