jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske" <harry.met...@gmail.com>
Subject Re: JSPWiki 2.8.0 install problem on Centos 5.2: com.ecyrd.jspwiki.util.TimedCounterList
Date Thu, 23 Oct 2008 03:25:16 GMT
You are running Tomcat with JDK 1.4.2 (or earlier) (which does not have the
java.util.concurrent.locks package)

JSPWiki 2.8 requires at least JDK 5 :
http://doc.jspwiki.org/2.4/wiki/Upgrading%20from%202.6

regards,
Harry

2008/10/23 aljag <agregory@infoplanning.com>

>
> Hi all,
> I'm trying to get up and running but am hitting an error when I start
> Tomcat.  The wiki does not start at all, apparently due to:
> java.lang.NoClassDefFoundError: com.ecyrd.jspwiki.util.TimedCounterList
>
> Thanks in advance for any suggestions!
>
> Full log trace from catalina.log is as follows:
> -----------------------
>
> Using CATALINA_BASE:   /usr/share/tomcat5
> Using CATALINA_HOME:   /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME:
> Created MBeanServer with ID: -tlom4z:fmmizgx5.0:wiki.foobar.com:1
> 22-Oct-08 6:16:57 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/lib/gcj-4.1.2
> 22-Oct-08 6:16:58 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 22-Oct-08 6:16:58 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1083 ms
> 22-Oct-08 6:16:58 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 22-Oct-08 6:16:58 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
> 22-Oct-08 6:16:58 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 22-Oct-08 6:17:02 PM org.apache.catalina.core.ApplicationContext log
> INFO:  Assigning new engine to 44893360
> 22-Oct-08 6:17:02 PM org.apache.catalina.core.ApplicationContext log
> INFO: Reading properties from /etc/wikis/Admin.properties instead of
> default.
> 22-Oct-08 6:17:02 PM org.apache.catalina.core.ApplicationContext log
> INFO: Loading cascading properties...
> 22-Oct-08 6:17:02 PM org.apache.catalina.core.ApplicationContext log
> INFO:  No cascading properties defined for this context
> Starting up background thread: JSPWiki Lucene Indexer.
> Starting up background thread: WatchDog for 'Admin'.
> 22-Oct-08 6:17:04 PM org.apache.catalina.core.StandardContext filterStart
> SEVERE: Exception starting filter WikiJSPFilter
> java.lang.NoClassDefFoundError: com.ecyrd.jspwiki.util.TimedCounterList
>   at java.lang.Class.initializeClass(libgcj.so.7rh)
>   at
>
> com.ecyrd.jspwiki.auth.AuthenticationManager.<init>(AuthenticationManager.java:154)
>   at java.lang.Class.newInstance(libgcj.so.7rh)
>   at com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:286)
>   at com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:181)
>   at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:535)
>   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
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.core.StandardContext.filterStart(
> catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.so
> )
>   at
> org.apache.catalina.core.ContainerBase.addChildInternal(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.so
> )
>   at
> org.apache.catalina.startup.HostConfig.deployDescriptor(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.startup.HostConfig.deployDescriptors(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.so)
>   at org.apache.catalina.startup.HostConfig.start(catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.StandardHost.start(catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.StandardEngine.start(catalina-5.5.23.jar.so)
>   at org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.so
> )
>   at org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.so)
>   at org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.so)
>   at java.lang.reflect.Method.invoke(libgcj.so.7rh)
>   at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
>   at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
> Caused by: java.lang.ClassNotFoundException:
> java.util.concurrent.locks.ReadWriteLock
>   at
> org.apache.catalina.loader.WebappClassLoader.loadClass(
> catalina-5.5.23.jar.so)
>   at
> org.apache.catalina.loader.WebappClassLoader.loadClass(
> catalina-5.5.23.jar.so)
>   at java.lang.Class.initializeClass(libgcj.so.7rh)
>   ...32 more
> 22-Oct-08 6:17:04 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error filterStart
> 22-Oct-08 6:17:04 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/Admin] startup failed due to previous errors
>
>
> --------------------------------------------
> My Tomcat startup looks like this:
>
> [root@wiki tmp]# service tomcat5 start
> Starting tomcat5:
> CATALINA_OPTS=-Djava.security.policy=/etc/wikis/jspwiki.policy
> Command: /sbin/runuser - tomcat -c  export  JAVA_HOME="/usr/lib/jvm/java" ;
> export  CATALINA_HOME="/usr/share/tomcat5" ; export
> JASPER_HOME="/usr/share/tomcat5" ; export
> CATALINA_TMPDIR="/usr/share/tomcat5/temp" ; export
> JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" ; export
> JAVA_OPTS="$JAVA_OPTS
> -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib" ;
> export  TOMCAT_USER="tomcat" ; export  SHUTDOWN_WAIT=30 ; export
> CATALINA_PID=/var/run/tomcat5.pid ; export
> CATALINA_OPTS="-Djava.security.policy=/etc/wikis/jspwiki.policy" ;  export
> JAVA_HOME="/usr/lib/jvm/java" ; export  CATALINA_HOME="/usr/share/tomcat5"
> ;
> export  JASPER_HOME="/usr/share/tomcat5" ; export
> CATALINA_TMPDIR="/usr/share/tomcat5/temp" ; export
> JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" ; export
> JAVA_OPTS="$JAVA_OPTS
> -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib" ;
> export  TOMCAT_USER="tomcat" ; export  SHUTDOWN_WAIT=30 ; export
> CATALINA_PID=/var/run/tomcat5.pid ;  /usr/bin/dtomcat5 start
>                                                           [  OK  ]
>
>
> -------------------------------------------
> jspwiki.policy is as shipped:
>
> [root@wiki conf]# ls -al /etc/wikis/jspwiki.policy
> -rw-r--r-- 1 root root 4939 Oct 22 13:10 /etc/wikis/jspwiki.policy
>
>
> --
> View this message in context:
> http://www.nabble.com/JSPWiki-2.8.0-install-problem-on-Centos-5.2%3A-com.ecyrd.jspwiki.util.TimedCounterList-tp20120983p20120983.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message