incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Flanigan <rflani...@carolina.rr.com>
Subject jspwiki "You tried to instantiate an abstract class com.ecyrd.jspwiki.PageManager"
Date Thu, 03 Apr 2008 11:32:35 GMT
Hi,

I'm trying to run JSPWiki on JBoss 4.2.2 with Tomcat 5.5 embedded and 
java 1.6.  Can anyone give me a hint on why I get this error? 

Thanks,
Richard Flanigan

server.log

2008-03-29 09:23:00,388 DEBUG 
[org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: 
X-Powered-By='Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA 
date=200710221139)/Tomcat-5.5'
2008-03-29 09:23:00,388 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]]  
Assigning new engine to 1276140
2008-03-29 09:23:00,388 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]] 
No jspwiki.propertyfile defined for this context, using default from 
/WEB-INF/jspwiki.properties
2008-03-29 09:23:00,398 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]] 
Loading cascading properties...
2008-03-29 09:23:00,398 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]]  
No cascading properties defined for this context
2008-03-29 09:23:00,398 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]] 
JSPWiki: Unable to load and setup properties from jspwiki.properties. 
Failed to instantiate class com.ecyrd.jspwiki.PageManager
2008-03-29 09:23:00,408 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]] 
ERROR: Failed to create a Wiki engine: JSPWiki: Unable to load and setup 
properties from jspwiki.properties. Failed to instantiate class 
com.ecyrd.jspwiki.PageManager
2008-03-29 09:23:00,408 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/wiki]] 
Exception starting filter WikiServletFilter
com.ecyrd.jspwiki.InternalWikiException: No wiki engine, check logs.
    at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:340)
    at 
com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:55)
    at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
    at 
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
    at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
    at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
         and lots more...

jspwiki.log file

2008-03-27 03:48:47,986 [main] INFO com.ecyrd.jspwiki.WikiEngine  - 
*******************************************
2008-03-27 03:48:47,986 [main] INFO com.ecyrd.jspwiki.WikiEngine  - 
JSPWiki 2.6.1 starting. Whee!
2008-03-27 03:48:47,986 [main] DEBUG 
com.ecyrd.jspwiki.event.WikiEventManager  - instantiated WikiEventManager
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - 
Java version: 1.6.0_02-b06
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - 
Java vendor: Sun Microsystems Inc.
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - OS: 
Windows XP 5.1 x86
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - 
Default server locale: en_US
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - 
Default server timezone: Eastern Daylight Time
2008-03-27 03:48:47,996 [main] INFO com.ecyrd.jspwiki.WikiEngine  - 
Servlet container: JBossWeb/2.0.1.GA
2008-03-27 03:48:47,996 [main] DEBUG com.ecyrd.jspwiki.WikiEngine  - 
Configuring WikiEngine...
2008-03-27 03:48:48,006 [main] INFO com.ecyrd.jspwiki.WikiEngine  - 
JSPWiki working directory is 'E:\www\wiki\tmp'
2008-03-27 03:48:48,216 [main] DEBUG com.ecyrd.jspwiki.util.ClassUtil  - 
Mapped class 'com.ecyrd.jspwiki.render.RenderingManager' to class 
'com.ecyrd.jspwiki.render.RenderingManager'
2008-03-27 03:48:48,226 [main] DEBUG com.ecyrd.jspwiki.PageManager  - 
Page provider class: 'com.ecyrd.jspwiki.providers.CachingProvider'
2008-03-27 03:48:48,236 [main] DEBUG com.ecyrd.jspwiki.PageManager  - 
Initializing page provider class 
com.ecyrd.jspwiki.providers.CachingProvider@1bfd53d
2008-03-27 03:48:48,236 [main] DEBUG 
com.ecyrd.jspwiki.providers.CachingProvider  - Initing CachingProvider
2008-03-27 03:48:48,236 [main] DEBUG 
com.ecyrd.jspwiki.providers.CachingProvider  - Cache expiry period is 30 s
2008-03-27 03:48:48,236 [main] DEBUG 
com.ecyrd.jspwiki.providers.CachingProvider  - Cache capacity 1000 pages.
2008-03-27 03:48:48,266 [main] INFO com.ecyrd.jspwiki.util.ClassUtil  - 
You tried to instantiate an abstract class com.ecyrd.jspwiki.PageManager
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:509)
    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:275)
    at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)

E:\jboss-4.2.2_GA\server\default\deploy\wiki.war\WEB-INF\jspwiki.properties

jspwiki.applicationName = wiki
jspwiki.pageProvider = VersioningFileProvider
jspwiki.usePageCache = true
jspwiki.fileSystemProvider.pageDir = E:\\www\\wiki\\page
jspwiki.workDir = E:\\www\\wiki\\tmp
jspwiki.attachmentProvider = BasicAttachmentProvider
jspwiki.basicAttachmentProvider.storageDir = E:\\www\\\wiki\\data
jspwiki.diffProvider = TraditionalDiffProvider
jspwiki.baseURL= http://localhost:8080/wiki/
jspwiki.referenceStyle=relative
jspwiki.encoding = UTF-8
jspwiki.translatorReader.allowHTML = false
jspwiki.breakTitleWithSpaces = false
jspwiki.translatorReader.matchEnglishPlurals = true
jspwiki.translatorReader.camelCaseLinks = true
jspwiki.templateDir = default
jspwiki.defaultprefs.template.skinname =PlainVanilla
jspwiki.defaultprefs.template.dateformat =dd-MMM-yyyy HH:mm
jspwiki.defaultprefs.template.timezone =GMT+01:00
jspwiki.defaultprefs.template.orientation =fav-left
jspwiki.defaultprefs.template.editor =plain
jspwiki.defaultprefs.timeformat.01=d/MM
jspwiki.defaultprefs.timeformat.02=d/MM/yy
jspwiki.defaultprefs.timeformat.03=d/MM/yyyy
jspwiki.defaultprefs.timeformat.04=dd/MM/yy
jspwiki.defaultprefs.timeformat.05=dd/MM/yyyy
jspwiki.defaultprefs.timeformat.06=EEE, dd/MM/yyyy
jspwiki.defaultprefs.timeformat.07=EEE, dd/MM/yyyy, Z
jspwiki.defaultprefs.timeformat.08=EEE, dd/MM/yyyy, zzzz
jspwiki.defaultprefs.timeformat.09=d/MM/yy HH:mm
jspwiki.defaultprefs.timeformat.10=d/MM/yy hh:mm a
jspwiki.defaultprefs.timeformat.11=d/MM/yy hh:mm a, Z
jspwiki.defaultprefs.timeformat.12=dd-MMM
jspwiki.defaultprefs.timeformat.13=dd-MMM-yy
jspwiki.defaultprefs.timeformat.14=dd-MMM-yyyy
jspwiki.defaultprefs.timeformat.15=EEE, dd-MMM-yyyy
jspwiki.defaultprefs.timeformat.16=EEE, dd-MMM-yyyy, Z
jspwiki.defaultprefs.timeformat.17=EEE, dd-MMM-yyyy, zzzz
jspwiki.defaultprefs.timeformat.18=dd-MMM-yyyy HH:mm
jspwiki.defaultprefs.timeformat.19=dd-MMM-yyyy hh:mm a
jspwiki.defaultprefs.timeformat.20=dd-MMM-yyyy hh:mm a, Z
jspwiki.defaultprefs.timeformat.21=MMMM dd, yyyy
jspwiki.defaultprefs.timeformat.22=MMMM dd, yyyy HH:mm
jspwiki.defaultprefs.timeformat.23=MMMM dd, yyyy hh:mm a
jspwiki.defaultprefs.timeformat.24=MMMM, EEE dd,yyyy hh:mm a
jspwiki.defaultprefs.timeformat.25=MMMM, EEEE dd,yyyy hh:mm a
jspwiki.defaultprefs.timeformat.26=dd.MM.yyyy
jspwiki.defaultprefs.timeformat.27=dd.MM.yyyy, HH:mm
jspwiki.defaultprefs.timeformat.28=dd.MM.yyyy, HH:mm zz
jspwiki.defaultprefs.timeformat.29=EEEE, dd.MM.yyyy
jspwiki.defaultprefs.timeformat.30=EE, dd.MM.yyyy, HH:mm zz
jspwiki.defaultprefs.timeformat.31=EEEE, d. MMMM yyyy, HH:mm zz
jspwiki.translatorReader.useOutlinkImage = true
jspwiki.lockExpiryTime = 60
jspwiki.searchProvider = LuceneSearchProvider
jspwiki.specialPage.CreateGroup = NewGroup.jsp
jspwiki.specialPage.FindPage = Search.jsp
jspwiki.specialPage.Login = Login.jsp
jspwiki.specialPage.NewGroup = NewGroup.jsp
jspwiki.specialPage.UserPreferences = UserPreferences.jsp
jspwiki.plugin.searchPath =
jspwiki.authorizer = com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer
jspwiki.groupdatabase = com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase
jspwiki.userdatabase = com.ecyrd.jspwiki.auth.user.XMLUserDatabase
jspwiki.aclManager          = com.ecyrd.jspwiki.auth.acl.DefaultAclManager
jspwiki.interWikiRef.JSPWiki = http://www.jspwiki.org/wiki/%s
jspwiki.interWikiRef.Edit = Edit.jsp?page=%s
jspwiki.interWikiRef.WikiWikiWeb = http://c2.com/cgi/wiki?%s
jspwiki.interWikiRef.TWiki = http://twiki.org/cgi-bin/view/TWiki/%s
jspwiki.interWikiRef.MeatballWiki = http://usemod.com/cgi-bin/mb.pl?%s
jspwiki.interWikiRef.Wikipedia = http://www.wikipedia.com/wiki/%s
jspwiki.interWikiRef.Google = http://www.google.com/search?q=%s
jspwiki.interWikiRef.Doc = http://doc.jspwiki.org/2.6/wiki/%s
      jspwiki.translatorReader.inlinePattern.1 = *.jpg
      jspwiki.translatorReader.inlinePattern.2 = *.png
jspwiki.rss.generate = false
jspwiki.rss.fileName = rss.rdf
jspwiki.rss.interval = 3600
jspwiki.rss.channelDescription = Oh poor me, my owner has not set \
                                 a channel description at all. \
                                 Pity me.
jspwiki.rss.channelLanguage = en-us
jspwiki.userdatabase.datasource=jdbc/UserDatabase
jspwiki.userdatabase.table=users
jspwiki.userdatabase.email=email
jspwiki.userdatabase.fullName=full_name
jspwiki.userdatabase.loginName=login_name
jspwiki.userdatabase.password=password
jspwiki.userdatabase.wikiName=wiki_name
jspwiki.userdatabase.created=created
jspwiki.userdatabase.modified=modified
jspwiki.userdatabase.roleTable=roles
jspwiki.userdatabase.role=role
jspwiki.groupdatabase.datasource=jdbc/GroupDatabase
jspwiki.groupdatabase.table=groups
jspwiki.groupdatabase.membertable=group_members
jspwiki.groupdatabase.created=created
jspwiki.groupdatabase.creator=creator
jspwiki.groupdatabase.name=name
jspwiki.groupdatabase.member=member
jspwiki.groupdatabase.modified=modified
jspwiki.groupdatabase.modifier=modifier
mail.smtp.host = @mail.smtp.host@
mail.from = @mail.from@
log4j.appender.FileLog = org.apache.log4j.RollingFileAppender
log4j.appender.FileLog.MaxFileSize    = 10MB
log4j.appender.FileLog.MaxBackupIndex = 14
log4j.appender.FileLog.File = E:\\www\\wiki\\tmp\\jspwiki.log
log4j.appender.FileLog.layout = org.apache.log4j.PatternLayout
log4j.appender.FileLog.layout.ConversionPattern=%d [%t] %p %c %x - %m%n
log4j.rootCategory=DEBUG,FileLog


Data directory structure:

E:\www\wiki\data
E:\www\wiki\tmp
E:\www\wiki\page

Mime
View raw message