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: JSPWiki 2.6 error on glassfish
Date Sat, 29 Dec 2007 10:02:16 GMT

Do you have the oscache.jar in your classpath?

/Janne

On 29 Dec 2007, at 11:22, 姚春林 wrote:

> Hello
>
> I am tring to install jspwiki on glassfish.
> and have this problem.
>
>
> 2007-12-29 17:07:16,421 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> *******************************************
> 2007-12-29 17:07:16,437 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> JSPWiki 2.6.0 starting. Whee!
> 2007-12-29 17:07:16,453 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> Servlet container: Sun Java System Application Server 9.1
> 2007-12-29 17:07:16,468 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> JSPWiki working directory is 'c:\data\jspwiki\work'
> 2007-12-29 17:07:16,703 [main] INFO
> com.ecyrd.jspwiki.providers.AbstractFileProvider  - Wikipages are read
> from 'c:\data\jspwiki\pages'
> 2007-12-29 17:07:16,718 [main] INFO
> com.ecyrd.jspwiki.plugin.PluginManager  - Registering plugins
> 2007-12-29 17:07:16,750 [main] INFO
> com.ecyrd.jspwiki.diff.DifferenceManager  - Using difference provider:
> TraditionalDiffProvider
> 2007-12-29 17:07:16,796 [main] INFO com.ecyrd.jspwiki.util.ClassUtil
> - You tried to instantiate an abstract class
> com.ecyrd.jspwiki.attachment.AttachmentManager
> 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:513)
> 	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:512)
> 	at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:386)
> 	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:334)
> 	at com.ecyrd.jspwiki.ui.WikiServletFilter.init 
> (WikiServletFilter.java:55)
> 	at org.apache.catalina.core.ApplicationFilterConfig.getFilter 
> (ApplicationFilterConfig.java:257)
> 	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef 
> (ApplicationFilterConfig.java:369)
> 	at org.apache.catalina.core.ApplicationFilterConfig.<init> 
> (ApplicationFilterConfig.java:103)
> 	at org.apache.catalina.core.StandardContext.filterStart 
> (StandardContext.java:4381)
> 	at org.apache.catalina.core.StandardContext.start 
> (StandardContext.java:5181)
> 	at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
> 	at com.sun.enterprise.web.LifecycleStarter.doRun 
> (LifecycleStarter.java:58)
> 	at com.sun.appserv.management.util.misc.RunnableBase.runSync 
> (RunnableBase.java:296)
> 	at com.sun.appserv.management.util.misc.RunnableBase._submit 
> (RunnableBase.java:168)
> 	at com.sun.appserv.management.util.misc.RunnableBase.submit 
> (RunnableBase.java:184)
> 	at com.sun.enterprise.web.VirtualServer.startChildren 
> (VirtualServer.java:1672)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 
> 1231)
> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
> 	at com.sun.enterprise.web.LifecycleStarter.doRun 
> (LifecycleStarter.java:58)
> 	at com.sun.appserv.management.util.misc.RunnableBase.runSync 
> (RunnableBase.java:296)
> 	at com.sun.appserv.management.util.misc.RunnableBase._submit 
> (RunnableBase.java:168)
> 	at com.sun.appserv.management.util.misc.RunnableBase.submit 
> (RunnableBase.java:184)
> 	at com.sun.enterprise.web.EmbeddedWebContainer 
> $WebEngine.startChildren(EmbeddedWebContainer.java:453)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 
> 1231)
> 	at org.apache.catalina.core.StandardEngine.start 
> (StandardEngine.java:533)
> 	at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
> 	at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
> 	at com.sun.enterprise.web.PEWebContainer.startInstance 
> (PEWebContainer.java:790)
> 	at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup 
> (PEWebContainerLifecycle.java:84)
> 	at com.sun.enterprise.server.ApplicationServer.onStartup 
> (ApplicationServer.java:442)
> 	at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup 
> (OnDemandServer.java:120)
> 	at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
> 	at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
> Caused by: java.lang.ExceptionInInitializerError
> 	at com.ecyrd.jspwiki.attachment.AttachmentManager.<init> 
> (AttachmentManager.java:394)
> 	... 43 more
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class;@de0c98 for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
> org.apache.commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class;@de0c98 for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category))
> 	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance 
> (LogFactoryImpl.java:543)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
> (LogFactoryImpl.java:235)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
> (LogFactoryImpl.java:209)
> 	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
> 	at com.opensymphony.oscache.base.Cache.<clinit>(Cache.java:42)
> 	... 44 more
> Caused by: org.apache.commons.logging.LogConfigurationException: No
> suitable Log constructor [Ljava.lang.Class;@de0c98 for
> org.apache.commons.logging.impl.Log4JLogger (Caused by
> java.lang.NoClassDefFoundError: org/apache/log4j/Category)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor 
> (LogFactoryImpl.java:413)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance 
> (LogFactoryImpl.java:529)
> 	... 48 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> 	at java.lang.Class.getConstructor0(Class.java:2699)
> 	at java.lang.Class.getConstructor(Class.java:1657)
> 	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor 
> (LogFactoryImpl.java:410)
> 	... 49 more
> 2007-12-29 17:07:16,812 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> *******************************************
> 2007-12-29 17:07:16,812 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> JSPWiki 2.6.0 starting. Whee!
> 2007-12-29 17:07:16,812 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> Servlet container: Sun Java System Application Server 9.1
> 2007-12-29 17:07:16,812 [main] INFO com.ecyrd.jspwiki.WikiEngine  -
> JSPWiki working directory is 'c:\data\jspwiki\work'
> 2007-12-29 17:07:16,812 [main] INFO
> com.ecyrd.jspwiki.providers.AbstractFileProvider  - Wikipages are read
> from 'c:\data\jspwiki\pages'
> 2007-12-29 17:07:16,812 [main] INFO
> com.ecyrd.jspwiki.plugin.PluginManager  - Registering plugins
> 2007-12-29 17:07:16,812 [main] INFO
> com.ecyrd.jspwiki.diff.DifferenceManager  - Using difference provider:
> TraditionalDiffProvider
> 2007-12-29 17:07:16,812 [main] INFO com.ecyrd.jspwiki.util.ClassUtil
> - You tried to instantiate an abstract class
> com.ecyrd.jspwiki.attachment.AttachmentManager
> 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:513)
> 	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:512)
> 	at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:386)
> 	at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:334)
> 	at com.ecyrd.jspwiki.ui.WikiServletFilter.init 
> (WikiServletFilter.java:55)
> 	at org.apache.catalina.core.ApplicationFilterConfig.getFilter 
> (ApplicationFilterConfig.java:257)
> 	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef 
> (ApplicationFilterConfig.java:369)
> 	at org.apache.catalina.core.ApplicationFilterConfig.<init> 
> (ApplicationFilterConfig.java:103)
> 	at org.apache.catalina.core.StandardContext.filterStart 
> (StandardContext.java:4381)
> 	at org.apache.catalina.core.StandardContext.start 
> (StandardContext.java:5181)
> 	at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
> 	at com.sun.enterprise.web.LifecycleStarter.doRun 
> (LifecycleStarter.java:58)
> 	at com.sun.appserv.management.util.misc.RunnableBase.runSync 
> (RunnableBase.java:296)
> 	at com.sun.appserv.management.util.misc.RunnableBase._submit 
> (RunnableBase.java:168)
> 	at com.sun.appserv.management.util.misc.RunnableBase.submit 
> (RunnableBase.java:184)
> 	at com.sun.enterprise.web.VirtualServer.startChildren 
> (VirtualServer.java:1672)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 
> 1231)
> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
> 	at com.sun.enterprise.web.LifecycleStarter.doRun 
> (LifecycleStarter.java:58)
> 	at com.sun.appserv.management.util.misc.RunnableBase.runSync 
> (RunnableBase.java:296)
> 	at com.sun.appserv.management.util.misc.RunnableBase._submit 
> (RunnableBase.java:168)
> 	at com.sun.appserv.management.util.misc.RunnableBase.submit 
> (RunnableBase.java:184)
> 	at com.sun.enterprise.web.EmbeddedWebContainer 
> $WebEngine.startChildren(EmbeddedWebContainer.java:453)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 
> 1231)
> 	at org.apache.catalina.core.StandardEngine.start 
> (StandardEngine.java:533)
> 	at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
> 	at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
> 	at com.sun.enterprise.web.PEWebContainer.startInstance 
> (PEWebContainer.java:790)
> 	at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup 
> (PEWebContainerLifecycle.java:84)
> 	at com.sun.enterprise.server.ApplicationServer.onStartup 
> (ApplicationServer.java:442)
> 	at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup 
> (OnDemandServer.java:120)
> 	at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
> 	at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> com.opensymphony.oscache.base.Cache
> 	at com.ecyrd.jspwiki.attachment.AttachmentManager.<init> 
> (AttachmentManager.java:394)
> 	... 43 more


Mime
View raw message