incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <janne.jalka...@ecyrd.com>
Subject Re: 2.8 upgrade from 2.4: "You tried to instantiate an abstract class com.ecyrd.jspwiki.search.SearchManager"
Date Mon, 20 Jul 2009 16:34:03 GMT

Hmm... It looks like you're missing some JAR files. Make sure you've  
got jsonrpc.jar in your classpath.

The following line looks like the actual error:

> Caused by: java.lang.NoClassDefFoundError:
> com/metaparadigm/jsonrpc/InvocationCallback
>       at
> com.ecyrd.jspwiki.search.SearchManager.<init>(SearchManager.java:88)
>       ... 64 more


/Janne

On 20 Jul 2009, at 17:53, Kelley Trombly-Freytag wrote:

> I upgraded my JSPwiki installation from 2.4 to 2.8. I followed the
> instructions on the
> JSPWiki 2.8 Upgrading page (http://doc.jspwiki.org/2.4/wiki/Upgrading
> from 2.6).
> I am running tomcat 5.0.25, with Java 1.5.0_16. The only unusual  
> thing I
> could
> see about my setup is that I am running directly from Tomcat (eg must
> specify
> the :8080) for my URL.
>
> Details below.
>
> Does anyone have a suggestion?
> Thanks,
> Kelley Trombly-Freytag
> Fermilab
>
> When I attempt to start the wiki I get in the tomcat log:
>
> 2009-07-17 12:02:52,156 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.WikiEngine  -  
> *******************************************
> 2009-07-17 12:02:52,173 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.WikiEngine  - JSPWiki 2.8.2 starting. Whee!
> 2009-07-17 12:02:52,177 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.WikiEngine  - Servlet container: Apache Tomcat/ 
> 5.0.25
> 2009-07-17 12:02:52,196 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.WikiEngine  - JSPWiki working directory is
> '/home/wiki/junk_workDir'
> 2009-07-17 12:02:53,103 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.providers.AbstractFileProvider  - Wikipages are read
> from '/home/wiki/junk_conte
> nts'
> 2009-07-17 12:02:53,138 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.plugin.PluginManager  - Registering plugins
> 2009-07-17 12:02:53,172 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.diff.DifferenceManager  - Using difference provider:
> TraditionalDiffProvider
> 2009-07-17 12:02:53,182 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.providers.CachingAttachmentProvider  - Initing
> CachingAttachmentProvider
> 2009-07-17 12:02:53,240 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.search.LuceneSearchProvider  - Lucene enabled, cache
> will be in: /home/wiki/junk
> _workDir/lucene
> 2009-07-17 12:02:53,266 [http-8080-Processor25] INFO
> com.ecyrd.jspwiki.util.ClassUtil  - You tried to instantiate an  
> abstract
> class com.ecyrd.jspwiki.s
> earch.SearchManager
> java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>       at
> sun 
> .reflect 
> .NativeConstructorAccessorImpl 
> .newInstance(NativeConstructorAccessorImpl.java:39)
>       at
> sun 
> .reflect 
> .DelegatingConstructorAccessorImpl 
> .newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java: 
> 494)
>       at
> com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:276)
>       at
> com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:228)
>       at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:533)
>       at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:399)
>       at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:340)
>       at
> com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:79)
>       at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java: 
> 76)
>       at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java: 
> 225)
>       at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java: 
> 308)
>       at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
>       at
> org 
> .apache 
> .catalina.core.StandardContext.filterStart(StandardContext.java:3676)
>       at
> org.apache.catalina.core.StandardContext.start(StandardContext.java: 
> 4327)
>       at
> org 
> .apache 
> .catalina.core.StandardHostDeployer.start(StandardHostDeployer.java: 
> 830)
>       at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:991)
>       at
> org 
> .jstripe 
> .tomcat 
> .probe.Tomcat50ContainerAdaptor.start(Tomcat50ContainerAdaptor.java: 
> 55)
>       at
> org 
> .jstripe 
> .tomcat 
> .probe 
> .controllers 
> .AjaxToggleContextController 
> .handleContext(AjaxToggleContextController.java:34)
>       at
> org 
> .jstripe 
> .tomcat 
> .probe 
> .controllers 
> .ContextHandlerController 
> .handleRequestInternal(ContextHandlerController.java:39)
>       at
> org 
> .springframework 
> .web 
> .servlet 
> .mvc.AbstractController.handleRequest(AbstractController.java:153)
>       at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle 
> (SimpleControllerHandlerAdapter.java:44)
>       at
> org 
> .springframework 
> .web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
>       at
> org.jstripe.tomcat.probe.ProbeServlet.doDispatch(ProbeServlet.java:49)
>       at
> org 
> .springframework 
> .web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
>       at
> org 
> .springframework 
> .web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java: 
> 394)
>       at
> org 
> .springframework 
> .web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>       at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 237)
>       at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>       at
> com 
> .opensymphony 
> .module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
>       at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 186)
>       at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>       at
> org 
> .apache 
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
> 214)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>       at
> org 
> .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
> 520)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardContextValve.invokeInternal(StandardContextValve.java: 
> 198)
>       at
> org 
> .apache 
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
> 152)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>       at
> org 
> .apache 
> .catalina 
> .authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>       at
> org 
> .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
> 520)
>       at
> org 
> .apache 
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>       at
> org 
> .jstripe 
> .tomcat.probe.Tomcat50AgentValve.invoke(Tomcat50AgentValve.java:22)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>       at
> org 
> .apache 
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>       at
> org 
> .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
> 520)
>       at
> org 
> .apache 
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 
> 109)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>       at
> org 
> .apache 
> .catalina.valves.RequestFilterValve.process(RequestFilterValve.java: 
> 287)
>       at
> org 
> .apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java: 
> 84)
>       at
> org 
> .apache 
> .catalina 
> .core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>       at
> org 
> .apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 
> 520)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>       at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 
> 160)
>       at
> org 
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 793)
>       at
> org.apache.coyote.http11.Http11Protocol 
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
>       at
> org 
> .apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 
> 571)
>       at
> org.apache.tomcat.util.threads.ThreadPool 
> $ControlRunnable.run(ThreadPool.java:644)
>       at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError:
> com/metaparadigm/jsonrpc/InvocationCallback
>       at
> com.ecyrd.jspwiki.search.SearchManager.<init>(SearchManager.java:88)
>       ... 64 more
> 2009-07-17 12:02:53,280 [JSPWiki Lucene Indexer] INFO
> com.ecyrd.jspwiki.search.LuceneSearchProvider  - Files found in Lucene
> directory, not reindexing.
> 2009-07-17 12:02:53,290 [http-8080-Processor25] FATAL
> com.ecyrd.jspwiki.WikiEngine  - JSPWiki could not start, due to an
> unknown exception when startin
> g
> ...
>
>
>
>


Mime
View raw message